Compare commits

...

4688 Commits

Author SHA1 Message Date
Alexander Kanavin
3160736075 local.conf: Drop support for mklibs
This is not enabled or tested by default, and has never been
ported to python 3 upstream[1], which means it doesn't work at all
with plain poky. If you need it, please put it in a separate layer
and/or modernize to work with py3.

https://salsa.debian.org/installer-team/mklibs/-/blob/master/src/mklibs

(From meta-yocto rev: c8c8f284eb2abe7e1352850a885454487cc01986)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:53:47 +01:00
Richard Purdie
2f12a20935 bitbake: server/process: Handle error in heartbeat funciton in OOM case
We've seen cases where an OOM error causes bitbake server to hang:

9171 02:21:09.127810 Command Completed
Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/bin/bitbake-server", line 51, in <module>
    bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 550, in execServer
    server.run()
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 108, in run
    ret = self.main()
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 242, in main
    ready = self.idle_commands(.1, fds)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/server/process.py", line 370, in idle_commands
    bb.event.fire(heartbeat, self.cooker.data)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 216, in fire
    fire_class_handlers(event, d)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 123, in fire_class_handlers
    execute_handler(name, handler, event, d)
  File "/home/pokybuild/yocto-worker/qemux86/build/bitbake/lib/bb/event.py", line 93, in execute_handler
    ret = handler(event)
  File "/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass", line 182, in defaultrun_buildstats
    write_host_data(os.path.join(bsdir, "host_stats"), e, d, "interval")
  File "/home/pokybuild/yocto-worker/qemux86/build/meta/classes/buildstats.bbclass", line 160, in write_host_data
    output = subprocess.check_output(c.split(), stderr=subprocess.STDOUT, timeout=limit).decode('utf-8')
  File "/usr/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/lib/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/usr/lib/python3.6/subprocess.py", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/subprocess.py", line 1295, in _execute_child
    restore_signals, start_new_session, preexec_fn)
OSError: [Errno 12] Cannot allocate memory

We need to wrap the calls in the same high level wrapper as idle function calls
and trigger an exit upon an unhandled exception.

(Bitbake rev: 74042b5b89d5a170013fc1a327ce3a6530fbf7d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:53:15 +01:00
Richard Purdie
e109bdae37 Revert "cml1.bbclass: Return sorted list of cfg files"
This reverts commit dee41e92f0.

This patch breaks cases where some config files make changes to earlier ones,
ordering is important. The reproducibility issue in busybox was elsewhere.

(From OE-Core rev: ab0a296607b58775e91948ba40956c666dbb1244)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Ross Burton
d686afb18f python3: update status on upstreamed patch
(From OE-Core rev: 319fb2d804b193d39d78010115e28a31b4f9f6e9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Tony Tascioglu
16fce99695 libxml2: Add bash dependency for ptests.
Before, running ptests on core-image-minimal would result in
an error due to missing /bin/bash:

   [ -d test   ] || ln -s ../libxml2-2.9.10/test   .
   make: /bin/bash: No such file or directory
   make: *** [Makefile:2105: runtests] Error 127

Changing the Makefile to use /bin/sh results in some of the
tests failing, so I have added the missing dependancy on bash.

(From OE-Core rev: d2e81298c446aec8d7fcf61fd5023ac30350f205)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Tony Tascioglu
d05cebc52b libxml2: Reformat runtest.patch
Reformatted runtest.patch to allow it to be applied using git am.
This makes it easier to apply the series of patches to the original git repo.

There are no changes to the code of the patch other than the reformat.

Previously, the patch claimed to be a backport, but I have not found an
upstream commit so I've changed the Upstream-Status to pending.

(From OE-Core rev: 0361d625e1573e846a2f03ed90a8b897bc405160)

Signed-off-by: Tony Tascioglu <tony.tascioglu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Stefan Ghinea
8ab36da6e8 boost: fix do_fetch failure
Bintray service has been discontinued causing boost do_fetch to fail:
WARNING: boost-1.76.0-r0 do_fetch: Failed to fetch URL
https://dl.bintray.com/boostorg/release/1.76.0/source/boost_1_76_0.tar.bz2,
attempting MIRRORS if available

(From OE-Core rev: 6a76da15ece9d27fca20ace12db4978092e042b7)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Khem Raj
9b0221fd8b gcc: Refresh patch to fix patch fuzz
This is due to previous patches editing common files from this patch

Fixes
ERROR: gcc-source-11.1.0-11.1.0-r0 do_patch: Fuzz detected:

Applying patch 0028-Add-ssp_nonshared-to-link-commandline-for-musl-targe.patch
patching file gcc/config/linux.h
Hunk #1 succeeded at 203 with fuzz 1 (offset 8 lines).
patching file gcc/config/rs6000/linux.h
patching file gcc/config/rs6000/linux64.h

(From OE-Core rev: d8c3f3a1872a41cc4788ff3d9f42c13debedabd2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Khem Raj
87635fa01c gcc: Extend .gccrelocprefix section support to musl configs
musl includes were not using the relocatable prefix like glibc
counterpart, this will mean that musl SDKs will behave better and find
the headers in right install directories

(From OE-Core rev: 8cb141306f13fa6e25c89c104af9ad0af431eb5d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Khem Raj
3b0603391b gcc: Add target gcc include search for musl config too
Musl has different search order and therefore injects it
via INCLUDE_DEFAULTS and does not use the defaults from
gcc/cppdefaults.h, this ensures that same fix is extended
to musl configs too where it can search for compiler headers
It will fix builds with musl where omp.h is not found because
it is in gcc includes path on target ( not cross ) sysroot

(From OE-Core rev: 3ff688ca02dcc4c0187d1ddc214ec0c74b4e73f1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:54 +01:00
Bruce Ashfield
6938faf9d1 kernel-devsrc: adjust NM and OBJTOOL variables for target
v5.13 has started storting the values for NM and OBJTOOL in
auto.conf.cmd

Just as we've done for other tools, we need to adjust NM and
OBJTOOL to the names of the on-target executables. With this
adjustment, 'make scripts prepare' continues to work without
user intervention on the target.

(From OE-Core rev: e749b81ece1f94f99ca26028a2f6f891aa14bda9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
3bdd5b934b linux-yocto/5.4: update to v5.4.119
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    b82e5721a173 Linux 5.4.119
    6b183fbf18b9 Revert "fdt: Properly handle "no-map" field in the memory region"
    66b8853dfa3c Revert "of/fdt: Make sure no-map does not remove already reserved regions"
    3fe9ee040fb7 sctp: delay auto_asconf init until binding the first addr
    e1bf000709cc Revert "net/sctp: fix race condition in sctp_destroy_sock"
    32e046965fac smp: Fix smp_call_function_single_async prototype
    9884f745108f net: Only allow init netns to set default tcp cong to a restricted algo
    4a83a9deead9 mm/memory-failure: unnecessary amount of unmapping
    de143fb2feac mm/sparse: add the missing sparse_buffer_fini() in error branch
    ba450bba7115 kfifo: fix ternary sign extension bugs
    24c54e0a9747 net:nfc:digital: Fix a double free in digital_tg_recv_dep_req
    07ef3f7bc5c4 net: bridge: mcast: fix broken length + header check for MRDv6 Adv.
    da5b49598a11 RDMA/bnxt_re: Fix a double free in bnxt_qplib_alloc_res
    30b9e92d0b5e RDMA/siw: Fix a use after free in siw_alloc_mr
    55fcdd1258fa net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send
    b1523e4ba293 bnxt_en: Fix RX consumer index logic in the error path.
    d1ad9f2f7e2d selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static
    6f92124d7441 net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb
    06e03b867d96 arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    978170191d3d ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    4bfea784ea35 bnxt_en: fix ternary sign extension bug in bnxt_show_temp()
    10ff6ad91e0d powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
    c6af4c1d196e ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock
    bf0be675e646 ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices
    87fc6b2914e5 net: phy: intel-xway: enable integrated led functions
    57bed78ce64a net: renesas: ravb: Fix a stuck issue when a lot of frames are received
    27a894a9556f net: davinci_emac: Fix incorrect masking of tx and rx error channel
    8d77c9564309 ALSA: usb: midi: don't return -ENOMEM when usb_urb_ep_type_check fails
    59f965ef61d7 RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails
    d7ba506b00ea RDMA/cxgb4: add missing qpid increment
    f7368865da57 gro: fix napi_gro_frags() Fast GRO breakage due to IP alignment check
    e97aea9f2503 vsock/vmci: log once the failed queue pair allocation
    469135100325 mwl8k: Fix a double Free in mwl8k_probe_hw
    afb735e764ba i2c: sh7760: fix IRQ error path
    da80b35b6e26 rtlwifi: 8821ae: upgrade PHY and RF parameters
    b1b8d90d4550 powerpc/pseries: extract host bridge from pci_bus prior to bus removal
    bdad13dd15e2 MIPS: pci-legacy: stop using of_pci_range_to_resource
    5950c9d7f987 perf beauty: Fix fsconfig generator
    0ff76bd07bc4 drm/i915/gvt: Fix error code in intel_gvt_init_device()
    ecfbcb858007 ASoC: ak5558: correct reset polarity
    c77bf004717d powerpc/xive: Fix xmon command "dxi"
    65b771660f57 i2c: sh7760: add IRQ check
    cb834ff29bdb i2c: jz4780: add IRQ check
    aa90700f953a i2c: emev2: add IRQ check
    45f02a0f8ded i2c: cadence: add IRQ check
    7e1764312440 i2c: sprd: fix reference leak when pm_runtime_get_sync fails
    5f51ddcbfc78 i2c: omap: fix reference leak when pm_runtime_get_sync fails
    815859cb1d23 i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails
    4734c4b1d957 i2c: img-scb: fix reference leak when pm_runtime_get_sync fails
    ed016b77012e RDMA/srpt: Fix error return code in srpt_cm_req_recv()
    e1d10b2cc792 net: thunderx: Fix unintentional sign extension issue
    b0d8fa3adc9d cxgb4: Fix unintentional sign extension issues
    05692b952365 IB/hfi1: Fix error return code in parse_platform_config()
    53656a2a0183 RDMA/qedr: Fix error return code in qedr_iw_connect()
    bf365066fbe0 KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit
    af5a87a1d413 mt7601u: fix always true expression
    53ada35f2ecc mac80211: bail out if cipher schemes are invalid
    22cb8496f290 powerpc: iommu: fix build when neither PCI or IBMVIO is set
    5aa028a827fe powerpc/perf: Fix PMU constraint check for EBB events
    73f9dccb29e4 powerpc/64s: Fix pte update for kernel memory on radix
    440fead0fc81 liquidio: Fix unintented sign extension of a left shift of a u16
    92626cf41b0e ASoC: simple-card: fix possible uninitialized single_cpu local variable
    e1b01d914c31 ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls
    11fa9b38e030 mips: bmips: fix syscon-reboot nodes
    c8f7e2e04724 net: hns3: Limiting the scope of vector_ring_chain variable
    cab33b3b6da8 nfc: pn533: prevent potential memory corruption
    efb0f45b4535 bug: Remove redundant condition check in report_bug
    7628bc544ba8 ALSA: core: remove redundant spin_lock pair in snd_card_disconnect
    3733a64d5828 powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration
    fee81285bd09 inet: use bigger hash table for IP ID generation
    318993949423 powerpc/prom: Mark identical_pvr_fixup as __init
    4543fcd6835b powerpc/fadump: Mark fadump_calculate_reserve_size as __init
    e00c5b9eebf0 net: lapbether: Prevent racing when checking whether the netif is running
    f937a0f6ada1 perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars
    1121f5f3d440 HID: plantronics: Workaround for double volume key presses
    59021008b317 drivers/block/null_blk/main: Fix a double free in null_init.
    279749d0d4ef sched/debug: Fix cgroup_path[] serialization
    c01fc0adba30 x86/events/amd/iommu: Fix sysfs type mismatch
    846357609409 HSI: core: fix resource leaks in hsi_add_client_from_dt()
    ff386ac05098 nvme-pci: don't simple map sgl when sgls are disabled
    7e1ab103f63f mfd: stm32-timers: Avoid clearing auto reload register
    e8fe98f6ec69 scsi: ibmvfc: Fix invalid state machine BUG_ON()
    ce8585f979e4 scsi: sni_53c710: Add IRQ check
    1ff0b82c6674 scsi: sun3x_esp: Add IRQ check
    4b94098f0aa7 scsi: jazz_esp: Add IRQ check
    ae0cadd35daf scsi: hisi_sas: Fix IRQ checks
    6adac4efe77d clk: uniphier: Fix potential infinite loop
    e1a5c8594c0e clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE
    6c9bbf98b1d8 clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback
    3d81ce0cfb31 vfio/mdev: Do not allow a mdev_type to have a NULL parent pointer
    e6707395c839 media: v4l2-ctrls.c: fix race condition in hdl->requests list
    b22867aa3d32 nvme: retrigger ANA log update if group descriptor isn't found
    999d606a820c nvmet-tcp: fix incorrect locking in state_change sk callback
    ced0760eb45a nvme-tcp: block BH in sk state_change sk callback
    4bbae57c7bde ata: libahci_platform: fix IRQ check
    bafcaa016585 sata_mv: add IRQ checks
    782ec39b37bd pata_ipx4xx_cf: fix IRQ check
    af9c0391353d pata_arasan_cf: fix IRQ check
    c66229b36fd3 x86/kprobes: Fix to check non boostable prefixes correctly
    1cfaa6444a5e drm/amdkfd: fix build error with AMD_IOMMU_V2=m
    bfd83cf79b7f media: m88rs6000t: avoid potential out-of-bounds reads on arrays
    7db94692631e media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()
    1dc1d30ac101 media: aspeed: fix clock handling logic
    d36f9755d1db media: omap4iss: return error code when omap4iss_get() failed
    75c6252e8630 media: vivid: fix assignment of dev->fbuf_out_flags
    6b121dc6807c soc: aspeed: fix a ternary sign expansion bug
    f276d195ce10 xen-blkback: fix compatibility bug with single page rings
    aafb5e38e695 ttyprintk: Add TTY hangup callback.
    ce7b62d85791 usb: dwc2: Fix hibernation between host and device modes.
    6f7ed537ca2d usb: dwc2: Fix host mode hibernation exit with remote wakeup flow.
    e83dcf255a13 Drivers: hv: vmbus: Increase wait time for VMbus unload
    9b47b3a67552 x86/platform/uv: Fix !KEXEC build failure
    9a9ce397336e platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table
    eec90f4b9575 usbip: vudc: fix missing unlock on error in usbip_sockfd_store()
    d3b6b252bab0 node: fix device cleanups in error handling code
    3f605558a4f7 firmware: qcom-scm: Fix QCOM_SCM configuration
    77a1c15145c8 serial: core: return early on unsupported ioctls
    b6803d57f587 tty: fix return value for unsupported ioctls
    932d67b84b4f tty: actually undefine superseded ASYNC flags
    a6fb73f4e009 USB: cdc-acm: fix TIOCGSERIAL implementation
    8abef571fd92 USB: cdc-acm: fix unprivileged TIOCCSERIAL
    9aa155203427 usb: gadget: r8a66597: Add missing null check on return from platform_get_resource
    4a01ad002d2e spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()
    eaf03935b859 cpufreq: armada-37xx: Fix determining base CPU frequency
    d33a00f35531 cpufreq: armada-37xx: Fix driver cleanup when registration failed
    4bffea742b66 clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 to L0
    0289edd869ac clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz
    0c793b76066b cpufreq: armada-37xx: Fix the AVS value for load L1
    b671a3277b7c clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM clock
    3518c6d0178c cpufreq: armada-37xx: Fix setting TBG parent for load levels
    19d16a689793 crypto: qat - Fix a double free in adf_create_ring
    32f5f51a3703 ACPI: CPPC: Replace cppc_attr with kobj_attribute
    726837481c93 soc: qcom: mdt_loader: Detect truncated read of segments
    08b601cb7aef soc: qcom: mdt_loader: Validate that p_filesz < p_memsz
    001c8e83646a spi: Fix use-after-free with devm_spi_alloc_*
    3b0cd47fe1b7 PM / devfreq: Use more accurate returned new_freq as resume_freq
    51a5e5e93c01 staging: greybus: uart: fix unprivileged TIOCCSERIAL
    c751e448b726 staging: rtl8192u: Fix potential infinite loop
    8148375c865f irqchip/gic-v3: Fix OF_BAD_ADDR error handling
    ef8e7bfea99a mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init
    f6a90818a320 m68k: mvme147,mvme16x: Don't wipe PCC timer config bits
    870533403ffa soundwire: stream: fix memory leak in stream config error path
    7cd10f8a5a9d memory: pl353: fix mask of ECC page_size config register
    6b18f6ac820e USB: gadget: udc: fix wrong pointer passed to IS_ERR() and PTR_ERR()
    93615b25c78f usb: gadget: aspeed: fix dma map failure
    c675ead206b7 crypto: qat - fix error path in adf_isr_resource_alloc()
    f3685a9ef29d phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally
    4dc0332faf80 soundwire: bus: Fix device found flag correctly
    3a76ec28824c bus: qcom: Put child node before return
    5880afefe0cb mtd: require write permissions for locking and badblock ioctls
    ff352d27d4ce fotg210-udc: Complete OUT requests on short packets
    0d19ad0706c2 fotg210-udc: Don't DMA more than the buffer can take
    88f1100e523c fotg210-udc: Mask GRP2 interrupts we don't handle
    f580a8046acf fotg210-udc: Remove a dubious condition leading to fotg210_done
    359d1b0ad239 fotg210-udc: Fix EP0 IN requests bigger than two packets
    9a97aa4bbe0f fotg210-udc: Fix DMA on EP0 for length > max packet size
    05ec8192ee4b crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init
    2a41049a0e21 crypto: qat - don't release uninitialized resources
    cfd99d250cde usb: gadget: pch_udc: Check for DMA mapping error
    44452b7bd35d usb: gadget: pch_udc: Check if driver is present before calling ->setup()
    23978eb064dc usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits()
    369428a646b7 x86/microcode: Check for offline CPUs before requesting new microcode
    6b8ff2a35a74 arm64: dts: renesas: r8a77980: Fix vin4-7 endpoint binding
    cbf784eff5de spi: stm32: drop devres version of spi_register_master
    15ee35be9286 arm64: dts: qcom: sm8150: fix number of pins in 'gpio-ranges'
    168877a575a5 mtd: rawnand: qcom: Return actual error code instead of -ENODEV
    73744fcb4eb0 mtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions()
    e5b3e69eb36a mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC
    9e612890bb87 mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe()
    d8897f7b2283 regmap: set debugfs_name to NULL after it is freed
    0d2c86076844 usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS
    6e666a05e540 serial: stm32: fix tx_empty condition
    12e423331ec9 serial: stm32: fix incorrect characters on console
    6be27923140a ARM: dts: exynos: correct PMIC interrupt trigger level on Snow
    aacfc3bef07b ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250
    d788a900f362 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family
    f9b701bc13da ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family
    6cf80f1fc1a9 ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family
    73bc2732108c ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family
    12d9d517a2fe memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]
    52189bf0b2a2 usb: gadget: pch_udc: Revert d3cb25a12138 completely
    db699975f72d ovl: fix missing revert_creds() on error path
    a51050108bed Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register"
    7d1bc32d6477 KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
    cc6623055f2d KVM: nVMX: Truncate bits 63:32 of VMCS field on nested check in !64-bit
    358264425747 KVM: s390: split kvm_s390_real_to_abs
    45a3ae26fcd9 s390: fix detection of vector enhancements facility 1 vs. vector packed decimal facility
    9ea2c4fd1a72 KVM: s390: fix guarded storage control register handling
    34a6d1d57c71 KVM: s390: split kvm_s390_logical_to_effective
    027de80194fb ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable
    1bfa051571ac ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices
    9337f5ba5090 ALSA: hda/realtek: Re-order ALC662 quirk table entries
    5f68b0ec9882 ALSA: hda/realtek: Re-order remaining ALC269 quirk table entries
    15b414029478 ALSA: hda/realtek: Re-order ALC269 Lenovo quirk table entries
    99aa203c6eb6 ALSA: hda/realtek: Re-order ALC269 Sony quirk table entries
    1f1612fc6bea ALSA: hda/realtek: Re-order ALC269 ASUS quirk table entries
    65d5b99c1ea9 ALSA: hda/realtek: Re-order ALC269 Dell quirk table entries
    b161e02481d8 ALSA: hda/realtek: Re-order ALC269 Acer quirk table entries
    bd0e9154100c ALSA: hda/realtek: Re-order ALC269 HP quirk table entries
    e97cf247ba44 ALSA: hda/realtek: Re-order ALC882 Clevo quirk table entries
    02968e62200a ALSA: hda/realtek: Re-order ALC882 Sony quirk table entries
    6d9e8828fa77 ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries
    e584e52783a4 drm/amd/display: Reject non-zero src_y and src_x for video planes
    56f2ea0bc2a1 drm/radeon: fix copy of uninitialized variable back to userspace
    4aea3ddac00a drm/panfrost: Don't try to map pages that are already mapped
    debaae7ac45a drm/panfrost: Clear MMU irqs before handling the fault
    6b5aa0cf321c rtw88: Fix array overrun in rtw_get_tx_power_params()
    e5b02c096145 cfg80211: scan: drop entry from hidden_list on overflow
    16b68fb8df43 ipw2x00: potential buffer overflow in libipw_wx_set_encodeext()
    af7ea06b3cae md: Fix missing unused status line of /proc/mdstat
    79c1bfae668d md: md_open returns -EBUSY when entering racing area
    adb9bbf1a284 md: factor out a mddev_find_locked helper from mddev_find
    afa4de092663 md: split mddev_find
    acdf531e77f0 md-cluster: fix use-after-free issue when removing rdev
    a72373588ce3 md/bitmap: wait for external bitmap writes to complete during tear down
    45bc83f71b22 misc: vmw_vmci: explicitly initialize vmci_datagram payload
    0f8f75b92ecc misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct
    34f6ba8810c3 misc: lis3lv02d: Fix false-positive WARN on various HP models
    8809d87cb86f iio:accel:adis16201: Fix wrong axis assignment that prevents loading
    7cb1f304237a PCI: Allow VPD access for QLogic ISP2722
    f30ded0ba1b6 FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR
    8943172edaf7 MIPS: pci-rt2880: fix slot 0 configuration
    cd2e53ad366f MIPS: pci-mt7620: fix PLL lock check
    4dce2a19e76b ASoC: Intel: kbl_da7219_max98927: Fix kabylake_ssp_fixup function
    79cc386696fb ASoC: samsung: tm2_wm5110: check of of_parse return value
    2b8b8cc94f4d usb: xhci-mtk: improve bandwidth scheduling with TT
    9f0d3e676a25 usb: xhci-mtk: remove or operator for setting schedule parameters
    230bd196536b usb: typec: tcpm: update power supply once partner accepts
    9d7bb10859b9 usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply
    c87bb48ac5c5 usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply
    66ca71d28301 staging: fwserial: fix TIOCSSERIAL permission check
    ebb46274e33f tty: moxa: fix TIOCSSERIAL permission check
    d524fb44c657 staging: fwserial: fix TIOCSSERIAL jiffies conversions
    f80f12ee00b8 USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check
    f50cad556c28 staging: greybus: uart: fix TIOCSSERIAL jiffies conversions
    3114fedf4020 USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions
    edce32412096 tty: amiserial: fix TIOCSSERIAL permission check
    e503d7bc7bfe tty: moxa: fix TIOCSSERIAL jiffies conversions
    c30b11c74cbb Revert "USB: cdc-acm: fix rounding error in TIOCSSERIAL"
    e32352070bca net/nfc: fix use-after-free llcp_sock_bind/connect
    eeec325c9944 bluetooth: eliminate the potential race condition when removing the HCI controller
    119858caf400 hsr: use netdev_err() instead of WARN_ONCE()
    3a826ffa80d5 Bluetooth: verify AMP hci_chan before amp_destroy

(From OE-Core rev: 4d00220f08e9ec8e421157187794b5701ffc04eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
59a631a847 linux-yocto/5.10: update to v5.10.37
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    e97bd1e03e6e Linux 5.10.37
    42f1b8653f85 sctp: delay auto_asconf init until binding the first addr
    14919cdf68d0 Revert "net/sctp: fix race condition in sctp_destroy_sock"
    41f1aed56de5 smp: Fix smp_call_function_single_async prototype
    6c1ea8bee75d net: Only allow init netns to set default tcp cong to a restricted algo
    2281df0b0226 arm64: Remove arm64_dma32_phys_limit and its uses
    00d9f429af03 bpf: Prevent writable memory-mapping of read-only ringbuf pages
    1ca284f08670 bpf, ringbuf: Deny reserve of buffers larger than ringbuf
    282bfc8848ea bpf: Fix alu32 const subreg bound tracking on bitwise operations
    f76e0829bbab afs: Fix speculative status fetches
    949e7c5f4957 mm/memory-failure: unnecessary amount of unmapping
    62d96faa74c8 mm/sparse: add the missing sparse_buffer_fini() in error branch
    31df8bc4d3fe mm: memcontrol: slab: fix obtain a reference to a freeing memcg
    2e95bc6cfed1 mm/sl?b.c: remove ctor argument from kmem_cache_flags
    618fa6a35c79 kfifo: fix ternary sign extension bugs
    c02dd80655fd ia64: fix EFI_DEBUG build
    c6b7e0b1ab87 perf session: Add swap operation for event TIME_CONV
    86941f8bd46a perf jit: Let convert_timestamp() to be backwards-compatible
    fe07408afba2 perf tools: Change fields type in perf_record_time_conv
    3bce718d977b net:nfc:digital: Fix a double free in digital_tg_recv_dep_req
    e2c34cacff7b net: bridge: mcast: fix broken length + header check for MRDv6 Adv.
    f5ce59707d6a RDMA/bnxt_re: Fix a double free in bnxt_qplib_alloc_res
    608a4b90ece0 RDMA/siw: Fix a use after free in siw_alloc_mr
    4394be0a1866 bpf: Fix propagation of 32 bit unsigned bounds from 64 bit bounds
    183d9ebd449c selftests/bpf: Fix core_reloc test runner
    0257a0a5ffb7 selftests/bpf: Fix field existence CO-RE reloc tests
    3769c54d341c selftests/bpf: Fix BPF_CORE_READ_BITFIELD() macro
    9dc373f74097 net:emac/emac-mac: Fix a use after free in emac_mac_tx_buf_send
    8fcdfa71ba6a KVM: VMX: Intercept FS/GS_BASE MSR accesses for 32-bit KVM
    4fcaad2b7dac bnxt_en: Fix RX consumer index logic in the error path.
    1625872f012c selftests: mlxsw: Remove a redundant if statement in tc_flower_scale test
    8ebdce8fe0b0 selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static
    71ad9260c001 net: geneve: modify IP header check in geneve6_xmit_skb and geneve_xmit_skb
    1fc61844b6a2 arm64: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    0ae610556f23 ARM: dts: uniphier: Change phy-mode to RGMII-ID to enable delay pins for RTL8211E
    66b1cfc0cd87 bnxt_en: fix ternary sign extension bug in bnxt_show_temp()
    9f722ef596fe net: enetc: fix link error again
    bfcb5a8cc7b6 net: phy: marvell: fix m88e1111_set_downshift
    1157d01e04d9 net: phy: marvell: fix m88e1011_set_downshift
    be631825652f powerpc/52xx: Fix an invalid ASM expression ('addi' used instead of 'add')
    e06a532f31c4 powerpc/perf: Fix the threshold event selection for memory events in power10
    b6b894e7a27e wlcore: Fix buffer overrun by snprintf due to incorrect buffer size
    1cce33fe59f0 ath10k: Fix ath10k_wmi_tlv_op_pull_peer_stats_info() unlock without lock
    8bb054fb336f ath10k: Fix a use after free in ath10k_htc_send_bundle
    0f98e1ea970c ath9k: Fix error check in ath9k_hw_read_revisions() for PCI devices
    4b9fb2c9039a powerpc/64: Fix the definition of the fixmap area
    c5ebaca402f5 RDMA/core: Add CM to restrack after successful attachment to a device
    63c61d26e3fb RDMA/rxe: Fix a bug in rxe_fill_ip_info()
    7fe12d6db3f0 net: phy: intel-xway: enable integrated led functions
    cf49a91faa7d net: renesas: ravb: Fix a stuck issue when a lot of frames are received
    01dab91200dc net: stmmac: fix TSO and TBS feature enabling during driver open
    64753ac1e43e nfp: devlink: initialize the devlink port attribute "lanes"
    e606073b77a3 crypto: ccp: Detect and reject "invalid" addresses destined for PSP
    4fa28c807da5 mt76: mt7615: fix memleak when mt7615_unregister_device()
    9ed951f41643 net: davinci_emac: Fix incorrect masking of tx and rx error channel
    0ce6052802be net: marvell: prestera: fix port event handling on init
    b605673b523f vsock/virtio: free queued packets when closing socket
    5231d17eb9d0 sfc: ef10: fix TX queue lookup in TX event handling
    7459bb594328 ALSA: usb: midi: don't return -ENOMEM when usb_urb_ep_type_check fails
    312c5ce34942 RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails
    45b84abb47a9 RDMA/cxgb4: add missing qpid increment
    da54cc254939 gro: fix napi_gro_frags() Fast GRO breakage due to IP alignment check
    257f38e78aa3 net: ethernet: ixp4xx: Set the DMA masks explicitly
    78d8b34751cf libbpf: Initialize the bpf_seq_printf parameters array field by field
    b9e719698fc4 vsock/vmci: log once the failed queue pair allocation
    bc2e5321d7f1 netfilter: nftables_offload: special ethertype handling for VLAN
    a7eb38aacc81 netfilter: nftables_offload: VLAN id needs host byteorder in flow dissector
    cf2de861b279 netfilter: nft_payload: fix C-VLAN offload support
    1dd5ac62c0d4 mwl8k: Fix a double Free in mwl8k_probe_hw
    87299aad6278 i2c: mediatek: Fix wrong dma sync flag
    232598e99fad i2c: sh7760: fix IRQ error path
    d204db4fe6ac wlcore: fix overlapping snprintf arguments in debugfs
    c0aa320ac617 rtlwifi: 8821ae: upgrade PHY and RF parameters
    e9bd1af4c038 KVM: x86: dump_vmcs should not assume GUEST_IA32_EFER is valid
    bf6476152a0a powerpc/smp: Reintroduce cpu_core_mask
    af39f070c8b0 powerpc/pseries: extract host bridge from pci_bus prior to bus removal
    8dfd7329ad0b MIPS: pci-legacy: stop using of_pci_range_to_resource
    cabed6027a5b drm/amd/pm: fix error code in smu_set_power_limit()
    486642baea69 perf beauty: Fix fsconfig generator
    0df2770ad33b iommu/amd: Put newline after closing bracket in warning
    a1c1de90cd28 drm/i915/gvt: Fix error code in intel_gvt_init_device()
    2b3ae007c639 net/packet: remove data races in fanout operations
    3a1c395703be net/packet: make packet_fanout.arr size configurable up to 64K
    d10c5162b493 net/mlx5: Fix bit-wise and with zero
    d97d22bda17a ASoC: ak5558: correct reset polarity
    c1f980961133 powerpc/xive: Fix xmon command "dxi"
    e2724bed6481 powerpc/xive: Drop check on irq_data in xive_core_debug_show()
    a38b77899c2c i2c: sh7760: add IRQ check
    4b8177766a8b i2c: rcar: add IRQ check
    1ac4f7a26017 i2c: rcar: protect against supurious interrupts on V3U
    11e2b2b6f6b9 i2c: rcar: make sure irq is not threaded on Gen2 and earlier
    f41d2bfef538 i2c: mlxbf: add IRQ check
    c6eea11b5cb6 i2c: jz4780: add IRQ check
    ab6d6cae0aa1 i2c: emev2: add IRQ check
    6f291ab1776e i2c: cadence: add IRQ check
    c977426db644 i2c: xiic: fix reference leak when pm_runtime_get_sync fails
    c323b270a52a i2c: stm32f7: fix reference leak when pm_runtime_get_sync fails
    e547640cee79 i2c: sprd: fix reference leak when pm_runtime_get_sync fails
    8c0a2009fb20 i2c: omap: fix reference leak when pm_runtime_get_sync fails
    3a0cdd336d92 i2c: imx: fix reference leak when pm_runtime_get_sync fails
    cc49d2064142 i2c: imx-lpi2c: fix reference leak when pm_runtime_get_sync fails
    e80ae8bde412 i2c: img-scb: fix reference leak when pm_runtime_get_sync fails
    30410519328c i2c: cadence: fix reference leak when pm_runtime_get_sync fails
    b64415c6b347 RDMA/rtrs-clt: destroy sysfs after removing session from active list
    6a07e5e39d4f RDMA/srpt: Fix error return code in srpt_cm_req_recv()
    4601bcc6410c net: thunderx: Fix unintentional sign extension issue
    6a61307e58ab cxgb4: Fix unintentional sign extension issues
    52fd8005a239 RDMA/bnxt_re: Fix error return code in bnxt_qplib_cq_process_terminal()
    afb738b74447 IB/hfi1: Fix error return code in parse_platform_config()
    a12d75f5dcfb RDMA/qedr: Fix error return code in qedr_iw_connect()
    0f8528c78fc8 ovl: invalidate readdir cache on changes to dir with origin
    082fa65bf60a KVM: PPC: Book3S HV P9: Restore host CTRL SPR after guest exit
    de4e60382b90 mt76: mt7663s: fix the possible device hang in high traffic
    188dfc470263 mt76: mt7663s: make all of packets 4-bytes aligned in sdio tx aggregation
    bf08637d32e6 mt76: mt7915: fix mib stats counter reporting to mac80211
    0b39be51626d mt76: mt7615: fix mib stats counter reporting to mac80211
    2da92db47f07 mt76: mt7915: fix aggr len debugfs node
    4e7914ce2330 mt76: mt7915: fix tx skb dma unmap
    75bc5f779a76 mt76: mt7615: fix tx skb dma unmap
    3443c54c4171 mt7601u: fix always true expression
    00792f31a330 rtw88: Fix an error code in rtw_debugfs_set_rsvd_page()
    80cff3e11670 xfs: fix return of uninitialized value in variable error
    b07520a55f10 perf vendor events amd: Fix broken L2 Cache Hits from L2 HWPF metric
    08c75d4b7682 mac80211: bail out if cipher schemes are invalid
    e00f32c2c97b powerpc: iommu: fix build when neither PCI or IBMVIO is set
    8ce329c68983 powerpc/perf: Fix PMU constraint check for EBB events
    84c0762633f2 powerpc/64s: Fix pte update for kernel memory on radix
    8fac4bd3674f IB/hfi1: Use kzalloc() for mmu_rb_handler allocation
    f9e9df72dc08 liquidio: Fix unintented sign extension of a left shift of a u16
    c87df56d28a6 ASoC: simple-card: fix possible uninitialized single_cpu local variable
    325e8f9edf72 KVM: arm64: Initialize VCPU mdcr_el2 before loading it
    348f68ae40c8 HID: lenovo: Map mic-mute button to KEY_F20 instead of KEY_MICMUTE
    9b14027e4cc2 HID: lenovo: Check hid_get_drvdata() returns non NULL in lenovo_event()
    5ccdc6dd6266 HID: lenovo: Fix lenovo_led_set_tp10ubkbd() error handling
    29bfd0446a2c HID: lenovo: Use brightness_set_blocking callback for setting LEDs brightness
    716132e00ce1 ALSA: usb-audio: Add error checks for usb_driver_claim_interface() calls
    e759105d459b iommu/vt-d: Invalidate PASID cache when root/context entry changed
    c848416cc05a iommu/vt-d: Remove WO permissions on second-level paging entries
    416fa531c816 iommu/vt-d: Preset Access/Dirty bits for IOVA over FL
    32737c3a2669 iommu/vt-d: Report the right page fault address
    eb0530d71c78 iommu/vt-d: Report right snoop capability when using FL for IOVA
    620aa5821aaa iommu: Fix a boundary issue to avoid performance drop
    c96f7eb59b7e iommu/vt-d: Don't set then clear private data in prq_event_thread()
    e0c7b956162b mips: bmips: fix syscon-reboot nodes
    3cf9fac71b79 net: hns3: Limiting the scope of vector_ring_chain variable
    db574a60c482 nfc: pn533: prevent potential memory corruption
    a16f02187d9d RDMA/core: Fix corrupted SL on passive side
    556e75a0ae03 bug: Remove redundant condition check in report_bug
    faba97afdbb9 net/tipc: fix missing destroy_workqueue() on error in tipc_crypto_start()
    fd26f3a07e73 powerpc/pseries: Only register vio drivers if vio bus exists
    4877c4a52339 udp: never accept GSO_FRAGLIST packets
    c45cb22a5500 net: phy: lan87xx: fix access to wrong register of LAN87xx
    897c095c7e9e ALSA: core: remove redundant spin_lock pair in snd_card_disconnect
    afb3416c4fef gpio: guard gpiochip_irqchip_add_domain() with GPIOLIB_IRQCHIP
    9becf957e0b0 MIPS/bpf: Enable bpf_probe_read{, str}() on MIPS again
    19c990c9fad3 powerpc: Fix HAVE_HARDLOCKUP_DETECTOR_ARCH build configuration
    499b3ceb17ad IB/isert: Fix a use after free in isert_connect_request
    78f537c0054a RDMA/mlx5: Fix drop packet rule in egress table
    4ff081701b3d iommu/arm-smmu-v3: add bit field SFM into GERROR_ERR_MASK
    9681d50a70b2 ASoC: wm8960: Remove bitclk relax condition in wm8960_configure_sysclk
    0f69f9596ba0 MIPS: loongson64: fix bug when PAGE_SIZE > 16KB
    da40d5fec5d7 pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zero
    353fcebf49e2 pinctrl: pinctrl-single: remove unused parameter
    a273c27d7255 inet: use bigger hash table for IP ID generation
    6b4b3b84049f ima: Fix the error code for restoring the PCR value
    536175f0065c MIPS: fix local_irq_{disable,enable} in asmmacro.h
    4c45556db31c powerpc/prom: Mark identical_pvr_fixup as __init
    494327b777f6 powerpc/fadump: Mark fadump_calculate_reserve_size as __init
    454fb207476b libbpf: Add explicit padding to btf_dump_emit_type_decl_opts
    87520507b1ae selftests/bpf: Re-generate vmlinux.h and BPF skeletons if bpftool changed
    ee06efc811ea iommu/vt-d: Reject unsupported page request modes
    b60e13c30688 iommu: Check dev->iommu in iommu_dev_xxx functions
    3d15bf2b2c93 bpftool: Fix maybe-uninitialized warnings
    b1ed7a571750 libbpf: Add explicit padding to bpf_xdp_set_link_opts
    f72e3d81c622 net: lapbether: Prevent racing when checking whether the netif is running
    7cc0ba67883c Bluetooth: avoid deadlock between hci_dev->lock and socket lock
    5cce890e5dc6 KVM: x86/mmu: Retry page faults that hit an invalid memslot
    cd6e679b8d1d wilc1000: write value to WILC_INTR2_ENABLE register
    0d74db145787 RDMA/mlx5: Fix mlx5 rates to IB rates map
    4ebb3b797a63 ASoC: Intel: Skylake: Compile when any configuration is selected
    5fb733e250c0 ASoC: Intel: boards: sof-wm8804: add check for PLL setting
    b3222026dde7 perf symbols: Fix dso__fprintf_symbols_by_name() to return the number of printed chars
    56027a2e75e6 HID: plantronics: Workaround for double volume key presses
    613f9d1f1587 xsk: Respect device's headroom and tailroom on generic xmit path
    5378c92425f3 drivers/block/null_blk/main: Fix a double free in null_init.
    94f1bdf01b39 sched/debug: Fix cgroup_path[] serialization
    cbbc13b115b8 io_uring: fix overflows checks in provide buffers
    db4645fbae17 perf/amd/uncore: Fix sysfs type mismatch
    c8a54b4d6657 x86/events/amd/iommu: Fix sysfs type mismatch
    d5149a487f2d HSI: core: fix resource leaks in hsi_add_client_from_dt()
    38c1f8ebb373 media: cedrus: Fix H265 status definitions
    a11497b3bb75 nvme-pci: don't simple map sgl when sgls are disabled
    b2c55f81c1d1 nvmet-tcp: fix a segmentation fault during io parsing error
    2842b91ac7a5 mfd: stm32-timers: Avoid clearing auto reload register
    cadbba5ec895 mailbox: sprd: Introduce refcnt when clients requests/free channels
    b42ec774db50 scsi: ibmvfc: Fix invalid state machine BUG_ON()
    5129ec347a89 scsi: sni_53c710: Add IRQ check
    79ee30433357 scsi: sun3x_esp: Add IRQ check
    18e729d21f26 scsi: jazz_esp: Add IRQ check
    7d81167e513f scsi: hisi_sas: Fix IRQ checks
    aa83f32d40e2 scsi: ufs: ufshcd-pltfrm: Fix deferred probing
    4e5e08975521 scsi: pm80xx: Fix potential infinite loop
    a613887c4126 scsi: pm80xx: Increase timeout for pm80xx mpi_uninit_check()
    d3d3735858e0 clk: uniphier: Fix potential infinite loop
    c360228ecfb1 drm/radeon: Fix a missing check bug in radeon_dp_mst_detect()
    a6d56760eaba drm/amd/display: use GFP_ATOMIC in dcn20_resource_construct
    3968d95f3116 clk: qcom: apss-ipq-pll: Add missing MODULE_DEVICE_TABLE
    edc6a44bcc49 clk: qcom: a53-pll: Add missing MODULE_DEVICE_TABLE
    a6596d71a635 drm: xlnx: zynqmp: fix a memset in zynqmp_dp_train()
    fc076f40c859 clk: zynqmp: pll: add set_pll_mode to check condition in zynqmp_pll_enable
    9c91a014a3b5 clk: zynqmp: move zynqmp_pll_set_mode out of round_rate callback
    b29d6a435e0f vfio/mdev: Do not allow a mdev_type to have a NULL parent pointer
    87856f9af04e vfio/pci: Re-order vfio_pci_probe()
    dad86dd76b8b vfio/pci: Move VGA and VF initialization to functions
    daa72300c996 vfio/fsl-mc: Re-order vfio_fsl_mc_probe()
    d0702c665e6b media: v4l2-ctrls.c: fix race condition in hdl->requests list
    2d49873b49dc media: i2c: imx219: Balance runtime PM use-count
    0050c9794135 media: i2c: imx219: Move out locking/unlocking of vflip and hflip controls from imx219_set_stream
    59dd4fe0ae03 nvme: retrigger ANA log update if group descriptor isn't found
    20719538c49f power: supply: bq25980: Move props from battery node
    9e33e261b4d6 clk: imx: Fix reparenting of UARTs not associated with stdout
    60ade0d56b06 nvmet-tcp: fix incorrect locking in state_change sk callback
    a3ea59d09525 nvme-tcp: block BH in sk state_change sk callback
    7456cc7c9fd5 seccomp: Fix CONFIG tests for Seccomp_filters
    4f53ef0f7841 ata: libahci_platform: fix IRQ check
    6187fa250294 sata_mv: add IRQ checks
    f87689e71604 pata_ipx4xx_cf: fix IRQ check
    d1bb0316f507 pata_arasan_cf: fix IRQ check
    0ad91dc7ea8e selftests: fix prepending $(OUTPUT) to $(TEST_PROGS)
    296da2049f2a x86/kprobes: Fix to check non boostable prefixes correctly
    e2ff41d2ee4d of: overlay: fix for_each_child.cocci warnings
    c272c735a1e2 drm/amdkfd: fix build error with AMD_IOMMU_V2=m
    d218c7a0284f media: atomisp: Fix use after free in atomisp_alloc_css_stat_bufs()
    1f743e8d582b media: m88rs6000t: avoid potential out-of-bounds reads on arrays
    96498fbb7b14 media: atomisp: Fixed error handling path
    cc4cc2fb5aaf media: [next] staging: media: atomisp: fix memory leak of object flash
    99ce023bb8bb media: docs: Fix data organization of MEDIA_BUS_FMT_RGB101010_1X30
    757d5d54ca71 media: m88ds3103: fix return value check in m88ds3103_probe()
    697af15095fc media: platform: sunxi: sun6i-csi: fix error return code of sun6i_video_start_streaming()
    00b68a747834 media: venus: core: Fix some resource leaks in the error path of 'venus_probe()'
    0741a8f2e5b0 drm/probe-helper: Check epoch counter in output_poll_execute()
    a59d01384c80 media: aspeed: fix clock handling logic
    29eb741801b3 media: rkisp1: rsz: crash fix when setting src format
    38f9456ef5a2 media: omap4iss: return error code when omap4iss_get() failed
    3ad6a6288c88 media: saa7146: use sg_dma_len when building pgtable
    a250df336aa5 media: saa7134: use sg_dma_len when building pgtable
    385470a358a6 media: vivid: fix assignment of dev->fbuf_out_flags
    7d81aff28953 rcu: Remove spurious instrumentation_end() in rcu_nmi_enter()
    95f4e9f33b70 afs: Fix updating of i_mode due to 3rd party change
    80862cbf76c2 sched/fair: Fix shift-out-of-bounds in load_balance()
    ef8a03901259 drm/mcde/panel: Inverse misunderstood flag
    403c4528e588 drm/amd/display: Fix off by one in hdmi_14_process_transaction()
    9f075cb08822 drm/stm: Fix bus_flags handling
    1de265ad3c3c drm/tilcdc: send vblank event when disabling crtc
    8e81ff6d512e soc: aspeed: fix a ternary sign expansion bug
    bbe9de67ac5b xen-blkback: fix compatibility bug with single page rings
    565e7c98d332 serial: omap: fix rs485 half-duplex filtering
    9c3e2ad20b0c serial: omap: don't disable rs485 if rts gpio is missing
    927162c7133f ttyprintk: Add TTY hangup callback.
    62bb46f51f91 usb: dwc2: Fix hibernation between host and device modes.
    7bf9d7286cf2 usb: dwc2: Fix host mode hibernation exit with remote wakeup flow.
    1789737ca9f1 PM: hibernate: x86: Use crc32 instead of md5 for hibernation e820 integrity check
    8b4d4bd1f1ce Drivers: hv: vmbus: Increase wait time for VMbus unload
    816fbc17cbe8 hwmon: (pmbus/pxe1610) don't bail out when not all pages are active
    ee9bc379e43c x86/platform/uv: Fix !KEXEC build failure
    5980a3b9c933 spi: spi-zynqmp-gqspi: return -ENOMEM if dma_map_single fails
    1231279389b5 spi: spi-zynqmp-gqspi: fix use-after-free in zynqmp_qspi_exec_op
    fa3a26b43760 spi: spi-zynqmp-gqspi: fix hang issue when suspend/resume
    24159580abcc spi: spi-zynqmp-gqspi: fix clk_enable/disable imbalance issue
    d5c7b42c9f56 Drivers: hv: vmbus: Use after free in __vmbus_open()
    b49bdd70b337 ARM: dts: aspeed: Rainier: Fix humidity sensor bus address
    fe310fd19ff1 platform/x86: pmc_atom: Match all Beckhoff Automation baytrail boards with critclk_systems DMI table
    09a119a2d4c0 security: keys: trusted: fix TPM2 authorizations
    7bb63ed88189 memory: samsung: exynos5422-dmc: handle clk_set_parent() failure
    71bcc1b4a174 memory: renesas-rpc-if: fix possible NULL pointer dereference of resource
    73585b2714db spi: spi-zynqmp-gqspi: Fix missing unlock on error in zynqmp_qspi_exec_op()
    58ee5a0de192 m68k: Add missing mmap_read_lock() to sys_cacheflush()
    99d2fa2daf6d usbip: vudc: fix missing unlock on error in usbip_sockfd_store()
    99a29899e3a3 crypto: chelsio - Read rxchannel-id from firmware
    c703ef8289dc node: fix device cleanups in error handling code
    190a2f24aed6 firmware: qcom-scm: Fix QCOM_SCM configuration
    26882a15ed23 serial: core: return early on unsupported ioctls
    1d9cde4ddf6c tty: fix return value for unsupported termiox ioctls
    eef2158b0c44 tty: Remove dead termiox code
    aa7f103da301 tty: fix return value for unsupported ioctls
    bd8fa4ef36ca tty: actually undefine superseded ASYNC flags
    45c7e5c1428f USB: cdc-acm: fix TIOCGSERIAL implementation
    4425c2f32ac9 USB: cdc-acm: fix unprivileged TIOCCSERIAL
    e38a77c48aa0 usb: gadget: r8a66597: Add missing null check on return from platform_get_resource
    ce02e58ddf86 spi: fsl-lpspi: Fix PM reference leak in lpspi_prepare_xfer_hardware()
    cbe254a1fdce spi: spi-zynqmp-gqspi: fix incorrect operating mode in zynqmp_qspi_read_op
    314469666791 spi: spi-zynqmp-gqspi: transmit dummy circles by using the controller's internal functionality
    6bd307eb518d spi: spi-zynqmp-gqspi: add mutex locking for exec_op
    c164328f57c4 spi: spi-zynqmp-gqspi: use wait_for_completion_timeout to make zynqmp_qspi_exec_op not interruptible
    36cf347de9c4 cpufreq: armada-37xx: Fix determining base CPU frequency
    2f412fba2749 cpufreq: armada-37xx: Fix driver cleanup when registration failed
    6d7507243e05 clk: mvebu: armada-37xx-periph: Fix workaround for switching from L1 to L0
    a7ddbc86e4e4 clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz
    ce4b8f58b611 cpufreq: armada-37xx: Fix the AVS value for load L1
    cccc3f18fcb5 clk: mvebu: armada-37xx-periph: remove .set_parent method for CPU PM clock
    a13b110e7c9e cpufreq: armada-37xx: Fix setting TBG parent for load levels
    1faf7e6199b8 crypto: qat - Fix a double free in adf_create_ring
    0e596b373464 crypto: sa2ul - Fix memory leak of rxd
    2c67a9333da9 crypto: sun8i-ss - Fix memory leak of pad
    2e57ffdb5696 crypto: allwinner - add missing CRYPTO_ prefix
    ac0fc2de8ad1 ACPI: CPPC: Replace cppc_attr with kobj_attribute
    e65c287c9bd8 cpuidle: Fix ARM_QCOM_SPM_CPUIDLE configuration
    8316ec23bdd0 PM: runtime: Replace inline function pm_runtime_callbacks_present()
    d97cb4365747 soc: qcom: mdt_loader: Detect truncated read of segments
    ab86e5145f61 soc: qcom: mdt_loader: Validate that p_filesz < p_memsz
    078362f495a0 spi: fsl: add missing iounmap() on error in of_fsl_spi_probe()
    c7fabe372a90 spi: Fix use-after-free with devm_spi_alloc_*
    1de36911689c clocksource/drivers/ingenic_ost: Fix return value check in ingenic_ost_probe()
    edfcc1835958 clocksource/drivers/timer-ti-dm: Add missing set_state_oneshot_stopped
    410a1da7ee0e clocksource/drivers/timer-ti-dm: Fix posted mode status check order
    0681c62d1ea2 PM / devfreq: Use more accurate returned new_freq as resume_freq
    165b71a98c5a soc: qcom: pdr: Fix error return code in pdr_register_listener
    49f71d50cb30 staging: greybus: uart: fix unprivileged TIOCCSERIAL
    2c3ce3d84e80 staging: fwserial: fix TIOCGSERIAL implementation
    e08a24ae25b3 staging: fwserial: fix TIOCSSERIAL implementation
    40d622b31baf staging: rtl8192u: Fix potential infinite loop
    ab727e601cb5 staging: comedi: tests: ni_routes_test: Fix compilation error
    16ed454e10a8 irqchip/gic-v3: Fix OF_BAD_ADDR error handling
    b1d1f644ed9e mtd: rawnand: gpmi: Fix a double free in gpmi_nand_init
    4b465576f02a iio: adc: Kconfig: make AD9467 depend on ADI_AXI_ADC symbol
    11e708c19bdd firmware: qcom_scm: Workaround lack of "is available" call on SC7180
    89d449867c5d firmware: qcom_scm: Reduce locking section for __get_convention()
    2ceac2b6c87c firmware: qcom_scm: Make __qcom_scm_is_call_available() return bool
    1dfb26df15fc m68k: mvme147,mvme16x: Don't wipe PCC timer config bits
    7c468deae306 soundwire: stream: fix memory leak in stream config error path
    aa531c6c51e7 memory: pl353: fix mask of ECC page_size config register
    0256f4205c14 driver core: platform: Declare early_platform_cleanup() prototype
    100a5c76e5d2 drivers: nvmem: Fix voltage settings for QTI qfprom-efuse
    409ab5a9d809 USB: gadget: udc: fix wrong pointer passed to IS_ERR() and PTR_ERR()
    4b6b771a6d3f usb: gadget: aspeed: fix dma map failure
    36babddef782 crypto: qat - fix error path in adf_isr_resource_alloc()
    bbd61fa05cd6 crypto: poly1305 - fix poly1305_core_setkey() declaration
    821ff1d44fe3 NFSv4.2: fix copy stateid copying for the async copy
    74bcea1a608e NFSD: Fix sparse warning in nfs4proc.c
    c9df2c56f502 arm64: dts: mediatek: fix reset GPIO level on pumpkin
    53191c1d78b1 phy: marvell: ARMADA375_USBCLUSTER_PHY should not default to y, unconditionally
    6cca7cc213d6 phy: ti: j721e-wiz: Delete "clk_div_sel" clk provider during cleanup
    1e337097fe10 soundwire: bus: Fix device found flag correctly
    00f6abd3509b bus: qcom: Put child node before return
    6a4d2f863ab8 arm64: dts: renesas: r8a779a0: Fix PMU interrupt
    7b6552719c0c mtd: require write permissions for locking and badblock ioctls
    45eb038029b9 dt-bindings: serial: stm32: Use 'type: object' instead of false for 'additionalProperties'
    42c9f39a7222 usb: gadget: s3c: Fix the error handling path in 's3c2410_udc_probe()'
    0764c91011c5 usb: gadget: s3c: Fix incorrect resources releasing
    b33c05d6bf6f fotg210-udc: Complete OUT requests on short packets
    7d5ff493219c fotg210-udc: Don't DMA more than the buffer can take
    e06d4a0c39bf fotg210-udc: Mask GRP2 interrupts we don't handle
    3515fd226ea0 fotg210-udc: Remove a dubious condition leading to fotg210_done
    36df13916de9 fotg210-udc: Fix EP0 IN requests bigger than two packets
    01c66e834024 fotg210-udc: Fix DMA on EP0 for length > max packet size
    1f50392650ae crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init
    b50967781767 crypto: qat - don't release uninitialized resources
    31e1314ceee0 crypto: ccp - fix command queuing to TEE ring buffer
    22ae303805aa usb: gadget: pch_udc: Provide a GPIO line used on Intel Minnowboard (v1)
    9f6e0fdb154c usb: gadget: pch_udc: Initialize device pointer before use
    3b6769806027 usb: gadget: pch_udc: Check for DMA mapping error
    a6e680788c62 usb: gadget: pch_udc: Check if driver is present before calling ->setup()
    7d18eb34036a usb: gadget: pch_udc: Replace cpu_to_le32() by lower_32_bits()
    501ba8bf8d35 devtmpfs: fix placement of complete() call
    bac20313210a x86/microcode: Check for offline CPUs before requesting new microcode
    05b3f9b0ac32 spi: stm32: Fix use-after-free on unbind
    75a7a8920a57 arm64: dts: renesas: r8a77980: Fix vin4-7 endpoint binding
    e8146dc804bf regulator: bd9576: Fix return from bd957x_probe()
    0390f6f1d0bc spi: stm32: drop devres version of spi_register_master
    617ec35ed51f crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map
    75d0f3fb02d9 arm64: dts: qcom: db845c: fix correct powerdown pin for WSA881x
    a27a2590f76e arm64: dts: qcom: sm8250: fix number of pins in 'gpio-ranges'
    2feffa751958 arm64: dts: qcom: sm8150: fix number of pins in 'gpio-ranges'
    8ff9b9f4fb54 arm64: dts: qcom: sdm845: fix number of pins in 'gpio-ranges'
    3673e0fa13ec arm64: dts: qcom: sm8250: Fix timer interrupt to specify EL2 physical timer
    5faf320a2b4d arm64: dts: qcom: sm8250: Fix level triggered PMU interrupt polarity
    33ffc713dfc2 ARM: dts: stm32: fix usart 2 & 3 pinconf to wake up with flow control
    5133b4bdc98e mtd: maps: fix error return code of physmap_flash_remove()
    c55310e30de2 mtd: don't lock when recursively deleting partitions
    174fe383de80 mtd: rawnand: qcom: Return actual error code instead of -ENODEV
    ca28e6a013b2 mtd: Handle possible -EPROBE_DEFER from parse_mtd_partitions()
    705ad2d8c361 mtd: rawnand: brcmnand: fix OOB R/W with Hamming ECC
    c8f3837c51f8 mtd: rawnand: fsmc: Fix error code in fsmc_nand_probe()
    82a0cadf6fa5 spi: rockchip: avoid objtool warning
    eb949f891226 regmap: set debugfs_name to NULL after it is freed
    840a6ff50a53 usb: typec: stusb160x: fix return value check in stusb160x_probe()
    72fa4c30ac1b usb: typec: tps6598x: Fix return value check in tps6598x_probe()
    2c80fa2cbfec usb: typec: tcpci: Check ROLE_CONTROL while interpreting CC_STATUS
    98743f2b8c25 serial: stm32: fix tx_empty condition
    566901ba502f serial: stm32: add FIFO flush when port is closed
    01ce9c5d1715 serial: stm32: fix FIFO flush in startup and set_termios
    f765918b334d serial: stm32: call stm32_transmit_chars locked
    a98c0683a3be serial: stm32: fix tx dma completion, release channel
    1f308f65d851 serial: stm32: fix a deadlock in set_termios
    5eacd7fa4087 serial: stm32: fix wake-up flag handling
    ea627af3dddd serial: stm32: fix a deadlock condition with wakeup event
    69ac7b3b893c serial: stm32: fix TX and RX FIFO thresholds
    5ca0d5b2c801 serial: stm32: fix incorrect characters on console
    a44d6acfa7df serial: stm32: fix startup by enabling usart for reception
    b5e8f0adaec1 serial: stm32: Use of_device_get_match_data()
    379b007b57ca serial: stm32: fix probe and remove order for dma
    1027c8c028c0 serial: stm32: add "_usart" prefix in functions name
    ab8363f13f12 serial: stm32: fix code cleaning warnings and checks
    7c5e96e89c05 x86/platform/uv: Set section block size for hubless architectures
    e6d95f35235a arm64: dts: renesas: Add mmc aliases into board dts files
    9d48f2b903d1 ARM: dts: renesas: Add mmc aliases into R-Car Gen2 board dts files
    2ddb0b285c2c ARM: dts: s5pv210: correct fuel gauge interrupt trigger level on Fascinate family
    6d6abd5e4778 ARM: dts: exynos: correct PMIC interrupt trigger level on Snow
    0069053e21ed ARM: dts: exynos: correct PMIC interrupt trigger level on SMDK5250
    c4121dac1c14 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid X/U3 family
    2c2d05131e1b ARM: dts: exynos: correct PMIC interrupt trigger level on Midas family
    c6541b0e8891 ARM: dts: exynos: correct MUIC interrupt trigger level on Midas family
    0cc067284a3e ARM: dts: exynos: correct fuel gauge interrupt trigger level on Midas family
    41fdefb351ae ARM: dts: exynos: correct fuel gauge interrupt trigger level on GT-I9100
    dff20fb2791c memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]
    1f12aaf07f61 crypto: sun8i-ss - fix result memory leak on error path
    9c0d2c3f7f72 fpga: fpga-mgr: xilinx-spi: fix error messages on -EPROBE_DEFER
    305a936af4fc firmware: xilinx: Remove zynqmp_pm_get_eemi_ops() in IS_REACHABLE(CONFIG_ZYNQMP_FIRMWARE)
    cfc0577ab19e firmware: xilinx: Add a blank line after function declaration
    ef7809681b2c firmware: xilinx: Fix dereferencing freed memory
    7f69649dad99 Revert "tools/power turbostat: adjust for temperature offset"
    0781a13c9c44 usb: gadget: pch_udc: Revert d3cb25a12138 completely
    6b922dc1d11e Revert "drm/qxl: do not run release if qxl failed to init"
    06f414e5c9f0 ovl: fix missing revert_creds() on error path
    7604978e85b8 Revert "i3c master: fix missing destroy_workqueue() on error in i3c_master_register"
    545dbb1bbeff Revert "drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit"
    96e308a36efe KVM: arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST_REGION read
    00824c30236b KVM: arm64: Fully zero the vcpu state on reset
    2a20592baff5 KVM: Stop looking for coalesced MMIO zones if the bus is destroyed
    03c6cccedd39 KVM: Destroy I/O bus devices on unregister failure _after_ sync'ing SRCU
    ae996824da9b KVM: arm/arm64: Fix KVM_VGIC_V3_ADDR_TYPE_REDIST read
    a947f95b6b3a KVM: nVMX: Truncate base/index GPR value on address calc in !64-bit
    6b7028de661d KVM: nVMX: Truncate bits 63:32 of VMCS field on nested check in !64-bit
    fa9b4ee318f9 KVM: nVMX: Defer the MMU reload to the normal path on an EPTP switch
    6748f80aeaf3 KVM: SVM: Inject #GP on guest MSR_TSC_AUX accesses if RDTSCP unsupported
    6ccdbedd167c KVM: SVM: Do not allow SEV/SEV-ES initialization after vCPUs are created
    ead4fb53fd42 KVM: SVM: Don't strip the C-bit from CR2 on #PF interception
    12d684302581 KVM: nSVM: Set the shadow root level to the TDP level for nested NPT
    f59c2220f6ec KVM: x86: Remove emulator's broken checks on CR0/CR3/CR4 loads
    c8b49e01a23b KVM: x86/mmu: Alloc page for PDPTEs when shadowing 32-bit NPT with 64-bit
    b4414fbc0fb3 KVM: s390: extend kvm_s390_shadow_fault to return entry pointer
    568782de5df1 KVM: s390: split kvm_s390_real_to_abs
    3804d1a4be99 KVM: s390: VSIE: fix MVPG handling for prefixing and MSO
    814cb6de6db6 s390: fix detection of vector enhancements facility 1 vs. vector packed decimal facility
    be4ed1ac92ef KVM: s390: fix guarded storage control register handling
    2705bc3f1c8d KVM: s390: split kvm_s390_logical_to_effective
    82de9ad49303 KVM: s390: VSIE: correctly handle MVPG when in VSIE
    885024a8fb20 ALSA: hda/realtek: Fix speaker amp on HP Envy AiO 32
    bead5f0e81d7 ALSA: hda/realtek: ALC285 Thinkpad jack pin quirk is unreachable
    e8a3a49001f3 ALSA: hda/realtek: Remove redundant entry for ALC861 Haier/Uniwill devices
    ccaa81e802d2 ALSA: hda/realtek: Re-order ALC662 quirk table entries
    ada3f488d576 ALSA: hda/realtek: Re-order remaining ALC269 quirk table entries
    5a58fbcf6443 ALSA: hda/realtek: Re-order ALC269 Lenovo quirk table entries
    44d57dcd8300 ALSA: hda/realtek: Re-order ALC269 Sony quirk table entries
    9f7ee3dd2c09 ALSA: hda/realtek: Re-order ALC269 ASUS quirk table entries
    7aee1f28ebd9 ALSA: hda/realtek: Re-order ALC269 Dell quirk table entries
    ba56b860da86 ALSA: hda/realtek: Re-order ALC269 Acer quirk table entries
    252feb3af9a0 ALSA: hda/realtek: Re-order ALC269 HP quirk table entries
    91d5c81bf24f ALSA: hda/realtek: Re-order ALC882 Clevo quirk table entries
    56e923d0368f ALSA: hda/realtek: Re-order ALC882 Sony quirk table entries
    8c9841ae6e8b ALSA: hda/realtek: Re-order ALC882 Acer quirk table entries
    ae5c6690e0c8 drm/amdgpu: fix concurrent VM flushes on Vega/Navi v2
    7e2459bb19b9 drm/amd/display: Reject non-zero src_y and src_x for video planes
    ce450934a00c drm: bridge/panel: Cleanup connector on bridge detach
    92b98bcc4f48 drm/dp_mst: Set CLEAR_PAYLOAD_ID_TABLE as broadcast
    7eea3eff02ed drm/dp_mst: Revise broadcast msg lct & lcr
    9b50c185d27d drm/radeon: fix copy of uninitialized variable back to userspace
    09b031b5fc18 drm/panfrost: Don't try to map pages that are already mapped
    abb79f67a909 drm/panfrost: Clear MMU irqs before handling the fault
    08f6e8a7538d drm/qxl: use ttm bo priorities
    f6c5cc6febbe drm/i915/gvt: Fix vfio_edid issue for BXT/APL
    92b82770e9ba drm/i915/gvt: Fix virtual display setup for BXT/APL
    3b999f3eac04 FDDI: defxx: Make MMIO the configuration default except for EISA
    9fa26701cd1f mt76: fix potential DMA mapping leak
    95fb153c6027 rtw88: Fix array overrun in rtw_get_tx_power_params()
    9e7fcf39e2f8 cfg80211: scan: drop entry from hidden_list on overflow
    c9996845ff67 ipw2x00: potential buffer overflow in libipw_wx_set_encodeext()
    f54f21c07fea mt76: mt7615: use ieee80211_free_txskb() in mt7615_tx_token_put()
    0035a4704557 md: Fix missing unused status line of /proc/mdstat
    b70b7ec50089 md: md_open returns -EBUSY when entering racing area
    cdcfa77a332a md: factor out a mddev_find_locked helper from mddev_find
    07e737408502 md: split mddev_find
    61b8c6efbe87 md-cluster: fix use-after-free issue when removing rdev
    569885ad7518 md/bitmap: wait for external bitmap writes to complete during tear down
    cab2e8e5997b async_xor: increase src_offs when dropping destination page
    a4c421b12cc6 x86, sched: Treat Intel SNC topology as default, COD as exception
    4c0ddc8712d9 selinux: add proper NULL termination to the secclass_map permissions
    bb27aecf06a3 misc: vmw_vmci: explicitly initialize vmci_datagram payload
    15f2a3de1a6b misc: vmw_vmci: explicitly initialize vmci_notify_bm_set_msg struct
    6115a9027e52 phy: ti: j721e-wiz: Invoke wiz_init() before of_platform_device_create()
    dbd328dfd9c1 misc: lis3lv02d: Fix false-positive WARN on various HP models
    be6566144cbd phy: cadence: Sierra: Fix PHY power_on sequence
    66c86eefa2eb sc16is7xx: Defer probe if device read fails
    814919a0739f iio:adc:ad7476: Fix remove handling
    62a560ac4acd iio:accel:adis16201: Fix wrong axis assignment that prevents loading
    5670ed4d5568 iio: inv_mpu6050: Fully validate gyro and accel scale writes
    a1ad124c8368 soc/tegra: regulators: Fix locking up when voltage-spread is out of range
    2f2d444ac496 PM / devfreq: Unlock mutex and free devfreq struct in error path
    e0b325888b53 PCI: keystone: Let AM65 use the pci_ops defined in pcie-designware-host.c
    cc178b77f8a3 PCI: xgene: Fix cfg resource mapping
    451a3e7570fc KVM: x86: Defer the MMU unload to the normal path on an global INVPCID
    14e3676e3cad PCI: Allow VPD access for QLogic ISP2722
    a22fc2eb03c4 FDDI: defxx: Bail out gracefully with unassigned PCI resource for CSR
    bd93fbc101d0 MIPS: pci-rt2880: fix slot 0 configuration
    149e1986ff6a MIPS: pci-mt7620: fix PLL lock check
    cdc7ff119a65 ASoC: tlv320aic32x4: Increase maximum register in regmap
    8d24a7195976 ASoC: tlv320aic32x4: Register clocks before registering component
    c3c86bd3d5e4 ASoC: Intel: kbl_da7219_max98927: Fix kabylake_ssp_fixup function
    7a7c14873c6d ASoC: samsung: tm2_wm5110: check of of_parse return value
    5a75dc20a92b usb: xhci-mtk: improve bandwidth scheduling with TT
    eb58724f4476 usb: xhci-mtk: remove or operator for setting schedule parameters
    048a99032d8a usb: typec: tcpm: update power supply once partner accepts
    61a4b925aa0f usb: typec: tcpm: Address incorrect values of tcpm psy for pps supply
    79cae796dbf0 usb: typec: tcpm: Address incorrect values of tcpm psy for fixed supply
    0dace269aa22 drm: bridge: fix LONTIUM use of mipi_dsi_() functions
    8a80901a061f staging: fwserial: fix TIOCSSERIAL permission check
    af5145c8efa6 tty: moxa: fix TIOCSSERIAL permission check
    6096118089c9 staging: fwserial: fix TIOCSSERIAL jiffies conversions
    eb3a757e0baa USB: serial: ti_usb_3410_5052: fix TIOCSSERIAL permission check
    767e8241dd1c staging: greybus: uart: fix TIOCSSERIAL jiffies conversions
    304efedabad2 USB: serial: usb_wwan: fix TIOCSSERIAL jiffies conversions
    f283aaa01824 tty: amiserial: fix TIOCSSERIAL permission check
    f09ec0fc67a4 tty: moxa: fix TIOCSSERIAL jiffies conversions
    eeb4fd46eb9e usb: roles: Call try_module_get() from usb_role_switch_find_by_fwnode()
    c2ef392fff9d Revert "USB: cdc-acm: fix rounding error in TIOCSSERIAL"
    7e916d0124e5 io_uring: truncate lengths larger than MAX_RW_COUNT on provide buffers
    6b7021ed36da net/nfc: fix use-after-free llcp_sock_bind/connect
    2d84ef4e6569 bluetooth: eliminate the potential race condition when removing the HCI controller
    1d7bd87a2c8d Bluetooth: verify AMP hci_chan before amp_destroy

(From OE-Core rev: 7e47d02cb34d23132b54e48bf0c86844d20d0f02)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
6f79bfa414 linux-yocto/5.4: update to v5.4.118
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    16022114de98 Linux 5.4.118
    a992a283c0b7 dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
    569bae00ebbe dm integrity: fix missing goto in bitmap_flush_interval error handling
    ff8fd1e3b58a dm space map common: fix division bug in sm_ll_find_free_block()
    6fcaa44105aa dm persistent data: packed struct should have an aligned() attribute too
    c64da3294a7d tracing: Restructure trace_clock_global() to never block
    0834094c9a08 tracing: Map all PIDs to command lines
    8768085ba271 rsi: Use resume_noirq for SDIO
    55aa314a1a6c tty: fix memory leak in vc_deallocate
    943131fda33b usb: dwc2: Fix session request interrupt handler
    5bd06fc6b02c usb: dwc3: gadget: Fix START_TRANSFER link state check
    0790fdbf37ee usb: gadget/function/f_fs string table fix for multiple languages
    3b8b63be230f usb: gadget: Fix double free of device descriptor pointers
    efa99087ea69 usb: gadget: dummy_hcd: fix gpf in gadget_setup
    ffe824c0e35a media: staging/intel-ipu3: Fix race condition during set_fmt
    a03fb1e8a110 media: staging/intel-ipu3: Fix set_fmt error handling
    ff792ae52005 media: staging/intel-ipu3: Fix memory leak in imu_fmt
    ae37aee56cad media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
    e5c27c2ae2f2 media: dvb-usb: Fix use-after-free access
    9185b3b1c143 media: dvbdev: Fix memory leak in dvb_media_device_free()
    92eb134265fa ext4: fix error code in ext4_commit_super
    c599462ab9c3 ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
    9c61387630a5 ext4: fix check to prevent false positive report of incorrect used inodes
    79c95130a52a kbuild: update config_data.gz only when the content of .config is changed
    19c8c34a8b80 x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
    8d2be04dbb17 Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
    2b040d13b411 jffs2: check the validity of dstlen in jffs2_zlib_compress()
    564b1868f229 Fix misc new gcc warnings
    8aa728568202 security: commoncap: fix -Wstringop-overread warning
    be8db260f482 fuse: fix write deadlock
    dc21b424861a dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
    6920cef604fa md/raid1: properly indicate failure when ending a failed write request
    5f2d256875a5 crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
    63a25b715633 tpm: vtpm_proxy: Avoid reading host log when using a virtual device
    2f12258b5224 tpm: efi: Use local variable for calculating final log size
    2af501de8f43 intel_th: pci: Add Alder Lake-M support
    ab5d5c9dfd02 powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
    abf3573ef4e7 powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
    077f526fe3cc jffs2: Fix kasan slab-out-of-bounds problem
    ad3f360ef20f Input: ili210x - add missing negation for touch indication on ili210x
    6be0e4b59314 NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
    12ccd59941e3 NFS: Don't discard pNFS layout segments that are marked for return
    504632a3577a ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
    490ad0a23904 openvswitch: fix stack OOB read while fragmenting IPv4 packets
    9508634b2b18 mlxsw: spectrum_mr: Update egress RIF list before route's action
    27a130638406 f2fs: fix to avoid out-of-bounds memory access
    6c9b98a66d0a ubifs: Only check replay with inode type to judge if inode linked
    310efc95c72c virtiofs: fix memory leak in virtio_fs_probe()
    2b28e26bd776 Makefile: Move -Wno-unused-but-set-variable out of GCC only block
    13a474c01353 arm64/vdso: Discard .note.gnu.property sections in vDSO
    f40bf82bf693 btrfs: fix race when picking most recent mod log operation for an old root
    2bc0131d5be0 ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
    45392da1bd91 ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
    ee47a6414950 ALSA: hda/realtek: fix mic boost on Intel NUC 8
    d143cd1f8f6b ALSA: hda/realtek: GA503 use same quirks as GA401
    f2b75e357816 ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
    2136ecfcf3d9 ALSA: usb-audio: More constifications
    adba683c573d ALSA: usb-audio: Explicitly set up the clock selector
    93588ea2fbd4 ALSA: sb: Fix two use after free in snd_sb_qsound_build
    1666f1ac383f ALSA: hda/conexant: Re-order CX5066 quirk table entries
    b53b72ef83ff ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
    a65181cfd953 s390/archrandom: add parameter check for s390_arch_random_generate
    ef00a39e2c78 scsi: libfc: Fix a format specifier
    02c13900477c mfd: arizona: Fix rumtime PM imbalance on error
    0d0e6dbd5fca scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
    0756818b4d3b scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
    f67fc8095bbe scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
    82bc134b93b5 drm/amdgpu: fix NULL pointer dereference
    4b65414ea416 amdgpu: avoid incorrect %hu format string
    443fdd7b4bc3 drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
    c49981759450 drm/msm/mdp5: Do not multiply vclk line count by 100
    336e7e758640 drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
    b56ad4febe67 sched/fair: Ignore percpu threads for imbalance pulls
    53995be39f93 media: gscpa/stv06xx: fix memory leak
    3a855efb5426 media: dvb-usb: fix memory leak in dvb_usb_adapter_init
    4ca05c0e04d5 media: platform: sti: Fix runtime PM imbalance in regs_show
    47be6867d2d0 media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
    f6b97476053d media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
    cc265fb8e549 media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
    48304f37ce81 media: adv7604: fix possible use-after-free in adv76xx_remove()
    b76249a0a64e media: tc358743: fix possible use-after-free in tc358743_remove()
    b25324cf16f5 power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
    ac22a96c7388 power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
    e0be54070ba1 clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
    330753d38f26 media: vivid: update EDID
    71b75e6e2410 media: em28xx: fix memory leak
    cfb42c1bcce8 scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
    1a22a9fde806 scsi: smartpqi: Add new PCI IDs
    7973764b5454 scsi: smartpqi: Correct request leakage during reset operations
    7d77ac088fd7 ata: ahci: Disable SXS for Hisilicon Kunpeng920
    1f3daf672a13 mmc: sdhci-pci: Add PCI IDs for Intel LKF
    40fdaa2d149b scsi: qla2xxx: Fix use after free in bsg
    2cb8ce1d79d3 drm/vkms: fix misuse of WARN_ON
    3f67d5b6f943 scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
    48425948d2b6 drm/amd/display: fix dml prefetch validation
    cd148571eab0 drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
    e81f4da43b1d drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
    0c0356ef2498 drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
    888b482dbe26 drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
    8d802ad28f9c power: supply: Use IRQF_ONESHOT
    bc73cb52997d media: gspca/sq905.c: fix uninitialized variable
    bec3831f5108 media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
    20065ae0056a extcon: arizona: Fix various races on driver unbind
    32990455bd12 extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
    22ee443ac784 power: supply: bq27xxx: fix power_avg for newer ICs
    5bc128a16333 media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
    e18cee768a6e media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
    a2e71d2d797d media: ite-cir: check for receive overflow
    78829d2ec594 scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
    a27784943a96 scsi: lpfc: Fix pt2pt connection does not recover after LOGO
    52d2b4370a9d scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
    2b847dc1f662 drm/amd/display: Don't optimize bandwidth before disabling planes
    84b03026cccc drm/amd/display: Check for DSC support instead of ASIC revision
    bbf11337ded8 drm/qxl: release shadow on shutdown
    a7d964da5d17 drm: Added orientation quirk for OneGX1 Pro
    567c83104471 btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
    3260434687cc platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
    229d2c12f1eb crypto: omap-aes - Fix PM reference leak on omap-aes.c
    5c411b92439d crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
    e6d5c66737a9 crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
    e7138a6d6a4d phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
    349f95248bce intel_th: Consistency and off-by-one fix
    86f4ac7ca448 tty: n_gsm: check error while registering tty devices
    665dbcf35508 usb: core: hub: Fix PM reference leak in usb_port_resume()
    b8035ac2ad08 usb: musb: fix PM reference leak in musb_irq_work()
    972639ed7b90 spi: qup: fix PM reference leak in spi_qup_remove()
    0adc0e0c87ff spi: omap-100k: Fix reference leak to master
    d6aa2fcd8566 spi: dln2: Fix reference leak to master
    99569ac2e97c xhci: fix potential array out of bounds with several interrupters
    99c82db050ae xhci: check control context is valid before dereferencing it.
    6f34d2ab34ed usb: xhci-mtk: support quirk to disable usb2 lpm
    d95748f23084 perf/arm_pmu_platform: Fix error handling
    fe53f8fd64d7 tee: optee: do not check memref size on return from Secure World
    dda2bc82891c x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
    ee68dd4e502f PCI: PM: Do not read power state in pci_enable_device_flags()
    52b4b9d250d4 usb: xhci: Fix port minor revision
    c13c8354fd58 usb: dwc3: gadget: Ignore EP queue requests during bus reset
    9f3c7e0074b7 usb: gadget: f_uac1: validate input parameters
    a10fb8a1c70a usb: gadget: f_uac2: validate input parameters
    a629f6bc034a genirq/matrix: Prevent allocation counter corruption
    1b2207a19664 usb: webcam: Invalid size of Processing Unit Descriptor
    4cc65c749d58 usb: gadget: uvc: add bInterval checking for HS mode
    28da0edb56ae crypto: qat - fix unmap invalid dma address
    69f1a9702d3f crypto: api - check for ERR pointers in crypto_destroy_tfm()
    8ac79bdcc0c4 spi: ath79: remove spi-master setup and cleanup assignment
    4d6a20917fda spi: ath79: always call chipselect function
    e24b9cded4bc staging: wimax/i2400m: fix byte-order issue
    ce64f57a0fe0 bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
    4928d3b02083 fbdev: zero-fill colormap in fbcmap.c
    1c5cb86cdd7f posix-timers: Preserve return value in clock_adjtime32()
    e07d0fd8d64f intel_th: pci: Add Rocket Lake CPU support
    b6635915a3c3 btrfs: fix metadata extent leak after failure to create subvolume
    93f3339b22ba cifs: Return correct error code from smb2_get_enc_key
    e7ea8e46e3b7 irqchip/gic-v3: Do not enable irqs when handling spurious interrups
    13b0a28e6fef modules: inherit TAINT_PROPRIETARY_MODULE
    cd5a738e28ac modules: return licensing information from find_symbol
    c4698910a9af modules: rename the licence field in struct symsearch to license
    7500d4999431 modules: unexport __module_address
    ad6d414703d7 modules: unexport __module_text_address
    86de29b833e6 modules: mark each_symbol_section static
    79100b191e71 modules: mark find_symbol static
    6e38daf2e5db modules: mark ref_module static
    909a01b95120 mmc: core: Fix hanging on I/O during system suspend for removable cards
    c80524b9e418 mmc: core: Set read only for SD cards with permanent write protect bit
    42998c98ce9f mmc: core: Do a power cycle when the CMD11 fails
    1b45fcf11d28 mmc: block: Issue a cache flush only when it's enabled
    2fb68f705c56 mmc: block: Update ext_csd.cache_ctrl if it was written
    4e438ff2d967 mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
    698df555cc5f mmc: sdhci: Check for reset prior to DMA address unmap
    0d8941b9b2d3 mmc: uniphier-sd: Fix a resource leak in the remove function
    06e48bb631d3 mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
    21171ede4337 scsi: mpt3sas: Block PCI config access from userspace during reset
    77509a238547 scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
    e45acaddd64b spi: spi-ti-qspi: Free DMA resources
    c57af0be7722 erofs: add unsupported inode i_format check
    49fc21a47e93 mtd: rawnand: atmel: Update ecc_stats.corrected counter
    3ef6813bb3a4 mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
    fd1772305002 ecryptfs: fix kernel panic with null dev_name
    e057164f8731 arm64: dts: mt8173: fix property typo of 'phys' in dsi node
    527edae13d24 arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
    34ae75d699fd ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
    0b641b25870f ftrace: Handle commands when closing set_ftrace_filter file
    6a4f786f8eb5 ACPI: custom_method: fix a possible memory leak
    72814a94c38a ACPI: custom_method: fix potential use-after-free issue
    b691331218d0 s390/disassembler: increase ebpf disasm buffer size

(From OE-Core rev: 4d4609d4bb709db887b5302077f89a14c05b1edc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
9d768da0f8 linux-yocto/5.10: update to v5.10.36
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    72bb632d15f2 Linux 5.10.36
    14b2801ccd9b thermal/core/fair share: Lock the thermal zone while looping over instances
    c24a20912eef thermal/drivers/cpufreq_cooling: Fix slab OOB issue
    051dd0681ce1 lib/vsprintf.c: remove leftover 'f' and 'F' cases from bstr_printf()
    1cb02dc76f4c dm rq: fix double free of blk_mq_tag_set in dev remove after table load fails
    06141465e372 dm integrity: fix missing goto in bitmap_flush_interval error handling
    df893916b330 dm space map common: fix division bug in sm_ll_find_free_block()
    fcf763a80e0e dm persistent data: packed struct should have an aligned() attribute too
    a33614d52e97 tracing: Restructure trace_clock_global() to never block
    9e40ef5391df tracing: Map all PIDs to command lines
    ea6803ff2cd1 tools/power turbostat: Fix offset overflow issue in index converting
    b84c57762cef rsi: Use resume_noirq for SDIO
    b1c953dc853a tty: fix memory leak in vc_deallocate
    25e9c2c11735 usb: dwc2: Fix session request interrupt handler
    fce7bbcd07d5 usb: dwc3: core: Do core softreset when switch mode
    b624b32584ac usb: dwc3: gadget: Fix START_TRANSFER link state check
    f9ddfaa9703c usb: dwc3: gadget: Remove FS bInterval_m1 limitation
    8df75d1296d0 usb: gadget/function/f_fs string table fix for multiple languages
    ba8ce683076e usb: gadget: Fix double free of device descriptor pointers
    f12c5cca65f7 usb: gadget: dummy_hcd: fix gpf in gadget_setup
    678e76bccee4 media: venus: hfi_parser: Don't initialize parser on v1
    5d0f6f5251a3 media: v4l2-ctrls: fix reference to freed memory
    4121def7df29 media: staging/intel-ipu3: Fix race condition during set_fmt
    c6b81b897f6f media: staging/intel-ipu3: Fix set_fmt error handling
    517f6f570566 media: staging/intel-ipu3: Fix memory leak in imu_fmt
    8acb13189dae media: dvb-usb: Fix memory leak at error in dvb_usb_device_init()
    a5e9ae5a22b0 media: dvb-usb: Fix use-after-free access
    43263fd43083 media: dvbdev: Fix memory leak in dvb_media_device_free()
    378a016271ba ext4: Fix occasional generic/418 failure
    133e83b5b3b3 ext4: allow the dax flag to be set and cleared on inline directories
    72447c925ea9 ext4: fix error return code in ext4_fc_perform_commit()
    bf4ba04f0161 ext4: fix ext4_error_err save negative errno into superblock
    12905cf9e5c4 ext4: fix error code in ext4_commit_super
    7e9298f4d139 ext4: do not set SB_ACTIVE in ext4_orphan_cleanup()
    098b257563b9 ext4: fix check to prevent false positive report of incorrect used inodes
    346190959f97 ext4: annotate data race in jbd2_journal_dirty_metadata()
    9aca313726cb ext4: annotate data race in start_this_handle()
    a27aad321751 kbuild: update config_data.gz only when the content of .config is changed
    3aec683ee79b x86/cpu: Initialize MSR_TSC_AUX if RDTSCP *or* RDPID is supported
    d19a456acaec futex: Do not apply time namespace adjustment on FUTEX_LOCK_PI
    2543329485e2 Revert 337f13046ff0 ("futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op")
    d35c4c959eb4 smb3: do not attempt multichannel to server which does not support it
    796b82637528 smb3: when mounting with multichannel include it in requested capabilities
    5781c9df77a3 jffs2: check the validity of dstlen in jffs2_zlib_compress()
    54708651bc1e Fix misc new gcc warnings
    f37b9c142e1c security: commoncap: fix -Wstringop-overread warning
    bf2b941d0a6f sfc: farch: fix TX queue lookup in TX event handling
    fb791572d674 sfc: farch: fix TX queue lookup in TX flush done handling
    11e3ff7e164a exfat: fix erroneous discard when clear cluster bit
    1c525c265668 fuse: fix write deadlock
    0cd2d2577a98 dm raid: fix inconclusive reshape layout on fast raid4/5/6 table reload sequences
    661061a45e32 md/raid1: properly indicate failure when ending a failed write request
    015cc7ad58d0 crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
    0ba942cbf52b crypto: arm/curve25519 - Move '.fpu' after '.arch'
    c9adb76c712c tpm: vtpm_proxy: Avoid reading host log when using a virtual device
    60a01ecc9f68 tpm: efi: Use local variable for calculating final log size
    4a63b2438a93 intel_th: pci: Add Alder Lake-M support
    34ceafa62f49 powerpc: fix EDEADLOCK redefinition error in uapi/asm/errno.h
    0bdcaebb1225 powerpc/32: Fix boot failure with CONFIG_STACKPROTECTOR
    f2aa64979e11 powerpc/kexec_file: Use current CPU info while setting up FDT
    481fee8295ab powerpc/eeh: Fix EEH handling for hugepages in ioremap space.
    293c30ce25e0 powerpc/powernv: Enable HAIL (HV AIL) for ISA v3.1 processors
    643243e31868 jffs2: Hook up splice_write callback
    72c282b10951 jffs2: Fix kasan slab-out-of-bounds problem
    072f787e8798 Input: ili210x - add missing negation for touch indication on ili210x
    2fafe7d5047f NFSv4: Don't discard segments marked for return in _pnfs_return_layout()
    334165d9fb69 NFS: Don't discard pNFS layout segments that are marked for return
    96fa26b74cdc NFS: fs_context: validate UDP retrans to prevent shift out-of-bounds
    e0f2d86481ea ACPI: GTDT: Don't corrupt interrupt mappings on watchdow probe failure
    a1478374b0bd openvswitch: fix stack OOB read while fragmenting IPv4 packets
    4248f4649bf3 mlxsw: spectrum_mr: Update egress RIF list before route's action
    9aa4602237d5 f2fs: fix to avoid out-of-bounds memory access
    39624749c52d f2fs: fix error handling in f2fs_end_enable_verity()
    50b0c0c3385d ubifs: Only check replay with inode type to judge if inode linked
    5a876a46d7b7 kcsan, debugfs: Move debugfs file creation out of early init
    d19555ff225d virtiofs: fix memory leak in virtio_fs_probe()
    1b41d4e5aa75 fs: fix reporting supported extra file attributes for statx()
    dc4b67baba3b Makefile: Move -Wno-unused-but-set-variable out of GCC only block
    0f9055936668 arm64/vdso: Discard .note.gnu.property sections in vDSO
    1d852d6bb4d4 btrfs: fix race when picking most recent mod log operation for an old root
    b24f0e381036 tools/power/turbostat: Fix turbostat for AMD Zen CPUs
    d1ca3d2c4fd5 ALSA: hda/realtek: Add quirk for Intel Clevo PCx0Dx
    a9d0f7c14789 ALSA: hda/realtek: fix static noise on ALC285 Lenovo laptops
    3c8a599bc951 ALSA: hda/realtek - Headset Mic issue on HP platform
    871234a6ad4c ALSA: hda/realtek: fix mic boost on Intel NUC 8
    13ff604c79a0 ALSA: hda/realtek: GA503 use same quirks as GA401
    970fbbee55bc ALSA: hda/realtek: fix mute/micmute LEDs for HP ProBook 445 G7
    12fea3cb2277 ALSA: usb-audio: Add dB range mapping for Sennheiser Communications Headset PC 8
    ad7736cebf4d ALSA: usb-audio: Explicitly set up the clock selector
    cc427a507f29 ALSA: sb: Fix two use after free in snd_sb_qsound_build
    1ce8212e80f9 ALSA: hda/conexant: Re-order CX5066 quirk table entries
    9b7388931fbb ALSA: emu8000: Fix a use after free in snd_emu8000_create_mixer
    443467bd6240 power: supply: cpcap-battery: fix invalid usage of list cursor
    a15f68a5d55c sched,psi: Handle potential task count underflow bugs more gracefully
    a32a2d831de0 s390/archrandom: add parameter check for s390_arch_random_generate
    338a87230228 block/rnbd-clt: Fix missing a memory free when unloading the module
    ae7fe4794da2 sched,fair: Alternative sched_slice()
    94902ee2996a perf: Rework perf_event_exit_event()
    2c4de79e9a09 scsi: libfc: Fix a format specifier
    97a81d4051c3 mfd: arizona: Fix rumtime PM imbalance on error
    14c7e3f5bed5 mfd: da9063: Support SMBus and I2C mode
    d7ec1dab6be7 mfd: intel-m10-bmc: Fix the register access range
    c8fe9ef530e9 scsi: lpfc: Remove unsupported mbox PORT_CAPABILITIES logic
    cc42ea42e250 scsi: lpfc: Fix error handling for mailboxes completed in MBX_POLL mode
    1ac2b3720f61 scsi: lpfc: Fix crash when a REG_RPI mailbox fails triggering a LOGO response
    56488df9f4bc drm/amdgpu: fix NULL pointer dereference
    d721702f8a82 drm/amd/display: Try YCbCr420 color when YCbCr444 fails
    f26f33a40952 amdgpu: avoid incorrect %hu format string
    a98a90048853 drm/amdkfd: Fix cat debugfs hang_hws file causes system crash bug
    081cec78467f drm/amd/display: Fix UBSAN: shift-out-of-bounds warning
    cc6215d94de9 drm/amd/display: Fix debugfs link_settings entry
    bcefa89b3e48 drm/radeon/ttm: Fix memory leak userptr pages
    14637a8dfe4f drm/amdgpu/ttm: Fix memory leak userptr pages
    6e4ae9b0eb23 drm/msm/mdp5: Do not multiply vclk line count by 100
    79f701ec9efa drm/msm/mdp5: Configure PP_SYNC_HEIGHT to double the vtotal
    2f5f4cce496e sched/fair: Ignore percpu threads for imbalance pulls
    fded2096b153 media: gscpa/stv06xx: fix memory leak
    f8f2b7ebe03a media: dvb-usb: fix memory leak in dvb_usb_adapter_init
    1b61ad26af55 media: sun8i-di: Fix runtime PM imbalance in deinterlace_start_streaming
    810cf54025b7 media: platform: sti: Fix runtime PM imbalance in regs_show
    67a97525dd6e media: i2c: adv7842: fix possible use-after-free in adv7842_remove()
    c8e7e6e1780c media: i2c: tda1997: Fix possible use-after-free in tda1997x_remove()
    3f9e0eb06258 media: i2c: adv7511-v4l2: fix possible use-after-free in adv7511_remove()
    651ad9e04f75 media: adv7604: fix possible use-after-free in adv76xx_remove()
    8d3ae83d6344 media: tc358743: fix possible use-after-free in tc358743_remove()
    a931c5791b5e power: supply: s3c_adc_battery: fix possible use-after-free in s3c_adc_bat_remove()
    ccb098c053dc power: supply: generic-adc-battery: fix possible use-after-free in gab_remove()
    932329941ca8 clk: socfpga: arria10: Fix memory leak of socfpga_clk on error return
    573bbb6f80f1 drm/msm/dp: Fix incorrect NULL check kbot warnings in DP driver
    4066456bb2de media: vivid: update EDID
    6fef73a039da media: em28xx: fix memory leak
    ed7ab208cc2e scsi: scsi_dh_alua: Remove check for ASC 24h in alua_rtpg()
    486e974358e7 scsi: smartpqi: Add new PCI IDs
    c3187412d9c7 scsi: smartpqi: Correct request leakage during reset operations
    bc05560dd756 scsi: smartpqi: Use host-wide tag space
    dc655d743c2b power: supply: cpcap-charger: Add usleep to cpcap charger to avoid usb plug bounce
    a669817a3384 selftests/resctrl: Fix checking for < 0 for unsigned values
    726d3185b89a selftests/resctrl: Fix incorrect parsing of iMC counters
    19eaad1400ea selftests/resctrl: Use resctrl/info for feature detection
    0ccead50c386 selftests/resctrl: Fix missing options "-n" and "-p"
    cd29eef12771 selftests/resctrl: Clean up resctrl features check
    6ef95f0b80ec selftests/resctrl: Fix compilation issues for other global variables
    cf99daf7c3a2 selftests/resctrl: Fix compilation issues for global variables
    078d3d75dd4c selftests/resctrl: Enable gcc checks to detect buffer overflows
    9ec74da2ac4c nvmet: return proper error code from discovery ctrl
    7f9757005cf5 drm/komeda: Fix bit check to import to value of proper type
    5e8b58e27ea8 ata: ahci: Disable SXS for Hisilicon Kunpeng920
    c753c1a77e7a mmc: sdhci-brcmstb: Remove CQE quirk
    fdd04d1c8336 mmc: sdhci-pci: Add PCI IDs for Intel LKF
    79315ebff432 mmc: sdhci-esdhc-imx: validate pinctrl before use it
    47ac226199f0 scsi: qla2xxx: Fix use after free in bsg
    1d7935fd022d drm/vkms: fix misuse of WARN_ON
    57fa6a6a998c scsi: qla2xxx: Always check the return value of qla24xx_get_isp_stats()
    298778681c10 drm/amd/display: fix dml prefetch validation
    dd5d6042e5d2 drm/amd/display: DCHUB underflow counter increasing in some scenarios
    9cc76f29b9e5 drm/amd/display: Fix UBSAN warning for not a valid value for type '_Bool'
    729b92e68b8e drm/amd/pm: fix workload mismatch on vega10
    7cb855dfe5f0 drm/amdgpu : Fix asic reset regression issue introduce by 8f211fe8ac7c4f
    1874b0ef1426 drm/amdkfd: Fix UBSAN shift-out-of-bounds warning
    7b3eb98a3ef4 drm/amdgpu: mask the xgmi number of hops reported from psp to kfd
    61c1ddd29f87 backlight: qcom-wled: Fix FSC update issue for WLED5
    918a45b65365 backlight: qcom-wled: Use sink_addr for sync toggle
    983d10e59fb4 power: supply: Use IRQF_ONESHOT
    80ba39ec7cc9 media: gspca/sq905.c: fix uninitialized variable
    6a3edc1a5e17 media: media/saa7164: fix saa7164_encoder_register() memory leak bugs
    087c2bffb4e9 extcon: arizona: Fix various races on driver unbind
    b7d2e5097f18 extcon: arizona: Fix some issues when HPDET IRQ fires after the jack has been unplugged
    8ff0d8a0904b power: supply: bq27xxx: fix power_avg for newer ICs
    7bb783ec9e0e atomisp: don't let it go past pipes array
    12b4b2855024 media: imx: capture: Return -EPIPE from __capture_legacy_try_fmt()
    f3dd6c47c493 media: drivers: media: pci: sta2x11: fix Kconfig dependency on GPIOLIB
    b5261590f309 media: ite-cir: check for receive overflow
    3a2270dd3f09 scsi: target: pscsi: Fix warning in pscsi_complete_cmd()
    09a27d662006 kvfree_rcu: Use same set of GFP flags as does single-argument
    661af9371c32 sched/pelt: Fix task util_est update filtering
    b168fffa3821 drm/amdgpu: Fix some unload driver issues
    5b62053e762c scsi: lpfc: Fix pt2pt connection does not recover after LOGO
    7382825b068e scsi: lpfc: Fix incorrect dbde assignment when building target abts wqe
    b814402fdf37 drm/amd/display/dc/dce/dce_aux: Remove duplicate line causing 'field overwritten' issue
    500ec98998c2 drm/amdgpu/display: buffer INTERRUPT_LOW_IRQ_CONTEXT interrupt work
    bd9477319714 drm/amd/display: Don't optimize bandwidth before disabling planes
    6b2132f50d9f drm/amd/display: Check for DSC support instead of ASIC revision
    01e03a661872 drm/ast: fix memory leak when unload the driver
    100e35484682 drm/amd/display: changing sr exit latency
    2c518667f953 drm/ast: Fix invalid usage of AST_MAX_HWC_WIDTH in cursor atomic_check
    6f64be8f5211 drm/qxl: release shadow on shutdown
    423fb866b3fc drm/qxl: do not run release if qxl failed to init
    6228456ceb1a drm: Added orientation quirk for OneGX1 Pro
    9c60c881d662 btrfs: convert logic BUG_ON()'s in replace_path to ASSERT()'s
    f32b84d7c977 btrfs: do proper error handling in btrfs_update_reloc_root
    224c654a2eca btrfs: do proper error handling in create_reloc_root
    c5aa9ea54a00 spi: sync up initial chipselect state
    b82e8f0bb028 platform/x86: intel_pmc_core: Don't use global pmcdev in quirks
    5d60792d1292 crypto: omap-aes - Fix PM reference leak on omap-aes.c
    92894b185321 crypto: sa2ul - Fix PM reference leak in sa_ul_probe()
    4e7ae0cfaca9 crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
    8a090d492f70 crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
    836671775a6e crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()
    2264965f576f crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
    a16162a17417 phy: phy-twl4030-usb: Fix possible use-after-free in twl4030_usb_remove()
    df9105950755 intel_th: Consistency and off-by-one fix
    b549cc7c9ca2 tty: n_gsm: check error while registering tty devices
    8f7cdbbf61f9 usb: dwc3: gadget: Check for disabled LPM quirk
    2946f95356cc usb: core: hub: Fix PM reference leak in usb_port_resume()
    e82da9b21fed usb: musb: fix PM reference leak in musb_irq_work()
    015f3f25213e usb: gadget: tegra-xudc: Fix possible use-after-free in tegra_xudc_remove()
    0e73535a496c spi: qup: fix PM reference leak in spi_qup_remove()
    75e2b4621137 spi: omap-100k: Fix reference leak to master
    517e99f22842 spi: dln2: Fix reference leak to master
    4ddfac16b5c7 platform/x86: ISST: Account for increased timeout in some cases
    bc900a7ccdd4 tools/power/x86/intel-speed-select: Increase string size
    125b3590d1fb ARM: dts: at91: change the key code of the gpio key
    2ed4d587539e bus: mhi: core: Clear context for stopped channels from remove()
    3737cf191a80 xhci: fix potential array out of bounds with several interrupters
    98599e1045c2 xhci: check control context is valid before dereferencing it.
    2b195c32bccd xhci: check port array allocation was successful before dereferencing it
    b52b1b8c480c fpga: dfl: pci: add DID for D5005 PAC cards
    e22fd531518d usb: xhci-mtk: support quirk to disable usb2 lpm
    5c22421fb35f random: initialize ChaCha20 constants with correct endianness
    2d78ede60615 perf/arm_pmu_platform: Fix error handling
    167fecaa4311 perf/arm_pmu_platform: Use dev_err_probe() for IRQ errors
    64d579453bd6 soundwire: cadence: only prepare attached devices on clock stop
    9584ce366cc9 tee: optee: do not check memref size on return from Secure World
    e5da8b37ce34 arm64: dts: imx8mq-librem5-r3: Mark buck3 as always on
    187c001c492c soc/tegra: pmc: Fix completion of power-gate toggling
    bc24381f5768 efi/libstub: Add $(CLANG_FLAGS) to x86 flags
    8829b6ccf49f x86/boot: Add $(CLANG_FLAGS) to compressed KBUILD_CFLAGS
    fdc9c3cff9e2 x86/build: Propagate $(CLANG_FLAGS) to $(REALMODE_FLAGS)
    af79dc5ad974 ARM: dts: ux500: Fix up TVK R3 sensors
    3f571ae706da ARM: dts: BCM5301X: fix "reg" formatting in /memory node
    f38f972e14f1 kselftest/arm64: mte: Fix MTE feature detection
    d16749988d09 PCI: PM: Do not read power state in pci_enable_device_flags()
    d863389e9f2e ARM: tegra: acer-a500: Rename avdd to vdda of touchscreen node
    d9a1f62b03da kselftest/arm64: mte: Fix compilation with native compiler
    173ab4bb8cbf usb: xhci: Fix port minor revision
    45f879b29da7 usb: dwc3: gadget: Ignore EP queue requests during bus reset
    85eb84bd818f usb: gadget: f_uac1: validate input parameters
    f63390de9b43 usb: gadget: f_uac2: validate input parameters
    df7452f03b7f genirq/matrix: Prevent allocation counter corruption
    bde50f19ba24 crypto: hisilicon/sec - fixes a printing error
    6a6273a65fcd x86/sev: Do not require Hypervisor CPUID bit for SEV guests
    ba637773a9f9 usb: webcam: Invalid size of Processing Unit Descriptor
    930d586646cf usb: gadget: uvc: add bInterval checking for HS mode
    6202e708f303 crypto: qat - fix unmap invalid dma address
    92f333793a78 crypto: api - check for ERR pointers in crypto_destroy_tfm()
    298a44f38171 bus: mhi: core: Destroy SBL devices when moving to mission mode
    2e40d8cd3db5 spi: ath79: remove spi-master setup and cleanup assignment
    91629921cef9 spi: ath79: always call chipselect function
    40e02e167816 staging: wimax/i2400m: fix byte-order issue
    e160833c9fdf bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
    6af796b4ac45 cpuidle: tegra: Fix C7 idling state on Tegra114
    6f85f0497274 fbdev: zero-fill colormap in fbcmap.c
    af830b27c34d posix-timers: Preserve return value in clock_adjtime32()
    a4794be7b00b btrfs: fix race between transaction aborts and fsyncs leading to use-after-free
    af835665ddc9 intel_th: pci: Add Rocket Lake CPU support
    97f30747b22c btrfs: fix metadata extent leak after failure to create subvolume
    0c48349a6d41 x86/build: Disable HIGHMEM64G selection for M486SX
    dba16ca6f347 btrfs: handle remount to no compress during compression
    5f2adf84624e smb2: fix use-after-free in smb2_ioctl_query_info()
    8a90058752e0 cifs: detect dead connections only when echoes are enabled.
    23d7b4a8f77a cifs: fix out-of-bound memory access when calling smb3_notify() at mount point
    aaa0faa5c28a cifs: Return correct error code from smb2_get_enc_key
    7be4db5c2b59 irqchip/gic-v3: Do not enable irqs when handling spurious interrups
    44faf03f56b8 mmc: core: Fix hanging on I/O during system suspend for removable cards
    886da99e8fc4 mmc: core: Set read only for SD cards with permanent write protect bit
    140f225218cd mmc: core: Do a power cycle when the CMD11 fails
    20d6f231f8f1 mmc: block: Issue a cache flush only when it's enabled
    b1fba87e60bc mmc: block: Update ext_csd.cache_ctrl if it was written
    cdc615acade4 mmc: sdhci-tegra: Add required callbacks to set/clear CQE_EN bit
    6c43290972ed mmc: sdhci-pci: Fix initialization of some SD cards for Intel BYT-based controllers
    01db7cb746f0 mmc: sdhci: Check for reset prior to DMA address unmap
    25ac6ce65f1a mmc: uniphier-sd: Fix a resource leak in the remove function
    83e9e22ba93a mmc: uniphier-sd: Fix an error handling path in uniphier_sd_probe()
    b7a1577a1a79 scsi: mpt3sas: Block PCI config access from userspace during reset
    702cdaa2c628 scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
    f1cbba5ea75b spi: spi-ti-qspi: Free DMA resources
    421f24114c64 spi: stm32-qspi: fix pm_runtime usage_count counter
    dbaf435ddf97 erofs: add unsupported inode i_format check
    34ec706bf0b7 mtd: physmap: physmap-bt1-rom: Fix unintentional stack access
    706e60c19237 mtd: rawnand: atmel: Update ecc_stats.corrected counter
    907452b3b6a6 mtd: spinand: core: add missing MODULE_DEVICE_TABLE()
    cb5305ac5bac Revert "mtd: spi-nor: macronix: Add support for mx25l51245g"
    2e41cc10660e mtd: spi-nor: core: Fix an issue of releasing resources during read/write
    4c44c136f2fa fs/epoll: restore waking from ep_done_scan()
    6b5aeb69bb9f ecryptfs: fix kernel panic with null dev_name
    3ad1fb97619b arm64: dts: mt8173: fix property typo of 'phys' in dsi node
    6c2f97f3887f arm64: dts: marvell: armada-37xx: add syscon compatible to NB clk node
    011b9e1c2a18 ARM: 9056/1: decompressor: fix BSS size calculation for LLVM ld.lld
    634684d79733 ftrace: Handle commands when closing set_ftrace_filter file
    d11fdbee28af ACPI: custom_method: fix a possible memory leak
    62dc2440ebb5 ACPI: custom_method: fix potential use-after-free issue
    58a762a7f3be tpm: acpi: Check eventlog signature before using it
    3b8b6399666a vhost-vdpa: fix vm_flags for virtqueue doorbell mapping
    026499a9c2e0 s390/zcrypt: fix zcard and zqueue hot-unplug memleak
    e534a4b139a8 s390/disassembler: increase ebpf disasm buffer size
    90402b6b45f3 dyndbg: fix parsing file query without a line-range suffix
    ed9cfd60c787 nitro_enclaves: Fix stale file descriptors on failed usercopy
    a1d2bd164c1c bus: mhi: core: Sanity check values from remote device before use
    bcb80329e815 bus: mhi: core: Clear configuration from channel context during reset
    542fd3e4fde6 bus: mhi: core: Fix check for syserr at power_up

(From OE-Core rev: 86bac399136de151c2b33e715fd8d810707c431c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
4dc1b5240e linux-yocto/5.10: ktypes/standard: disable obsolete crypto options by default
Integrating the following commit(s) to linux-yocto/5.10.:

    ktypes/standard: disable obsolete crypto options by default

    CONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE is on by default, but really
    shouldn't be on in our kernels for a safe set of baseline options.

    This is almost never used, so we disable it by default. If something
    needs it, they can turn it on in a board specific config.

(From OE-Core rev: f29be437290a960decdc2d8be8e505e8179c2f58)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
086230f08a linux-yocto/5.4: update to v5.4.117
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    b5dbcd05792a Linux 5.4.117
    0ee3bfc2c31e vfio: Depend on MMU
    b246759284d6 perf/core: Fix unconditional security_locked_down() call
    a1e6a0d1e6cf ovl: allow upperdir inside lowerdir
    8198962021fd scsi: ufs: Unlock on a couple error paths
    91aa2644a3ab platform/x86: thinkpad_acpi: Correct thermal sensor allocation
    164f74391822 USB: Add reset-resume quirk for WD19's Realtek Hub
    5922dfc42ac8 USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
    314192f055d9 ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX
    6cede11149bf perf ftrace: Fix access to pid in array when setting a pid filter
    ad4659935e11 perf data: Fix error return code in perf_data__create_dir()
    cbc6b467610c iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
    c7166a529e2b avoid __memcat_p link failure
    8ba25a9ef9b9 bpf: Fix leakage of uninitialized bpf stack under speculation
    53e0db429b37 bpf: Fix masking negation logic upon negative dst register
    b0c8fe7ef797 iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()
    43b515c52942 igb: Enable RSS for Intel I211 Ethernet Controller
    354520d3ea81 net: usb: ax88179_178a: initialize local variables before use
    55714a57f369 ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade()
    b3041510f0fc ACPI: tables: x86: Reserve memory occupied by ACPI tables
    91b08c5319a5 mips: Do not include hi and lo in clobber list for R6

(From OE-Core rev: 0bb2a057ed02b94e6f12b0508b5d7f4a535b1ca0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
f94bc9ea76 linux-yocto/5.10: update to v5.10.35
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    f53a3a480862 Linux 5.10.35
    94c76056fc3f vfio: Depend on MMU
    4348d3b5027b perf/core: Fix unconditional security_locked_down() call
    399f9c18473c platform/x86: thinkpad_acpi: Correct thermal sensor allocation
    ac2cd82c7609 USB: Add reset-resume quirk for WD19's Realtek Hub
    d844aaa49ac8 USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
    59b3f88386b5 ALSA: usb-audio: Add MIDI quirk for Vox ToneLab EX
    27c1936af506 ovl: allow upperdir inside lowerdir
    71d58457a8af ovl: fix leaked dentry
    2fa0387fa2d0 nvme-pci: set min_align_mask
    f8e71c667ee1 swiotlb: respect min_align_mask
    85a5a6875ca9 swiotlb: don't modify orig_addr in swiotlb_tbl_sync_single
    25ed8827cfbf swiotlb: refactor swiotlb_tbl_map_single
    9efd5df078a7 swiotlb: clean up swiotlb_tbl_unmap_single
    1f2ef5a0f771 swiotlb: factor out a nr_slots helper
    1bbcc985d195 swiotlb: factor out an io_tlb_offset helper
    22163a8ec863 swiotlb: add a IO_TLB_SIZE define
    2e8b3b0b8e2d driver core: add a min_align_mask field to struct device_dma_parameters
    6995512a472f tools/cgroup/slabinfo.py: updated to work on current kernel
    a7c37332afa8 perf ftrace: Fix access to pid in array when setting a pid filter
    fb4c1c2e9fd1 capabilities: require CAP_SETFCAP to map uid 0
    b571a6302a64 perf data: Fix error return code in perf_data__create_dir()
    48ec949ac979 net: qrtr: Avoid potential use after free in MHI send
    2fa15d61e4cb bpf: Fix leakage of uninitialized bpf stack under speculation
    2cfa537674cd bpf: Fix masking negation logic upon negative dst register
    a41c193d004e igb: Enable RSS for Intel I211 Ethernet Controller
    2e68890993d0 net: usb: ax88179_178a: initialize local variables before use
    d3598eb3915c netfilter: conntrack: Make global sysctls readonly in non-init netns
    c239bfc2e4ac mips: Do not include hi and lo in clobber list for R6

(From OE-Core rev: 767e6755740204981e5789b7a3066eac855605e8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Bruce Ashfield
029d331448 kernel-yocto: provide debug / summary information for metadata
It was mentioned that when developing a BSP, the information about what
definition was used, or what fragments have been applied is not obvious
and requires looking at the code.

With this change, we can trigger a full summary of the meta data gathering
phase when KCONF_AUDIT_LEVEL > 0.

Sample output follows:

   NOTE: do_kernel_metadata: for summary/debug, set KCONF_AUDIT_LEVEL > 0
   NOTE: kernel meta data summary for qemux86-64 (standard):
   NOTE:
   ======================================================================
   NOTE: BSP entry point / definition:
   /build/tmp/work/qemux86_64-poky-linux/linux-yocto/5.10.34+gitAUTOINC+bca3bfbc74_85c17ad073-r0/kernel-meta/bsp/common-pc-64/common-pc-64-standard.scc
   NOTE: Fragments from SRC_URI:
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xt-checksum.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/ebtables.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/vswitch.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/lxc.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/docker.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/cgroup-hugetlb.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xen.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/kubernetes.scc
   NOTE: KERNEL_FEATURES:  features/nfsd/nfsd-enable.scc
   features/debug/printk.scc features/kernel-sample/kernel-sample.scc
   features/netfilter/netfilter.scc cfg/virtio.scc
   features/drm-bochs/drm-bochs.scc cfg/sound.scc cfg/paravirt_kvm.scc
   features/scsi/scsi-debug.scc features/gpio/mockup.scc
   features/aufs/aufs-enable.scc cfg/fs/flash_fs.scc cfg/virtio.scc
   NOTE: Final scc/cfg list:
   /build/tmp/work/qemux86_64-poky-linux/linux-yocto/5.10.34+gitAUTOINC+bca3bfbc74_85c17ad073-r0/kernel-meta/bsp/common-pc-64/common-pc-64-standard.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xt-checksum.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/ebtables.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/vswitch.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/lxc.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/docker.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/cgroup-hugetlb.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/xen.scc
   /poky/meta-virtualization/recipes-kernel/linux/linux-yocto/kubernetes.scc
   features/nfsd/nfsd-enable.scc features/debug/printk.scc
   features/kernel-sample/kernel-sample.scc
   features/netfilter/netfilter.scc cfg/virtio.scc
   features/drm-bochs/drm-bochs.scc cfg/sound.scc cfg/paravirt_kvm.scc
   features/scsi/scsi-debug.scc features/gpio/mockup.scc
   features/aufs/aufs-enable.scc cfg/fs/flash_fs.scc cfg/virtio.scc

(From OE-Core rev: b95b11e130e91cb7c5e65f0f9a1c655bcbcbc919)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Alexander Kanavin
e897e02d21 mklibs: remove recipes and class
This is not enabled or tested by default, and has never been
ported to python 3 upstream[1], which means it doesn't work at all
with plain poky. If you need it, please put it in a separate layer
and/or modernize to work with py3.

https://salsa.debian.org/installer-team/mklibs/-/blob/master/src/mklibs

(From OE-Core rev: 908df863b419d1cad7317153101fc827e7e3a354)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Richard Purdie
c879b0797b libxcrypt-compat: upgrade 4.4.19 -> 4.4.20
(From OE-Core rev: d7eb1125e974fddd43062665bd5eb29f352832dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Ross Burton
b96c342fbd rpm: turn Berkeley DB hard dependency into PACKAGECONFIG
In the future we hope to switch to sqlite instead of Berkeley DB, so
prepare for this by adding an (enabled by default) PACKAGECONFIG for
Berkeley DB.

(From OE-Core rev: 365f0804a0726fe4be9eb7ef3515fea2dd38bef1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Ross Burton
d54f9cf4cf libsolv: add missing db dependency
The RPM option currently enables ENABLE_RPMDB_BDB which means libsolv
depends on db.

(From OE-Core rev: 8d6be1b9914186bca2552ae03bf9bd35ecbffeec)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 23:52:53 +01:00
Michael Halstead
ed2d99203d releases: update to include 3.2.4
Adding 3.2.4 to documentation switcher and release list.

(From yocto-docs rev: b24cddff0f1367360441e3f9ff59cbed77da28ad)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:53:08 +01:00
Ross Burton
3a461e071e cups: whitelist CVE-2021-25317
This CVE relates to bad ownership of /var/log/cups, which we don't have.

(From OE-Core rev: 0792312f3637ec160d2ef90781a8cb1f75b84940)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Robert P. J. Day
da52dce440 bitbake.conf: alphabetize contents of ASSUME_PROVIDED
Alphabetical order is always good.

(From OE-Core rev: 338834153ec2042fbe256b598753ffe492221cc4)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
c206f7e984 wpebackend-fdo: upgrade 1.8.3 -> 1.8.4
(From OE-Core rev: 304cb97053eb4593a37ad3282594747b5e601bee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
169f863cf3 shaderc: upgrade 2020.5 -> 2021.0
(From OE-Core rev: 9ff9536efdc4e5cc7c9934ab739bb7a75b55fb29)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
709ff9bd1c wayland-protocols: upgrade 1.20 -> 1.21
(From OE-Core rev: 590fd78550a1754ab3ea0c64510601025c13436c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
16e8c05a63 sqlite3: upgrade 3.35.3 -> 3.35.5
(From OE-Core rev: a7480b206848df56fb64d9bfec9d4cdffa16efea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
7447735d6f mpg123: upgrade 1.26.5 -> 1.27.2
(From OE-Core rev: 769647f1bc857ab03c1740ae24f020ed3ca3522a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
5e3580e1e1 diffoscope: upgrade 172 -> 175
(From OE-Core rev: 7b6ace9394aef54025744bdf187166049ac17b31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
a642a9a1e8 spirv-tools: upgrade 2020.7 -> 2021.1
(From OE-Core rev: 160c3c063450356738198cd2f13f9abd87bf2a93)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
0bb620b18a libxkbcommon: upgrade 1.2.1 -> 1.3.0
(From OE-Core rev: a41f88496d99251ea88cf93e08f233b10580eaab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
0e9f80ed55 hdparm: upgrade 9.61 -> 9.62
(From OE-Core rev: c2270c807c4628f0abddea0a4c039acaa4b1cf67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
9ca6a18e04 zstd: upgrade 1.4.9 -> 1.5.0
(From OE-Core rev: 6de028400650c1a8f6320c46d3b191bccdfad331)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
c4dacef328 libinput: upgrade 1.17.1 -> 1.17.2
(From OE-Core rev: a59063cfb23132ee5a110f1cd84cd43f8b8eea41)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
726ccae31f libtirpc: upgrade 1.3.1 -> 1.3.2
(From OE-Core rev: 041c67f8366b41675bf070e0102ed04563bbf8c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
cc5c4860fe less: upgrade 581 -> 586
(From OE-Core rev: 69b5b82498a00217a55a3781d636cdd3e280586b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
101dd81a62 stress-ng: upgrade 0.12.06 -> 0.12.08
(From OE-Core rev: 177ca64feee973b5d60c5601ba03042a6f073204)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
600e9b6ad0 sudo: upgrade 1.9.6p1 -> 1.9.7
(From OE-Core rev: a1698056f5548285d87ebe25052c48c701f89143)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
9ad80efd2a gtk+3: upgrade 3.24.28 -> 3.24.29
(From OE-Core rev: 1933012b19849befcf09b90940f00468f0da1cec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
29c0c3da49 python3-numpy: upgrade 1.20.2 -> 1.20.3
(From OE-Core rev: 759bd9cfcf753c4ef2c20411aee0301ac8b45469)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
e6b682534f python3-hypothesis: upgrade 6.9.1 -> 6.12.0
(From OE-Core rev: 4499ec65592df456c60d7f0ff690a50ca55c9c01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
7965967d09 btrfs-tools: upgrade 5.12 -> 5.12.1
(From OE-Core rev: f75c02e3e067473d85b4b57d36250098ddb99dbd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
9be8314df2 libjpeg-turbo: upgrade 2.0.6 -> 2.1.0
License changes were from a new author entry and changes to copyrght
years, no license change.

(From OE-Core rev: e2ddecb7ca7b35259fcce0052b40366379047935)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
b34e16f839 vala: upgrade 0.52.2 -> 0.52.3
(From OE-Core rev: 8416c85539ac7ac4e13e873773f00e67304aacfa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
c3a541d23d bind: upgrade 9.16.13 -> 9.16.15
(From OE-Core rev: e938c7041a651071a995ceeb475ed4eb8fb8949a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:43:00 +01:00
Richard Purdie
016af160c1 python3-git: upgrade 3.1.14 -> 3.1.17
(From OE-Core rev: b56ef3af9d6afdb2208b4d3d1813241e77fe2fd8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:42:59 +01:00
Richard Purdie
0f60b3a7aa libnss-mdns: upgrade 0.14.1 -> 0.15
(From OE-Core rev: bef3740cfd146921d0dd8789246573e68081c80a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:42:59 +01:00
Richard Purdie
74267b69b3 ofono: upgrade 1.31 -> 1.32
(From OE-Core rev: c0e635c85b2d1eedcc515a89e949b8c9e43d8881)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-18 12:42:58 +01:00
Ross Burton
fb26a7c9b8 meson: update patch status
(From OE-Core rev: 87f0b45a307bb47df5a68d6649fe5625f2dd0775)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-17 09:53:15 +01:00
Richard Purdie
09a5d1e444 python3-jinja2: Upgrade 2.11.3 -> 3.0.0
(From OE-Core rev: 1e520a7d0602059101646f24e7e347e4117697e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
6e58a59f31 python3-markupsafe: Upgrade 1.1.1 -> 2.0.0
(From OE-Core rev: def6184a8f24fe8965db77511bbc65edb38942c2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
d9aa32dbf9 qemu: Upgrade 5.2.0 -> 6.0.0
Building without PIE support seems broken upstream, enable it by default
to match the configuration others evidently use.

Tweak git submodule option to match upstream.

Drop backported/merged patches, refresh others.

(From OE-Core rev: ede1b86e663f1cafccc8aa8c35fa13ebd3f55d11)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
a9e49336dc lttng-ust: Upgrade 2.12.1 -> 2.12.2
(From OE-Core rev: 03b9c9ab5e74c4e825a023e54fe8891f6f6cc809)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Bruce Ashfield
4f7ea3fef7 lttng-modules: update to v2.12.6
To support building against v5.12+ and v5.13+ kernels, bumping to the
v2.12.6 lttng-release.

We drop the previously backported patches, and bring in the following
commits:

   0d8e4ab9 Version 2.12.6
   78f56ae3 fix: adjust ranges for RHEL 8.2 and 8.3
   4c996ea7 Disable block rwbs bitwise enum in default build
   4ac46085 Disable sched_switch bitwise enum in default build
   5e22c27b Add experimental bitwise enum config option
   937d307e Add defaults to Kconfig options
   4a114d43 Sync `show_inode_state()` macro with upstream stable kernels
   3bd6ac3e fix: block: remove disk_part_iter (v5.12)
   8bbb8c9d Fix: Backport of "Fix: increment buffer offset when failing to copy from user-space"
   30cddf69 Fix: increment buffer offset when failing to copy from user-space
   4733b9ab Sync `show_inode_state()` macro with Ubuntu 4.15 kernel
   ff21ec48 fix: mm, tracing: kfree event name mismatching with provider kmem (v5.12)
   b2b02c29 Set 'stable-2.12' branch in git review config
   00b42dbf fix backport: block: add a disk_uevent helper (v5.12)
   771ff089 fix: Adjust ranges for Ubuntu 5.4.0-67 kernel
   d8933959 fix: block: add a disk_uevent helper (v5.12)
   71034df1 Fix: properly compare type enumeration
   4d879d23 compiler warning cleanup: is_signed_type: compare -1 to 1
   fead3a9c Fix: bytecode linker: validate event and field array/sequence encoding
   92cc3e7f Fix: kretprobe: null ptr deref on session destroy
   49c603ef fix: mm, tracing: record slab name for kmem_cache_free() (v5.12)
   23a2f61f Fix: filter interpreter early-exits on uninitialized value
   b3fdf78b Fix: memory leaks on event destroy

(From OE-Core rev: c2f027b8e2f842915a0ffdfd6c2c0597f3b02bce)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Bruce Ashfield
f98ea33f63 lttng-modules: update devupstream to v2.13-rc
To support builds against v5.13+ kernels, bumping the devupstream
to 2.13 and the 2.13-rc series.

Along with the SRCREV update, a port of the existing CONFIG_TRACEPOINTS
patch from the main Makefile to src/Kbuild is done.

The LICENSE file was part of commit [Cleanup: Move headers from toplevel
to include/lttng/], so we adjust the checksum to the new fie contents.

(From OE-Core rev: 18bf7b0eafc5331b0b33c0ae777374e24df741b8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Mike Crowe
7fedc98498 libnotify: Make gtk+3 dependency optional
libnotify only requires gtk+3 for its tests. Let's disable them by
default and only enable them if "tests" is in PACKAGECONFIG. If gtk+3 is
not available then we need to declare the dependency on gdk-pixbuf
explicitly.

It looks like the tests genuinely do need some sort of desktop
environment to run, so let's maintain the ANY_OF_DISTRO_FEATURES check
added back in 3edf08b38b0af93cef0933b061349264dc86d54c.

(From OE-Core rev: da15d7cf3e6f31c92232f8dd7272ea9ee41656db)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Richard Purdie
11222ce6df sstate: Handle manifest 'corruption' issue
Under certain build patterns, warnings about missing manifests can appear. These
are real issues where the manifest was removed and shouldn't have been.

Martin Jansa was able to find a reproducer of:

MACHINE=qemux86 bitbake zlib-native
echo 'PR = "r1"' >> meta/recipes-core/zlib/zlib_1.2.11.bb
MACHINE=qemux86-64 bitbake zlib-native
MACHINE=qemux86 bitbake zlib-native
<the zlib-native manifest is now removed along with the sysroot-components contents>

The code maintains a per machine list of stamps but a per PACAGE_ARCH list of
stamp/manifest/workdir mappings. The latter is only appended to for speed with
the assumption that once stamps are gone, the code wouldn't trigger.

The code only ever appends to the mapping list (for speed/efficency under lock)
meaning that multiple entries can result where the stamp/workdir differs due to
version changes but the manifest remains the same.

By switching MACHINE part way through the build, the older stamp is referenced
and the manifest is incorrectly removed as it matches an now obsolete entry in
the mapping file.

There are two possible fixes, one is to rewrite the mapping file every time
which means adding regexs, iterating and generally complicating that code. The
second option is to only use the last mapping entry in the file for a given
manifest and ignore any earlier ones. This patch implments the latter.

Also drop the stale entries if we are rewriting it.

(From OE-Core rev: 63da9a4f889c5b0e41bc8ec08abe0acea1546479)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
zhengruoqin
c33de3dbaf sysklogd: upgrade 2.2.2 -> 2.2.3
(From OE-Core rev: a366a457bf0c990df4bb97cfc5477dbc75eaff65)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
zhengruoqin
b05c3637ce rpcbind: upgrade 1.2.5 -> 1.2.6
refresh rpcbind_add_option_to_fix_port_number.patch

(From OE-Core rev: 11bbe1c86d5d3e446fe5ea4028bc8b3f21b98587)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
zhengruoqin
f1b7f662c5 rng-tools: upgrade 6.11 -> 6.12
(From OE-Core rev: 5af1d25d9621020d89c1193e0f95fefa1be85642)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
8c0ee9a7ed vulkan-loader: upgrade 1.2.170.0 -> 1.2.176.0
(From OE-Core rev: b87917335c252a38ea63f999b9d3611ac079104b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
2b79b15ef3 vulkan-tools: upgrade 1.2.170.0 -> 1.2.176.0
(From OE-Core rev: 8c864d0711a39548b69c7ea278f2d978651925e7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
ae2ad4d57c vulkan-headers: upgrade 1.2.170.0 -> 1.2.176.0
(From OE-Core rev: 4ebbb906227f31548e708bd01c54407f3221c63e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
4df55c95a5 vulkan-samples: update to latest revision
(From OE-Core rev: e59138cc1ee028e19b00ced57da33ab348c367cf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
f8019df2b9 python3-six: upgrade 1.15.0 -> 1.16.0
(From OE-Core rev: c27ede9d77edc0a0ca71707642f19e43fe9c4e7d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
wangmy
eb83c19d97 python3-attrs: upgrade 20.3.0 -> 21.2.0
(From OE-Core rev: f6e624046afbbf6853c7fe409f77ecd2ab802f21)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-16 08:29:59 +01:00
Armin Kuster
ed2e3b739a bitbake: hashserver/client.py: drop unused imports
(Bitbake rev: 9dc77266085c605b108641a9d76ac4dbdc064c34)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:57 +01:00
Armin Kuster
c0c16809ef bitbake: hashserv/server.py: drop unused imports
remove unused vars.

(Bitbake rev: 3287d28a506f67abd192799e61ef28e74ce7002d)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:57 +01:00
Alexander Kanavin
37792f1410 bitbake: fetch2/wget: when checking latest versions, consider all numerical directories
Previously the regex was maching x.y, but wasn't matching x, which is a problem
e.g. here:
https://download.gnome.org/sources/epiphany/
(the new gnome version scheme adds 40-series at the end).

(Bitbake rev: c03101576f447263ea38e8464210d3a3a2c27226)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:57 +01:00
Mike Crowe
bac39de14e npm.bbclass: Allow nodedir to be overridden by NPM_NODEDIR
Node modules may need to be built against multiple Node
versions. Setting nodedir in the NPM configuration stops older ways of
doing this, such as setting npm_config_target and npm_config_disturl,
from working.

(From OE-Core rev: 14795ee305f3c11fcc31cc7ca815b8ff1020e29a)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
436662bc4d nativesdk-meson: correctly set cpu_family
This was a warning before, but with the patch
that turns it into an error, it needs to be properly addressed.

(From OE-Core rev: b6257f3b88e788af3ee748a8a6366aab819dce3f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
74fbe5578a qemu: backport a patch to fix meson 0.58 builds
(From OE-Core rev: fe6889ed05edf2f1e4ac7b06debd4cc43ebb9607)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
2077235f35 meson: update 0.57.2 -> 0.58.0
Rebase patches; dropped chunks (and cross-prop-default.patch)
have been removed upstream.

Move native-only patches to all-patches, as they're a pain to rebase
separately.

(From OE-Core rev: cb2a7dcc86d784cb9903f69570ddc05e23d36529)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
6b10910b47 gstreamer1.0-plugins-base: backport a patch to fix meson 0.58 builds
(From OE-Core rev: 4e509099d1a8c22e5f592e6675dabacfe910b9b9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:28 +01:00
Alexander Kanavin
830e634bbb meson.bbclass: split python routines into a separate class
This allows reusing them in nativesdk-meson without copy-pasting code.

(From OE-Core rev: f2715f5f2a56f9b660f9f0fe2933ec231a2dd8c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
6f8cc237bf expat: upgrade 2.2.10 -> 2.3.0
Drop 0001-Add-output-of-tests-result.patch
(difficult to rebase). I have verified that ptests
still pass, and print PASS for every test. If they
start failing we can revisit what kind of output would
be beneficial.

(From OE-Core rev: ef1a76f9c130e7efaecae15ccb1d48a03fa17b9b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
e63fd638d3 gnome: drop upstream even condition from a few recipes
They have adopted the new gnome version scheme where the distinction
is no longer:
https://lwn.net/Articles/831746/

(From OE-Core rev: 7e36fe212eb6bc9a4dbe66007837ad87d8f00a7d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
035f8548fe gdk-pixbuf: rewrite the cross-build support for tests
It was scattered over four different patches, and wasn't guarded
by a configuration option. Hopefully the new patch is acceptable
to upstream.

(From OE-Core rev: 92fc28498fcb9bdcea743961729b21b7e6c6b1fa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
wangmy
ec94923ec7 go: upgrade 1.16.3 -> 1.16.4
(From OE-Core rev: 1e280a596293976ac835b557dcaaa56972682480)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Khem Raj
fd9ae730cf npth: Check for pthread_create for including lpthread
pthread_detach() is moved into libc which means this test will fail
so check for pthead_create again

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=df65f897e9501aa5b64a5cbcb101301715f2ec2f
(From OE-Core rev: e82742849e6228f892a489bfbd02c365c4a8607e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Trevor Gamblin
b9f5a890a5 python3: upgrade 3.9.4 -> 3.9.5
Version 3.9.5 includes a fix for CVE-2021-29921.

(From OE-Core rev: be23351f97c1a7362c0ddd240a6de0cddfca1b01)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:27 +01:00
Alexander Kanavin
9e130813ce avahi: disable gtk bits
This should greatly reduce dependency chains on the autobuilder;
the only affected recipe is remmina, where avahi support will be
disabled by default.

(From OE-Core rev: 5f68f2e72accecaad6210c71d7f1ffb069edf011)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-14 07:57:26 +01:00
Robert P. J. Day
5019cfef85 meta/lib/oe/rootfs.py: Fix typo "Restoreing" -> "Restoring"
(From OE-Core rev: 2621dbbc1181808f18ca4ae79408d0d5b557670f)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:38 +01:00
Robert P. J. Day
1dfd7f9a42 image.bbclass: fix comment "pacackages" -> "packages"
(From OE-Core rev: 5c5f0d21799c2bff6875ef9fdc22d11035ea3320)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:38 +01:00
Richard Purdie
4898e857db qemu-x86: Add commandline options to improve boot
To try and help with the inermittent rcu stalls and boot issues with qemu
add some kernel commandline options commonly used with qemu instances which
were suggested may help.

(From OE-Core rev: d75cb16ecb3a55fd7631bf7720663e4b196421ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Richard Purdie
e8997d869b qemuboot-x86: Switch to IvyBridge and q35 instead of pc
Move from 1996 to 2009 by swapping machine 'pc' for 'q35'.

Also move to a CPU which is SMP capable and doesn't have tsc bugs. IvyBridge
matches what we're using on the autobuilder.

The intent here is to try and improve on some of the intermittent autobuilder
issues we're seeing. I'm told that nobody else runs with config this old
and it could well be contributing to our issues. Having reliable testing
is key to the project and justifies updating this IMO.

(From OE-Core rev: 6d9f25782bd585e89c5aaf7046266c848f1e581b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Richard Purdie
34e1bea0e8 qemu: Set SMP to 4 cpus for arm/x86 only
Only qemux86* and qemuarm* support SMP with our current configurations so
rework qemu SMP enabling to account for that and only use it on the architectures
where it works.

(From OE-Core rev: ee371325ce651cc113e43bdeb5d8986d5b84a3f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Alexander Kanavin
1584108bdc qemu: use 4 cores in qemu guests
Each of the cores is mapped to a thread on the host, this
should speed up things inside qemu which can take advantage of that.

(From OE-Core rev: 56f98d12a79585a4d4c459160f39403e05b620a5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 18:09:10 +01:00
Ulrich Ölmann
64ba8fc55b local.conf.sample: fix typo
(From meta-yocto rev: 8d872236e713a4b26059039fb32e93e7b602bb6c)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:34 +01:00
Robert Joslyn
899da712ae btrfs-tools: Update to 5.12
Add PACKAGECONFIG for zoned block devices. Leave disabled by default, as
this requires a recent kernel.

License-Update: libbtrfsutil was relicensed to LGPLv2.1+: https://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git/commit/?id=9e30f779e3cbf12a88ebe309ee371851fdfd3aa0

(From OE-Core rev: d10b62f54c6e0f19af02bab024680462d9e4418a)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:15 +01:00
Martin Jansa
e7ce28c8b0 binutils: backport DWARF-5 support for gold
* DWARF-5 is now used by default with gcc-11, causing
  11.1.0/ld: internal error in format_file_lineno, at ../../gold/dwarf_reader.cc:2278
  collect2: error: ld returned 1 exit status
  in various projects (runc-opencontainers, libhybris, collada-dom)

* https://gcc.gnu.org/gcc-11/changes.html

  For targets that produce DWARF debugging information GCC now defaults to DWARF version 5
  (with the exception of VxWorks and Darwin/Mac OS X which default to version 2 and
  AIX which defaults to version 4). This can produce up to 25% more compact debug
  information compared to earlier versions.

  To take full advantage of DWARF version 5 GCC needs to be build against binutils version 2.35.2 or higher.
  When GCC is build against earlier versions of binutils GCC will still emit DWARF version 5 for
  most debuginfo data, but will generate version 4 debug line tables (even when explicitly given -gdwarf-5).

  The following debug information consumers can process DWARF version 5:

  GDB 8.0, or higher
  valgrind 3.17.0
  elfutils 0.172, or higher (for use with systemtap, dwarves/pahole, perf and libabigail)
  dwz 0.14
  Programs embedding libbacktrace are urged to upgrade to the version shipping with GCC 11.

  To make GCC 11 generate an older DWARF version use -g together with -gdwarf-2, -gdwarf-3 or -gdwarf-4.

(From OE-Core rev: d07d4d739ae17787017f771dd2068fda0e836722)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:15 +01:00
Ross Burton
0fc0804e4b libarchive: disable redundant libxml2 PACKAGECONFIG
An XML parser (either libxml2, or expat) is only needed by libarchive to
read/write XAR archives.  However, these also need OpenSSL enabled which
by default it is not, so XAR files were disabled and libxml2 was a build
dependency for no reason.

As XAR archives are mainly used on macOS, we can remove libxml2.

(From OE-Core rev: 363f1ee30b0e6d222943aaed8dce37a4a441a86d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Martin Jansa
1e122267fd webkitgtk: fix build without opengl in DISTRO_FEATURES
(From OE-Core rev: 3b46038685c4d319ca0c88b3519cde04d615dc2a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
5dd7fde24f avahi: Exclude CVE-2021-26720 from cve-check
Issue only affects Debian and SUSE.

(From OE-Core rev: 72522fa1a5f3b9b2855043fe6b421886d641385f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
41ccc827cf librsvg: Exclude CVE-2018-1000041 from cve-check
Issue only affects windows.

(From OE-Core rev: a90d3b056992346003d96765fc8639f5235cca55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
ac9436c81b coreutils: Exclude CVE-2016-2781 from cve-check
http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842

"Given runcon is not really a sandbox command, the advice is to use
`runcon ... setsid ...` to avoid this particular issue.

(From OE-Core rev: 2d273b5aed4a5bd509ec9c68a6f451c17ec17d0c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
b77802fb05 rpm: Exclude CVE-2021-20271 from cve-check
This is included in the release we have, it was the reason for the last rpm
point release.

(From OE-Core rev: 117feb358c81b6b852dee24268eac0a1a47c1701)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Bruce Ashfield
53ac441029 kern-tools: Kconfiglib: add support for bare 'modules' keyword
Bumping the SRCREV to pickup the following for the kern-tools:

    commit 6dd85ff178cd76851e2184b13e545f5a88d1be30 [kconfig: change
    "modules" from sub-option to first-level attribute] broke parsing
    in 5.13+ trees.

    We add the new location to the parser so we can support both
    types of module specifications.

    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>

Without this, the kernel configuration audit for 5.13+ errors
immediately.

The older "option modules" parsing has been left in the code, so that
older kernels continue to work as well.

(From OE-Core rev: ba39e42681e7e3c6fe82686a42a9ee4b519003f9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
944de7ea5f ovmf: Fix other reproducibility issues
When building in longer paths, the ovmf build changes in many ways. This adds a
patch addressing various causes of problems. Full details are in the patch header.

(From OE-Core rev: 9113a5815f3c682ef99fd777e35e892b2e08237f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Richard Purdie
8e19e48f1b ovmf: Disable lto to aid reproducibility
lto tends to break reproducibility and makes ovmf near impossible to debug
reproducibility issues in. Disable it and supress the warnings that then
generates from Werror.

(From OE-Core rev: 627b6ed763eca90192203932784872b60a65fcaa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:34:14 +01:00
Michael Opdenacker
d4a82b30b7 manuals: reduce verbosity related to "the following" expression
(From yocto-docs rev: da9d1cfb5c084d172eff3cb10ec3631dd8266260)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Michael Opdenacker
f3540fc691 manuals: reduce verbosity with "worry about" expression
(From yocto-docs rev: 6c65f5f350cdc79a435deb20c48d861d9f4c5c14)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Daniel Wagenknecht
e145129aaa kernel-dev: document KCONFIG_MODE
(From yocto-docs rev: 12aa6f9c6af68ea03fbb056677213b00d693cf5f)

Signed-off-by: Daniel Wagenknecht <dwagenknecht@emlix.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
0fc54213c2 ref-manual: delete extraneous back quote
(From yocto-docs rev: 784d39fe28436302b4df7e1ea08582d4d2f664c6)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
6afc2f5737 ref-manual: delete references to dead LSB compliance
Since LSB does not seem to be relevant these days, delete mentions of
it.

(From yocto-docs rev: 5b4354e0611253b40ad58613b910b6591493a1b4)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Drew Moseley
6591d95eb1 manuals: fix a few incorrect option specifications.
(From yocto-docs rev: b6b218de3629d1f8fb61137e8bdcf84739cfaf67)

Signed-off-by: Drew Moseley <drew@moseleynet.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
f3a66b53bb sdk-manual: various cleanups to intro.rst
Minutiae including grammar fixes, increased brevity and adding a
proper link to another SDK manual section.

(From yocto-docs rev: 21d6c6fcbae938c256da6e72d6ac8d2ca72d5bc0)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Robert P. J. Day
60c081d9f8 sdk-manual: couple minor fixes in using.rst
One grammar fix, and adding two proper links to other sections.

(From yocto-docs rev: 969d4737da992e1fbca14cfbeb35bd5401698cba)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-13 11:28:34 +01:00
Khem Raj
c553b55a48 ffmpeg: Fix build on mips
configure is not able to decode, right options to compiler, it needs to
be set according to default tune manually. Fixes build issue on mips
e.g.

 {standard input}: Assembler messages:
| {standard input}:2162: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dmult $22,$22'
| {standard input}:2164: Error: opcode not supported on this processor: mips32r2 (mips32r2) `dsrl $5,$5,32'
| make: *** [/mnt/b/yoe/master/build/tmp/work/mips32r2-yoe-linux/ffmpeg/4.4-r0/ffmpeg-4.4/ffbuild/common.mak:67: libavcodec/aptxenc.o] Error 1

(From OE-Core rev: b254db634fc888ae75e843c8a9108e71ffff3f77)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Alexander Kanavin
2153aa26e3 ffmpeg: update 4.3.2 -> 4.4
Drop mips64_cpu_detection.patch as upstream
has changed the code in a way that's difficult
to rebase. I have confirmed that builds on qemumip64 still
work, and the patch does not say clearly what was the
way to reproduce the failure it's aiming to address.

(From OE-Core rev: 7db3aed539044bed1c7d3cf7b91f55caed974fe2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
2d5c161021 tiff: Exclude CVE-2015-7313 from cve-check
Some fix upstream addresses the issue, it isn't clear which change this was. Our
current version doesn't have issues with the test image though so we can exclude.

(From OE-Core rev: 3874da694ae1d9de06dd003bd80705205e2b033b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
c887238347 bluez: Exclude CVE-2020-12352 CVE-2020-24490 from cve-check
These CVEs are fixed with kernel changes and don't affect the bluez recipe.

(From OE-Core rev: 658902477840ea34d414083c4c79616bf5e999a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
409df45522 ghostscript: Exclude CVE-2013-6629 from cve-check
The CVE is in the jpeg sources included with ghostscript. We use our own
external jpeg library so this doesn't affect us.

(From OE-Core rev: 8556d6a6722f21af5e6f97589bec3cbd31da206c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
4b7fae138c xinetd: Exclude CVE-2013-4342 from cve-check
We use the SUSE mirror of xinetd. The CVE fix was added to the main repo
after the latest release but is included in the version from the SUSE repo.

(From OE-Core rev: 6f587d1e1fdf8141d240160d57c9a05ff97ea510)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
fd5f1656ae cpio: Exclude CVE-2010-4226 from cve-check
Issue applies to use of cpio in SUSE/OBS, doesn't apply to us.

(From OE-Core rev: 915b38c54a7932744a9f56713d1c6bd00a789331)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
a6e8f4163c unzip: Exclude CVE-2008-0888 from cve-check
The patch mentioned as the fix for the CVE is applied to the 6.0 source
code. Zip versioning makes CPE entry changes hard.

(From OE-Core rev: 8917e5ae2bb44d017fc0155f16632c5decadb0bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
8efb104e7b openssh: Exclude CVE-2008-3844 from cve-check
CVE only applies to some distributed RHEL binaries so irrelavent to us.

(From OE-Core rev: 5d8b3ddf91050f6745a99a8abb1c3b03c35247af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:05 +01:00
Richard Purdie
c6421254c5 bind: Exclude CVE-2019-6470 from cve-check
Issue only affects dhcpd with recent bind versions. We don't ship dhcpd anymore
so the issue doesn't affect us.

(From OE-Core rev: 30106ae676124ba3c0e496a4f19c919c8418b59b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Robert Joslyn
987b668b13 epiphany: Update to 40.1
Refresh patch and adjust version directory for new version numbering
scheme. Add new dependency on libarchive.

(From OE-Core rev: 02bce05698d905771250ab12b48d8b0e19d218cb)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alejandro Hernandez Samaniego
4ba09d6a2b baremetal-helloworld: Enable RISC-V 64 port
Add support for MACHINE=qemuriscv64.

$ runqemu nographic

KERNEL: [tmp/deploy/images/qemuriscv64/baremetal-helloworld-image-qemuriscv64.bin]
MACHINE: [qemuriscv64]
FSTYPE: [bin]

runqemu - INFO - Running tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv64

Hello OpenEmbedded on RISC-V 64!

(From OE-Core rev: 31fde82640bf0d185eab55d2cbaf663c9faae801)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alexander Kanavin
d875ba64e9 mesa: add lmsensors PACKAGECONFIG
(From OE-Core rev: 1b470a5fe7c74938cac7c83cd104ca25182af6cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alexander Kanavin
c4473061f7 powertop: update 2.13 -> 2.14
Drop configure() tweaks, none of them are needed anymore, and particularly
the ncurses tweak was changing the build in a way that is not clear
(and no one remembers why it was there in the first place).

Adjust LDFLAGS as somehow -pthread isn't there --> link failures.

(From OE-Core rev: c4982ddd71ac652f9d3b879bf31bb087500fb611)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:04 +01:00
Alexander Kanavin
3127ef1b43 Revert "go: Use dl.google.com for SRC_URI"
This reverts commit 4118415d4b.

This was found to be unnecessary, and broke upstream version checks.

(From OE-Core rev: cee436d1eb94663f3604c80b6ad87292f6901498)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-12 23:06:03 +01:00
Richard Purdie
8dcb68f477 ovmf: Improve reproducibility by enabling prefix mapping
We want to pass ${DEBUG_PREFIX_MAP} to gcc commands and also pass in
--debug-prefix-map to nasm (we carry a patch to nasm for this). The
tools definitions are built by ovmf-native so we need to pass this in
at target build time when we know the right values.

By using determininistc file paths in the ovmf build, it removes the
opportunitity for gcc/ld to change the output binaries due to path
lengths overflowing section sizes and causing small changes in the
binary output.

This also means that if builds have reproducibility issues in future, it
becomes much easier to compare intermediate build artefacts.

(From OE-Core rev: 51f51310d6d5cced2b55bf27dbb9a5717740a206)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
20efb29a5d openssh: Exclude CVE-2007-2768 from cve-check
We don't build/use the OPIE PAM module, exclude the CVE from this recipe.

(From OE-Core rev: 3670be602f2ace24dc49e196407efec577164050)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
a087553fa5 logrotate: Exclude CVE-2011-1548,1549,1550 from cve-check
These CVEs apply to the way logrotate was installed on Gentoo, Debian
and SUSE, exclude from cve-check as they don't apply to OE.

(From OE-Core rev: 23643016f3b8794db772e333ff0b8f598571b628)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
8a6a71ea4d jquery: Exclude CVE-2007-2379 from cve-check
The CVE is non-specific and depends on the users of jquery, doesn't
make sense to have this flagged against jquery as there is nothing we can
do about it.

(From OE-Core rev: 1f82843584f6d2843c5bbd2fe5dcbc654a0fbcfb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
d2708c0b5b qemu: Exclude CVE-2018-18438 from cve-check
The issues were investigated and found not to be an issue therefore
exclude from checks.

(From OE-Core rev: ee6ee9bd489c126b99d15c1011560df2f840a6e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
ae3527372f qemu: Exclude CVE-2007-0998 from cve-check
The CVE applies to the built-in VNC server but we don't enable this by default.

(From OE-Core rev: d62b9974a5f3a0f462434ce2763c28a4b4bbcfc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
458f5d026e qemu: Exclude CVE-2017-5957 from cve-check
The CVE applies to virglrender before 0.6.0 which we don't have.

(From OE-Core rev: 9b5355375d028577de0b98e05992de6a088cb972)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Ross Burton
a8192999f0 builder: whitelist CVE-2008-4178 (a different builder)
(From OE-Core rev: 107987b342a834badfad286474b03543b4764d23)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Ross Burton
e703650fce libnotify: whitelist CVE-2013-7381 (specific to the NodeJS bindings)
(From OE-Core rev: be04484f99a5b29cc9066e350b526fc4420ad6d4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Ross Burton
cb93117edb cairo: backport patch for CVE-2020-35492
(From OE-Core rev: 0c4e6f99332ae253855708845a41fdfeb72d4c30)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
217e7c61c5 glibc: Document and whitelist CVE-2019-1010022-25
These CVEs are disputed by upstream and there is no plan to fix/address them. No
other distros are carrying patches for them. There is a patch for 1010025
however it isn't merged upstream and probably carries more risk of other bugs
than not having it.

(From OE-Core rev: b238db678083cc15313b98d2e33f83cccab03fc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Richard Purdie
1c926417e1 grub2: Add CVE whitelist entries for issues fixed in 2.06
We're using a pre-release version of 2.06 so these issues are fixed but
continue to show up in the checks since it is pre-2.06 and the CPE
entries are "before but excluding 2.06".

Adding these will clean up CVE reports until the 2.06 release comes out.

(From OE-Core rev: 2467ab1554bee3a431636046735e8e369e865bc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Bastian Krause
4638576d10 ccache: version bump 4.2.1 -> 4.3
Instead of [1] a very similar PR [2] was merged that allows
enabling/disabling documentation builds. So drop the patch here and use
the upstream cmake option ENABLE_DOCUMENTATION instead.

[1] https://github.com/ccache/ccache/pull/844
[2] https://github.com/ccache/ccache/pull/842

(From OE-Core rev: 1eedc5f822933928ed7861350ad47ff9c096552a)

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Alexander Kanavin
2809a33b74 liberation-fonts: fix upstream version check
(From OE-Core rev: dbb283b838007744e6bb1641e844ca7719fc4742)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Alexander Kanavin
9427f6f92a swig: fix upstream version check
(From OE-Core rev: 4e9f4dca48e853a794331a75200fd7450176eeb2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Martin Jansa
17535c15b7 gcc-sanitizers: Package up static hwasan files as well
* introduced with gcc-11, other hwasan files were already packaged in:
  3df4a25465 gcc-sanitizers: Package up hwasan files
  but static library was still triggering installed-vs-shipped

(From OE-Core rev: 49aec04aa8ac98545b48c41382ebf1a1c3be1118)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
Yann Dirson
698fd81c55 linux-firmware: include all relevant files in -bcm4356
This currently catches the .clb_blob and .vamrs,rock960.txt, and other
.txt files may come in future upstream releases.

(From OE-Core rev: e332738a8aae0914c58b40faae8b9d7a82fd6a95)

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
zhengruoqin
c8ea2cb37d busybox: upgrade 1.33.0 -> 1.33.1
0001-decompress_gunzip-Fix-DoS-if-gzip-is-corrupt.patch
removed since it is included in 1.33.1

(From OE-Core rev: 544236b12a72ee5be5ef0147249ead112082b871)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:26 +01:00
wangmy
764db5fde8 kexec-tools: upgrade 2.0.21 -> 2.0.22
(From OE-Core rev: 2c7868ef9e85a3cdd56b11cd5e876e633307a21d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
wangmy
d7323f994e ell: upgrade 0.39 -> 0.40
(From OE-Core rev: db1f0f28a0651a648cd9fd238f5e2809110ff577)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
wangmy
beac6e438f at-spi2-core: upgrade 2.40.0 -> 2.40.1
(From OE-Core rev: 7944928f86348562e4b4440e53f4201b186a3ca6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
Alexander Kanavin
a6f18016c4 ptest: add a test for orphaned ptests, and restore ones found by it
Particularly, numactl, numpy and libseccomp are disabled for now
due to failures or lack of qemu support. The rest have been verified
to pass quickly.

[RP: Fix multilib recipe handling]
(From OE-Core rev: 8bb5da87000ade519529e44181448244bd94d4f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-11 11:54:25 +01:00
Richard Purdie
bb490c7ea9 puzzles: Upstream changed to main branch for development
(From OE-Core rev: 943402b25212408a4ddcfa8a146b645509e138dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-10 08:00:22 +01:00
Khem Raj
03a3fddb50 python3-markdown: Upgrade to 3.3.4
meta-python is carrying 3.3.4, once we upgrade it in core
we can safely drop it from meta-python, helps with layer-compatibility
checks

(From OE-Core rev: 88c11b0a45b3fd310288325f97c16ca2c9e0006e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Andreas Müller
caa8605d8d gstreamer1.0-plugins-good: fix build with gcc11
This fixes issues when qt plugins are enabled (which is not by default
without additional layers).

(From OE-Core rev: 25f3ff9c4ca20962994c43b741c7839b713cbfe6)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Kai Kang
4444786679 grub2.inc: remove '-O2' from CFLAGS
It fails to boot grub after upgrade grub to 2.06. According to
description in

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14367

it is introduced by a commit to fix CVE. So remove option '-O2' from
CFLAGS rather than revert the commit to avoid the failure.

[YOCTO #14367]

CC: Tony Battersby <tonyb@cybernetics.com>
(From OE-Core rev: 69805629b8f47fd46a37b7c5cc435982e2ac3d1d)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Romain Naour
4523af6c1d dejagnu: needs expect at runtime
runtest return an error due to missing expect on the target.
Add expect as runtime dependency.

(From OE-Core rev: d9a3a08edc1efcbe7b02e80be98370792d3c6cc2)

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Khem Raj
3f93502b27 swig: Upgrade to 4.0.2
Drop backports and refresh patches to apply on 4.x series

(From OE-Core rev: 5c7923e79c2411a0a36e540a8b894d399ad04aa7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Peter Kjellerstedt
48c64d609b libcap: Configure Make variables correctly without a horrible hack
Occasionally, the build would fail with:

  make[2]: execvp: mkdir: Argument list too long

This turned out to be due to a hacky solution used in the recipe to
modify the Makefile, which resulted in one more $(BUILD_CFLAGS) being
added to the immediately expanded BUILD_CFLAGS Make variable each time
do_configure was executed. After a couple of times, this lead to an
environment with a 140 kB BUILD_CFLAGS when mkdir should execute, which
resulted in the E2BIG.

(From OE-Core rev: 116e6b61c585c6f0f7ae6f010bd490bb39914348)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Vinícius Ossanes Aquino
071fa40b0e lttng-modules: backport patches to fix build against 5.12+ kernel
Add the following patches from stable-2.12 branch of lttng repository
to fix errors when building lttng-modules against 5.12+ kernel
since they are not present on the release 2.12.5:

- 17cd2dc9 fix: block: add a disk_uevent helper (v5.12)
- 127135b6 fix backport: block: add a disk_uevent helper (v5.12)
- 853d5903 fix: mm, tracing: kfree event name mismatching with
provider kmem (v5.12)

(From OE-Core rev: 2538ba2b3490e3599d9ccd637aa8486ea428f1b0)

Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Bruce Ashfield
3bebf05cff linux-yocto/5.4: qemuppc32: reduce serial shutdown issues
Integrating the following commit(s) to linux-yocto/5.4:

    qemuppc32: reduce serial issues seen on shutdown

    Richard reported:

    We've been seeing a lot of the qemuppc shutdown issue and I decided to
    look into it. The really worrying thing looking at the logs locally is the
    serial ports are showing irq issues and becoming disabled as nobody would
    handle them.

    Errors like:

       [    9.194886] irq 36: nobody cared (try booting with the "irqpoll" option)
       [    9.198712] CPU: 0 PID: 127 Comm: bootlogd Not tainted
       [    9.202283] Call Trace:
       [    9.205611] [d1005f00] [c00a0da8] __report_bad_irq+0x50/0x138 (unreliable)
       [    9.209347] [d1005f30] [c00a0cc0] note_interrupt+0x324/0x378
       [    9.212855] [d1005f70] [c009d138] handle_irq_event+0xe8/0x104
       [    9.216353] [d1005fa0] [c00a1d9c] handle_fasteoi_irq+0xc0/0x29c
       [    9.219960] [d1005fc0] [c009b798] generic_handle_irq+0x40/0x5c
       [    9.223496] [d1005fd0] [c00075d0] __do_irq+0x58/0x188
       [    9.226948] [d1005ff0] [c0010040] call_do_irq+0x20/0x38
       [    9.230391] [d29eda60] [c0007788] do_IRQ+0x88/0xfc
       [    9.233860] [d29eda90] [c0016454] ret_from_except+0x0/0x14
       [    9.237288] --- interrupt: 501 at __setup_irq+0x3c4/0x838
       [    9.237288]     LR = __setup_irq+0x790/0x838
       [    9.244155] [d29edb88] [c009f0a4] request_threaded_irq+0x114/0x1c8
       [    9.247672] [d29edbb8] [c07a5a18] pmz_startup+0x17c/0x32c
       [    9.251203] [d29edbd8] [c07a1140] uart_port_startup+0x184/0x2f8
       [    9.254651] [d29edc08] [c07a1974] uart_port_activate+0x78/0xf4
       [    9.258141] [d29edc28] [c07839f8] tty_port_open+0xd4/0x170
       [    9.261579] [d29edc58] [c079db74] uart_open+0x2c/0x48
       [    9.265116] [d29edc68] [c077a288] tty_open+0x168/0x640
       [    9.268574] [d29edcd8] [c0280be8] chrdev_open+0x138/0x2a4
       [    9.272123] [d29edd18] [c027421c] do_dentry_open+0x228/0x410
       [    9.275643] [d29edd48] [c028e9f4] path_openat+0xb04/0xf28
       [    9.279184] [d29eddd8] [c02917e4] do_filp_open+0x120/0x164
       [    9.282535] [d29ede98] [c0276238] do_sys_openat2+0xd8/0x19c
       [    9.285790] [d29edee8] [c0276574] sys_openat+0x88/0xdc
       [    9.289096] [d29edf38] [c00160d8] ret_from_syscall+0x0/0x34
       [    9.292620] --- interrupt: c01 at 0xfec3738
       [    9.292620]     LR = 0xfec36e0
       [    9.299035] handlers:
       [    9.302312] [<7f7f7da8>] pmz_interrupt
       [    9.305541] Disabling IRQ #36

    (and the irqpoll option does not help)

    This is problematic as the shutdown test uses the serial interface to
    shut down the system. If the serial interface fails to login or run the command,
    game over for the test.

    CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
    any output or capabilities that we need. So we disable it here, and
    reduce the chances of issues during shutdown.

(From OE-Core rev: 42355cb73049ee7a4af0f539a2a5b7d4ee1abc65)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
8edb167924 x264: upgrade to latest revision
(From OE-Core rev: 17f18d0aa3a8588717b6b5ae2a2b9c773fbf7863)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
341796ff8c python3-setuptools-scm: upgrade 5.0.1 -> 6.0.1
(From OE-Core rev: a95aab10c662dda99867c2cffd4e6fcfe33cebe0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
b18df94122 python3-pytest: upgrade 6.2.2 -> 6.2.3
(From OE-Core rev: a49c3ee159164dbea35fdae51584ce8c2abb488b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
ac7fdbe558 python3-importlib-metadata: upgrade 3.4.0 -> 3.10.1
(From OE-Core rev: 68ec69e4c135ce49956a50698f681cd317cf96c7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
922ebe04b6 python3-hypothesis: upgrade 6.2.0 -> 6.9.1
(From OE-Core rev: 549b395e0fcc59e01a48b91d33cf72b7501c41df)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
5e164fcba6 pkgconf: upgrade 1.7.3 -> 1.7.4
(From OE-Core rev: a7cb5f9160fa1575adf10d4a0b679478cfa585ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
4d2ed6b901 piglit: upgrade to latest revision
(From OE-Core rev: dd085bd577a2a64b46485a9fde7eb8f2a727e1e8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
24ac6969db pango: upgrade 1.48.2 -> 1.48.4
(From OE-Core rev: 894f2783ac1f9741bcf3e54c1b86ac0dd1bc04e0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:16 +01:00
Alexander Kanavin
d45d46f2ee linux-firmware: upgrade 20210208 -> 20210315
License-Update: additional firmware files, version changes

(From OE-Core rev: 2f10b9dbb4fb8ccb9a427883370fbbeb6f394551)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
54cd6a5a51 libxres: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: beb2c79c77f9a5370c633f3f7cd4f7302c0cf49a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
97063ca5d7 libwpe: upgrade 1.8.0 -> 1.10.0
(From OE-Core rev: 2abc471c24d60485fb6fb3380eeea33137bf81bf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
85cb9f2c73 libinput: upgrade 1.16.4 -> 1.17.1
(From OE-Core rev: c70e9a812659811664b40fa103d52bbb06e39750)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
3a7b18544f libfm: upgrade 1.3.1 -> 1.3.2
(From OE-Core rev: 3f40b23dc8e034d17a97c988892ef01522bc1b43)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
d158921a6f less: upgrade 563 -> 581
(From OE-Core rev: e19736b809cbc8c15808e75473a95117fbdb1468)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
93d88fe52b harfbuzz: upgrade 2.7.4 -> 2.8.0
(From OE-Core rev: e5f82c4431e3d48914e26be97c83b0efbb2b478c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
5ef38c9cae gtk+3: upgrade 3.24.25 -> 3.24.28
(From OE-Core rev: 09cc5725b8ecdfd1cc54eaf834cdf5e2dbdd050c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
6c1dd9dede gobject-introspection: upgrade 1.66.1 -> 1.68.0
(From OE-Core rev: 803bbae963d59a91fbd3c517003f9972fc9bf7e8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
05904ebc14 systemd-boot: backport a fix to address failures with new gnu-efi
(From OE-Core rev: c88679a2f1a3aa84f7699a0ee752cf8071e8a430)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
46fcf0d6d3 gnu-efi: upgrade 3.0.12 -> 3.0.13
(From OE-Core rev: 464a09f45f619f1f96e3f5c83dc3d6d68eadfcbe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
3ac289eb81 e2fsprogs: upgrade 1.46.1 -> 1.46.2
(From OE-Core rev: 89ed9395b247e741fe667e7321be996b27d4e0c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
21bd255395 dnf: upgrade 4.6.0 -> 4.7.0
(From OE-Core rev: 432352dddc97eb19cefacd8644fb59b1f10bc2d3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
ad7581132d cronie: upgrade 1.5.5 -> 1.5.7
(From OE-Core rev: 3ad65c9509c2c352f4126f87d34634e4248579b4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
f5dbb6b815 createrepo-c: upgrade 0.17.0 -> 0.17.2
(From OE-Core rev: 0013f8195c046031aad5156d889b86676144e74b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
85a6dffc87 bison: upgrade 3.7.5 -> 3.7.6
License-Update: http links -> https

(From OE-Core rev: d3072372c95f327d38581e0f29f3d3329e0ecaae)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
2fb7154779 bind: upgrade 9.16.12 -> 9.16.13
(From OE-Core rev: 40624d1d3420783f24253b87465cd5ab7ecb32b4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
1cc617ae10 acl: upgrade 2.2.53 -> 2.3.1
(From OE-Core rev: dabe3173a9b9cd8f96913c3c47c01f056d79f274)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
99445990ca webkitgtk: update 2.30.6 -> 2.32.0
Drop 0001-Extend-atomics-check-to-include-1-byte-CAS-test.patch
(merged upstream).

Rebase other patches.

(From OE-Core rev: f64e9ba5f0d48e34d7022bf74bd9765f9e8a792c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
39932f22fa virglrenderer: update 0.8.2 -> 0.9.1
Drop 0001-gallium-Expand-libc-check-to-be-platform-OS-check.patch,
issue fixed upstream.

(From OE-Core rev: ad968bc3d3ec5ae6862cdbe46608a99f561046fd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
a3b5f86004 gnupg: upgrade 2.2.27 -> 2.3.1
Remove 0001-Use-pkg-config-to-find-pth-instead-of-pth-config.patch
as upstream has removed the .m4 files.

Rebase other patches.

(From OE-Core rev: 623b10d3428f84219f7fb0cbb539fbbba7161e2d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
0de28255b7 vulkan-samples: update to latest revision
(From OE-Core rev: a6f8da2a59b3c8fd14bacb7e29feb1cc2fea0088)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
b36bf2f6d4 libgudev: update 234 -> 236
Convert to meson.

(From OE-Core rev: 80bf33236e26c57f441ebebce758afad9900f27e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
ab3a1f4262 libxkbcommon: update 1.0.3 -> 1.2.1
(From OE-Core rev: eb5044711bd74cd37799feb55aa006fcbf5ad155)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
b143dc6db0 bluez5: upgrade 5.56 -> 5.58
(From OE-Core rev: 6aabd10b113a81b0abbcb9654bc6fe17cc6bb3ce)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
d112d5bee6 libdnf: upgrade 0.58.0 -> 0.62.0
(From OE-Core rev: 87f9e745998be322cf13952f8d914139185b9d8c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
9f137c86a8 pulseaudio: unbreak build with latest meson
(From OE-Core rev: 3ac3c5dad3e9a434b421c654b3d375c2fee044a9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
038eb82ad6 systemd: backport a patch to avoid unnecessary rsync dependency with latest meson
(From OE-Core rev: 3f0269ff1e5f87b23ef9012813a753daf3c5c24f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
ec0e1d4fb9 meson: update 0.57.1 -> 0.57.2
(From OE-Core rev: 85345697c6e492598c882eb452b999b8a05f97a9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
25fdd28161 cmake: update 3.19.5 -> 3.20.1
Remove 0002-cmake-Prevent-the-detection-of-Qt5.patch
(patch purpose and failing scenarios unclear; disabling
is better done through configuration options which
are available for all of these items).

License-Update: copyright years

(From OE-Core rev: 6f3a4f224931866ab2e9758530efdb81d7ddb63d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Richard Purdie
ecaefb9d57 ptest-packagelists: Add expat-ptest to fast ptests
This ptest package was accidentally not enabled. The tests run quickly (2s) and
pass so add to the standard test suite.

(From OE-Core rev: 53dcc4b7bb4dce6cd2bc8d194efc4b8246317f22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
537ffe0d95 puzzles: update to latest revision
Convert to cmake, drop all the unneeded cruft from the recipe.

License-Update: additional contributors
(From OE-Core rev: adba510022781f139014d6174e46954c1f4774c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
73b4bf301e dpkg: update 1.20.7.1 -> 1.20.9
(From OE-Core rev: 2000040d92a41ef5ae594aed2482a7b33d17dda9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
b4a004d583 xorgproto: upgrade 2020.1 -> 2021.3
License-Update: formatting

(From OE-Core rev: fa51ebcff8424eb0f777a78647c462f33318849f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:15 +01:00
Alexander Kanavin
c04b40a21e xserver-xorg: upgrade 1.20.10 -> 1.20.11
(From OE-Core rev: 0e9ff8859492403a88e61cfba5df2917d70d3584)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
70f797eced stress-ng: upgrade 0.12.05 -> 0.12.06
(From OE-Core rev: 31a09f59db6461a5f65f93783c25d8d05e4edf3e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
f33847f5ba xkbcomp: upgrade 1.4.4 -> 1.4.5
License-Update: formatting

(From OE-Core rev: 2cfc32df6c527d308d436464421766522d34c829)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
9fbf28b1d9 vala: upgrade 0.50.4 -> 0.52.2
(From OE-Core rev: 25c6b77d2ab914dc7a38e7bf6171d66bd3be85d3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Chen Qi
91787002cb db: update CVE_PRODUCT
Update CVE_PRODUCT to also include 'berkeley_db'. For example,
CVE-2020-2981 uses 'berkeley_db'.

(From OE-Core rev: ad799b109716ccd2f44dcf7a6a4cfcbd622ea661)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Robert Joslyn
276974ca9e liberation-fonts: Update to 2.1.4
Update HOMEPAGE and SRC_URI since development moved to GitHub.

(From OE-Core rev: a522704c1891eeb78b0cf1bcbdb2bb6b3c96c204)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
wangmy
0fe48bb863 python3-pygments: upgrade 2.8.1 -> 2.9.0
(From OE-Core rev: cd0b5ecccccb5b77aee77e3eb4547fd342fbabaf)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Anuj Mittal
3d6e67b389 lsb-release: fix reproducibility failure
Make sure help2man output is reproducible. Fixes:

| .\"·DO·NOT·MODIFY·THIS·FILE!··It·was·generated·by·help2man·1.022.	.\"·DO·NOT·MODIFY·THIS·FILE!··It·was·generated·by·help2man·1.022.
| .TH·FSG·"1"·"April·2021"·"FSG·lsb_release·v1.4"·FSG	.TH·FSG·"1"·"May·2021"·"FSG·lsb_release·v1.4"·FSG
| .SH·NAME	3 	.SH·NAME

(From OE-Core rev: 49371207a7f1fe3d3feb7b8b9aabb62b43ae34d1)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
3eab723431 gdk-pixbuf/pango: replace gtk-doc with gi-docgen
(From OE-Core rev: fe97a89056857e1326b087fb3d4a4b4be28acdc9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
7572042364 gi-docgen: add a recipe and class
This seems to be the gtk-doc successor, and gnome
projects such as pango and gdk-pixbuf have started
transitioning to it.

(From OE-Core rev: f87bb7d848015c371095ef3ff423eee81e6d8ecd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Alexander Kanavin
13e4ff2250 python3: add markdown/smartypants/typogrify modules
This is needed to enable gi-docgen, a successor to gtk-doc

(From OE-Core rev: b557ea3cc61da326bb7783a2ac8e4080c4bf79e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Richard Purdie
b681827f5b oeqa/qemurunner: Improve handling of run_serial for shutdown commands
When running a shutdown command, the serial port can close without the
command returning. This is seen as the socket being readable but having
no data. Change the way this case is handled in the code to avoid
tracebacks.

(From OE-Core rev: 396a3ba884820d040c91f7592daf20ac28c49b5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Richard Purdie
4a3a0e7838 oeqa/qemurunner: Fix binary vs str issue
The recent logging changes for qemurunner showed up as errors on the
autobuilder where decode couldn't be called on the returned string.
Since the code returns binary data, return b'' instead of '' to match
to avoid tracebacks.

One of these cases was newly added, copied from the other which has
been there for a long time, always broken.

(From OE-Core rev: b8995b27db265b0a0b2d2ca595915f70f9f96e07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-09 23:30:14 +01:00
Bruce Ashfield
2dcd1f2a21 yocto-check-layer: Only note a layer without a conf/layer.conf (versus error)
Dynamic layers may have a conf directory, but don't need (or
want) a conf/layer.conf

This isn't an error, so we can just log it and indicate the
layer is being skipped.

A full layer without a conf file isn't all that useable, so we
aren't letting anything subtle slip through by just logging
it.

(From OE-Core rev: 9841a7c70bc21c5cd3bbea98d5f8654434577f61)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 16:55:35 +01:00
Saul Wold
3d79025398 qemurunner: change warning to info
This information is useful, but should not be a warning level.

[YOCTO #14382]

(From OE-Core rev: cd17d8bb00be1ecb7c92ab13eb8b162807aefed9)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 16:55:35 +01:00
Bruce Ashfield
6716a16efc linux-yocto/5.10: qemuppc32: reduce serial shutdown issues
Integrating the following commit(s) to linux-yocto/5.10:

    qemuppc32: reduce serial issues seen on shutdown

    Richard reported:

    We've been seeing a lot of the qemuppc shutdown issue and I decided to
    look into it. The really worrying thing looking at the logs locally is the
    serial ports are showing irq issues and becoming disabled as nobody would
    handle them.

    Errors like:

       [    9.194886] irq 36: nobody cared (try booting with the "irqpoll" option)
       [    9.198712] CPU: 0 PID: 127 Comm: bootlogd Not tainted 5.10.30-yocto-standard #1
       [    9.202283] Call Trace:
       [    9.205611] [d1005f00] [c00a0da8] __report_bad_irq+0x50/0x138 (unreliable)
       [    9.209347] [d1005f30] [c00a0cc0] note_interrupt+0x324/0x378
       [    9.212855] [d1005f70] [c009d138] handle_irq_event+0xe8/0x104
       [    9.216353] [d1005fa0] [c00a1d9c] handle_fasteoi_irq+0xc0/0x29c
       [    9.219960] [d1005fc0] [c009b798] generic_handle_irq+0x40/0x5c
       [    9.223496] [d1005fd0] [c00075d0] __do_irq+0x58/0x188
       [    9.226948] [d1005ff0] [c0010040] call_do_irq+0x20/0x38
       [    9.230391] [d29eda60] [c0007788] do_IRQ+0x88/0xfc
       [    9.233860] [d29eda90] [c0016454] ret_from_except+0x0/0x14
       [    9.237288] --- interrupt: 501 at __setup_irq+0x3c4/0x838
       [    9.237288]     LR = __setup_irq+0x790/0x838
       [    9.244155] [d29edb88] [c009f0a4] request_threaded_irq+0x114/0x1c8
       [    9.247672] [d29edbb8] [c07a5a18] pmz_startup+0x17c/0x32c
       [    9.251203] [d29edbd8] [c07a1140] uart_port_startup+0x184/0x2f8
       [    9.254651] [d29edc08] [c07a1974] uart_port_activate+0x78/0xf4
       [    9.258141] [d29edc28] [c07839f8] tty_port_open+0xd4/0x170
       [    9.261579] [d29edc58] [c079db74] uart_open+0x2c/0x48
       [    9.265116] [d29edc68] [c077a288] tty_open+0x168/0x640
       [    9.268574] [d29edcd8] [c0280be8] chrdev_open+0x138/0x2a4
       [    9.272123] [d29edd18] [c027421c] do_dentry_open+0x228/0x410
       [    9.275643] [d29edd48] [c028e9f4] path_openat+0xb04/0xf28
       [    9.279184] [d29eddd8] [c02917e4] do_filp_open+0x120/0x164
       [    9.282535] [d29ede98] [c0276238] do_sys_openat2+0xd8/0x19c
       [    9.285790] [d29edee8] [c0276574] sys_openat+0x88/0xdc
       [    9.289096] [d29edf38] [c00160d8] ret_from_syscall+0x0/0x34
       [    9.292620] --- interrupt: c01 at 0xfec3738
       [    9.292620]     LR = 0xfec36e0
       [    9.299035] handlers:
       [    9.302312] [<7f7f7da8>] pmz_interrupt
       [    9.305541] Disabling IRQ #36

    (and the irqpoll option does not help)

    This is problematic as the shutdown test uses the serial interface to
    shut down the system. If the serial interface fails to login or run the command,
    game over for the test.

    CONFIG_SERIAL_PMACZILOG_CONSOLE complicates that handling, but doesn't provide
    any output or capabilities that we need. So we disable it here, and
    reduce the chances of issues during shutdown.

(From OE-Core rev: bf2c6ea03d45742597275691b4c883044765c57e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 16:55:35 +01:00
Alexander Kanavin
5ac0965479 gnu-config: update to latest revision
(From OE-Core rev: 2f13632a0b573f635c91efee3fd6ce2215f407cf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Alexander Kanavin
1681d34e4b glib-2.0: update 2.68.0 -> 2.68.1
(From OE-Core rev: 1e8959da12afbde05060c5ee0019a28fd6945ef2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Alexander Kanavin
3533549e78 gdk-pixbuf: update 2.40.0 -> 2.42.6
Note: jpg/png loaders are now builtin and no longer
provided as separate packages.

Drop backport missing-test-data.patch.

Drop no longer needed 0004-Do-not-run-tests-when-building.patch

Rebase 0004-Do-not-run-tests-when-building.patch

Rework 0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch
so that it can be applied to both native and target builds.

(From OE-Core rev: 9eda439c7c775fb7fa26a97d2575b491e2a4bd45)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Alexander Kanavin
c9af0cd128 vte: use tarballs again
(From OE-Core rev: 4f4d631dbb88dad03a3f83ea57cb7a0a17a7fdb8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 12:12:58 +01:00
Richard Purdie
eff192abe2 lib/package_manager: Use shutil.copy instead of bb.utils.copyfile for intercepts
If the scripts/postinst-intercepts is owned by root/root then the copyfile() calls
will fail due to chown issues. We don't care about ownership of these files so
use shutil.copy() instead which won't perform any chown.

(From OE-Core rev: 1a03c70c282b3445b93a4c70ea6d40a1778750c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:24 +01:00
Richard Purdie
1140cca023 oeqa/qemurunner: Handle path length issues for qmp socket
After the addition of the qmp socket, runqemu started failing:

ERROR - Failed to run qemu: qemu-system-aarch64: -qmp unix:/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid,server,wait:
UNIX socket path '/home/yocto/actions-runner-meta-openembedded/_work/meta-openembedded/meta-openembedded/yoe/build/tmp/.3eg5fiid' is too long
Path must be less than 108 bytes

To avoid this, run qemu within tmpdir and use a relative path to the socket.
This avoids having to patch the socket code within qemu.

Update the client code to chdir and only use a relative path to the socket
to match.

(From OE-Core rev: 5c56e72fca18dc942f5c1fd377e98d46ae0126f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:24 +01:00
Richard Purdie
e293a37935 oeqa/qemurunner: Improve logging thread exit handling for qemu shutdown test
Rather than totally disabling the logging, inform it we're about to exit
so we can log messages over the exit cleanly too. This aids debugging. It
also avoids a race where the logging handler could still error whilst
shutting down.

Also remove a race window by notificing the handler of the shutdown
first, before triggering it. This removes a race window I watched in
local testing.

(From OE-Core rev: 0e19f31a1005f94105e1cef252abfffcef2aafad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:23 +01:00
Yi Fan Yu
27c77ee898 libevent: Increase ptest timing tolerance 50 ms -> 100 ms
Adjusting the tolerance to a more reasonable time
given the load on the AB and given the high amount(100) of
events some of the tests like `common_timeout` generates.

[YOCTO #14163]

(From OE-Core rev: 38b36d2b90d570149e63816e68f457aea28a5092)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:23 +01:00
Devendra Tewari
b71375304f classes/lib/scripts: Use bb.utils.rename() instead of os.rename()
Incremental build in Docker fails with:

OSError: [Errno 18] Invalid cross-device link

when source and destination are on different overlay filesystems.

Rather than adding fallback code to every call site, use a new wrapper
in bitbake which detects this case and falls back to shutil.move
which is slower but will handtle the overlay docker filesystems correctly.

[YOCTO #14301]

(From OE-Core rev: 656a65b2b84e7d529b89cf5de7eb838f902d84a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:16:23 +01:00
Richard Purdie
974441aeda sanity.conf: Require bitbake 1.51.0
We're about to require bb.utils.rename() so depend on the correct
version of bitbake.

(From OE-Core rev: ed2b18ed6e76a3bc050a1c48526c114de5cb1a93)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:12:40 +01:00
Richard Purdie
49da1ed2dc bitbake: bitbake: Switch to post release version number 1.51.0
(Bitbake rev: 97a64d12f70eb02f1d35b4ffefb291b80ca8c425)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:08 +01:00
Richard Purdie
7bbeddeee1 bitbake: bin/bitbake-getvar: Add a new command to query a variable value (with history)
We've talked about having this for long enough. Add a command which queries a single
variable value with history. This saves "bitbake -e | grep" and avoids the
various pitfalls that has.

It also provides a neat example of using tinfoil to make such a query.

Parameters to limit the output to just the value, to limit to a variable flag
and to not expand the output are provided.

[YOCTO #10748]

(Bitbake rev: 4c1881b620e885f55d7772f8626b8a76c2828333)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:08 +01:00
Harald Brinkmann
e155a81ab6 bitbake: fetch/svn: Fix parsing revision of SVN repos with redirects
svn was printing a message when encountering HTTP redirects.
This confused the revision parser.

(Bitbake rev: a944a335f8f4c4fe5df55f3d7d8e757bd2835146)

Signed-off-by: Harald Brinkmann <Harald.Brinkmann@detectomat.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:08 +01:00
Paul Barker
81b55a050d bitbake: prserv: Handle requests in main thread
The prserver process is cleanly separated from the main bitbake process
so requests can be handled in the main thread. This removes the need for
a request queue and a separate request handling thread.

(Bitbake rev: 6b09415bed6b5e7c12aaf39b677d9ef72844e233)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:07 +01:00
Paul Barker
d66a1d83f5 bitbake: prserv: Extract daemonization from PRServer class
The code to start the prservice process as a daemon is extracted out of
the PRServer class and simplified. This makes the PRServer class easier
to modernise as it no longer needs to worry about process management.

(Bitbake rev: 39c7c158c52157b18f5ccbbd673e3298e6402f52)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:07 +01:00
Paul Barker
802024fd2a bitbake: prserv: Use multiprocessing to auto start prserver
We can use the modern multiprocessing support in Python instead of
manually using fork to start the prserver process. To do this we need
to set up the signal handlers for the prserver process in the
work_forever function (which is now used as the main function for this
process).

The old code to start the prserver process using fork is not removed in
this commit as it is tightly intertwined with the daemonization code
which will be refactored in a following commit.

(Bitbake rev: b3da56240c0f92efab1c0b293738c35c0f1ee6ab)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:08:07 +01:00
Devendra Tewari
581233a798 bitbake: lib/bb: Add bb.utils.rename() helper function and use for renaming
os.rename can fail for example an incremental build in Docker fails with:

OSError: [Errno 18] Invalid cross-device link

when source and destination are on different overlay filesystems.

Rather than trying to fix every call site, add a wrapper in bb.utils
for renames. We can then handle cross device failures and
fall back to shutil.move. The reason os.rename is still used is
because shutil.move is too slow for speed sensitive sections of code.

[YOCTO #14301]

(Bitbake rev: c5c4e49574ab2a65e06298a0a77bb98b041cf56b)

Signed-off-by: Devendra Tewari <devendra.tewari@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 11:04:59 +01:00
Alexander Kanavin
7fbd7744ea boost: correct upstream version check
(From OE-Core rev: 4b04153a7d30f1a7a6485e2537bc3a708128bad4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Michael Opdenacker
dd628adc7c sanity.bbclass: mention CONNECTIVITY_CHECK_URIS in network failure message
This expands the error message when a network failure is detected.
It happens that some ISPs or networks block the default example.com
domain. Therefore, instead of disabling network access, it
lets the user know how to modify the test URL.

(From OE-Core rev: 62c94bb925543c1e1c5af3c751913d9f06d9597d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Joshua Watt
ad3879eb61 classes/image: Use xargs to set file timestamps
Instead of having find directly invoke touch for each file in the root
file system, pass a list to xargs for batching. This significantly
reduces the number of times the touch program is invoked and speeds up
the do_image task time:

    PKG           TASK      ABSDIFF  RELDIFF  CPUTIME1 -> CPUTIME2
    my-image      do_image   -45.3s   -94.2%     48.1s -> 2.8s

    Cumulative cputime:
      -44.3s    -92.3%    00:48.1 (48.1s) -> 00:03.7 (3.7s)

(From OE-Core rev: 15c65f90a3aa1e98c2beab2539403157df1fca08)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Alexander Kanavin
c8e1aeebd8 Revert "oeqa: Set LD_LIBRARY_PATH when executing native commands"
LD_LIBRARY_PATH leaks into host executables too, and breaks them
as they are not uninative-enabled. E.g. on ubuntu 18.04 trying
to run host bash with a sysroot that was built on Fedora 33:

akanavin@ubuntu1804-ty-3:/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-24341/tmp/work/x86_64-linux/gnupg-native/2.3.1-r0/recipe-sysroot-native$ LD_LIBRARY_PATH=./usr/lib /bin/bash
/bin/bash: ./usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./usr/lib/libtinfo.so.5)

This was seen e.g. here:
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2090/steps/14/logs/stdio

(From OE-Core rev: 0e9850486b74a3de934527ca1077df001d3a8d22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Alexander Kanavin
5c2ccb059d diffoscope: add native libraries to LD_LIBRARY_PATH
Reversal of global setting in previous commit necessitates
a local fix, otherwise, this happens:

  File "/home/pokybuild/yocto-worker/reproducible-debian/build/build-st-52142/tmp/work/x86_64-linux/diffoscope-native/172-r0/recipe-sysroot-native/usr/lib/python3.9/ctypes/__init__.py", line 392, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: nativepython3: undefined symbol: archive_errno

(From OE-Core rev: 87884d9938829d5ae5d250f483c749e00cd83322)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Vinay Kumar
f628b052f6 binutils: Fix CVE-2021-20197
Source: git://sourceware.org/git/binutils-gdb.git
Tracking -- https://sourceware.org/bugzilla/show_bug.cgi?id=26945

Backported upstream commit d3edaa91d4cf7202ec14342410194841e2f67f12 to
binutils-2.36 source along with commit id dependencies
(8e03235147a9e774d3ba084e93c2da1aa94d1cec and 8b69e61d4be276bb862698aaafddc3e779d23c8f).

(From OE-Core rev: 395812c345cb510471e264c6f5bb83eed61d79df)

Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Robert P. J. Day
71d07cdebc bitbake.conf: sort MIRROR list, add missing SAMBA_MIRROR
As is the pattern with all lists, put the list of MIRRORs in
alphabetical order, and add an entry for SAMBA_MIRROR as it appears in
the samba recipe from the meta-networking layer.

(From OE-Core rev: 3301536f821dce86cd3683d9c50abea2d39c6c20)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Anuj Mittal
e3d054cd62 qemu: fix CVE-2021-3392
(From OE-Core rev: a0257aee7d80fc67c92877e2de1e4b98ece54174)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Anuj Mittal
db4d9619aa Revert "qemu: fix CVE-2021-3392"
This reverts commit 5e8e08df8b.

This is an incomplete fix.

(From OE-Core rev: 2e7494cd388c5d03a95d8a54d6231e7fe7fd46ef)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Khem Raj
0a0c83d083 strace: Upgrade to 5.12
Changes are here [1]

[1] https://github.com/strace/strace/releases/tag/v5.12

(From OE-Core rev: 853eb9a9c4b02b7acfc72659eb20914f0f19e66b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Andreas Müller
d71ed04ebf xwayland: remove protocol.txt - it clashes with xserver-xorg
* Images with wayland-compositors + xwayland + xserver fail to build
* Fedora - they introduced standalone xwayland - does same [1]

[1] https://src.fedoraproject.org/rpms/xorg-x11-server-Xwayland/blob/rawhide/f/xorg-x11-server-Xwayland.spec

(From OE-Core rev: ace7a71b09df24de7b70f52edcd425366f39d56e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Ross Burton
e3887b0690 oe-buildenv-internal: add BitBake's library to PYTHONPATH
There are many Python scripts in oe-core that want to use Tinfoil, and
right now they have to know where they are to work out where BitBake is
likely to be.

This is suboptimal as BitBake could be somewhere else, so this
approach doesn't scale to other layers at all.

Solve this by adding BITBAKEDIR/lib to PYTHONPATH in oe-buildenv-internal,
so that Python has BitBake on its search path once the build system is
configured.

(From OE-Core rev: a48178f6d00e7f97a09f42d5a164204e9dcffa9f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Bastian Krause
ce39d05d51 ccache: add packageconfig docs option
Before, ccache's configure stage built HTML documentation and man pages
depending on if asciidoc is installed. This patch makes it configurable.

Pass the new cmake option BUILD_DOCS along and add the asciidoc
dependency if necessary.

This fixes an issue when ccache's configure stage found asciidoc/a2x on
the system outside of the sysroot (e.g. installed via 'apt install
asciidoc'). ccache would then decide to build docs and manual pages, but
would fail during compilation: the system's a2x could not find the
system's asciidoc because it did not reside in the set PATH.

By enabling/disabling docs/man page generation explicitly and adding
asciidoc to DEPENDS as necessary, this is no longer an issue.

(From OE-Core rev: b0aedd74f13b174861ff742eb503d8d343f9e714)

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Richard Purdie
9f951a2d49 Revert "perl: fix startperl configuration option for perl-native"
This reverts commit f2d1523b19cb066a4a06609f036822fe4a8b43f0.

We've reports of a number of failures from this, it causes pod2man to
reference full paths to perl rather than nativeperl from the environment.
I've also seen this issue locally now. Revert until we can find a solution
which works for everyone.

(From OE-Core rev: 231c99728da9d81c9430a2aa62239ce28734ef4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-06 08:41:26 +01:00
Khem Raj
5a0679cb75 busybox: Fix reproducibility
The ensures that globbing results in same order irrespective of shell in
use

(From OE-Core rev: fdeee94fa78f91613850500b209b75a6608241d0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:17 +01:00
Jose Quaresma
30f3691c3f gstreamer1.0: update ptest patch
- rework the ptest patch with a new one that are sent upstream [1].
- it uses the same approach as the existing patch in OE-Core but
  is based on the glib meson installed-tests [2] logic.

* qemux86-64 ptest-runner result
  SUMMARY: total=105; passed=105; skipped=0; failed=0; user=20.4s; system=4.7s; maxrss=9928

[1] - https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/789
[2] - 1bba3276bb

(From OE-Core rev: 44befb922e061823c636c7ccbf09cc5e7defd9e2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:17 +01:00
Jose Quaresma
0728558a52 gstreamer1.0: rename patches
(From OE-Core rev: 793b6f72e5b06cbbc7a8eec6c8880d9e407b8a2e)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Jose Quaresma
faf1197865 ptest-runner: libgcc must be installed for pthread_cancel to work
This only affects glibc systems and have been
found on runqemu core-image-minimal with gstreamer ptest-runner

STOP: ptest-runner
libgcc_s.so.1 must be installed for pthread_cancel to work
Aborted

(From OE-Core rev: 1cb679e6a4528a2cef16f65342d5e65adb14cb16)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Sakib Sajal
dad4cfaca3 qemu: fix CVE-2021-20263
virtiofs: drop remapped security.capability xattr as needed

(From OE-Core rev: 7ad71de89dd60700cbaad2df1937bc3d743112da)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Sakib Sajal
9f31c9ebeb qemu: fix CVE-2020-27821
memory: clamp cached translation in case it points to an MMIO region

(From OE-Core rev: df92b3359743ed1837fa57df8035d121f5c5676b)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
7cb612add7 linux-yocto/5.4: update to v5.4.116
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    370636ffbb86 Linux 5.4.116
    e23967af130b bpf: Update selftests to reflect new error states
    ef4e68f0af04 bpf: Tighten speculative pointer arithmetic mask
    4dc6e55e282f bpf: Move sanitize_val_alu out of op switch
    876d1cec9369 bpf: Refactor and streamline bounds check into helper
    4158e5fea3b1 bpf: Improve verifier error messages for users
    15de0c537bf7 bpf: Rework ptr_limit into alu_limit and add common error path
    f7fbedc90909 bpf: Ensure off_reg has no mixed signed bounds for all types
    4a163b1c7053 bpf: Move off_reg into sanitize_ptr_alu
    19bfeb47e96b Linux 5.4.115
    af7099bad495 USB: CDC-ACM: fix poison/unpoison imbalance
    d7fad2ce15bd net: hso: fix NULL-deref on disconnect regression
    699017fe0de4 x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access
    b3962b4e8334 ia64: tools: remove duplicate definition of ia64_mf() on ia64
    763cbe5e1ebb ia64: fix discontig.c section mismatches
    3dce9c4bb546 csky: change a Kconfig symbol name to fix e1000 build error
    892f6bc55746 cavium/liquidio: Fix duplicate argument
    2ccca124620e xen-netback: Check for hotplug-status existence before watching
    78687d6a3213 s390/entry: save the caller of psw_idle
    026490fac496 net: geneve: check skb is large enough for IPv4/IPv6 header
    caaf9371ecad ARM: dts: Fix swapped mmc order for omap3
    be60afbb9136 HID: wacom: Assign boolean values to a bool variable
    116ee59ef886 HID: alps: fix error return code in alps_input_configured()
    a4e2b91cea52 HID: google: add don USB id
    aefb6ac6ac11 perf auxtrace: Fix potential NULL pointer dereference
    39638289595b perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[]
    319a06e58ed7 perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3
    82808cc02681 locking/qrwlock: Fix ordering in queued_write_lock_slowpath()
    c6eb92b37af1 arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS
    37ee803d7ed7 pinctrl: lewisburg: Update number of pins in community
    dbb355960ef9 gpio: omap: Save and restore sysconfig
    835c8d688e1e s390/ptrace: return -ENOSYS when invalid syscall is supplied

(From OE-Core rev: 667352cc46429f3d8eca12cf93c26be2d26e5d74)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
538c918fa3 linux-yocto/5.10: update to v5.10.34
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    0aa66717f684 Linux 5.10.34
    47d54b990103 mei: me: add Alder Lake P device id.
    2a442f11407e iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd()
    8bd8301ccc11 Linux 5.10.33
    8a661bad6cee USB: CDC-ACM: fix poison/unpoison imbalance
    90642ee9eb58 net: hso: fix NULL-deref on disconnect regression
    31720f9e87c0 x86/crash: Fix crash_setup_memmap_entries() out-of-bounds access
    bed21bed2e79 ia64: tools: remove duplicate definition of ia64_mf() on ia64
    ba0910ad1c57 ia64: fix discontig.c section mismatches
    f4a777bcc8d1 csky: change a Kconfig symbol name to fix e1000 build error
    393200a1b095 kasan: fix hwasan build for gcc
    f2b46286e326 cavium/liquidio: Fix duplicate argument
    1bfefd866195 xen-netback: Check for hotplug-status existence before watching
    509ae27a1874 arm64: kprobes: Restore local irqflag if kprobes is cancelled
    da99331fc6ce s390/entry: save the caller of psw_idle
    d33031a894d2 dmaengine: tegra20: Fix runtime PM imbalance on error
    66d0cf7dcaa1 net: geneve: check skb is large enough for IPv4/IPv6 header
    6ce64437224d ARM: dts: Fix swapped mmc order for omap3
    db010ba54a96 dmaengine: xilinx: dpdma: Fix race condition in done IRQ
    e8d9a93ec46e dmaengine: xilinx: dpdma: Fix descriptor issuing on video group
    eb2c81ee764d soc: qcom: geni: shield geni_icc_get() for ACPI boot
    8c4bfe30eb55 HID: wacom: Assign boolean values to a bool variable
    e913cbc952c3 HID cp2112: fix support for multiple gpiochips
    f691dc86411d HID: alps: fix error return code in alps_input_configured()
    079e32723f78 HID: google: add don USB id
    ffe249b4fc2c perf map: Fix error return code in maps__clone()
    4d0cfb3713bc perf auxtrace: Fix potential NULL pointer dereference
    ab112cc573cc perf/x86/kvm: Fix Broadwell Xeon stepping in isolation_ucodes[]
    6f8315e5d951 perf/x86/intel/uncore: Remove uncore extra PCI dev HSWEP_PCI_PCU_3
    82fa9ced35d8 locking/qrwlock: Fix ordering in queued_write_lock_slowpath()
    b642e493a9a0 bpf: Tighten speculative pointer arithmetic mask
    2982ea926b5c bpf: Refactor and streamline bounds check into helper
    f3c4b01689d3 bpf: Allow variable-offset stack access
    f79efcb0075a bpf: Permits pointers on stack for helper calls
    edc5d1601389 arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS
    83d93d05376a pinctrl: core: Show pin numbers for the controllers with base = 0
    fc2454cc0c4b block: return -EBUSY when there are open partitions in blkdev_reread_part
    2bbd8aafde36 pinctrl: lewisburg: Update number of pins in community
    a8cd07e4400d vdpa/mlx5: Set err = -ENOMEM in case dma_map_sg_attrs fails
    bf84ef2dd2cc KEYS: trusted: Fix TPM reservation for seal/unseal
    9857fccd653c gpio: omap: Save and restore sysconfig
    71777492b745 vhost-vdpa: protect concurrent access to vhost device iotlb

(From OE-Core rev: 2cfc4489c14f8d1ec2c6fc2aa411d158058f5aea)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
18c45c5bcb linux-yocto/5.4: update to v5.4.114
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    a7eb81c1d11a Linux 5.4.114
    3822683fd101 net: phy: marvell: fix detection of PHY on Topaz switches
    cec3b778f70f ARM: 9071/1: uprobes: Don't hook on thumb instructions
    4f0cda5e9e62 r8169: don't advertise pause in jumbo mode
    c5934da725bb r8169: tweak max read request size for newer chips also in jumbo mtu mode
    50b7a68664dc r8169: improve rtl_jumbo_config
    cbbd3e2a2e7c r8169: fix performance regression related to PCIe max read request size
    0243bb394186 r8169: simplify setting PCI_EXP_DEVCTL_NOSNOOP_EN
    c667953d6433 r8169: remove fiddling with the PCIe max read request size
    b14992c96274 arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
    871b569a3e67 ARM: footbridge: fix PCI interrupt mapping
    9a7ac9afc8d7 gro: ensure frag0 meets IP header alignment
    fde195c03bff ibmvnic: remove duplicate napi_schedule call in open function
    c591bbaae545 ibmvnic: remove duplicate napi_schedule call in do_reset function
    c6acd7d19124 ibmvnic: avoid calling napi_disable() twice
    2bc14f5eca10 i40e: fix the panic when running bpf in xdpdrv mode
    51edda8a6334 net: ip6_tunnel: Unregister catch-all devices
    92f93a03cef0 net: sit: Unregister catch-all devices
    4fcbb1fa2703 net: davicom: Fix regulator not turned off on failed probe
    01fb1626b620 netfilter: nft_limit: avoid possible divide error in nft_limit_init
    e65cd80558e5 net: macb: fix the restore of cmp registers
    6449b405f99a netfilter: arp_tables: add pre_exit hook for table unregister
    ce23be37ecac netfilter: bridge: add pre_exit hooks for ebtable unregistration
    61ca5b653220 libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC
    4ce8e86d125d netfilter: conntrack: do not print icmpv6 as unknown via /proc
    5f6c1a81713e scsi: libsas: Reset num_scatter if libata marks qc as NODATA
    7779f84e4677 riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM"
    ec3bb712fb62 vfio/pci: Add missing range check in vfio_pci_mmap
    9e8c5e3d8279 arm64: alternatives: Move length validation in alternative_{insn, endif}
    b7d15166c1d1 arm64: fix inline asm in load_unaligned_zeropad()
    b9956950f23c readdir: make sure to verify directory entry for legacy interfaces too
    ff821c7ce913 dm verity fec: fix misaligned RS roots IO
    804607635cc1 HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
    b428063fb310 Input: i8042 - fix Pegatron C15B ID entry
    995503dd6546 Input: s6sy761 - fix coordinate read bit shift
    7a2ac9ed8cf6 virt_wifi: Return micros for BSS TSF values
    bd7e90c82850 mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN
    f666567a51fb pcnet32: Use pci_resource_len to validate PCI resource
    9e249bc38a48 net: ieee802154: forbid monitor for add llsec seclevel
    7a7899eaaeb8 net: ieee802154: stop dump llsec seclevels for monitors
    fc5f9c33edb5 net: ieee802154: forbid monitor for del llsec devkey
    63581374638b net: ieee802154: forbid monitor for add llsec devkey
    0d5ee2ee9ab2 net: ieee802154: stop dump llsec devkeys for monitors
    6c8caf78304f net: ieee802154: forbid monitor for del llsec dev
    c993c05b9d48 net: ieee802154: forbid monitor for add llsec dev
    f9d7088d385c net: ieee802154: stop dump llsec devs for monitors
    178ddee28d53 net: ieee802154: forbid monitor for del llsec key
    5d025404d513 net: ieee802154: forbid monitor for add llsec key
    d8b4f3a9d732 net: ieee802154: stop dump llsec keys for monitors
    e16998019358 scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state
    f0268d35305d ASoC: fsl_esai: Fix TDM slot setup for I2S mode
    d60837aa64be drm/msm: Fix a5xx/a6xx timestamps
    01e86da75c18 ARM: omap1: fix building with clang IAS
    4f02dc4d360f ARM: keystone: fix integer overflow warning
    f3183866b3da neighbour: Disregard DEAD dst in neigh_update
    1cf8b48a4de2 ASoC: max98373: Added 30ms turn on/off time delay
    47d04c039915 arc: kernel: Return -EFAULT if copy_to_user() fails
    68bd0d8ab19e lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message
    6ffc9f854d23 ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
    4609d27ca6e4 ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
    09db44ad36b0 dmaengine: dw: Make it dependent to HAS_IOMEM
    5130cda3cb1f gpio: sysfs: Obey valid_mask
    2dce5702ef05 Input: nspire-keypad - enable interrupts only when opened
    6180d2274b17 net/sctp: fix race condition in sctp_destroy_sock
    304c21786b01 scsi: qla2xxx: Fix fabric scan hang
    ca0188d396cd scsi: qla2xxx: Fix stuck login session using prli_pend_timer
    c393c7f77cf8 scsi: qla2xxx: Add a shadow variable to hold disc_state history of fcport
    ad66dc6d8830 scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure
    8b5e82aea7b3 scsi: qla2xxx: Fix device connect issues in P2P configuration
    8eed34d3c444 scsi: qla2xxx: Dual FCP-NVMe target port support
    33beb0e6c244 Revert "scsi: qla2xxx: Fix stuck login session using prli_pend_timer"
    94ac0a8866c4 Revert "scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure"
    ab3bed80f9d3 Linux 5.4.113
    94371b6c5553 xen/events: fix setting irq affinity
    4ea6097986c4 perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches
    d462247bb274 perf tools: Use %zd for size_t printf formats on 32-bit
    2715a4c0dc34 perf tools: Use %define api.pure full instead of %pure-parser
    799f02f0dfc4 driver core: Fix locking bug in deferred_probe_timeout_work_func()
    cc59b872f2e1 netfilter: x_tables: fix compat match/target pad out-of-bound write
    8119a2b42028 block: don't ignore REQ_NOWAIT for direct IO
    2d71bffbe9a0 riscv,entry: fix misaligned base for excp_vect_table
    90b71ae8e5cf idr test suite: Create anchor before launching throbber
    b9299c2bf554 idr test suite: Take RCU read lock in idr_find_test_1
    cde89079ce46 radix tree test suite: Register the main thread with the RCU library
    f5b60f26e36b block: only update parent bi_status when bio fail
    5b8f89685a9a drm/tegra: dc: Don't set PLL clock to 0Hz
    db162d8d7d08 gfs2: report "already frozen/thawed" errors
    3c89c7240412 drm/imx: imx-ldb: fix out of bounds array access warning
    e1ff1c6bbe4b KVM: arm64: Disable guest access to trace filter controls
    2012f9f75444 KVM: arm64: Hide system instruction access to Trace registers
    cc678e2f372e interconnect: core: fix error return code of icc_link_destroy()

(From OE-Core rev: a24b8651365b333e903b317ad969ba8adfed28c4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
327eb77b0e perf: fix python-audit RDEPENDS
When doing the perf python3 conversion, the audit-python RDEPENDS
was caught up in the regex replacement and was incorrectly changed.

The audit recipe continues to produce a package called audit-python
and it is that package we should have as a RDEPENDS.

(From OE-Core rev: 7eccb9c0c2ea00685451c44cb8faa96c4a2272fd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
afca35c665 linux-yocto/5.10: update to v5.10.32
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    aea70bd5a455 Linux 5.10.32
    6ac98ee9cb7c net: phy: marvell: fix detection of PHY on Topaz switches
    fbe6603e7cab bpf: Move sanitize_val_alu out of op switch
    7723d3243857 bpf: Improve verifier error messages for users
    55565c307908 bpf: Rework ptr_limit into alu_limit and add common error path
    496e2fabbbe3 arm64: mte: Ensure TIF_MTE_ASYNC_FAULT is set atomically
    cada2ed0bb70 ARM: 9071/1: uprobes: Don't hook on thumb instructions
    480d875f1242 bpf: Move off_reg into sanitize_ptr_alu
    589fd9684dfa bpf: Ensure off_reg has no mixed signed bounds for all types
    b2df20c0f19f r8169: don't advertise pause in jumbo mode
    154fb9cb3e6f r8169: tweak max read request size for newer chips also in jumbo mtu mode
    7f64753835a7 KVM: VMX: Don't use vcpu->run->internal.ndata as an array index
    c670ff84fac9 KVM: VMX: Convert vcpu_vmx.exit_reason to a union
    4f3ff11204ea bpf: Use correct permission flag for mixed signed bounds arithmetic
    8d7906c548aa arm64: dts: allwinner: h6: beelink-gs1: Remove ext. 32 kHz osc reference
    286c39d08664 arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
    4f90db2e92d2 ARM: OMAP2+: Fix uninitialized sr_inst
    1fc087fdb98d ARM: footbridge: fix PCI interrupt mapping
    11a718ef953f ARM: 9069/1: NOMMU: Fix conversion for_each_membock() to for_each_mem_range()
    a13d4a1228ab ARM: OMAP2+: Fix warning for omap_init_time_of()
    9143158a6bd3 gro: ensure frag0 meets IP header alignment
    fd766f792a56 ch_ktls: do not send snd_una update to TCB in middle
    65bdd564b387 ch_ktls: tcb close causes tls connection failure
    5f3c278035c0 ch_ktls: fix device connection close
    8d5a9dbd2116 ch_ktls: Fix kernel panic
    976da1b08784 ibmvnic: remove duplicate napi_schedule call in open function
    008885a880dc ibmvnic: remove duplicate napi_schedule call in do_reset function
    685bc730e3a9 ibmvnic: avoid calling napi_disable() twice
    e154b5060aa1 ia64: tools: remove inclusion of ia64-specific version of errno.h header
    f8f01fc8c653 ia64: remove duplicate entries in generic_defconfig
    1aec111c944f ethtool: pause: make sure we init driver stats
    44ef38c0a2b3 i40e: fix the panic when running bpf in xdpdrv mode
    35d7491e2f77 net: Make tcp_allowed_congestion_control readonly in non-init netns
    76af8126a6e4 mm: ptdump: fix build failure
    33f3dab42ae2 net: ip6_tunnel: Unregister catch-all devices
    ea0340e632ba net: sit: Unregister catch-all devices
    154ac84d497a net: davicom: Fix regulator not turned off on failed probe
    e072247938a8 net/mlx5e: Fix setting of RS FEC mode
    dc1732baa9da netfilter: nft_limit: avoid possible divide error in nft_limit_init
    cda5507d234f net/mlx5e: fix ingress_ifindex check in mlx5e_flower_parse_meta
    40ed1d29f151 net: macb: fix the restore of cmp registers
    7f8e59c4c5e5 libbpf: Fix potential NULL pointer dereference
    7824d5a9935a netfilter: arp_tables: add pre_exit hook for table unregister
    4d26865974fb netfilter: bridge: add pre_exit hooks for ebtable unregistration
    eb82199e377a libnvdimm/region: Fix nvdimm_has_flush() to handle ND_REGION_ASYNC
    a2af8a0f38e4 ice: Fix potential infinite loop when using u8 loop counter
    783645e65b57 netfilter: conntrack: do not print icmpv6 as unknown via /proc
    394c81e36e49 netfilter: flowtable: fix NAT IPv6 offload mangling
    be07581aacae ixgbe: fix unbalanced device enable/disable in suspend/resume
    0ef9919a06a3 scsi: libsas: Reset num_scatter if libata marks qc as NODATA
    6a70ab9769cd riscv: Fix spelling mistake "SPARSEMEM" to "SPARSMEM"
    f66d695c06f4 vfio/pci: Add missing range check in vfio_pci_mmap
    e6177990e17d arm64: alternatives: Move length validation in alternative_{insn, endif}
    e2931f05eb32 arm64: fix inline asm in load_unaligned_zeropad()
    957f83a138f1 readdir: make sure to verify directory entry for legacy interfaces too
    2b8308741cf5 dm verity fec: fix misaligned RS roots IO
    18ba387261ea HID: wacom: set EV_KEY and EV_ABS only for non-HID_GENERIC type of devices
    dedf75aec8fc Input: i8042 - fix Pegatron C15B ID entry
    8b978750dcd2 Input: s6sy761 - fix coordinate read bit shift
    955da2b5cd98 lib: fix kconfig dependency on ARCH_WANT_FRAME_POINTERS
    024f9d048000 virt_wifi: Return micros for BSS TSF values
    cc413b375c6d mac80211: clear sta->fast_rx when STA removed from 4-addr VLAN
    2e08d9a56838 pcnet32: Use pci_resource_len to validate PCI resource
    248b9b61b951 net: ieee802154: forbid monitor for add llsec seclevel
    b97c7bc42d8d net: ieee802154: stop dump llsec seclevels for monitors
    ab9f9a1d5874 net: ieee802154: forbid monitor for del llsec devkey
    4846c2debb2c net: ieee802154: forbid monitor for add llsec devkey
    07714229e0e2 net: ieee802154: stop dump llsec devkeys for monitors
    4c1775d6ea86 net: ieee802154: forbid monitor for del llsec dev
    813b13155d14 net: ieee802154: forbid monitor for add llsec dev
    2f80452951b5 net: ieee802154: stop dump llsec devs for monitors
    08744a622faa net: ieee802154: forbid monitor for del llsec key
    7edf4d2baa8a net: ieee802154: forbid monitor for add llsec key
    c09075df5e4d net: ieee802154: stop dump llsec keys for monitors
    8b9485b651d4 iwlwifi: add support for Qu with AX201 device
    c836374bacfa scsi: scsi_transport_srp: Don't block target in SRP_PORT_LOST state
    d9fc084067f5 ASoC: fsl_esai: Fix TDM slot setup for I2S mode
    79ef0e6c0cf8 drm/msm: Fix a5xx/a6xx timestamps
    d61238aa6482 ARM: omap1: fix building with clang IAS
    505c48942f04 ARM: keystone: fix integer overflow warning
    0d0ad98bee39 neighbour: Disregard DEAD dst in neigh_update
    7a1cd9044da4 gpu/xen: Fix a use after free in xen_drm_drv_init
    bfb5a1523f17 ASoC: max98373: Added 30ms turn on/off time delay
    58d59d9ae56f ASoC: max98373: Changed amp shutdown register as volatile
    b2f8476193eb xfrm: BEET mode doesn't support fragments for inner packets
    806addaf8dfd iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_enqueue_hcmd()
    b448a6a2fc5a arc: kernel: Return -EFAULT if copy_to_user() fails
    f12e8cf6b180 lockdep: Add a missing initialization hint to the "INFO: Trying to register non-static key" message
    a55de4f0d1d4 ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
    9f399a9d7006 ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
    f338b8fffd75 ACPI: x86: Call acpi_boot_table_init() after acpi_table_upgrade()
    e5eb9757fe4c dmaengine: idxd: fix wq cleanup of WQCFG registers
    4c59c5c8668e dmaengine: plx_dma: add a missing put_device() on error path
    ac030f5c5680 dmaengine: Fix a double free in dma_async_device_register
    56f9c04893fb dmaengine: dw: Make it dependent to HAS_IOMEM
    4ecf25595273 dmaengine: idxd: fix wq size store permission state
    db23b7b5ca3e dmaengine: idxd: fix opcap sysfs attribute output
    0e3f14755111 dmaengine: idxd: fix delta_rec and crc size field for completion record
    a5ad12d5d69c dmaengine: idxd: Fix clobbering of SWERR overflow bit on writeback
    f567fde02baa gpio: sysfs: Obey valid_mask
    dfed481e62e5 Input: nspire-keypad - enable interrupts only when opened
    b80ea54e1e71 mtd: rawnand: mtk: Fix WAITRDY break condition and timeout
    5a627026be4a net/sctp: fix race condition in sctp_destroy_sock
    65f1995ea1e9 Linux 5.10.31
    ceee49ca34bf xen/events: fix setting irq affinity
    9d9facd32d89 net: sfp: cope with SFPs that set both LOS normal and LOS inverted
    2a60ab2dab3d net: sfp: relax bitrate-derived mode check
    cd8ce27e6caa perf map: Tighten snprintf() string precision to pass gcc check on some 32-bit arches
    1f3b9000cb44 netfilter: x_tables: fix compat match/target pad out-of-bound write
    5402a67ac403 block: don't ignore REQ_NOWAIT for direct IO
    efa7b6e4017a riscv,entry: fix misaligned base for excp_vect_table
    6fbdce3cde97 io_uring: don't mark S_ISBLK async work as unbounded
    5d4600017bee null_blk: fix command timeout completion handling
    b1f6c6f39bd6 idr test suite: Create anchor before launching throbber
    9a7552daa93b idr test suite: Take RCU read lock in idr_find_test_1
    edd822b69241 radix tree test suite: Register the main thread with the RCU library
    1d2310d95fb8 block: only update parent bi_status when bio fail
    d99e22c0ea74 XArray: Fix splitting to non-zero orders
    9576dd89554e gpu: host1x: Use different lock classes for each client
    39af2f472f21 drm/tegra: dc: Don't set PLL clock to 0Hz
    e4a0956574c7 tools/kvm_stat: Add restart delay
    1dcb3ebc2416 ftrace: Check if pages were allocated before calling free_pages()
    6c6d58322079 gfs2: report "already frozen/thawed" errors
    870c8df1d192 drm/imx: imx-ldb: fix out of bounds array access warning
    5b50468a2d4d KVM: arm64: Disable guest access to trace filter controls
    fa0c0dce589d KVM: arm64: Hide system instruction access to Trace registers
    57fb08fb9a25 gfs2: Flag a withdraw if init_threads() fails
    9b57ecb01b43 interconnect: core: fix error return code of icc_link_destroy()

(From OE-Core rev: 91fcd094619e25d63a80231c3b776788504ce37b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
551ae27ea0 linux-yocto/5.10: qemuriscv32.cfg: RV32 only supports 1G physical memory
Integrating the following commit(s) to linux-yocto/5.10:

    a19886b00ea qemuriscv32.cfg: RV32 only supports 1G physical memory

(From OE-Core rev: 894f5328d395872f69bd48c59518bbafb7cbd61e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Bruce Ashfield
fc7a4c3be9 linux-yocto/5.10: aufs fixes
It was reported that aufs was behaving incorrectly on arm/x86. Although
we don't have an exact fix for the issues, the Wind River guys were able
to come up with a minimal patch set to fix just the core issue, versus
a full aufs uprev.

We didn't have time to get this in before the release, but picking it up
in a dot release is sufficient. (given that it took several months for
the issue to be noticed).

Integrating the following commit(s) to linux-yocto/5.10:

    a8808e541750 aufs: linux-v5.10-rc1, no more f_op->read() and ->write()
    cb1c41dac775 for aufs: linux-v5.10-rc1, no more vfs_(read|write)f_t
    a5805df6583f aufs: linux-v5.10-rc1, no more set_fs()
    64e145dcca8c Revert "aufs: initial port to v5.10"

(From OE-Core rev: c290adec4e27f5d7987193e9a0749082f3ed3e20)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Stefano Babic
148ada9b35 libubootenv: upgrade 0.3.1 -> 0.3.2
This is a bugfix release which includes the following changes:

f4ab25d shared library: Link against zlib
e663439 Always fsync file writes
80b7f31 Treat '=' as an illegal character in variable names
950f541 libuboot_env: fix calculation of usable envsize
fb88032 Correct initialisations in libuboot_configure
20d1ec7 Force writing of environment if default is used
5ca11bd libuboot_env: correct length to usable env size length
cd4a8f1 libuboot_env_store: fix env double-null termination
9510164 uboot_env: fix infinite loop on short read (EOF)

(From OE-Core rev: ed270bd146139a85935544bc0c6f35c3ecc27313)

Signed-off-by: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-04 22:48:16 +01:00
Richard Purdie
fc277ba011 yocto-uninative: Update to 3.1 which includes a patchelf fix
(From OE-Core rev: 1d9d38eb6b3621fed58a217eeb4de1816e3e6487)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:38:47 +01:00
Khem Raj
b621ead6d5 gcc: Upgrade to GCC 11
Drop already upstream/backported patches

(From OE-Core rev: e64bf999a92aed3c6be38eae9e75ec9277638b95)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:48 +01:00
Khem Raj
4a72c681fa libgcc-initial: Do not build fp128 to decimal ppc functions
These functions depend on glibc headers e.g.
stdlib.h/fenv.h/string.h/stdio.h which do not exist when building
lbgcc-initial, and these functions are not needed during glibc build
so we are fine to disable them

introdcued with [1]
[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=781183595acba67a37c66f59a0c1d9b5fee7e248

(From OE-Core rev: 7883b4c1384fe30066072f39e9a930be537bc3b4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
7d3e35204f webkitgtk: Update patch status
These patches are accepted in webkit master ( 2.34+ )

(From OE-Core rev: 1e5b73f068cfe709bf7188ed3fff46a391b89897)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
7c84c70161 webkitgtk: Fix reproducibility in minibrowser
(From OE-Core rev: 8f08ca440b6c2ad3494808ffa4ec6091722c0339)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
68dd1a5400 busybox: Enable long options for enabled applets
certain applets are enabled but the long options are not enabled for
them, it results in subtle failures in ptests where its expecting these
options e.g. gzip --best is commonly used in many package tests e.g.

root@qemux86-64:/usr/lib# grep -r "\-\-best" *
acl/ptest/Makefile:GZIP_ENV = --best
attr/ptest/Makefile:GZIP_ENV = --best
coreutils/ptest/Makefile:GZIP_ENV = --best
ethtool/ptest/Makefile:GZIP_ENV = --best
libxml2/ptest/Makefile:GZIP_ENV = --best
lttng-tools/ptest/Makefile:GZIP_ENV = --best
opkg/ptest/Makefile:GZIP_ENV = --best
perl/ptest/cpan/ExtUtils-MakeMaker/lib/ExtUtils/MakeMaker.pm:    COMPRESS     ('gzip --best')
python3.9/test/test_gzip.py:        for compress_level in ('--fast', '--best'):
...

this ensures that these options are enabled by default, which makes them more
compatible than now with coreutils provided utilities

busybox size grows by 4K which perhaps is acceptable

--rwxr-xr-x root       root           817704 ./bin/busybox.nosuid
+-rwxr-xr-x root       root           821800 ./bin/busybox.nosuid

This makes autopoint-3/gettext pass

This patch add all the long options to this fragment. The long options
for a tool will only get enabled if the corresponding tool/feature is
enabled in main defconfig, otherwise it will be ignored in final .config

(From OE-Core rev: 6a6c64426f544fcd376f2eabdb5aecc0ab04e541)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Khem Raj
dee41e92f0 cml1.bbclass: Return sorted list of cfg files
Since these files are passed to merge_config.sh its better to use a
sorted list, so we can be sure that this list is always fed in same
order irrespective of python versions on host

(From OE-Core rev: 3d949f286c29bcaaf4dfc0aaffd15f129d1bab2d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 15:23:47 +01:00
Robert P. J. Day
68e84ae936 sdk-manual: fix broken formatting of sample command
And add proper quoting around the first instance
of the "image" word, as it refers to a keyword in the
subsequent command.

(From yocto-docs rev: 1ffaa1db5a6eba53558b714f6071ea2e9bfe03e6)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
Michael Opdenacker
c075e28aa0 dev-manual: update references to Docker installation instructions
Update Docker installation URL on various plaforms, replacing
some URLs by the ones they now redirect to, renaming "Docker CE"
to "Docker Desktop" on Mac and Windows, and to "Docker Engine"
on GNU/Linux.

Stop mentioning "Docker Toolbox" which is now deprecated and
replaced by "Docker Desktop" on Mac and Windows.

(From yocto-docs rev: 8eb249aed50b7b5b2078648c9efd9c79262ae57f)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
Robert P. J. Day
73d317c393 sdk-manual: "beablebone" -> "beaglebone"
(From yocto-docs rev: 29d8b6f07dddba43cf14706ec26cc8cf033d1040)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
Alexander Kanavin
e1ebdcff7c dev-manual/common-tasks.rst: correct the documentation for debuginfod
Particularly,
- correctly describe the use of DEBUGINFOD_URLS; drop it from bitbake variables
- all necessary component tweaks are enabled by default via DISTRO_FEATURES
- provide on-target examples of what to look for when things work properly

(From yocto-docs rev: 6d5d568d427b22675b999f94ead829ab1bef0b21)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-03 13:37:48 +01:00
zhengruoqin
f353ba0ec2 wireless-regdb: upgrade 2020.11.20 -> 2021.04.21
(From OE-Core rev: df540a630f87c02898f7ce5703f63e9c7bd2c156)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
zhengruoqin
f03a094f3e python3-numpy: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: dc98345d7b6c5d4342415723d0b578c0268c646e)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
zhengruoqin
eb31bf7ea3 libmicrohttpd: upgrade 0.9.72 -> 0.9.73
(From OE-Core rev: 079d56b24b4e1a577b58516c00000184542f2dfe)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Christophe Chapuis
2d96636ebc rootfs.py: find .ko.gz and .ko.xz kernel modules as well
* with xz PACKAGECONFIG enabled in kmod and xz module compression enabled in kernel
  the do_rootfs task doesn't run depmod in the image, because it thinks there are no modules:
  NOTE: No Kernel Modules found, not running depmod

(From OE-Core rev: 9c13ce05eae0f126eb150e48709e9bd06e9280fa)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Stefan Ghinea
cd618cc017 xserver-xorg: fix CVE-2021-3472
Insufficient checks on the lengths of the XInput extension
ChangeFeedbackControl request can lead to out of bounds memory accesses
in the X server.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-3472

Upstream patches:
7aaf54a188

(From OE-Core rev: 6fec5fea942ce88e33e5cf4c2102d69ce25e7180)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Zqiang
c52b46825f rt-tests: Update rt-tests
When run cyclictest, the parameter enable NUMA. but in some BSP
which not support NUMA, will causes the test program to exit
directly and does not carry out subsequent operations, the
latest changes have fixed this problem. so update to the
latest branch to resolve.

(From OE-Core rev: a8a9b0d9155ee9f233e46021eae896552428c51a)

Signed-off-by: Zqiang <qiang.zhang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
7cd4258049 libpam: Provide needed env for tst-pam_start_confdir ptest
tst-pam_start_confdir needs a file called confdir and it should reside
in directory pointed by srcdir env variable, therefore copy confdir into
ptest package and export srcdir before running the ptests

(From OE-Core rev: 149d84b7eba8240737a301d0fd75b69e8a767854)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
0a5079681e bash: Include files needed for run-heredoc ptest
These files are used by this ptest case

103,108d102
< cat: ../y.tab.c: No such file or directory
< cmp: ../y.tab.c: No such file or directory
< cat: /usr/lib/bash/ptest/config.h: No such file or directory
< cmp: /usr/lib/bash/ptest/config.h: No such file or directory
< cat: /usr/lib/bash/ptest/version.h: No such file or directory
< cmp: /usr/lib/bash/ptest/version.h: No such file or directory
FAIL: run-heredoc

(From OE-Core rev: 0672a3dae14462e590959e966fef22b6e2a2ad09)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Richard Purdie
86a66606fe pybootchart/draw: Avoid divide by zero error
When disk stats don't run frequenctly enough, we see divide by zero
errors. The code already has a fallback path so ensure we use it
for this case too.

[YOCTO #14360]

(From OE-Core rev: b71d30aef5dc2c360432c0dd4147859dd303ea48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
b80e6aeffe findutils: Do not use SIGSTKSZ
(From OE-Core rev: d2962c51e5588166b0618cd37364df32f040f671)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
984ffe3ab4 valgrind: Disable leak_cpp_interior test
This test is known to fail and especially is prominent with GCC-11
where stdc++17 is enabled by default

(From OE-Core rev: 7f549d7c1f0a3f3cf312ebe00ce8cfc0e787bf15)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
3ca350ebe7 bluez: Fix shadowing of pause function from libc
(From OE-Core rev: d5e0d319fc714a5af59ebec0b3a89851c04a6c4f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
e4f7cdf988 m4: Do not use SIGSTKSZ
Fixes
../../m4-1.4.18/lib/c-stack.c:55:26: error: missing binary operator before token "("
   55 | #elif HAVE_LIBSIGSEGV && SIGSTKSZ < 16384
      |                          ^~~~~~~~

(From OE-Core rev: 44ca8edd622782733d507e20a3d5ee9e44eb8be4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Khem Raj
d713988268 pkgconfig: Fix nativesdk builds for mingw sdk hosts
pkgconfig uses a vendored version of ancient glib-2.0, which does not
have many of fixes that current glib-2.0 will have, we enable this
internal version for nativesdk/native recipe, which on mingw hosts does
not work well, as its missing necessary mingw support. This patch
backports couple of fixes which makes GCC11 happy

but its going to be a constant source of pain as long as we support mingw

(From OE-Core rev: 348b1ebb917cdd65e6678078e23a3f9fa079badc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <jpewhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:21:42 +01:00
Richard Purdie
c19e2c23be patchelf: Fix alignment patch
The previous fix was in the right direction but needed to account
for the section alignment of the current section. Tweak the patch
to handle this.

(From OE-Core rev: e464efc07a8997c43998a9c6a9544be11ab4f303)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-02 23:20:12 +01:00
Richard Purdie
93aaa5e994 bitbake: runqueue: Handle deferred task rehashing in multiconfig builds
If the hash of a task changes and that hash is a deferred task (e.g. a multiconfig
build), we need to ensure that the hash change propagates through to all the tasks
else the build will run multiple copies of the task, sometimes with oddly differing
results as the outhashes of native tasks built in differing locations can confuse
things.

(Bitbake rev: 2db571324f755edc4981deecbcfdf0aaa5a97627)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Richard Purdie
76891afd76 bitbake: runqueue: Fix multiconfig deferred task sstate validity caching issue
We were testing the validity of deferred tasks setscene status "up front" which
is very unlikely to succeed and leads to cache invalidation issues. With the
change to rebuild the deferred task list, this status becomes out of sync. The
result was tasks being executed when they should not have been leading to extra
work for the build unnecessarily.

Instead, don't process validity status for deferred tasks and assume their
data will become available. If it doesn't, this will now result in a build
error as the setscene task will fail and the main task will run instead.

In theory we could try and track the state changes in the deferred list and
re-test validity then but I'm not sure it is worth the effort when the other
code path and errors in setscene tasks will give a pretty good idea of what
is happening anyway.

(Bitbake rev: edcafac13b3b241b6687419e59018d21811507a1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Joshua Watt
f3e1a668fb bitbake: knotty: Re-enable command line logging levels
The "-l" command line options to enable specific logging domains wasn't
working with the switch to structured logging because they were only
being used to set the legacy logging domains. Fix this by implementing
the logic to parse the user options into the logging configuration.

(Bitbake rev: 005fc7a8c588d0b0bca382469645cbf481ad8e30)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Przemyslaw Gorszkowski
6da327c788 bitbake: fetch/s3: Add progress handler for S3 cp command
Adds progress support for fetchers from S3.

(Bitbake rev: 90d31b2d5a81e5f41fe95907c78fd2f5f36e39ee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Przemyslaw Gorszkowski
a854068b52 bitbake: progress: LineFilterProgressHandler - Handle parsing line which ends with CR only
S3 commands need to handle different CR only line endings, update the handler
to cope with this.

(Bitbake rev: 3f7b9c1b429a4c68240e80832a8ef93ee210e5ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:51:06 +01:00
Minjae Kim
5e8e08df8b qemu: fix CVE-2021-3392
scsi: use-after-free in mptsas_process_scsi_io_request() of mptsas1068 emulator
(From OE-Core rev: 97ec10a1d7111dafde8609176ffa9e13cc1b8f1f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
a6ccd73562 libjitterentropy: upgrade 3.0.1 -> 3.0.2
(From OE-Core rev: 4c8a675e436e8e6b08baa5b4709244c04cc8f6f1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
67dfa8b02a libhandy: upgrade 1.2.1 -> 1.2.2
(From OE-Core rev: 9f36a62fc6ff59885b41d932a838ec9145a46dc6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
00e4a35b82 hdparm: upgrade 9.60 -> 9.61
(From OE-Core rev: e6c73cfb01299b5a98fb18063a04baacb59346fc)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
db195e73bc glslang: upgrade 11.2.0 -> 11.4.0
(From OE-Core rev: 857f413e1db69e42262e230b4aff110a00a20429)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
4a68753196 glib-networking: upgrade 2.66.0 -> 2.68.1
(From OE-Core rev: 12a9bb0feed96a0f3e0795106c6d95755ccb42b0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
4dfba049f4 gdb: upgrade 10.1 -> 10.2
(From OE-Core rev: 7505165ac90ba34a465eb707c7e6c8ccbeae024d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Paul Barker
f7f459bf65 prservice: Use new connect API
The new prserv connect() function decouples the code in oe-core from the
exact classes and implementation details used within bitbake. This
allows us to more easily switch over to a new asyncrpc based prservice.

(From OE-Core rev: 6bf39c5c8cf09e3f2ce6eba13b9d18193bce9655)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
fc5b3c78e5 reproducible_build.bbclass: Enable -Wdate-time
This will help identifying packages using __TIME__, __DATE__ and
__TIMESTAMP__ macros in code, its a warning from the compiler and the
packages which use -Werror will break the build with this and where they
don't we will atleast have a warning in the build logs

(From OE-Core rev: 20335cd89001f5fb159f5f1b0c3bd5e40b8b2fb5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
eb6154c46e gcc-runtime: Fix __FILE__ related reproducablity issues
libstdc++ uses assertion macros which use __FILE__ macros and

  if (__builtin_expect(!bool(_Condition), false))                      \
    std::__replacement_assert(__FILE__, __LINE__, __PRETTY_FUNCTION__, \
                              #_Condition)

This ends up using absolute paths into build tree for the cases where
the charconv header is used, therefore replace the file prefix paths
with on-target paths to make them build dir independent

(From OE-Core rev: 972c50d6e46ee9dfba8b8ea3867ebdbf24001e6e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
3b33c0870e ltp: Filter out -ffile-prefix-map
ffile-prefix-map is also needed for reproduble builds and when
introduced can be handled

(From OE-Core rev: 1f8132450b0192ad0c9f35f8b5dbac186c240e29)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
bc0a58343b openssl: Filter out -ffile-prefix-map as well
(From OE-Core rev: 1829fa0bda9a9388c3134866c471f26ec5658c36)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
08989d4f56 libid3tag: Filter -ffile-prefix-map too
helps when compiler has -ffile-prefix-map flag which helps
reproducibility as well

(From OE-Core rev: c3799bfdcc37ef139061aef22d125873607b0965)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Khem Raj
be3912baf9 libjpeg-turbo: Use --reproducible option for nasm
This ensures that nasm version and timestamps do but appear in build
outputs

(From OE-Core rev: 2f69c00c4bc1de6cd518fd78f67ff3ca863392f3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Petr Vorel
efbef1daa3 ltp: Replace musl patches with do_patch[postfuncs]
MUSL related build fixes are not going to be upstreamed.  They just not
compile broken files, thus replace them with upstream solution for CI:
just deleting files for musl (easier to maintain).

(From OE-Core rev: c781677fd5f4e15bde17114468d9f66ba5dc38a2)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
wangmy
3f657a908e mesa: upgrade 21.0.2 -> 21.0.3
(From OE-Core rev: a89ed8ce30a5830a0ac90aa633ec466b4e3a0ba1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:48:17 +01:00
Richard Purdie
cde414f571 patchelf: Fix note section alignment issues
Improve note section normalization was added to patchelf in recent versions
however if fails if there are two note sections which aren't sized to match
section alignment. Tweak the code to account for section alignment.

This fixes patchelf failures on the autobuilder, particularly to ccache-native.

(From OE-Core rev: fee8dde0d597b511b37d8dcf215e8355980d5f2b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-05-01 22:43:11 +01:00
Richard Purdie
19c365d040 libxcrypt: Update to 4.4.19 release and fix symbol version issues
This patch upgrades to the 4.4.19 release and replaces a configure patch
from "libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat" with
a fix to avoid leading spaces in CFLAGS causing failures.

The license changed a few filenames listed in the license but the overall
license remains unchanged.

(From OE-Core rev: 7a2144f065c913ef189011b94d90de4dde51a347)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-30 16:42:25 +01:00
Sakib Sajal
c21419b1fe buildstats.bbclass: collect data in the same file.
Previously "at interval" and "on failure" logs were collected
in separate files. Collect both types of logging in the same
file for better analysis.

Introduced new variable which allows different set of commands
to be run by the different logging, interval or failure. The
variables are BB_LOG_HOST_STAT_CMDS_INTERVAL and
BB_LOG_HOST_STAT_CMDS_FAILURE respecteviely.

(From OE-Core rev: 4fbf422351668f755a14811ac39161c889087e81)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 23:43:57 +01:00
Paul Barker
ebb7adac03 bitbake: prserv: Add connect function
This function abstracts the setup of a PR service client connection so
that openembedded-core doesn't need to be updated any time the details
are changed.

(Bitbake rev: d892287b31f81b075983ba500be265f75b53df64)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
ad5c898808 bitbake: prserv: Drop unused dump_db method
(Bitbake rev: ecb7bf34eac02ff58dbc27b3768ceaf4adb1c9cd)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
ea647326d1 bitbake: prserv: Drop obsolete python version check
Bitbake no longer supports Python 2 so this version check is obsolete.

(Bitbake rev: 45eb6c6e124e507012df9c288f1fbde0e7899e5d)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
421e86e7ed bitbake: hashserv: Refactor to use asyncrpc
The asyncrpc module can now be used to provide the json & asyncio based
RPC system used by hashserv.

(Bitbake rev: 5afb9586b0a4a23a05efb0e8ff4a97262631ae4a)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
244b044fd6 bitbake: asyncrpc: Common implementation of RPC using json & asyncio
The hashserv module implements a flexible RPC mechanism based on sending
json formatted messages over unix or tcp sockets and uses Python's
asyncio features to build an efficient message loop on both the client
and server side. Much of this implementation is not specific to the
hash equivalency service and can be extracted into a new module for
easy re-use elsewhere in bitbake.

(Bitbake rev: 4105ffd967fa86154ad67366aaf0f898abf78d14)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Paul Barker
1023671823 bitbake: hashserv: Use generic ConnectionError
The Python built-in ConnectionError type can be used instead of a custom
HashConnectionError type. This will make code refactoring simpler.

(Bitbake rev: 8a796c3d6d99cfa8ef7aff0ae55bb0f23bbbeae1)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:12:57 +01:00
Alexander Kanavin
bf348561f3 core-image-multilib-example: base on weston, and not sato
(From OE-Core rev: 56cd96651c6304712fd544fbc9b69c986d2b2efe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Alexander Kanavin
06413d33b3 oeqa/selftest: transition to weston images
For readonly rootfs tests core-image-weston
is appended; everywhere else it replaces core-image-sato.

(From OE-Core rev: 75e042db853b9bf9a70ff8a5abe6d45ebb0b77a9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Alexander Kanavin
377a73d5b7 oeqa/core/tests/test_data.py: use weston image instead of sato
(From OE-Core rev: c2ccd8c8144cdda52b858589f7d5d3a15ab28b90)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Alexander Kanavin
f66d90a06f core-image-weston: add sdk/ptest images
This is the first step towards rebasing the AB matrix from sato to
weston; the eventual goal is to keep sato only in core-image-sato
image.

The broader rationale is that X11 is effectively deprecated technology
at this point with only minimal maintenance; standalone X server will not
be developed any further, and all attention currently is towards making
it work well under Wayland.

I believe YP should be defaulting to Wayland and not X11.

(From OE-Core rev: 3a6996f87a9e32f2e6e668dce98f77d0b40fceb8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Reto Schneider
73bdeae2fc license_image.bbclass: Fix symlink to generic license files
Link to the canonical filename of a license as only this one exists.

Fixes commit 670fe71dd18ea675f35581db4a61fda137f8bf00
[license_image.bbclass: use canonical name for license files].

(From OE-Core rev: 64b1ba978e079c345e1f7fbd1bf44052fc3dd857)

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Reto Schneider
62eb846232 license_image.bbclass: Detect broken symlinks
Find and report symlinks which point to a non-existing file.

(From OE-Core rev: 81809a1ffe67aade1b2ed66fe95044ffbf7d3df8)

Signed-off-by: Reto Schneider <reto.schneider@husqvarnagroup.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Sakib Sajal
f8b2e0f600 oe-time-dd-test.sh: collect cooker log when timeout is exceeded
Collect the last 30 lines from the cooker.log
whenever the timeout is exceeded.

(From OE-Core rev: 58f7cd4d6186525f08f3027975530d647cbfa26b)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
6db9f63412 gnutls: Point to staging area for finding seccomp libs and includes
This ensures that if libseccomp is installed on build host then it does
not resort to use it.

Fixes
checking for libseccomp... (cached) yes
checking how to link with libseccomp... /usr/lib/libseccomp.so

(From OE-Core rev: 3751ac58720a500e3b749b2296922d7c82db49a1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Saul Wold
3acbec85b0 qemurunner: Add support for qmp commands
This adds support for the Qemu Machine Protocol [0] extending
the current dump process for Host and Target. The commands are
added in the testimage.bbclass.

Currently, we setup qemu to stall until qmp gets connected and
sends the initialization and continue commands, this works
correctly. If the UNIX Socket does not exist, we wait an timeout
to ensure to socket file is created.

With this version, the monitor_dumper is created in OEQemuTarget
but then set in OESSHTarget as that's where we get the SSH failure
happens. Python's @property is used to create a setter/getter type
of setup in OESSHTarget to get overridden by OEQemuTarget.

By default the data is currently dumped to files for each command in
TMPDIR/log/runtime-hostdump/<date>_qmp/unknown_<seq>_qemu_monitor as
this is the naming convenstion in the dump.py code.

We use the qmp.py from qemu, which needs to get installed in the
recipe-sysroot-native of the target image.

[0] https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt

(From OE-Core rev: 42af4cd2df72fc8ed9deb3fde4312909842fcf91)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Saul Wold
2c86aba6f0 qemu-system-native: install qmp python module
The qmp python module supports the Qemu Machine Protocol [0].
This module needs to be installed in a known location so the
qemurunner python script can find the qmp module.

This change causes it to be installed in the recipe-sysroot-native
of the target image and that directory can be added to the python
sys.path that needs to use the qmp.py module.

[0] https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt

(From OE-Core rev: 46a60f67562a6ae227e018228212fc797d1f2795)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
8cf9b6529e gcc-cross-canadian: Install LTO linker plugin to BFD searchable location
This helps binutils provided tools ar/ranlib/nm to find the LTO linker
plugin automatically as well which makes it equivalent to gcc-ar/gcc-nm/gcc-ranlib

(From OE-Core rev: 7d8d0b90bea7ea01e1e9ab0ff98f22431f68a506)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
fb21d2e147 gcc-cross: Install linker LTO plugin for binutils tools
This will ensure that ar/ranlib/nm can load the lto linker plugin like
gcc-ar, gcc-nm, gcc-ranlib does, this will let the behaviour match
between gcc wrappers for these tools, this should help LTO builds for
packages

(From OE-Core rev: d6658505089234476c1b35fc08fef1eb4f121e85)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
dfc632785d bitbake.conf: Use gcc-nm as default NM
This ensures linker LTO plugin is loaded correctly

(From OE-Core rev: d6ffd683bf635548e0bfb3fd6458ed03e26ec2bf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Khem Raj
d18f8178b8 gcc-target: Create a LTO plugin symlink in bfd-plugins directory
This directory is scanned by binutils provided ar,ranlib,nm for plugins
that it can load automatically, putting liblto_plugin.so in their means
we do not need gcc-ar, gcc-nm, gcc-ranlib particularly as normal
ar/ranlib/nm tools will work equally well as they can now use this
linker plugin by default

This also mean we can revert back to using ar/ranlib/nm as default
providers for AR/NM/RANLIB on target

(From OE-Core rev: 5aae5812223792d5e5bd57e024de50fbcd1e6da5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-27 15:11:47 +01:00
Nicolas Dechesne
b3426e89f5 bitbake: doc: bitbake-user-manual: fix typo left over from Sphinx migration
Fixes d99760cc687c (sphinx: last manual round of fixes/improvements)

Reported-by: Michal Piechowski <m.z.piechowski@gmail.com>
(Bitbake rev: 00ce48919de720639eda2b6f7065a82b641e5167)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 15:26:14 +01:00
Michael Opdenacker
7e9305613d bitbake: doc: bitbake-user-manual: code insertion simplification over two lines
This simplifies paragraphs ending with a colon and followed
by code insertion.

Automatically substituted through the command:
sed -i -z "s/:\n\s*::/::/g" file.rst

This generates identical HTML output.

(Bitbake rev: 51c80fc3497eecc8e50194fe1ff8069b59f03eda)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 15:26:14 +01:00
Michael Opdenacker
91aacf4ed3 bitbake: doc: bitbake-user-manual: simplify colon usage
- This replaces instances of ": ::" by "::", which
  generates identical HTML output

(Bitbake rev: fd8ce4dcaff3aae395f9945fb0a3be54905e1727)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 15:26:14 +01:00
Khem Raj
a836bd6fc0 default-distrovars.inc: Remove seccomp for riscv32
libseccomp needs too be ported to rv32 first

(From OE-Core rev: ecf167c6419afd483f5291043a1d5072d388866b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:16:31 +01:00
Chen Qi
c9e8724e26 rsync: fix CVE-2020-14387
Backport patch to fix CVE-2020-14387.

(From OE-Core rev: 13f331436747ebb8e9211feee3aa774f1acd0fee)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
71c216b4be default-distrovars.inc: Add seccomp to DISTRO_FEATURES_DEFAULT
Since xattr is included, seccomp should be too

(From OE-Core rev: e164bd55ef5becf691c2755d8d6af45a490fe9b2)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Khem Raj
3db18236b9 apt: Fix build on musl when seccomp is enabled
(From OE-Core rev: 3ffce694d75977895557ff61f27b627c1a11be12)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
0086576160 apt: Disable libseccomp
This isn't in DEPENDS and isn't configured. It can detect the library when
pulled in via other dependencies meaning the build isn't deterministic.

Ultimately this could become a PACKAGECONFIG. It doesn't build on musl
so disable it for now until someone fixes and sorts this out properly.

(From OE-Core rev: 1425fe0f28a31b1d4004736b9edb036680e12c92)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
f7c278c330 qemu: Enable seccomp if FEATURE is set
(From OE-Core rev: c057509306319cc0c2c7ef89154995ffd96c5646)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
528547a46a systemd: Enable seccomp if FEATURE is set
(From OE-Core rev: c9d4fb93429a90191dc77e1dbc183535d66952cb)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
65ecffc430 gnutls: Enable seccomp if FEATURE is set
(From OE-Core rev: f2527b5567252c7da4fbd863e119c8114e6debcd)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
280a83d4af libseccomp: Fix reproducibility issue
Rather than installing libtool wrapper scripts which won't work on target
and aren't reproducible, use the real binaries.

(From OE-Core rev: 8afdf055b7b8bad6f0f13c3cd184d019c50a1e25)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
e07821846b libseccomp: Add MAINTAINERS entry and HOMEPAGE
Add entries for the migrated recipe to passify the various checks.

(From OE-Core rev: cd49367af2b3daa8d3012ae2b8ace380d41cc0b9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Armin Kuster
241c7d2e67 libseccomp: move recipe from meta-security to core
ptest results:
Regression Test Summary
 tests run: 1404
 tests skipped: 369
 tests passed: 1402
 tests failed: 2
 tests errored: 154

Add feature_check so that the other recipes who can take
advantage of this funtionality can enable it.

(From OE-Core rev: 5b0182f5c01c8b10b4b65f8af55d682be4839947)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Marek Vasut
4d05decb97 linux-firmware: Package RSI 911x WiFi firmware
The RSI 911x WiFi firmware is already part of the linux-firmware
repository, package it to make it easily available.

(From OE-Core rev: cc44b71f6ea68ca0f483d635df7dc7b9905b1593)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-26 14:14:42 +01:00
Richard Purdie
bf59f39653 yocto-check-layer: Avoid bug when iterating and autoadding dependencies
If iterating a layer with multiple components and auto-adding dependencies
the tests can break since layers are never removed and order isn't guaranteed
to account for that.

Fix this by resetting the layer list back to the original list each time
before auto-adding the dependencies in each case.

This fixes scanning of meta-openembedded in particular where the sublayers
may not be added in order of minimal dependency.

(From OE-Core rev: bf1b467dacf345379cd5d84a1c9b3b0d844d5c91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Stefan Ghinea
01bd284339 libssh2: fix build failure with option no-ecdsa
libssh2 fails at do_compile if
DEPRECATED_CRYPTO_FLAGS = "no-ecdsa" is set in recipe:

../src/.libs/libssh2.so: undefined reference to
`LIBSSH2_KEX_METHOD_EC_SHA_HASH_CREATE_VERIFY'

References:
https://github.com/libssh2/libssh2/issues/549

Upstream patches:
1f76151c92

(From OE-Core rev: 2bb146e7315f8080cb49a95212231ccb76a4a822)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Richard Purdie
35d6da6fe5 pyyaml: Add missing HOMEPAGE
Add a HOMEPAGE to the new recipe to avoid sanity test failures.

(From OE-Core rev: 23be2a27e16d711f928561d96f901a25f5f29998)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
9be7098de3 python3-pyyaml: Add recipe
This is migrated from meta-python

(From OE-Core rev: 0a8600f9cec0a88b90693302554c82cfe28152ae)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
c3a3153810 python3-jinja2: Enable ptests
Needed dependencies on toml and pytest and unixadmin
are in core now

(From OE-Core rev: c983359eae9d7e3d729af36755612916dabe32d6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
b39ea6620f python3-markupsafe: Enable ptests
pytest is now in OE-Core

(From OE-Core rev: 48c83fc1141ff22c9ede0c82acec896937d61357)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Khem Raj
64e26d1e6b python3-docutils: Upgrade to 0.17.1
This was in meta-python for a while so merge the changes here
and  upgrade, once applied, delete from meta-python

License-Change: Deleted legacy stylesheets from LICENSE [1]
                Updated URI for BSD-2 [2]

[1] https://sourceforge.net/p/docutils/code/8487/
[2] https://sourceforge.net/p/docutils/code/8554/

(From OE-Core rev: 757d87f676d542f49760ef4ed8bea238719af159)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Changqing Li
770532164f gcr: fix one parallel build failure
ui/gcr-live-search.c includes gcr/gcr-marshal.h. Because missing
dependency, following error occurred intermittently during doing parallel
build:

 -o ui/libgcr-ui-3.so.1.0.0.p/gcr-live-search.c.o -c ../gcr-3.38.1/ui/gcr-live-search.c
../gcr-3.38.1/ui/gcr-live-search.c:32:10: fatal error: gcr/gcr-marshal.h: No such file or directory
   32 | #include "gcr/gcr-marshal.h"
      |          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

(From OE-Core rev: a6690c22952a315e6c6734a5936d9eb18e1b3004)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Mikko Rapeli
7d228861e8 unzip: use optimization from bitbake
Build with bitbake default optimizations, e.g. O2,
instead of custom O3. Reduces unzip binary package
size from 304401 to 283921 bytes, and enables building
with Os to even further reduce binary size if needed
and configured for the whole system.

(From OE-Core rev: 1330ac1902360cc5e01b69a6065963bf7b92d4bb)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
dcfdecb9ff qemu: fix CVE-2021-20257
(From OE-Core rev: 547ac986a74cfcae39b691ebb92aadc8436443ea)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
4284f80d1f qemu: fix CVE-2021-3416
(From OE-Core rev: e2b5bc11d1b26b73b62e1a63cb75572793282dcb)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
ea7850cd83 qemu: fix CVE-2021-3409
(From OE-Core rev: e2fb8c15a64e1f5db678e8e95924da8c88a188c0)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
2c01852bcb qemu: fix CVE-2021-20221
(From OE-Core rev: 59a44f8c70d4a026ae74e44b9d70100029c691b5)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
5c59b634a2 qemu: fix CVE-2020-29443
(From OE-Core rev: 481e012de865ee232fa5a233e9f1d4fc7a2232ab)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Sakib Sajal
640c6d1191 qemu: fix CVE-2021-20181
(From OE-Core rev: c2f79065ef0684f2c0bdb92f1b03e690ab730b8c)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Kai Kang
e7746189de kernel-yocto.bbclass: chdir to ${WORKDIR} for do_kernel_checkout
It chdirs to ${S} at the beginning of task do_kernel_checkout. Then it
removes ${S} when it still resides in ${S}. It may fail to run the task
do_kernel_checkout when bitbake is called by third-part wrapper script.
So chdir to ${WORKDIR} by default for do_kernel_checkout. And it will
chdir to ${S} afterwards in task do_kernel_checkout.

(From OE-Core rev: cf0e3397d3f86c7ea1f3c66c50a44d6205f5921b)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Kai Kang
9bbd9cab86 cmake.bbclass: remove ${B} before cmake_do_configure
It is fallible to remove ${B} in directory ${B} itself. And it does fail
when call bitbake by third-party wrapper script.

Use flag 'cleandirs' to remove ${B} first if build out of source tree.

(From OE-Core rev: 0fb6280432a36985590d9a714a5f11164aaebb51)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:05 +01:00
Mikko Rapeli
d2c176d1ca lz4: use CFLAGS from bitbake
Currently lz4 uses it's own defaults which include O3 optimization.
Switch from O3 to bitbake default O2 reduces binary package size
from 467056 to 331888 bytes. Enables also building with Os if needed.

(From OE-Core rev: abaaf8c6bcd368728d298937a9406eb2aebc7a7d)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:04 +01:00
Paulo Cesar Zaneti
de0c3226ab perl: fix startperl configuration option for perl-native
Unlike vanilla Perl "Configure" script, perl-cross "configure" does not
derive "startperl" from "bin". It instead derives from "perlpath".

This patch aims to fix "startperl" configuration option for perl-native by
correctly setting "perlpath" on perl-cross "configure" script.

It also changes do_install_append_class-native task to comply with
cpan_do_install task.

(From OE-Core rev: f2d1523b19cb066a4a06609f036822fe4a8b43f0)

Signed-off-by: Paulo Cesar Zaneti <paulo.zaneti@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-24 17:53:04 +01:00
Trevor Gamblin
4aff77c851 ref-manual/variables.rst: Add incompatibility warning for SERIAL_CONSOLES_CHECK
See [YOCTO #13921]

Add details to the SERIAL_CONSOLES_CHECK entry to clarify that it
doesn't work with read-only rootfs.

(From yocto-docs rev: cefd66301a40f9048499879674e467543f704c44)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Michael Opdenacker
c3c6de2187 manuals: code insertion simplification over two lines
This simplifies paragraphs ending with a colon and followed
by code insertion.

Automatically substituted through the command:
sed -i -z "s/:\n\s*::/::/g" file.rst

This generates identical HTML output.

(From yocto-docs rev: 28e2192a7c12d64b68061138a9f6c796453eebb1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Michael Opdenacker
773536c333 manuals: simplify code insertion
This replaces instances of ": ::" by "::", which
generates identical HTML output

(From yocto-docs rev: 1f410dfc7c16c09af612de659f8574ef6cff4636)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Michael Opdenacker
21b42cc54f dev-manual: fix code insertion
Fix a misaligned code insertion statement, causing
the code block to be misaligned compared to the other ones
in subsequent paragraphs

(From yocto-docs rev: bc03d122a35ac027d0aab5bfd70b366933fd7356)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Vineela Tummalapalli
1ea11c5c20 Adding dunfell 3.1.7 to the switcher and release list.
(From yocto-docs rev: bed221137de77340280d71b4a8b0f2f60addc566)

Signed-off-by: Vineela Tummalapalli <vineela.tummalapalli@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 16:39:03 +01:00
Diego Sueiro
cda69e0166 bitbake: layerindex: Add --fetchdir parameter to layerindex-fetch
Introduce --fetchdir parameter to layerindex-fetch enabling users to choose
the directory to fetch the layers different from BBLAYERS_FETCH_DIR.

[YOCTO #14347]

(Bitbake rev: 784a904faffac723ddf58ba765b9dd11ac068de5)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:13:13 +01:00
Diego Sueiro
9fae310dd2 bitbake: layerindex: Fix bitbake-layers layerindex-show-depends command
Running 'bitbake-layers layerindex-show-depends meta-filesystems' fails with:
```
Traceback (most recent call last):
  File "<...>/poky/bitbake/bin/bitbake-layers", line 93, in <module>
    ret = main()
  File "<...>/poky/bitbake/bin/bitbake-layers", line 86, in main
    return args.func(args)
  File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 209, in do_layerindex_show_depends
    self.do_layerindex_fetch(args)
  File "<...>/poky/bitbake/lib/bblayers/layerindex.py", line 182, in do_layerindex_fetch
    args.shallow)
AttributeError: 'Namespace' object has no attribute 'shallow'
```

Initialize the shallow attribute to fix it.

(Bitbake rev: 71f095c147fe6aa7b5e6272002e0498cf9494256)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:13:13 +01:00
Khem Raj
93c73856f4 llvm: Upgrade to LLVM 12 release
Drop backported patch

(From OE-Core rev: ca72375a3bbebcb9a7af4dce3c06716ac2c0f5fc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
cc6b1e2b1d wpebackend-fdo: upgrade 1.8.2 -> 1.8.3
(From OE-Core rev: 3aa145d326cf22aa423940e8b09f609fe9c27cbe)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
aac6941d84 boost: upgrade 1.75.0 -> 1.76.0
(From OE-Core rev: 14b597845ad7b97e84c652ce56e137dc4b9d23b9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
fa1208406e tiff: upgrade 4.2.0 -> 4.3.0
(From OE-Core rev: 702c5c7973c77c51d5ce8de11e73c708c55927a3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
05343e7611 python3-cython: upgrade 0.29.22 -> 0.29.23
(From OE-Core rev: 7f0482bf6709277f2506e71d828f6bed3ab72263)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
7bc3a900a6 mtools: upgrade 4.0.26 -> 4.0.27
(From OE-Core rev: 86777da8f46e6ddf9b04a80fa1ecbcf41faff21c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
wangmy
41334b0064 openssh: upgrade 8.5p1 -> 8.6p1
(From OE-Core rev: 5fd4497e7ad156fa426bb1913846c2b65a9fbd1b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
b02c5193c2 libsolv: upgrade 0.7.18 -> 0.7.19
(From OE-Core rev: 74355aff39b4bbed9dc3ecb403e679d1aa0edbb5)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
00bfb40b68 libical: upgrade 3.0.9 -> 3.0.10
(From OE-Core rev: 8f67f233c77ef03572aee8b8c484b634f42b668b)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
73639903c2 libhandy: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: 089d75b47d4d1a7b2c68b8b310cddf40b4b83199)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
zhengruoqin
6d774dadd2 libedit: upgrade 20210216-3.1 -> 20210419-3.1
(From OE-Core rev: be628ddfbc401242e0884916ccf4abea336c4ad9)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Khem Raj
e165bf75b1 musl: Update to latest master
changelog [1]

* aad50fcd fix regression in dl_iterate_phdr reporting of modules with no TLS
* 0ea78a64 nscd: fall back gracefully on kernels without AF_UNIX support
* 95a540e1 mallocng/aligned_alloc: check for malloc failure
* 2c00f95c make epoll_[p]wait a cancellation point
* 521b4d27 fix dl_iterate_phdr dlpi_tls_data reporting to match spec
* 122002f0 remove no-longer-needed special case handling in popen
* 8ef9d46f use internal malloc for posix_spawn file actions objects
* cfdfd5ea don't fail to map library/executable with zero-length segment maps
* e48e99c1 suppress isascii() macro for C++
* b129cd86 guard against compilers failing to handle setjmp specially by default
* 3309e2d7 aarch64/bits/mman.h: add PROT_MTE from linux v5.10
* 44331150 aarch64/bits/hwcap.h: add HWCAP2_MTE from linux v5.10
* 42aa19a0 add aarch64/bits/mman.h with PROT_BTI from linux v5.8
* b7554b5e aarch64/bits/hwcap.h: add HWCAP2_BTI from linux v5.8
* 87b8f148 signal.h: add MTE specific SIGSEGV codes from linux v5.10
* 19239cde sys/prctl.h: add MTE related constants from linux v5.10
* 8b29f023 elf.h: add NT_ARM_TAGGED_ADDR_CTRL from linux v5.10
* d7210f0c sys/mman.h: add MAP_HUGE_16KB from linux v5.10
* a7456524 sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10
* 54ca1cc7 sys/membarrier.h: add new constants from linux v5.10
* fd285f9d bits/syscall.h: add process_madvise from linux v5.10
* 49b6df3d fix error return value for cuserid
* cc577d0e fix misuse of getpwuid_r in cuserid
* a75283d7 cuserid: don't return truncated results
* ef137da6 cuserid: support invocation with a null pointer argument

[1] https://git.musl-libc.org/cgit/musl/log/\?qt\=range\&q\=e5d2823631bbfebacf48e1a34ed28f28d7cb2570..aad50fcd791e009961621ddfbe3d4c245fd689a3

(From OE-Core rev: 601d8e87a7c796bd9d91d1ffa090d3b1afcf2a2d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Yi Fan Yu
c707bf9f80 valgrind: Enable drd/tests/bar_bad* ptest
Revert some of 7f7d2fa18267090891754d976cbc3e628324d3dd

Was not able to reproduce the reported non-deterministic failure.
(ran 20 times on qemux86-64 on a relatively isolated machine)
it might be related to the AB-INT issues,
but it seems to only affect ARM builders now.

Also no action taken by upstream valgrind to fix
https://bugs.kde.org/show_bug.cgi?id=430321

Let it run on AB to see if failure was fixed by uprev to 3.17.0.
if not, we can gather more data from the AB failure.

[YOCTO #14051]

(From OE-Core rev: c0ea23832a96352d8eeda5cebc9d37a22c5d5439)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Yi Fan Yu
223ef10436 re2c: Upgrade 2.0.3 -> 2.1.1
(From OE-Core rev: 09bfe5cbd68f2e837c99c9d7554e9fadd009ad65)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Khem Raj
4118415d4b go: Use dl.google.com for SRC_URI
golang.org/dl is resolving to this anyway

(From OE-Core rev: 8470e38ac1d9f9bb6d8a4ee43724af452d080057)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Khem Raj
70a757bbec binutils: Fix linking failures when using dwarf-5
Since GCC 11 will switch to dwarf-5 as default, this patch will be
required soon

(From OE-Core rev: 9dc9bf85f53c6712dd047df5fd718e9895946fd5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Alexander Kanavin
c13be2e1dc meta/lib/oeqa/core/tests/cases/timeout.py: add a testcase for the previous fix
This is the sequence that didn't properly operate:

- a test case that skips and isn't executed
- a second test case that is skipped via a dependency decorator, and sets a timeout
- a third test case that takes longer than the timeout from the second
test case

Without the fix, the timeout is not cleared, and the third test case is
erroneously aborted. With the fix, the timeout is cleared and the third
test case is able to complete.

(From OE-Core rev: 54ef07a9aa1af8f41cfb9a4802929c918efc43c8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Alexander Kanavin
b40f78a5c7 oeqa: tear down oeqa decorators if one of them raises an exception in setup
Some of the decorators need proper cleanup, such as OETimeout
which sets a signal handler that needs to be cleared via teardown.
If this is not done then the signal gets called later with unpredictable effects.

This can be seen if there's a test that is skipped via a decorator and sets a timeout
at the same time: the timeout isn't cleared, and is invoked later in a
completely unrelated context. The test case for this is added in the
next commit.

(From OE-Core rev: f42a08e1aabf1ca57e0c09d69fb69cc717c7f156)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Chen Qi
942b80e82e weston: fix build failure due to race condition
The wayland.c actually include 'xdg-shell-client-protocol.h' instead of
the server one, so fix it. Otherwise, it's possible to get build failure
due to race condition.

(From OE-Core rev: bd2a9a4d82f66f1ff414c392bcf234d8dbd5e553)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Mingli Yu
ce9e341775 rpm: Upgrade to 4.16.1.3
Fixes some security vulnerabilities such as CVE-2021-3421 and
CVE-2021-20271.

Rebase 0001-Do-not-hardcode-lib-rpm-as-the-installation-path-for.patch
to avoid fuzz warnings.

(From OE-Core rev: 5dcd9c673502dab276b4fb4e6b4c7c1d1d9425ef)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Martin Jansa
a8ae23104c ofono: prevent using bundled ell headers and fix build with ell-0.39
* -I../ofono-1.31 is included when building drivers/mbimmodem/mbim.c and then
  ell.h will happily include ell/util.h from there:

  # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 1 3 4
  # 23 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/ell/ell.h" 3 4
  # 1 "../ofono-1.31/ell/util.h" 1 3 4
  # 26 "../ofono-1.31/ell/util.h" 3 4
  # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 1 3 4
  # 26 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 3 4
  # 1 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/bits/libc-header-start.h" 1 3 4
  # 27 "/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/ofono/1.31-r0/recipe-sysroot/usr/include/string.h" 2 3 4

* and it gets more interesting because unlikely() macro was dropped from ell/util.h in:
  https://git.kernel.org/pub/scm/libs/ell/ell.git/commit/?id=2a682421b06e41c45098217a686157f576847021
  and ofono builds from git (which doesn't bundle ell) were failing with:

drivers/mbimmodem/mbim-message.c: In function 'message_iter_next_entry_valist':
drivers/mbimmodem/mbim-message.c:504:8: warning: implicit declaration of function 'unlikely' [-Wimplicit-function-declaration]
  504 |    if (unlikely(indent > MAX_NESTING))
      |        ^~~~~~~~
...
x86_64-webos-linux-libtool: link: x86_64-webos-linux-gcc -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/dbus-1.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/dbus-1.0/include -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/include/glib-2.0 -I/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot/usr/lib/glib-2.0/include -DOFONO_PLUGIN_BUILTIN -DPLUGINDIR=\"/usr/lib/ofono/plugins\" -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0=/usr/src/debug/ofono/1.31+gitAUTOINC+0db662bd6b-r0 -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot= -fdebug-prefix-map=/OE/build/luneos-honister/webos-ports/tmp-glibc/work/core2-64-webos-linux/ofono/1.31+gitAUTOINC+0db662bd6b-r0/recipe-sysroot-native= -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o unit/test-mbim unit/test-mbim.o drivers/mbimmodem/mbim-message.o drivers/mbimmodem/mbim.o  -lell
drivers/mbimmodem/mbim-message.c:1389: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:1255: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:514: error: undefined reference to 'unlikely'
drivers/mbimmodem/mbim-message.c:504: error: undefined reference to 'unlikely'
collect2: error: ld returned 1 exit status

  while build from 1.31 tarball was passing OK, because using this older
  bundled ell/util.h

  delete bundled ell as we always enable external ell to make sure this
  doesn't happen again and fix mbimmodem to build with ell-0.39

(From OE-Core rev: 25f44ce327aff94c956d431c3cdf92adc39b2eeb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Diego Sueiro
d00d7e6621 oeqa/selftest/bblayers: Add test case for bitbake-layers layerindex-show-depends
(From OE-Core rev: 80090c31164d62a169431ab71c4aaee5475b6f40)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:10 +01:00
Alexander Kanavin
dd35211b69 default-distrovars.inc: add debuginfod to default DISTRO_FEATURES
Obtaining debug information by having it served automatically via http
is far more pleasant than messing about with debugfs and gdbserver or
transferring and installing -dbg packages by hand.

I believe we should follow the desktop distros and have it enabled
out of the box. Please see the following commit for the description
of how it works.

(From OE-Core rev: 024c88c82791a113b614abf61ffd82e097bf21d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:09 +01:00
Khem Raj
972888296c elfutils: Make 64bit time_t fix generic
Apply it always since more than x32 needs it

(From OE-Core rev: faf5034876c319aa51d6b3e21265d0984566bb9e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Alexander Kanavin
2cd3d10d36 elfutils: adjust ptests for correct debuginfod testing
(From OE-Core rev: fdfe429dad9b9ab685caf3a61876f7a23453aedd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Alexander Kanavin
1b349efbc2 elfutils: correct debuginfod builds on x32
(From OE-Core rev: 53cd394a6fe409eef3542832ad81ae3dd2cc6aad)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Changqing Li
46edbab0b3 libpam: make volatile files created successfully
(From OE-Core rev: f0de19e31122abd225bd75c6202839094194a36d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
d601dfdb74 oeqa/manual/bsp-hw.json : remove Test_if_usb_hid_device_works_well_after_resume_from_suspend_state manual test
Remove the Test_if_usb_hid_device_works_well_after_resume_from_suspend_state test as it was replaced by the new automated runtime oeqa/runtime/cases/usb_hid.py.

(From OE-Core rev: 61b0eba90ba4676967b96b5561f99ee2294352a0)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
7542a292de oeqa/manual/bsp-hw.json :remove Check_if_RTC_(Real_Time_Clock)_can_work_correctly manual test
Remove the Check_if_RTC_(Real_Time_Clock)_can_work_correctly test as it was replaced by the new automated runtime oeqa/runtime/cases/rtc.py.

(From OE-Core rev: ea5d87f014b33b88402176ae7e07f8ff216415a0)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
711039f052 oeqa/manual/bsp-hw.json : remove click_terminal_icon_on_X_desktop manual test
Remove the click_terminal_icon_on_X_desktop test as it was replaced by the new automated runtime oeqa/runtime/cases/terminal.py.

(From OE-Core rev: ce10543b03349a68dd2639990b8c267110dcab2e)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
3d02cc072e oeqa/manual/bsp-hw.json : remove standby and Test_if_LAN_device_works_well_after_resume_from_suspend_state manual test
Remove standby and Test_if_LAN_device_works_well_after_resume_from_suspend_state test as they was replaced by the new automated runtime oeqa/runtime/cases/suspend.py.

(From OE-Core rev: 2b99a35f0131300a121304ac46f2d29b593128c0)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
495f029389 oeqa/manual/bsp-hw.json : remove ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP manual test
Remove ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP test as they was replaced by the new automated runtime oeqa/runtime/cases/ethernet_ip_connman.py.

(From OE-Core rev: bb7d753e636c81d1a9d48210da6910c711e4f2df)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Teoh Jay Shen
99d8cd1201 oeqa/manual/bsp-hw.json : remove boot_from_runlevel_3 and boot_from_runlevel_5 manual test
Remove boot_from_runlevel_3 and boot_from_runlevel_5 test as they was replaced by the new automated runtime oeqa/runtime/cases/runlevel.py.

(From OE-Core rev: f4f9dffddf699cef63ab5554e2f92ae026574e89)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Richard Purdie
63b0992ab7 patchelf: Backport fix from upstream for note section overlap error
Backport a patch from upstream to fix an error:
patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections

seen on our ubuntu1604 autobuilder worker.

(From OE-Core rev: 80e8f7d34d7032cc94b61bf155eac7648e6b6c74)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Khem Raj
c365e38233 weston: Drop loading xwayland.so module
This module is no longer installed by x11 instead it uses a stand along
server for xwayland, as a result when xwayland is enabled in
packageconfig in weston then it fails to load xwayland.so during runtime

Fixes

[21:07:12.-100663296] Old Xwayland module loading detected: Please use --xwayland command line option or set xwayland=true in the [core] section in weston.ini
[21:07:12.-100663296] Loading module '/usr/lib/libweston-9/xwayland.so'
[21:07:12.-100663296] Failed to load module: /usr/lib/libweston-9/xwayland.so: cannot open shared object file: No such file or directory
[21:07:12.-100663296] Destroying fbdev output.

(From OE-Core rev: aa829e27a0d3bda3ed943005c1622e71d38bb872)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Martin Jansa
5625fbdfa5 xwayland: add opengl to REQUIRED_DISTRO_FEATURES
* it depends on libepoxy which has this restriction
* fixes:
  ERROR: Nothing PROVIDES 'libepoxy' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb DEPENDS on or otherwise requires it)
  libepoxy was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES)
  ERROR: Nothing RPROVIDES 'xwayland' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'xwayland'
  NOTE: Runtime target 'xwayland' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['xwayland']
  ERROR: Nothing RPROVIDES 'xwayland-dev' (but openembedded-core/meta/recipes-graphics/xwayland/xwayland_21.1.1.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'xwayland-dev'
  NOTE: Runtime target 'xwayland-dev' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['xwayland-dev']

(From OE-Core rev: d5455a8f636599d6be8c36ea1578274148d558df)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:12:08 +01:00
Konrad Weihmann
df2a1f37f7 cve-update-db-native: skip on empty cpe23Uri
Recently an entry in the NVD DB appeared that looks like that
{'vulnerable': True, 'cpe_name': []}.
As besides all the vulnerable flag no data is present we would get
a KeyError exception on acccess.
Use get method on dictionary and return if no meta data is present
Also quit if the length of the array after splitting is less than 6

(From OE-Core rev: 00ce2796d97de2bc376b038d0ea7969088791d34)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 10:06:04 +01:00
Richard Purdie
d5eb86b3aa runqemu: Ensure we cleanup snapshot files after image run
We need to cleanup snapshot files if we make a copy of them to ensure
the tmpfs doesn't run out of space. There is already NFS code needing
this so make it a generic code path.

(From OE-Core rev: a3e0eec5a4785a0c4859455eb10b43aa832e606d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-23 00:08:38 +01:00
Richard Purdie
6f7bc9e4af poky.conf: Post release version bump
(From meta-yocto rev: 63b7374d9053f4f585d7e30fc2347fafa4381528)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
1f75873390 linux-yocto/5.10: fix arm defconfig warnings
A recent fix to the kern-tools promoted some previously unseen
issues to warnings. This commit fixes them by tagging some BT
options as non-hardware so they won't generate warnings if they
don't appear in the final .config. These are sub BT options and
shouldn't warn when/if their controlling option is disabled by
a fragment.

    40a967b115f base: exclude some BT options as non-hardware

(From OE-Core rev: fc7875ce3c68a253f8b8e5d8855c1814731b5a45)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
afb15a8817 linux-yocto/5.4: fix arm defconfig warnings
A recent fix to the kern-tools promoted some previously unseen
issues to warnings. This commit fixes them by tagging some BT
options as non-hardware so they won't generate warnings if they
don't appear in the final .config. These are sub BT options and
shouldn't warn when/if their controlling option is disabled by
a fragment.

    d7fd0213b75 base: exclude some BT options as non-hardware

(From OE-Core rev: a86c8251905baf5bf4714f3db01cdfae02383839)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
64d8607232 linux-yocto/5.4: update to v5.4.112
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    8f55ad4daf00 Linux 5.4.112
    ea42fd91d304 Revert "cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath."
    7ee5bde3164c net: ieee802154: stop dump llsec params for monitors
    b4042ecc12cb net: ieee802154: forbid monitor for del llsec seclevel
    e82f8b7713ab net: ieee802154: forbid monitor for set llsec params
    948a2817f71d net: ieee802154: fix nl802154 del llsec devkey
    b3a105e15cd6 net: ieee802154: fix nl802154 add llsec key
    4097afd93df7 net: ieee802154: fix nl802154 del llsec dev
    7d32fc7964d6 net: ieee802154: fix nl802154 del llsec key
    8f4c815c74f4 net: ieee802154: nl-mac: fix check on panid
    38ea2b3ed00f net: mac802154: Fix general protection fault
    6e7098f56c83 drivers: net: fix memory leak in peak_usb_create_dev
    32e2f9a708e1 drivers: net: fix memory leak in atusb_probe
    0a790ad1358b net: tun: set tun->dev->addr_len during TUNSETLINK processing
    ed13df88c6d5 cfg80211: remove WARN_ON() in cfg80211_sme_connect
    628ac886dfba net: sched: bump refcount for new action in ACT replace mode
    3dbafee8426f dt-bindings: net: ethernet-controller: fix typo in NVMEM
    f4c5968da773 clk: socfpga: fix iomem pointer cast on 64-bit
    35ba6d9240ee RAS/CEC: Correct ce_add_elem()'s returned values
    f666ad4f8d87 RDMA/addr: Be strict with gid size
    44d03319fe77 RDMA/cxgb4: check for ipv6 address properly while destroying listener
    3ca5345db92c net/mlx5: Fix PBMC register mapping
    798d94a274fb net/mlx5: Fix placement of log_max_flow_counter
    9716aac17419 net: hns3: clear VF down state bit before request link status
    9dd7092d1a96 openvswitch: fix send of uninitialized stack memory in ct limit reply
    731abf396e37 net: openvswitch: conntrack: simplify the return expression of ovs_ct_limit_get_default_limit()
    d0aab59f0993 perf inject: Fix repipe usage
    d3343a35d108 s390/cpcmd: fix inline assembly register clobbering
    c88fa8d4f994 workqueue: Move the position of debug_work_activate() in __queue_work()
    14060454cdb9 clk: fix invalid usage of list cursor in unregister
    bedda47d5dce clk: fix invalid usage of list cursor in register
    b3717885865c net: macb: restore cmp registers on resume path
    c61fe6b7e21f scsi: ufs: core: Fix wrong Task Tag used in task management request UPIUs
    81fddc7be649 scsi: ufs: core: Fix task management request completion timeout
    f6abec1a3172 scsi: ufs: Use blk_{get,put}_request() to allocate and free TMFs
    a8d2d45c70c7 scsi: ufs: Avoid busy-waiting by eliminating tag conflicts
    c5efc9d26c84 scsi: ufs: Fix irq return code
    537a2449cc6f net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...);
    de8c5962bdae drm/msm: Set drvdata to NULL when msm_drm_init() fails
    e22ce1d21b42 i40e: Fix display statistics for veb_tc
    7c0d2372298f soc/fsl: qbman: fix conflicting alignment attributes
    c178e8a19937 net/rds: Fix a use after free in rds_message_map_pages
    73f88cc2bf5c net/mlx5: Don't request more than supported EQs
    029416e14be2 net/mlx5e: Fix ethtool indication of connector type
    1f3010fc3fe6 ASoC: sunxi: sun4i-codec: fill ASoC card owner
    db4600aa938c net: phy: broadcom: Only advertise EEE for supported modes
    6aa7d2621b19 nfp: flower: ignore duplicate merge hints from FW
    bbbee59f4f32 net/ncsi: Avoid channel_monitor hrtimer deadlock
    c66b672a231c ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces
    c991ca6a2c79 net:tipc: Fix a double free in tipc_sk_mcast_rcv
    200c8453287f cxgb4: avoid collecting SGE_QBASE regs during traffic
    e9bdd3e45f0e gianfar: Handle error code at MAC address change
    516c436ff5d6 can: bcm/raw: fix msg_namelen values depending on CAN_REQUIRED_SIZE
    ca443546f8d4 arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0
    840a181729ac sch_red: fix off-by-one checks in red_check_params()
    accb27006595 amd-xgbe: Update DMA coherency values
    e472f6814ceb hostfs: fix memory handling in follow_link()
    613f35568a5d hostfs: Use kasprintf() instead of fixed buffer formatting
    fec47d458add i40e: Fix kernel oops when i40e driver removes VF's
    c0aacaa0a8f2 i40e: Added Asym_Pause to supported link modes
    f819977ad42c xfrm: Fix NULL pointer dereference on policy lookup
    bac7e764e5d5 ASoC: wm8960: Fix wrong bclk and lrclk with pll enabled for some chips
    b32969aaed1c ASoC: SOF: Intel: HDA: fix core status verification
    99b4e9af8f00 ASoC: SOF: Intel: hda: remove unnecessary parentheses
    540ddeed5c51 esp: delete NETIF_F_SCTP_CRC bit from features for esp offload
    a128e07b472b net: xfrm: Localize sequence counter per network namespace
    34659399e713 regulator: bd9571mwv: Fix AVS and DVFS voltage range
    d78e99dd4960 xfrm: interface: fix ipv4 pmtu check to honor ip header df
    7977d5fe3d5b net: dsa: lantiq_gswip: Configure all remaining GSWIP_MII_CFG bits
    249908ed36a8 net: dsa: lantiq_gswip: Don't use PHY auto polling
    910e785ba8de virtio_net: Add XDP meta data support
    0534f1f1bc76 i2c: turn recovery error on init to debug
    cafced041915 usbip: synchronize event handler with sysfs code paths
    37168011d427 usbip: vudc synchronize sysfs code paths
    06fedcc6870e usbip: stub-dev synchronize sysfs code paths
    6a435364b608 usbip: add sysfs_lock to synchronize sysfs code paths
    b02bded94b91 net: let skb_orphan_partial wake-up waiters.
    fd8a95d56050 net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()
    b5e7653ffdd1 net: hsr: Reset MAC header for Tx path
    a9311be5f617 mac80211: fix TXQ AC confusion
    5a4f39f19e6f net: sched: sch_teql: fix null-pointer dereference
    2f5edf14f62a i40e: Fix sparse error: 'vsi->netdev' could be null
    b31d91e9e8c8 i40e: Fix sparse warning: missing error code 'err'
    599200ad44e7 net: ensure mac header is set in virtio_net_hdr_to_skb()
    158a9b815c54 bpf, sockmap: Fix sk->prot unhash op reset
    0242251d6a97 ethernet/netronome/nfp: Fix a use after free in nfp_bpf_ctrl_msg_rx
    4a2933c88399 net: hso: fix null-ptr-deref during tty device unregistration
    ef2ccf84071f ice: Cleanup fltr list in case of allocation issues
    0df579b3de8c ice: Fix for dereference of NULL pointer
    1aecc5781101 ice: Increase control queue timeout
    9de1caa1103f batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field
    79407ae3475e ARM: dts: turris-omnia: configure LED[2]/INTn pin as interrupt pin
    9dfd74a8c015 parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
    957d0308aa36 parisc: parisc-agp requires SBA IOMMU driver
    507c2009dc4c fs: direct-io: fix missing sdio->boundary
    f495bedb001b ocfs2: fix deadlock between setattr and dio_end_io_write
    52999a66c0b3 nds32: flush_dcache_page: use page_mapping_file to avoid races with swapoff
    75fd54ea1b60 ia64: fix user_stack_pointer() for ptrace()
    7a92396bf8dd gcov: re-fix clang-11+ support
    c2b3cf2c70d6 drm/i915: Fix invalid access to ACPI _DSM objects
    0e8f850e26b2 net: dsa: lantiq_gswip: Let GSWIP automatically set the xMII clock
    6649b5eda131 net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh
    a09acbb53934 xen/evtchn: Change irq_info lock to raw_spinlock_t
    aa0cff2e0751 nfc: Avoid endless loops caused by repeated llcp_sock_connect()
    404daa4d62a3 nfc: fix memory leak in llcp_sock_connect()
    41bc58ba0945 nfc: fix refcount leak in llcp_sock_connect()
    c89903c9eff2 nfc: fix refcount leak in llcp_sock_bind()
    12289d9840d6 ASoC: intel: atom: Stop advertising non working S24LE support
    c99780f782aa ALSA: hda/realtek: Fix speaker amp setup on Acer Aspire E1
    da8f3cc5771e ALSA: aloop: Fix initialization of controls
    8732c2df9d15 counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register

(From OE-Core rev: bd41c1b7170b4d27bebac0a4387cad070c41e03d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
c6f0f24dba linux-yocto-rt/5.10: update to -rt34
Integrating the following commit(s) to linux-yocto/5.10:

    ac98a75ef2bc net/xfrm: fixup 5.10.30 -stable merge

(From OE-Core rev: 2e7dd8afd0dbe7803170006297309b6699b98f34)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
6698385521 linux-yocto/5.10: update to v5.10.30
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    1e798745fa8e Linux 5.10.30
    b451aed56348 Revert "net: sched: bump refcount for new action in ACT replace mode"
    a22115c3492f net: ieee802154: stop dump llsec params for monitors
    f872fb3feadd net: ieee802154: forbid monitor for del llsec seclevel
    a933bcbb1f7f net: ieee802154: forbid monitor for set llsec params
    0238c7b47f77 net: ieee802154: fix nl802154 del llsec devkey
    d06a96e72803 net: ieee802154: fix nl802154 add llsec key
    399f38c420ee net: ieee802154: fix nl802154 del llsec dev
    07699fcce052 net: ieee802154: fix nl802154 del llsec key
    8bfb45fa131d net: ieee802154: nl-mac: fix check on panid
    38731bbcd9f0 net: mac802154: Fix general protection fault
    9f51a42d81f6 drivers: net: fix memory leak in peak_usb_create_dev
    160ac0d55d52 drivers: net: fix memory leak in atusb_probe
    4d9117b7404a net: tun: set tun->dev->addr_len during TUNSETLINK processing
    26ab092615f5 cfg80211: remove WARN_ON() in cfg80211_sme_connect
    138a6e1dc35e gpiolib: Read "gpio-line-names" from a firmware node
    300368c59cf0 net: sched: bump refcount for new action in ACT replace mode
    982dd14fba0f dt-bindings: net: ethernet-controller: fix typo in NVMEM
    c65a000a236e lockdep: Address clang -Wformat warning printing for %hd
    4c4aa344edf4 clk: socfpga: fix iomem pointer cast on 64-bit
    674ddb52f94b RAS/CEC: Correct ce_add_elem()'s returned values
    253acf2e983b vdpa/mlx5: Fix wrong use of bit numbers
    0ddb34c2ccce vdpa/mlx5: should exclude header length and fcs from mtu
    5700c3d4abb2 RDMA/addr: Be strict with gid size
    e53ff6e59144 i40e: Fix parameters in aq_get_phy_register()
    999852207464 drm/vc4: crtc: Reduce PV fifo threshold on hvs4
    d8a0861e269d RDMA/qedr: Fix kernel panic when trying to access recv_cq
    3fa7ae3f3754 perf report: Fix wrong LBR block sorting
    7f40e9332898 RDMA/cxgb4: check for ipv6 address properly while destroying listener
    03ad6a2521a0 net/mlx5: Fix PBMC register mapping
    1312f11eb33d net/mlx5: Fix PPLM register mapping
    f92faf0bdd25 net/mlx5: Fix placement of log_max_flow_counter
    f780a0808827 net: hns3: clear VF down state bit before request link status
    f473789db536 tipc: increment the tmp aead refcnt before attaching it
    3292c4fc9ce2 can: mcp251x: fix support for half duplex SPI host controllers
    a96f1ed70927 iwlwifi: fix 11ax disabled bit in the regulatory capability flags
    363d610a9652 i2c: designware: Adjust bus_freq_hz when refuse high speed mode set
    cc5418973cc9 openvswitch: fix send of uninitialized stack memory in ct limit reply
    3e288c3a7d55 net: openvswitch: conntrack: simplify the return expression of ovs_ct_limit_get_default_limit()
    3b70c6f26364 perf inject: Fix repipe usage
    d9dc1b406cb9 s390/cpcmd: fix inline assembly register clobbering
    7943f749f0d2 workqueue: Move the position of debug_work_activate() in __queue_work()
    b3f29ed5dd4b clk: fix invalid usage of list cursor in unregister
    2307baac56af clk: fix invalid usage of list cursor in register
    d9c55b2d3368 net: macb: restore cmp registers on resume path
    af36da5becfb net: cls_api: Fix uninitialised struct field bo->unlocked_driver_cb
    ffd5f1e87c15 scsi: ufs: core: Fix wrong Task Tag used in task management request UPIUs
    ff9231ddfec8 scsi: ufs: core: Fix task management request completion timeout
    71ee255d0698 mptcp: forbit mcast-related sockopt on MPTCP sockets
    24bbfe89b1c7 net: udp: Add support for getsockopt(..., ..., UDP_GRO, ..., ...);
    a08d5d3bec53 drm/msm: Set drvdata to NULL when msm_drm_init() fails
    7290bf419894 RDMA/rtrs-clt: Close rtrs client conn before destroying rtrs clt session files
    49cfa2b20193 i40e: Fix display statistics for veb_tc
    e8c96b57a781 soc/fsl: qbman: fix conflicting alignment attributes
    553290002aa8 xdp: fix xdp_return_frame() kernel BUG throw for page_pool memory model
    4cfae7b23889 net/rds: Fix a use after free in rds_message_map_pages
    05bbe9d85a4c net/mlx5: Don't request more than supported EQs
    86530effd18f net/mlx5e: Fix ethtool indication of connector type
    bde64eac2379 net/mlx5e: Fix mapping of ct_label zero
    d65b66ca3334 ASoC: sunxi: sun4i-codec: fill ASoC card owner
    dcdf0876b040 I2C: JZ4780: Fix bug for Ingenic X1000.
    f295dfc831bc net: phy: broadcom: Only advertise EEE for supported modes
    7a896e189361 nfp: flower: ignore duplicate merge hints from FW
    6af631d1caf2 net: qrtr: Fix memory leak on qrtr_tx_wait failure
    dfe7805e6aa6 net/ncsi: Avoid channel_monitor hrtimer deadlock
    ae4a8d10ac8b ARM: dts: imx6: pbab01: Set vmmc supply for both SD interfaces
    e5e5ecc9d9fd net:tipc: Fix a double free in tipc_sk_mcast_rcv
    f273e3726e14 cxgb4: avoid collecting SGE_QBASE regs during traffic
    63a64c366ce0 net: dsa: Fix type was not set for devlink port
    ed613d96842e gianfar: Handle error code at MAC address change
    1eb5f4e00755 ethernet: myri10ge: Fix a use after free in myri10ge_sw_tso
    759b44d247c6 mlxsw: spectrum: Fix ECN marking in tunnel decapsulation
    d02b68a92905 can: isotp: fix msg_namelen values depending on CAN_REQUIRED_SIZE
    1d3837ca7335 can: bcm/raw: fix msg_namelen values depending on CAN_REQUIRED_SIZE
    58f8f1074039 xfrm: Provide private skb extensions for segmented and hw offloaded ESP packets
    bc0b89a9a28f arm64: dts: imx8mm/q: Fix pad control of SD1_DATA0
    d9670f5e77e5 drivers/net/wan/hdlc_fr: Fix a double free in pvc_xmit
    d38bce5adcd9 sch_red: fix off-by-one checks in red_check_params()
    985c9bb1b594 geneve: do not modify the shared tunnel info when PMTU triggers an ICMP reply
    f3bc1885746f vxlan: do not modify the shared tunnel info when PMTU triggers an ICMP reply
    f33f79703a4e amd-xgbe: Update DMA coherency values
    e5a3449ce16a hostfs: fix memory handling in follow_link()
    3cc4db1213a4 i40e: Fix kernel oops when i40e driver removes VF's
    9856607c9c29 i40e: Added Asym_Pause to supported link modes
    d4d4c6a4ca7c virtchnl: Fix layout of RSS structures
    95d58bf5ed43 xfrm: Fix NULL pointer dereference on policy lookup
    48a443026bb6 ASoC: wm8960: Fix wrong bclk and lrclk with pll enabled for some chips
    f6db9dbfa6b6 ASoC: SOF: Intel: HDA: fix core status verification
    ef4ddd1d6d93 esp: delete NETIF_F_SCTP_CRC bit from features for esp offload
    0224432a8fc1 net: xfrm: Localize sequence counter per network namespace
    1e6a3b41cf2a ARM: OMAP4: PM: update ROM return address for OSWR and OFF
    042b2cad81de ARM: OMAP4: Fix PMIC voltage domains for bionic
    1f51cb88e788 regulator: bd9571mwv: Fix AVS and DVFS voltage range
    b267688ce007 remoteproc: qcom: pil_info: avoid 64-bit division
    c7a175a24b0e xfrm: Use actual socket sk instead of skb socket for xfrm_output_resume
    3b74ce529ece xfrm: interface: fix ipv4 pmtu check to honor ip header df
    2d62d6980c2b ice: Recognize 860 as iSCSI port in CEE mode
    fd92e7aacc16 ice: Refactor DCB related variables out of the ice_port_info struct
    4a78ae127803 net: sched: fix err handler in tcf_action_init()
    3c7d3d188ca7 KVM: x86/mmu: preserve pending TLB flush across calls to kvm_tdp_mmu_zap_sp
    25fc773b21ce KVM: x86/mmu: Don't allow TDP MMU to yield when recovering NX pages
    be2c527b5d39 KVM: x86/mmu: Ensure TLBs are flushed for TDP MMU during NX zapping
    0aa4dd9e5132 KVM: x86/mmu: Ensure TLBs are flushed when yielding during GFN range zap
    3c7a18440638 KVM: x86/mmu: Yield in TDU MMU iter even if no SPTES changed
    85f4ff2b06af KVM: x86/mmu: Ensure forward progress when yielding in TDP MMU iter
    1cd17c5c9b8a KVM: x86/mmu: Rename goal_gfn to next_last_level_gfn
    b4a3a0d27924 KVM: x86/mmu: Merge flush and non-flush tdp_mmu_iter_cond_resched
    8f90432d7f59 KVM: x86/mmu: change TDP MMU yield function returns to match cond_resched
    5ea9e6038d29 i2c: turn recovery error on init to debug
    efa869b68be9 percpu: make pcpu_nr_empty_pop_pages per chunk type
    c441949184a9 scsi: target: iscsi: Fix zero tag inside a trace event
    d8e7fa8509d7 scsi: pm80xx: Fix chip initialization failure
    0c47d8a55f7f driver core: Fix locking bug in deferred_probe_timeout_work_func()
    f06cb4641b15 usbip: synchronize event handler with sysfs code paths
    28dc9237fe83 usbip: vudc synchronize sysfs code paths
    513765b186c9 usbip: stub-dev synchronize sysfs code paths
    68be610c19a5 usbip: add sysfs_lock to synchronize sysfs code paths
    126ce97d39cf thunderbolt: Fix off by one in tb_port_find_retimer()
    256ece954961 thunderbolt: Fix a leak in tb_retimer_add()
    b830650c1a0c net: let skb_orphan_partial wake-up waiters.
    5d9216b85100 net-ipv6: bugfix - raw & sctp - switch to ipv6_can_nonlocal_bind()
    b82816d77875 net: hsr: Reset MAC header for Tx path
    9b9c910ccc19 mac80211: fix TXQ AC confusion
    cc357c29358d mac80211: fix time-is-after bug in mlme
    cc1a702e6ec0 cfg80211: check S1G beacon compat element length
    fea52345f422 nl80211: fix potential leak of ACL params
    42e4450e3790 nl80211: fix beacon head validation
    81692c6add7e net: sched: fix action overwrite reference counting
    cdcf3829f418 net: sched: sch_teql: fix null-pointer dereference
    422eda625516 vdpa/mlx5: Fix suspend/resume index restoration
    89e406e95278 i40e: Fix sparse errors in i40e_txrx.c
    12e1438a0946 i40e: Fix sparse error: uninitialized symbol 'ring'
    2472ba1c46b4 i40e: Fix sparse error: 'vsi->netdev' could be null
    792387118204 i40e: Fix sparse warning: missing error code 'err'
    f0b4c9acf5fe net: ensure mac header is set in virtio_net_hdr_to_skb()
    72c5de25ba83 bpf, sockmap: Fix incorrect fwd_alloc accounting
    00c01de1a994 bpf, sockmap: Fix sk->prot unhash op reset
    d921baabd964 bpf: Refcount task stack in bpf_get_task_stack
    caef7806141a libbpf: Only create rx and tx XDP rings when necessary
    4cc9177b099e libbpf: Restore umem state after socket create failure
    5aa7df172207 libbpf: Ensure umem pointer is non-NULL before dereferencing
    b52e88638f71 ethernet/netronome/nfp: Fix a use after free in nfp_bpf_ctrl_msg_rx
    d86046a77535 bpf: link: Refuse non-O_RDWR flags in BPF_OBJ_GET
    b7004ecafade bpf: Enforce that struct_ops programs be GPL-only
    3015db3de715 libbpf: Fix bail out from 'ringbuf_process_ring()' on error
    dc195928d7e4 net: hso: fix null-ptr-deref during tty device unregistration
    c2743e0a631c ice: fix memory leak of aRFS after resuming from suspend
    6bd4e822925d iwlwifi: pcie: properly set LTR workarounds on 22000 devices
    e5386e87f8aa ice: Cleanup fltr list in case of allocation issues
    9d1c342c5018 ice: Use port number instead of PF ID for WoL
    b69686110291 ice: Fix for dereference of NULL pointer
    4d73a6143d40 ice: remove DCBNL_DEVRESET bit from PF state
    286830a8469c ice: fix memory allocation call
    4686a26e9536 ice: prevent ice_open and ice_stop during reset
    ef7ed8c77d1c ice: Increase control queue timeout
    6590b7bfbc2b ice: Continue probe on link/PHY errors
    9a7bc0c40367 batman-adv: initialize "struct batadv_tvlv_tt_vlan_data"->reserved field
    d1173effc574 ARM: dts: turris-omnia: configure LED[2]/INTn pin as interrupt pin
    4941889535f3 parisc: avoid a warning on u8 cast for cmpxchg on u8 pointers
    597121792eb4 parisc: parisc-agp requires SBA IOMMU driver
    9b54dad28def of: property: fw_devlink: do not link ".*,nr-gpios"
    009c5665278b ethtool: fix incorrect datatype in set_eee ops
    3a675c1b507f fs: direct-io: fix missing sdio->boundary
    b1a5122554ae ocfs2: fix deadlock between setattr and dio_end_io_write
    4fabcf229477 nds32: flush_dcache_page: use page_mapping_file to avoid races with swapoff
    7d9da660affc ia64: fix user_stack_pointer() for ptrace()
    8e5bfafedf6d gcov: re-fix clang-11+ support
    43908139368e LOOKUP_MOUNTPOINT: we are cleaning "jumped" flag too late
    de427b662bfb IB/hfi1: Fix probe time panic when AIP is enabled with a buggy BIOS
    856f60e3e800 ACPI: processor: Fix build when CONFIG_ACPI_PROCESSOR=m
    8599a39adca8 drm/i915: Fix invalid access to ACPI _DSM objects
    bf991df9535e net: dsa: lantiq_gswip: Configure all remaining GSWIP_MII_CFG bits
    c4ae852ec940 net: dsa: lantiq_gswip: Don't use PHY auto polling
    ba39959bfebd net: dsa: lantiq_gswip: Let GSWIP automatically set the xMII clock
    40375bc3d0f9 net: ipv6: check for validity before dereferencing cfg->fc_nlinfo.nlh
    005c5afa9f85 xen/evtchn: Change irq_info lock to raw_spinlock_t
    a28124e8ad03 selinux: fix race between old and new sidtab
    fd75d73aa214 selinux: fix cond_list corruption when changing booleans
    4f29b08e238f selinux: make nslot handling in avtab more robust
    a12a2fa9a129 nfc: Avoid endless loops caused by repeated llcp_sock_connect()
    568ac94df580 nfc: fix memory leak in llcp_sock_connect()
    99b596199e84 nfc: fix refcount leak in llcp_sock_connect()
    6fb003e5ae18 nfc: fix refcount leak in llcp_sock_bind()
    117557711974 ASoC: intel: atom: Stop advertising non working S24LE support
    c4a6fb0e8389 ALSA: hda/conexant: Apply quirk for another HP ZBook G5 model
    6c9119de7ffe ALSA: hda/realtek: Fix speaker amp setup on Acer Aspire E1
    6efe4c1f4d17 ALSA: aloop: Fix initialization of controls
    4c933ff31f21 xfrm/compat: Cleanup WARN()s that can be user-triggered

(From OE-Core rev: aec9a6d709f14decd65013434f13a26c57e9196f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
55d65fc106 linux-yocto/5.4: update to v5.4.111
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    a49e5ea5e045 Linux 5.4.111
    45f540622d5b init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM
    43dd03f08819 init/Kconfig: make COMPILE_TEST depend on !S390
    f5eb7e12a75d nvme-mpath: replace direct_make_request with generic_make_request
    6cce30548058 bpf, x86: Validate computation of branch displacements for x86-32
    a0b3927a07be bpf, x86: Validate computation of branch displacements for x86-64
    20c60bbc1c54 cifs: Silently ignore unknown oplock break handle
    754c82a6bf48 cifs: revalidate mapping when we open files for SMB1 POSIX
    e5991b4fcedb ia64: fix format strings for err_inject
    3e9292b39862 ia64: mca: allocate early mca with GFP_ATOMIC
    9b872bac1923 scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
    e2db0e66139a x86/build: Turn off -fcf-protection for realmode targets
    0465098898ef platform/x86: thinkpad_acpi: Allow the FnLock LED to change state
    5a8c30e8acad netfilter: conntrack: Fix gre tunneling over ipv6
    e84a795b8a0b drm/msm: Ratelimit invalid-fence message
    daf5aaa8e6e0 drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs
    6abe3dad0afe mac80211: choose first enabled channel for monitor
    37b51460b25a mISDN: fix crash in fritzpci
    901d39f7b2ce net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
    dc7c4d30d6e0 net/mlx5e: Enforce minimum value check for ICOSQ size
    b0e2b3271236 bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_comp
    e5868baa1e3c platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2
    422c68101110 bus: ti-sysc: Fix warning on unbind if reset is not deasserted
    bec7103b04a9 ARM: dts: am33xx: add aliases for mmc interfaces
    59c8e3329268 Linux 5.4.110
    cde4e338c2b2 drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
    0ca13611d33f staging: rtl8192e: Change state information from u16 to u8
    f9974f189c67 staging: rtl8192e: Fix incorrect source in memcpy()
    fd5ce87aee48 usb: dwc2: Prevent core suspend when port connection flag is 0
    85e1752ae0ed usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
    26d2284a0580 usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
    25c13ca8302f USB: cdc-acm: fix use-after-free after probe failure
    b5aedddb621e USB: cdc-acm: fix double free on probe failure
    7220bba3066e USB: cdc-acm: downgrade message to debug
    62da51d0e7b7 USB: cdc-acm: untangle a circular dependency between callback and softint
    7443350af8cb cdc-acm: fix BREAK rx code path adding necessary calls
    58cace45f84b usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
    a22e35f7b4fb usb: musb: Fix suspend with devices connected for a64
    e94dec2765b5 USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
    2ecf5803557b usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
    5ecfad1efbc3 firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
    58073dc536a6 extcon: Fix error handling in extcon_dev_register
    e3a3d5005e63 extcon: Add stubs for extcon_register_notifier_all() functions
    67ff75be1ab1 pinctrl: rockchip: fix restore error in resume
    c92e8a8ecb9d vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
    7f93d47677dd reiserfs: update reiserfs_xattrs_initialized() condition
    4dc52ce56d63 drm/amdgpu: check alignment on CPU page for bo map
    f9b3b70fd468 drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
    00bd9c22409e mm: fix race by making init_zero_pfn() early_initcall
    558ab52776c0 tracing: Fix stack trace event size
    07b19a118d2f PM: runtime: Fix ordering in pm_runtime_get_suppliers()
    72a667681cc4 PM: runtime: Fix race getting/putting suppliers at probe
    b6e7dbf0ed9c xtensa: move coprocessor_flush to the .text section
    c3715f06f9ad ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
    09a08fd89996 ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
    3acbf473a885 ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
    65f92e40cc6d ALSA: hda: Re-add dropped snd_poewr_change_state() calls
    05dd1a4223c5 ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
    42c83e3bca43 bpf: Remove MTU check in __bpf_skb_max_len
    aca623d79cb7 net: wan/lmc: unregister device when no matching device is found
    f22854911523 appletalk: Fix skb allocation size in loopback case
    4ff476b88135 net: ethernet: aquantia: Handle error cleanup of start on open
    ee898d95f446 ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
    0b8dfb61f29a brcmfmac: clear EAP/association status bits on linkdown events
    2d0e594c1316 can: tcan4x5x: fix max register value
    4ac1feff6ea6 net: introduce CAN specific pointer in the struct net_device
    23394679aa56 can: dev: move driver related infrastructure into separate subdir
    7ca4feb37e9e flow_dissector: fix TTL and TOS dissection on IPv4 fragments
    ee5055593d0e net: mvpp2: fix interrupt mask/unmask skip condition
    aa9345d10f0a ext4: do not iput inode under running transaction in ext4_rename()
    5e39a73e47ef locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
    84bd602c14b7 thermal/core: Add NULL pointer check before using cooling device stats
    50c38f76b51d ASoC: rt5659: Update MCLK rate in set_sysclk()
    b6408fd7eb89 staging: comedi: cb_pcidas64: fix request_irq() warn
    b9fe8673b874 staging: comedi: cb_pcidas: fix request_irq() warn
    7390a1cdf304 scsi: qla2xxx: Fix broken #endif placement
    6e79f829e791 scsi: st: Fix a use after free in st_open()
    98052c40e3ac vhost: Fix vhost_vq_reset()
    57aa4f30911a powerpc: Force inlining of cpu_has_feature() to avoid build failure
    dcf4b6e710c7 NFSD: fix error handling in NFSv4.0 callbacks
    990a0fa1ccbb ASoC: cs42l42: Always wait at least 3ms after reset
    6d197691a1c5 ASoC: cs42l42: Fix mixer volume control
    aa74bf73937c ASoC: cs42l42: Fix channel width support
    47ae33d5b32b ASoC: cs42l42: Fix Bitclock polarity inversion
    5952cf385ceb ASoC: es8316: Simplify adc_pga_gain_tlv table
    381679aec216 ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
    57b8a192872a ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
    b75073a37c65 ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
    ca3f8dcd6d94 iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
    c899b8391a54 rpc: fix NULL dereference on kmalloc failure
    0e71c59b2450 fs: nfsd: fix kconfig dependency warning for NFSD_V4
    9b68d3ed8aa8 ext4: fix bh ref count on error paths
    721a6f64c0bc ext4: shrink race window in ext4_should_retry_alloc()
    05d891e76dde module: harden ELF info handling
    6a8df0821f67 module: avoid *goto*s in module_sig_check()
    d9b98ccdfed0 module: merge repetitive strings in module_sig_check()
    1a8c5fbe2f1d modsign: print module name along with error message
    120589bb0970 ipv6: weaken the v4mapped source check
    1225bb45c87b selinux: vsock: Set SID for socket returned by accept()

(From OE-Core rev: 199566a40671ac273028cb44d0bb4494be22c4aa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
376f5cc843 linux-yocto/5.10: update to v5.10.29
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    d8cf82b410b4 Linux 5.10.29
    cef13a04376b init/Kconfig: make COMPILE_TEST depend on HAS_IOMEM
    ba02635769f1 init/Kconfig: make COMPILE_TEST depend on !S390
    faa30969f66e bpf, x86: Validate computation of branch displacements for x86-32
    3edb8967d91e bpf, x86: Validate computation of branch displacements for x86-64
    f890246ae75c tools/resolve_btfids: Add /libbpf to .gitignore
    76983e244908 kbuild: Do not clean resolve_btfids if the output does not exist
    0945d67e5d43 kbuild: Add resolve_btfids clean to root clean target
    eff1e0465727 tools/resolve_btfids: Set srctree variable unconditionally
    f60c918b07b7 tools/resolve_btfids: Check objects before removing
    249719092447 tools/resolve_btfids: Build libbpf and libsubcmd in separate directories
    2934985086b9 math: Export mul_u64_u64_div_u64
    7345d4b2d421 io_uring: fix timeout cancel return code
    8f9049e70cd6 cifs: Silently ignore unknown oplock break handle
    fee111089cc9 cifs: revalidate mapping when we open files for SMB1 POSIX
    42498ee67296 ia64: fix format strings for err_inject
    bc30fdd598e3 ia64: mca: allocate early mca with GFP_ATOMIC
    b008489d8b86 selftests/vm: fix out-of-tree build
    47f8bc68ae95 scsi: target: pscsi: Clean up after failure in pscsi_map_sg()
    266d3106efbd ptp_qoriq: fix overflow in ptp_qoriq_adjfine() u64 calcalation
    f135b89e286b platform/x86: intel_pmc_core: Ignore GBE LTR on Tiger Lake platforms
    037950869be3 block: clear GD_NEED_PART_SCAN later in bdev_disk_changed
    7c73059bf849 x86/build: Turn off -fcf-protection for realmode targets
    6372aa9a78f8 drm/msm/disp/dpu1: icc path needs to be set before dpu runtime resume
    6deb9d9a84a2 kselftest/arm64: sve: Do not use non-canonical FFR register value
    bcd57b07fd90 platform/x86: thinkpad_acpi: Allow the FnLock LED to change state
    6304295c6190 net: ipa: fix init header command validation
    8a57256e0548 netfilter: nftables: skip hook overlap logic if flowtable is stale
    b0c795f4cc53 netfilter: conntrack: Fix gre tunneling over ipv6
    439c2c22fb85 drm/msm: Ratelimit invalid-fence message
    57e0546f01ca drm/msm/adreno: a5xx_power: Don't apply A540 lm_setup to other GPUs
    b9ec77ef36af drm/msm/dsi_pll_7nm: Fix variable usage for pll_lockdet_rate
    0a66bd60b1ce mac80211: choose first enabled channel for monitor
    7705c48b8695 mac80211: Check crypto_aead_encrypt for errors
    05878b681981 mISDN: fix crash in fritzpci
    4ca265610cc6 kunit: tool: Fix a python tuple typing error
    f0ed115feccc net: pxa168_eth: Fix a potential data race in pxa168_eth_remove
    4b4ce9895e64 net/mlx5e: Enforce minimum value check for ICOSQ size
    198afc3b0c01 bpf, x86: Use kvmalloc_array instead kmalloc_array in bpf_jit_comp
    107875a53868 platform/x86: intel-hid: Support Lenovo ThinkPad X1 Tablet Gen 2
    4c875e034dfb bus: ti-sysc: Fix warning on unbind if reset is not deasserted
    5c6f778e8f7d ARM: dts: am33xx: add aliases for mmc interfaces
    ecdfb9d70fb8 Linux 5.10.28
    7973a0dad073 bpf: Use NOP_ATOMIC5 instead of emit_nops(&prog, 5) for BPF_TRAMP_F_CALL_ORIG
    12b5f9dae410 Revert "kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing"
    6ae5eaee1ea5 riscv: evaluate put_user() arg before enabling user access
    61f0c3e8098f drivers: video: fbcon: fix NULL dereference in fbcon_cursor()
    d06d0b3cf626 driver core: clear deferred probe reason on probe retry
    d29c38dd926d staging: rtl8192e: Change state information from u16 to u8
    538b96315375 staging: rtl8192e: Fix incorrect source in memcpy()
    84e5203fd277 soc: qcom-geni-se: Cleanup the code to remove proxy votes
    996a5782faef usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable
    1808ee421ce5 usb: dwc3: qcom: skip interconnect init for ACPI probe
    137dfed1552a usb: dwc2: Prevent core suspend when port connection flag is 0
    4e28aca96729 usb: dwc2: Fix HPRT0.PrtSusp bit setting for HiKey 960 board.
    77c0d6af858b usb: gadget: udc: amd5536udc_pci fix null-ptr-dereference
    6f86681691c2 USB: cdc-acm: fix use-after-free after probe failure
    64deff1f4e0f USB: cdc-acm: fix double free on probe failure
    439a27521112 USB: cdc-acm: downgrade message to debug
    511302531eb8 USB: cdc-acm: untangle a circular dependency between callback and softint
    e700e3aec303 cdc-acm: fix BREAK rx code path adding necessary calls
    9efa606a83e0 usb: xhci-mtk: fix broken streams issue on 0.96 xHCI
    1addcb1f77d6 usb: musb: Fix suspend with devices connected for a64
    15e61d9ae7ac USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem
    4027d6e88fef usbip: vhci_hcd fix shift out-of-bounds in vhci_hub_control()
    c04adcc819d3 firewire: nosy: Fix a use-after-free bug in nosy_ioctl()
    2c7d85026324 video: hyperv_fb: Fix a double free in hvfb_probe
    a267a7e1c0ca usb: dwc3: pci: Enable dis_uX_susphy_quirk for Intel Merrifield
    bf4c643192b3 firmware: stratix10-svc: reset COMMAND_RECONFIG_FLAG_PARTIAL to 0
    3b681a1c43b6 extcon: Fix error handling in extcon_dev_register
    023d13952e9b extcon: Add stubs for extcon_register_notifier_all() functions
    0fe56e294cef pinctrl: rockchip: fix restore error in resume
    80ee9e02be3d vfio/nvlink: Add missing SPAPR_TCE_IOMMU depends
    d2308dd5119b drm/tegra: sor: Grab runtime PM reference across reset
    f552f95853f8 drm/tegra: dc: Restore coupling of display controllers
    77a8e6f792d5 drm/imx: fix memory leak when fails to init
    74612ecdf263 reiserfs: update reiserfs_xattrs_initialized() condition
    8c71f5b30955 drm/amdgpu: check alignment on CPU page for bo map
    78ceecd2ed45 drm/amdgpu: fix offset calculation in amdgpu_vm_bo_clear_mappings()
    28f901fe1634 drm/amdkfd: dqm fence memory corruption
    ec3e06e06f76 mm: fix race by making init_zero_pfn() early_initcall
    d88b557b9b73 s390/vdso: fix tod_steering_delta type
    b332265430c8 s390/vdso: copy tod_steering_delta value to vdso_data page
    f706acc9312b tracing: Fix stack trace event size
    cc038ab785a8 PM: runtime: Fix ordering in pm_runtime_get_suppliers()
    da2976cd711b PM: runtime: Fix race getting/putting suppliers at probe
    e6d8eb65532e KVM: SVM: ensure that EFER.SVME is set when running nested guest or on nested vmexit
    5f6625f5cd5c KVM: SVM: load control fields from VMCB12 before checking them
    6aaa3c2ebb4f xtensa: move coprocessor_flush to the .text section
    a3be911a5fee xtensa: fix uaccess-related livelock in do_page_fault
    bcd7999c03ed ALSA: hda/realtek: fix mute/micmute LEDs for HP 640 G8
    ee58eee4501f ALSA: hda/realtek: call alc_update_headset_mode() in hp_automute_hook
    f235ffa56b8e ALSA: hda/realtek: fix a determine_headset_type issue for a Dell AIO
    6d91f3afb632 ALSA: hda: Add missing sanity checks in PM prepare/complete callbacks
    b3116cda4e52 ALSA: hda: Re-add dropped snd_poewr_change_state() calls
    474d3d65784e ALSA: usb-audio: Apply sample rate quirk to Logitech Connect
    e525cd364c09 ACPI: processor: Fix CPU0 wakeup in acpi_idle_play_dead()
    cdd192a20b06 ACPI: tables: x86: Reserve memory occupied by ACPI tables
    fd38d4e6757b bpf: Remove MTU check in __bpf_skb_max_len
    ff64f33bc93b net: 9p: advance iov on empty read
    84877db1cdea net: wan/lmc: unregister device when no matching device is found
    33a6b3eea44b net: ipa: fix register write command validation
    44d76042c038 net: ipa: remove two unused register definitions
    c805f215e9c5 appletalk: Fix skb allocation size in loopback case
    f2294a707f63 net: ethernet: aquantia: Handle error cleanup of start on open
    7d3ffc0993fe ath10k: hold RCU lock when calling ieee80211_find_sta_by_ifaddr()
    221528c20e5e iwlwifi: pcie: don't disable interrupts for reg_lock
    f33d87047323 netdevsim: dev: Initialize FIB module after debugfs
    660bf76aec07 rtw88: coex: 8821c: correct antenna switch function
    b5777172cce2 ath11k: add ieee80211_unregister_hw to avoid kernel crash caused by NULL pointer
    731c4447e6db brcmfmac: clear EAP/association status bits on linkdown events
    4094194d103b can: tcan4x5x: fix max register value
    1a5751d58b14 net: introduce CAN specific pointer in the struct net_device
    9e35159c6e9a can: dev: move driver related infrastructure into separate subdir
    e3ccad57ac09 flow_dissector: fix TTL and TOS dissection on IPv4 fragments
    8fe47a33944f net: mvpp2: fix interrupt mask/unmask skip condition
    44c816c8b9ab io_uring: call req_set_fail_links() on short send[msg]()/recv[msg]() with MSG_WAITALL
    5038c1122e13 ext4: do not iput inode under running transaction in ext4_rename()
    eb8049d85a92 static_call: Align static_call_is_init() patching condition
    21c2bbc17b6b io_uring: imply MSG_NOSIGNAL for send[msg]()/recv[msg]() calls
    fa068ee3f37e nvmet-tcp: fix kmap leak when data digest in use
    3ac4aaff387b locking/ww_mutex: Fix acquire/release imbalance in ww_acquire_init()/ww_acquire_fini()
    905ef030bdf9 locking/ww_mutex: Simplify use_ww_ctx & ww_ctx handling
    1e2a75c24a48 thermal/core: Add NULL pointer check before using cooling device stats
    cf51b6145b9d ASoC: rt711: add snd_soc_component remove callback
    805645d89a20 ASoC: rt5659: Update MCLK rate in set_sysclk()
    7d4344fd3ee0 staging: comedi: cb_pcidas64: fix request_irq() warn
    e833d5716fbb staging: comedi: cb_pcidas: fix request_irq() warn
    4cd96a0de7a1 scsi: qla2xxx: Fix broken #endif placement
    3860814ef620 scsi: st: Fix a use after free in st_open()
    861fc287e036 io_uring: fix ->flags races by linked timeouts
    e1f8c95c1110 vhost: Fix vhost_vq_reset()
    7f6518ec6ee9 kernel: freezer should treat PF_IO_WORKER like PF_KTHREAD for freezing
    540a1ebf3c23 NFSD: fix error handling in NFSv4.0 callbacks
    73df108e3aec ASoC: cs42l42: Always wait at least 3ms after reset
    9b7b92c4b92d ASoC: cs42l42: Fix mixer volume control
    20b39eb99598 ASoC: cs42l42: Fix channel width support
    0d3753babfa7 ASoC: cs42l42: Fix Bitclock polarity inversion
    ed47acc0c888 ASoC: soc-core: Prevent warning if no DMI table is present
    294d4c2b4fda ASoC: es8316: Simplify adc_pga_gain_tlv table
    f134a436d766 ASoC: sgtl5000: set DAP_AVC_CTRL register to correct default value on probe
    b057d540ad2c ASoC: rt5651: Fix dac- and adc- vol-tlv values being off by a factor of 10
    ed4cdb772680 ASoC: rt5640: Fix dac- and adc- vol-tlv values being off by a factor of 10
    4bac395e0b8a ASoC: rt1015: fix i2c communication error
    4eff80b14014 iomap: Fix negative assignment to unsigned sis->pages in iomap_swapfile_activate
    5fb71b231c4e rpc: fix NULL dereference on kmalloc failure
    9e9aa1c03c33 fs: nfsd: fix kconfig dependency warning for NFSD_V4
    e178f362f095 ext4: fix bh ref count on error paths
    4b3139576a20 ext4: shrink race window in ext4_should_retry_alloc()
    1bfb046d29e3 virtiofs: Fail dax mount if device does not support it
    e21d2b92354b bpf: Fix fexit trampoline.
    68abc0115617 arm64: mm: correct the inside linear map range during hotplug check

(From OE-Core rev: 255ec8ff86d31c3464c30c26bdb15f01563b088e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
7f7281cb6d linux-yocto/5.10: BSP configuration fixes
Integrating the following commit(s) to linux-yocto/5.10.:

    fa039db710c qemuppc64: Enable the RTC driver
    f6cfc23fbfc nxp-s32g2xx: add HSE UIO related configs to make hse demo work
    2b445fb1e0b firmware: fix CONFIG_FW_LOADER option mismatch warning
    60dde01d949 nxp-imx8: Correct DRM_TTM config and delete redundant config
    07119316ee5 xlnx: bsp: drop obsolete kernel options for xilinx-zynqmp and xilinx-zynq
    0cf78165f8e bcm-2xxx-rpi: update v5.10 kernel config for raspberrypi 4b platform
    9b5a9e46778 marvell-cn96xx: Add the preempt-rt support

(From OE-Core rev: 6186f21b29e7a152d34c620e81878bf6eff6519d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
He Zhe
0596dc8d51 linux-yocto-dev: add features/scsi/scsi-debug.scc features/gpio/mockup.scc to KERNEL_FEATURES
Add features/scsi/scsi-debug.scc and features/gpio/mockup.scc to
KERNEL_FEATURES to meet ptest requirement as what we did for other
linux-yocto*.

(From OE-Core rev: fd27f302df886c27cb424191c27152ad9d0e8d80)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
995acdd74e linux-yocto/5.10: update to v5.10.27
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    472493c8a425 Linux 5.10.27
    3a1ca9bd4f5a xen-blkback: don't leak persistent grants from xen_blkbk_map()
    03a1c3253f25 can: peak_usb: Revert "can: peak_usb: add forgotten supported devices"
    f12d05f70282 nvme: fix the nsid value to print in nvme_validate_or_alloc_ns
    36478a9ec5af Revert "net: bonding: fix error return code of bond_neigh_init()"
    451ba16cc5b7 Revert "xen: fix p2m size in dom0 for disabled memory hotplug case"
    df61d3cff422 fs/ext4: fix integer overflow in s_log_groups_per_flex
    0229b5926dc9 ext4: add reclaim checks to xattr code
    25e809bf8bec mac80211: fix double free in ibss_leave
    39e1a35ea65a net: dsa: b53: VLAN filtering is global to all users
    d3b5a04b8ce5 r8169: fix DMA being used after buffer free if WoL is enabled
    8dc08a2962c8 can: dev: Move device back to init netns on owning netns delete
    24256b4d87eb ch_ktls: fix enum-conversion warning
    6f15c02ebbe9 fs/cachefiles: Remove wait_bit_key layout dependency
    002ea848d7fd mm/memcg: fix 5.10 backport of splitting page memcg
    2c163520e12b x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc()
    c6c9bc4f261d locking/mutex: Fix non debug version of mutex_lock_io_nested()
    d4ce2a8f465d cifs: Adjust key sizes and key generation routines for AES256 encryption
    86cc799e1d9d smb3: fix cached file size problems in duplicate extents (reflink)
    2423511cc5ba scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
    6b977fea78de scsi: qedi: Fix error return code of qedi_alloc_global_queues()
    62bb066cdfb6 scsi: Revert "qla2xxx: Make sure that aborted commands are freed"
    fc062d21c011 block: recalculate segment count for multi-segment discards correctly
    dcf2dfc1614d io_uring: fix provide_buffers sign extension
    efb334c4e5ff perf synthetic events: Avoid write of uninitialized memory when generating PERF_RECORD_MMAP* records
    5febe60a8021 perf auxtrace: Fix auxtrace queue conflict
    4a5891992c68 ACPI: scan: Use unique number for instance_no
    2ba9964a9653 ACPI: scan: Rearrange memory allocation in acpi_device_add()
    c33f918758fa Revert "netfilter: x_tables: Update remaining dereference to RCU"
    de2e6b4e32d6 mm/mmu_notifiers: ensure range_end() is paired with range_start()
    42aa210795d8 dm table: Fix zoned model check and zone sectors check
    3fdebc2d8e79 netfilter: x_tables: Use correct memory barriers.
    520be4d1af9c Revert "netfilter: x_tables: Switch synchronization to RCU"
    87771c9b09bb net: phy: broadcom: Fix RGMII delays for BCM50160 and BCM50610M
    485335a637c8 net: phy: broadcom: Set proper 1000BaseX/SGMII interface mode for BCM54616S
    837a3ae33459 net: phy: broadcom: Avoid forward for bcm54xx_config_clock_delay()
    9a5267264fc2 net: phy: introduce phydev->port
    c4934e65c8bc net: axienet: Fix probe error cleanup
    3e08fd4a8298 net: axienet: Properly handle PCS/PMA PHY for 1000BaseX mode
    d65e7d0c7449 igb: avoid premature Rx buffer reuse
    c7eb3e12f18f net, bpf: Fix ip6ip6 crash with collect_md populated skbs
    0a245acbce89 net: Consolidate common blackhole dst ops
    33cd5f88b5bf bpf: Don't do bpf_cgroup_storage_set() for kuprobe/tp programs
    d95696f537d6 RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server
    b740e58324c8 xen/x86: make XEN_BALLOON_MEMORY_HOTPLUG_LIMIT depend on MEMORY_HOTPLUG
    889c56ea941e octeontx2-af: Fix memory leak of object buf
    558454ec5170 net: bridge: don't notify switchdev for local FDB addresses
    7d019b2d0f27 PM: EM: postpone creating the debugfs dir till fs_initcall
    08a5f812ad6c net/mlx5e: Fix error path for ethtool set-priv-flag
    624f0dc8f7f4 net/mlx5e: Offload tuple rewrite for non-CT flows
    c83207bb02d6 net/mlx5e: Allow to match on MPLS parameters only for MPLS over UDP
    0be13d01473a net/mlx5: Add back multicast stats for uplink representor
    65c021e73590 PM: runtime: Defer suspending suppliers
    3db5fc556515 arm64: kdump: update ppos when reading elfcorehdr
    447a011bb40d drm/msm: Fix suspend/resume on i.MX5
    c7552dee62a0 drm/msm: fix shutdown hook in case GPU components failed to bind
    0b7bc92c1986 can: isotp: tx-path: zero initialize outgoing CAN frames
    ccd5565feea3 bpf: Fix umd memory leak in copy_process()
    eeadce8811d3 libbpf: Fix BTF dump of pointer-to-array-of-struct
    7693b64ae508 selftests: forwarding: vxlan_bridge_1d: Fix vxlan ecn decapsulate value
    5ebb9947b488 selinux: vsock: Set SID for socket returned by accept()
    1e01729999c0 net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes
    961d9a6e47b9 r8152: limit the RX buffer size of RTL8153A for USB 2.0
    2330d46db081 igb: check timestamp validity
    421e0d731070 net: cdc-phonet: fix data-interface release on probe failure
    943e1583bf8a net: check all name nodes in __dev_alloc_name
    748a158359d7 octeontx2-af: fix infinite loop in unmapping NPC counter
    b553f45c76ec octeontx2-pf: Clear RSS enable flag on interace down
    11e94cfa9dd8 octeontx2-af: Fix irq free in rvu teardown
    da517ca38dc6 octeontx2-af: Remove TOS field from MKEX TX
    1055796ca031 octeontx2-af: Modify default KEX profile to extract TX packet fields
    f896ae2886d1 octeontx2-af: Formatting debugfs entry rsrc_alloc.
    5f64c4c550c8 ipv6: weaken the v4mapped source check
    9e48a3bc8ba2 ARM: dts: imx6ull: fix ubi filesystem mount failed
    b4c574e4b471 libbpf: Use SOCK_CLOEXEC when opening the netlink socket
    86e525bc04f2 libbpf: Fix error path in bpf_object__elf_init()
    4280132339ce netfilter: flowtable: Make sure GC works periodically in idle system
    186d8dc40a65 netfilter: nftables: allow to update flowtable flags
    4a741b4df032 netfilter: nftables: report EOPNOTSUPP on unsupported flowtable flags
    a96a8cb0500a net/sched: cls_flower: fix only mask bit check in the validate_ct_state
    6233c2d09633 ionic: linearize tso skb with too many frags
    7637048707e5 drm/msm/dsi: fix check-before-set in the 7nm dsi_pll code
    126aa8f23424 ftrace: Fix modify_ftrace_direct.
    29b8834cf828 nfp: flower: fix pre_tun mask id allocation
    47dae14b21f7 nfp: flower: add ipv6 bit to pre_tunnel control message
    259b0122dea5 nfp: flower: fix unsupported pre_tunnel flows
    aeff815e76ef selftests/net: fix warnings on reuseaddr_ports_exhausted
    bd63bd78d303 mac80211: Allow HE operation to be longer than expected.
    f865127b1d26 mac80211: fix rate mask reset
    48d0b548b49e can: m_can: m_can_rx_peripheral(): fix RX being blocked by errors
    afaca48e3017 can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning
    4fcf59c24990 can: c_can: move runtime PM enable/disable to c_can_platform
    524320e8034a can: c_can_pci: c_can_pci_remove(): fix use-after-free
    f9a5974b9719 can: kvaser_pciefd: Always disable bus load reporting
    af3e6c3dcf54 can: flexcan: flexcan_chip_freeze(): fix chip freeze for missing bitrate
    0cbadc0fb54c can: peak_usb: add forgotten supported devices
    3b3d9279be6c can: isotp: TX-path: ensure that CAN frame flags are initialized
    f88517dae95b can: isotp: isotp_setsockopt(): only allow to set low level TX flags for CAN-FD
    63f2a9bd3133 tcp: relookup sock for RST+ACK packets handled by obsolete req sock
    50f41f2e29ff tipc: better validate user input in tipc_nl_retrieve_key()
    ddeba5b39cca net: phylink: Fix phylink_err() function name error in phylink_major_config
    375f5169f231 net: hdlc_x25: Prevent racing between "x25_close" and "x25_xmit"/"x25_rx"
    ee39ee5f437c netfilter: ctnetlink: fix dump of the expect mask attribute
    d5380ceede6f selftests/bpf: Set gopt opt_class to 0 if get tunnel opt failed
    33cc382c5830 flow_dissector: fix byteorder of dissected ICMP ID
    fce6fb902189 net: qrtr: fix a kernel-infoleak in qrtr_recvmsg()
    6d3635ed12e7 net: ipa: terminate message handler arrays
    1701bd22b05d clk: qcom: gcc-sc7180: Use floor ops for the correct sdcc1 clk
    b50c46ef67d6 ftgmac100: Restart MAC HW once
    e64a5a5b8e93 net: phy: broadcom: Add power down exit reset state delay
    87378c850fee net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
    648b62f10cec e1000e: Fix error handling in e1000_set_d0_lplu_state_82571
    8ed431fec355 e1000e: add rtnl_lock() to e1000_reset_task
    5994a096570f igc: Fix igc_ptp_rx_pktstamp()
    0963fadcf536 igc: Fix Supported Pause Frame Link Setting
    d5330d5cc3ad igc: Fix Pause Frame Advertising
    d85ffade499a igc: reinit_locked() should be called with rtnl_lock
    4c91fc60e3f6 net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port
    f64270027928 net: sched: validate stab values
    400199d6e6f6 macvlan: macvlan_count_rx() needs to be aware of preemption
    2514c7ad115e drop_monitor: Perform cleanup upon probe registration failure
    7f041ee8effd ipv6: fix suspecious RCU usage warning
    61219de46413 net/mlx5e: Don't match on Geneve options in case option masks are all zero
    d0be25fa4f96 net/mlx5e: When changing XDP program without reset, take refs for XSK RQs
    60b5ff15b41d net/mlx5e: RX, Mind the MPWQE gaps when calculating offsets
    9857de932b30 libbpf: Fix INSTALL flag order
    f7c3d7615e6c bpf: Change inode_storage's lookup_elem return value from NULL to -EBADF
    926cde9eec67 veth: Store queue_mapping independently of XDP prog presence
    f47a9b2570ad soc: ti: omap-prm: Fix occasional abort on reset deassert for dra7 iva
    1f798907b435 ARM: OMAP2+: Fix smartreflex init regression after dropping legacy data
    965e6cb8d4c9 bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
    921aae17bb0f dm ioctl: fix out of bounds array access when no devices
    d8b36c483d47 dm verity: fix DM_VERITY_OPTS_MAX value
    1e2d70d08ade drm/i915: Fix the GT fence revocation runtime PM logic
    da6a9b5b1799 drm/amdgpu: Add additional Sienna Cichlid PCI ID
    dc28098f40b4 drm/amdgpu/display: restore AUX_DPHY_TX_CONTROL for DCN2.x
    e02f765fa784 drm/amd/pm: workaround for audio noise issue
    f771b2b3eb2f drm/etnaviv: Use FOLL_FORCE for userptr
    546f7fcc451c integrity: double check iint_cache was initialized
    5f7b515df003 ARM: dts: at91-sama5d27_som1: fix phy address to 7
    2a0d35962ff1 ARM: dts: at91: sam9x60: fix mux-mask to match product's datasheet
    0b6cd8802d32 ARM: dts: at91: sam9x60: fix mux-mask for PA7 so it can be set to A, B and C
    1c103f512251 arm64: dts: ls1043a: mark crypto engine dma coherent
    4f35b64ba823 arm64: dts: ls1012a: mark crypto engine dma coherent
    3883f335b5ee arm64: dts: ls1046a: mark crypto engine dma coherent
    1ced45535d4b arm64: stacktrace: don't trace arch_stack_walk()
    53d3c8063590 ACPICA: Always create namespace nodes using acpi_ns_create_node()
    36fe73bd0af9 ACPI: video: Add missing callback back for Sony VPCEH3U1E
    1f5c9efad9fe gcov: fix clang-11+ support
    6e63cc1fe253 kasan: fix per-page tags for non-page_alloc pages
    fe03ccc3ce90 hugetlb_cgroup: fix imbalanced css_get and css_put pair for shared mappings
    269042e8ffed squashfs: fix xattr id and id lookup sanity checks
    61d72c5952c4 squashfs: fix inode lookup sanity checks
    1d215fcbc4ef z3fold: prevent reclaim/free race for headless pages
    e4642090734e psample: Fix user API breakage
    a4be7e4ed5d9 platform/x86: intel-vbtn: Stop reporting SW_DOCK events
    4f67d3e8c0ac netsec: restore phy power state after controller reset
    19c9967e495e selinux: fix variable scope issue in live sidtab conversion
    9731e08a3381 selinux: don't log MAC_POLICY_LOAD record on failed policy load
    3b87d0c5834b btrfs: fix sleep while in non-sleep context during qgroup removal
    771dfb3c531d KVM: x86: Protect userspace MSR filter with SRCU, and set atomically-ish
    394e4fd67946 static_call: Fix static_call_set_init()
    0fefb5f3e574 static_call: Fix the module key fixup
    a63068e93917 static_call: Allow module use without exposing static_call_key
    433cd7ca386c static_call: Pull some static_call declarations to the type headers
    533c293f737c ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign
    d76e207991c4 ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls
    7077d5e7f074 mm/fork: clear PASID for new mm
    07feac84efc6 block: Suppress uevent for hidden device when removed
    9f704608010b nfs: we don't support removing system.nfs4_acl
    3dab008e23bd nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a
    8f0534c96ac8 nvme-rdma: Fix a use after free in nvmet_rdma_write_data_done
    c7b3f6db97c2 nvme-core: check ctrl css before setting up zns
    9083dc773d67 nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted
    4d6aea29a795 nvme-fc: set NVME_REQ_CANCELLED in nvme_fc_terminate_exchange()
    7e62a89b51dd nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request()
    d8b17df7bf80 nvme: simplify error logic in nvme_validate_ns()
    b91230a0013f drm/radeon: fix AGP dependency
    35d4f0712828 drm/amdgpu: fb BO should be ttm_bo_type_device
    a255d14eb5dc drm/amd/display: Revert dram_clock_change_latency for DCN2.1
    d27b0964ade9 block: Fix REQ_OP_ZONE_RESET_ALL handling
    c9d1f6ad1e25 regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck
    6366a5bb888b kselftest: arm64: Fix exit code of sve-ptrace
    da5bc0c21c04 u64_stats,lockdep: Fix u64_stats_init() vs lockdep
    f89338395545 staging: rtl8192e: fix kconfig dependency on CRYPTO
    eb4154fb61e2 habanalabs: Call put_pid() when releasing control device
    f2b38f03a3f7 sparc64: Fix opcode filtering in handling of no fault loads
    58b34195b33f umem: fix error return code in mm_pci_probe()
    feaa91193ad3 kbuild: dummy-tools: fix inverted tests for gcc
    ede8be3ae078 kbuild: add image_name to no-sync-config-targets
    264bb27b9fe4 irqchip/ingenic: Add support for the JZ4760
    b684c380f0b9 cifs: change noisy error message to FYI
    758bca385a79 atm: idt77252: fix null-ptr-dereference
    f35954a3961b atm: uPD98402: fix incorrect allocation
    852143ed96e2 net: enetc: set MAC RX FIFO to recommended value
    697082b125b0 net: davicom: Use platform_get_irq_optional()
    e6946ef43848 net: wan: fix error return code of uhdlc_init()
    184dc037575c net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()
    9d1a5392aca1 NFS: Correct size calculation for create reply length
    2479c6b9ef36 nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default
    b48779c863c0 gpiolib: acpi: Add missing IRQF_ONESHOT
    9443aef16fca cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev
    6d7dce3bdfc4 gfs2: fix use-after-free in trans_drain
    419ebba40dbf cifs: ask for more credit on async read/write code paths
    b8bfda6e08b8 gianfar: fix jumbo packets+napi+rx overrun crash
    2d0fba5a2e9f sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
    81b1a8f14436 net: intel: iavf: fix error return code of iavf_init_get_resources()
    5f86016bdfa7 net: tehuti: fix error return code in bdx_probe()
    71b996c9b883 blk-cgroup: Fix the recursive blkg rwstat
    b171748b7953 scsi: ufs: ufs-qcom: Disable interrupt in reset path
    028210541b3c ixgbe: Fix memleak in ixgbe_configure_clsu32
    4dc123500c3b ALSA: hda: ignore invalid NHLT table
    18f27fc6bcc2 Revert "r8152: adjust the settings about MAC clock speed down for RTL8153"
    f8f6190094a3 atm: lanai: dont run lanai_dev_close if not open
    6f6e45947572 atm: eni: dont release is never initialized
    75e967a04d37 powerpc/4xx: Fix build errors from mfdcr()
    4a104e4d4d9d net: fec: ptp: avoid register access when ipg clock is disabled
    50c75680bdce net: stmmac: fix dma physical address of descriptor when display ring
    a9daba140178 mt76: fix tx skb error handling in mt76_dma_tx_queue_skb
    efb12c03fcd0 mm/memcg: set memcg when splitting page
    6143a1d193e9 mm/memcg: rename mem_cgroup_split_huge_fixup to split_page_memcg and add nr_pages argument
    856cd02bbdd4 Linux 5.10.26
    de1126ea44bb cifs: Fix preauth hash corruption
    21536d7b7e6f x86/apic/of: Fix CPU devicetree-node lookups
    95247d24c4d4 genirq: Disable interrupts for force threaded handlers
    80b2787789af firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
    47ba0d4d2afb efi: use 32-bit alignment for efi_guid_t literals
    e5154ea8e48f static_call: Fix static_call_update() sanity check
    51ccdd25d7e5 MAINTAINERS: move the staging subsystem to lists.linux.dev
    4c9a74798ef1 MAINTAINERS: move some real subsystems off of the staging mailing list
    35ecf664fd6c ext4: fix rename whiteout with fast commit
    e8fa569465e5 ext4: fix potential error in ext4_do_update_inode
    6163a0662b79 ext4: do not try to set xattr into ea_inode if value is empty
    d130b802f98a ext4: stop inode update before return
    258db8e6ffdc ext4: find old entry again if failed to rename whiteout
    9689ecadf8a7 ext4: fix error handling in ext4_end_enable_verity()
    e4ea2a28d068 efivars: respect EFI_UNSUPPORTED return from firmware
    a548acde9608 x86: Introduce TS_COMPAT_RESTART to fix get_nr_restart_syscall()
    97c608959c27 x86: Move TS_COMPAT back to asm/thread_info.h
    4523e648b7b7 kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()
    0e245256e34d x86/ioapic: Ignore IRQ2 again
    4fdf5f4ba61f perf/x86/intel: Fix unchecked MSR access error caused by VLBR_EVENT
    514ea597be8e perf/x86/intel: Fix a crash caused by zero PEBS status
    be1f58e58f76 PCI: rpadlpar: Fix potential drc_name corruption in store functions
    6d4e1fed18d0 counter: stm32-timer-cnt: fix ceiling miss-alignment with reload register
    cbc4c42dbec0 counter: stm32-timer-cnt: fix ceiling write max value
    dcdde25844d4 iio: hid-sensor-temperature: Fix issues of timestamp channel
    7de97c4bba51 iio: hid-sensor-prox: Fix scale not correct issue
    fd8efe16d867 iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
    b477c121a287 iio: adc: adi-axi-adc: add proper Kconfig dependencies
    d894acab2844 iio: adc: ad7949: fix wrong ADC result due to incorrect bit mask
    533ee1e28455 iio: adc: ab8500-gpadc: Fix off by 10 to 3
    f8bfbd3917fa iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler
    06c281c23ace iio: adis16400: Fix an error code in adis16400_initial_setup()
    531231485844 iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel
    3ce2e7b2d360 iio:adc:stm32-adc: Add HAS_IOMEM dependency
    6c3c90058b95 thunderbolt: Increase runtime PM reference count on DP tunnel discovery
    f4ca082e3f59 thunderbolt: Initialize HopID IDAs in tb_switch_alloc()
    c7bb96a37dd2 usb: dwc3: gadget: Prevent EP queuing while stopping transfers
    395d273f2998 usb: dwc3: gadget: Allow runtime suspend if UDC unbinded
    8b8a84234c38 usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-
    0ea3fb15a87e usb: typec: Remove vdo[3] part of tps6598x_rx_identity_reg struct
    0f882bcc6407 usb: gadget: configfs: Fix KASAN use-after-free
    22e85a6a35cc usbip: Fix incorrect double assignment to udc->ud.tcp_rx
    7046e5f7a2f6 usb-storage: Add quirk to defeat Kindle's automatic unload
    5a62d6d7afa0 powerpc: Force inlining of cpu_has_feature() to avoid build failure
    2bdef2b476e2 gfs2: bypass signal_our_withdraw if no journal
    a602e830ddaf gfs2: move freeze glock outside the make_fs_rw and _ro functions
    49787b1bba1f gfs2: Add common helper for holding and releasing the freeze glock
    db37238f3452 regulator: pca9450: Clear PRESET_EN bit to fix BUCK1/2/3 voltage setting
    cfbff8bd9efc regulator: pca9450: Enable system reset on WDOG_B assertion
    775691b94ce7 regulator: pca9450: Add SD_VSEL GPIO for LDO5
    9392b8219b62 net: bonding: fix error return code of bond_neigh_init()
    76f496681d6a io_uring: clear IOCB_WAITQ for non -EIOCBQUEUED return
    3c08f772ad0d io_uring: don't attempt IO reissue from the ring exit path
    40345b9c9d90 drm/amd/pm: fulfill the Polaris implementation for get_clock_by_type_with_latency()
    e8e99acd0830 s390/qeth: schedule TX NAPI on QAOB completion
    f3f6765fd0e8 ibmvnic: remove excessive irqsave
    96823c1e9997 media: cedrus: h264: Support profile controls
    1c20e9040f49 io_uring: fix inconsistent lock state
    e1a69079edc4 iwlwifi: Add a new card for MA family
    e7f6ebde21cf drm/amd/display: turn DPMS off on connector unplug
    559b842a64ff MIPS: compressed: fix build with enabled UBSAN
    8545519b1f51 net: phy: micrel: set soft_reset callback to genphy_soft_reset for KSZ8081
    33cafc7952a4 i40e: Fix endianness conversions
    41d4c889b274 powerpc/sstep: Fix darn emulation
    8a335142f1c5 powerpc/sstep: Fix load-store and update emulation
    8b4a797e86a0 RDMA/mlx5: Allow creating all QPs even when non RDMA profile is used
    bb38c1c03384 scsi: isci: Pass gfp_t flags in isci_port_bc_change_received()
    d74238028a11 scsi: isci: Pass gfp_t flags in isci_port_link_up()
    d9f5efd1afc4 scsi: isci: Pass gfp_t flags in isci_port_link_down()
    1eda358e37e5 scsi: mvsas: Pass gfp_t flags to libsas event notifiers
    58bdc321beb5 scsi: libsas: Introduce a _gfp() variant of event notifiers
    18c3c04e8e53 scsi: libsas: Remove notifier indirection
    29c5b80327b7 scsi: pm8001: Neaten debug logging macros and uses
    c4186c00adc1 scsi: pm80xx: Fix pm8001_mpi_get_nvmd_resp() race condition
    3e4b3770744d scsi: pm80xx: Make running_req atomic
    6075c84a98ce scsi: pm80xx: Make mpi_build_cmd locking consistent
    d802672c7f00 module: harden ELF info handling
    e2c8978a75e0 module: avoid *goto*s in module_sig_check()
    8587715b65fa module: merge repetitive strings in module_sig_check()
    c02a33f0fd28 RDMA/rtrs: Fix KASAN: stack-out-of-bounds bug
    904a52dd9e50 RDMA/rtrs: Introduce rtrs_post_send
    9e97c211b701 RDMA/rtrs-srv: Jump to dereg_mr label if allocate iu fails
    5abee8b1fc4f RDMA/rtrs: Remove unnecessary argument dir of rtrs_iu_free
    4ebd8f0c82a5 bpf: Declare __bpf_free_used_maps() unconditionally
    0e44f1e18398 serial: stm32: fix DMA initialization error handling
    5f8659adf7a2 tty: serial: stm32-usart: Remove set but unused 'cookie' variables
    20c0bd2b6579 ibmvnic: serialize access to work queue on remove
    f8ba6913c40a ibmvnic: add some debugs
    b4be6e6e2696 nvme-rdma: fix possible hang when failing to set io queues
    b3901ceb120d gpiolib: Assign fwnode to parent's if no primary one provided
    c5fe922eaf1a counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
    f854abe46b0e RISC-V: correct enum sbi_ext_rfence_fid
    359d8ff40a09 scsi: ufs: ufs-mediatek: Correct operator & -> &&
    38089ba4b20c scsi: myrs: Fix a double free in myrs_cleanup()
    eb9d08b34351 scsi: lpfc: Fix some error codes in debugfs
    e95c0d43509c riscv: Correct SPARSEMEM configuration
    04eb2b2fa12f cifs: fix allocation size on newly created files
    bb2e41e65c33 kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
    72714560fbc7 net/qrtr: fix __netdev_alloc_skb call
    6cae8095490c io_uring: ensure that SQPOLL thread is started for exit
    a7acb614287b pstore: Fix warning in pstore_kill_sb()
    5f7d470696ad i915/perf: Start hrtimer only if sampling the OA buffer
    cb14e99e886f sunrpc: fix refcount leak for rpc auth modules
    2ea2d3a79800 vhost_vdpa: fix the missing irq_bypass_unregister_producer() invocation
    3e5a1bb6ea20 vfio: IOMMU_API should be selected
    c2219627091c svcrdma: disable timeouts on rdma backchannel
    982b899ba672 NFSD: fix dest to src mount in inter-server COPY
    800369d61add NFSD: Repair misuse of sv_lock in 5.10.16-rt30.
    12628e7779f8 nfsd: don't abort copies early
    5ea0aa29ad4b nfsd: Don't keep looking up unhashed files in the nfsd file cache
    628f39a57a46 nvmet: don't check iosqes,iocqes for discovery controllers
    b4f911e3a982 nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
    7089cdfce32f nvme-tcp: fix possible hang when failing to set io queues
    a83e5c6c35fa nvme-tcp: fix misuse of __smp_processor_id with preemption enabled
    fd9e2b999740 nvme: fix Write Zeroes limitations
    2d202085d2dd ALSA: usb-audio: Fix unintentional sign extension issue
    64195f022ae8 afs: Stop listxattr() from listing "afs.*" attributes
    78ba4793b084 afs: Fix accessing YFS xattrs on a non-YFS server
    07fa872bf79c ASoC: simple-card-utils: Do not handle device clock
    d1ab87e31761 ASoC: qcom: lpass-cpu: Fix lpass dai ids parse
    1ae54de79fba ASoC: codecs: wcd934x: add a sanity check in set channel map
    03079a0f1bf7 ASoC: qcom: sdm845: Fix array out of range on rx slim channels
    26b08c08a5f3 ASoC: qcom: sdm845: Fix array out of bounds access
    47a6cadb6cfd ASoC: SOF: intel: fix wrong poll bits in dsp power down
    b94b71a7a6f6 ASoC: SOF: Intel: unregister DMIC device on probe error
    4da5a9a73c4c ASoC: Intel: bytcr_rt5640: Fix HP Pavilion x2 10-p0XX OVCD current threshold
    118cfdc770cd ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
    223dc51caa51 drm/amd/display: Correct algorithm for reversed gamma
    4daa70a80c68 vhost-vdpa: set v->config_ctx to NULL if eventfd_ctx_fdget() fails
    49ca3100fbaf vhost-vdpa: fix use-after-free of v->config_ctx
    2c8d6a9474f0 btrfs: fix slab cache flags for free space tree bitmap
    38ffe9eaeb7c btrfs: fix race when cloning extent buffer during rewind of an old root
    78486cf1f31e zonefs: fix to update .i_wr_refcnt correctly in zonefs_open_zone()
    9c1c5e81a002 zonefs: prevent use of seq files as swap file
    dfbdbf0f359a zonefs: Fix O_APPEND async write handling
    38c74f2f2318 s390/pci: fix leak of PCI device structure
    075e3034740c s390/pci: remove superfluous zdev->zbus check
    bd37d9b9c4fb s390/pci: refactor zpci_create_device()
    015916ca0266 s390/vtime: fix increased steal time accounting
    5c0a3a331dc5 Revert "PM: runtime: Update device status before letting suppliers suspend"
    68525e424175 ALSA: hda/realtek: fix mute/micmute LEDs for HP 850 G8
    f086deab2c64 ALSA: hda/realtek: fix mute/micmute LEDs for HP 440 G8
    7b00df1894c6 ALSA: hda/realtek: fix mute/micmute LEDs for HP 840 G8
    14af4bf8d481 ALSA: hda/realtek: Apply headset-mic quirks for Xiaomi Redmibook Air
    4c698a3b8fb7 ALSA: hda: generic: Fix the micmute led init state
    e6c7cdf0baf3 ALSA: hda/realtek: apply pin quirk for XiaomiNotebook Pro
    cd7b17ba8e4d ALSA: dice: fix null pointer dereference when node is disconnected
    422806f8d289 spi: cadence: set cqspi to the driver_data field of struct device
    f8d5ced57b07 ASoC: ak5558: Add MODULE_DEVICE_TABLE
    064a7289b445 ASoC: ak4458: Add MODULE_DEVICE_TABLE

(From OE-Core rev: cbb5c4392c63f896f204c0c15b0cfa7a364feed2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
94afd49286 linux-yocto/5.4: update to v5.4.109
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    4e85f8a712cd Linux 5.4.109
    057dd3e6986b xen-blkback: don't leak persistent grants from xen_blkbk_map()
    ce934540ff09 can: peak_usb: Revert "can: peak_usb: add forgotten supported devices"
    2638770e793b ext4: add reclaim checks to xattr code
    92b9e3deffb6 mac80211: fix double free in ibss_leave
    ae23957bd1fb net: qrtr: fix a kernel-infoleak in qrtr_recvmsg()
    f7a962970001 net: dsa: b53: VLAN filtering is global to all users
    f866d1fa48e4 can: dev: Move device back to init netns on owning netns delete
    dfd6627c83dd x86/mem_encrypt: Correct physical address calculation in __set_clr_pte_enc()
    f989059cd22a locking/mutex: Fix non debug version of mutex_lock_io_nested()
    1260d8dc2d66 scsi: mpt3sas: Fix error return code of mpt3sas_base_attach()
    d31747705762 scsi: qedi: Fix error return code of qedi_alloc_global_queues()
    063c3cfb264b scsi: Revert "qla2xxx: Make sure that aborted commands are freed"
    fdc61af371db block: recalculate segment count for multi-segment discards correctly
    8ce9f6efa655 perf auxtrace: Fix auxtrace queue conflict
    bc0b1a2036dd ACPI: scan: Use unique number for instance_no
    b382f9d61609 ACPI: scan: Rearrange memory allocation in acpi_device_add()
    cc578c3e612b Revert "netfilter: x_tables: Update remaining dereference to RCU"
    19a5fb4ceada netfilter: x_tables: Use correct memory barriers.
    c46cd29b89da Revert "netfilter: x_tables: Switch synchronization to RCU"
    e74d46e69a45 bpf: Don't do bpf_cgroup_storage_set() for kuprobe/tp programs
    01398e024ba6 RDMA/cxgb4: Fix adapter LE hash errors while destroying ipv6 listening server
    78aafa0240bc PM: EM: postpone creating the debugfs dir till fs_initcall
    f54b10114d63 net/mlx5e: Fix error path for ethtool set-priv-flag
    fa4addf30c2c PM: runtime: Defer suspending suppliers
    c82d289fe958 arm64: kdump: update ppos when reading elfcorehdr
    8bf90e000c10 drm/msm: fix shutdown hook in case GPU components failed to bind
    4fda26d2f7e1 libbpf: Fix BTF dump of pointer-to-array-of-struct
    4f71aacd6c92 selftests: forwarding: vxlan_bridge_1d: Fix vxlan ecn decapsulate value
    4ecf6d486e45 net: stmmac: dwmac-sun8i: Provide TX and RX fifo sizes
    1f103ca31c51 r8152: limit the RX buffer size of RTL8153A for USB 2.0
    048d0bf8ad19 net: cdc-phonet: fix data-interface release on probe failure
    ecc62c3b1b57 octeontx2-af: fix infinite loop in unmapping NPC counter
    7e9a48ceccae octeontx2-af: Fix irq free in rvu teardown
    e15823801229 libbpf: Use SOCK_CLOEXEC when opening the netlink socket
    7722378c4a0a nfp: flower: fix pre_tun mask id allocation
    060deac22f87 mac80211: fix rate mask reset
    52cc7bad1275 can: m_can: m_can_rx_peripheral(): fix RX being blocked by errors
    059c1996017d can: m_can: m_can_do_rx_poll(): fix extraneous msg loss warning
    e484616a9600 can: c_can: move runtime PM enable/disable to c_can_platform
    4f71965ee897 can: c_can_pci: c_can_pci_remove(): fix use-after-free
    42e49b3aa536 can: kvaser_pciefd: Always disable bus load reporting
    e3ca9fbfcdf5 can: flexcan: flexcan_chip_freeze(): fix chip freeze for missing bitrate
    fb4a6ac4851a can: peak_usb: add forgotten supported devices
    0a8046daba17 tcp: relookup sock for RST+ACK packets handled by obsolete req sock
    67319a8df5d3 netfilter: ctnetlink: fix dump of the expect mask attribute
    c4dd0b36cce4 selftests/bpf: Set gopt opt_class to 0 if get tunnel opt failed
    9d06cabe3bf4 ftgmac100: Restart MAC HW once
    81c591299da3 net/qlcnic: Fix a use after free in qlcnic_83xx_get_minidump_template
    d00db63edd0a e1000e: Fix error handling in e1000_set_d0_lplu_state_82571
    9f02a5658413 e1000e: add rtnl_lock() to e1000_reset_task
    71fa8051f2f4 igc: Fix Supported Pause Frame Link Setting
    35d8a780fa2b igc: Fix Pause Frame Advertising
    da8af444b325 net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port
    267b79a11046 net: sched: validate stab values
    76909a298ebb macvlan: macvlan_count_rx() needs to be aware of preemption
    c6b6c7a92fe5 ipv6: fix suspecious RCU usage warning
    40fa14bbe3fe net/mlx5e: Don't match on Geneve options in case option masks are all zero
    e64e327c7fab libbpf: Fix INSTALL flag order
    53f1483984bf veth: Store queue_mapping independently of XDP prog presence
    f259a7fdeb12 bus: omap_l3_noc: mark l3 irqs as IRQF_NO_THREAD
    e6587d142d02 dm ioctl: fix out of bounds array access when no devices
    7b6944f18cec dm verity: fix DM_VERITY_OPTS_MAX value
    752589cd4ea8 integrity: double check iint_cache was initialized
    f3404a677770 ARM: dts: at91-sama5d27_som1: fix phy address to 7
    1815a24b9483 arm64: dts: ls1043a: mark crypto engine dma coherent
    7447c05e06c4 arm64: dts: ls1012a: mark crypto engine dma coherent
    b6f866bbf7ca arm64: dts: ls1046a: mark crypto engine dma coherent
    e980bd1f7f60 ACPI: video: Add missing callback back for Sony VPCEH3U1E
    431aaecd24ac gcov: fix clang-11+ support
    4748b6d56efe kasan: fix per-page tags for non-page_alloc pages
    037ecab65eb6 squashfs: fix xattr id and id lookup sanity checks
    79b8814d6765 squashfs: fix inode lookup sanity checks
    5b1abfe7d620 platform/x86: intel-vbtn: Stop reporting SW_DOCK events
    599cbcda68ee netsec: restore phy power state after controller reset
    8aa97ae0f5d9 ia64: fix ptrace(PTRACE_SYSCALL_INFO_EXIT) sign
    cb1504b30b6f ia64: fix ia64_syscall_get_set_arguments() for break-based syscalls
    37732ea82e09 block: Suppress uevent for hidden device when removed
    a2d07d077eb3 nfs: we don't support removing system.nfs4_acl
    eed4e1abc997 nvme-pci: add the DISABLE_WRITE_ZEROES quirk for a Samsung PM1725a
    5fc284999c4a nvme-fc: return NVME_SC_HOST_ABORTED_CMD when a command has been aborted
    526abcb05c61 nvme: add NVME_REQ_CANCELLED flag in nvme_cancel_request()
    8cdbee05b83f drm/radeon: fix AGP dependency
    5a0e3fcbeb5a drm/amdgpu: fb BO should be ttm_bo_type_device
    fc8e4af4c3ef drm/amd/display: Revert dram_clock_change_latency for DCN2.1
    6292d84c8af4 regulator: qcom-rpmh: Correct the pmic5_hfsmps515 buck
    c45182707277 u64_stats,lockdep: Fix u64_stats_init() vs lockdep
    f59604786a48 habanalabs: Call put_pid() when releasing control device
    694761bfdd76 sparc64: Fix opcode filtering in handling of no fault loads
    11efb0cda655 irqchip/ingenic: Add support for the JZ4760
    69423418c5eb cifs: change noisy error message to FYI
    981ba9c9a529 atm: idt77252: fix null-ptr-dereference
    6b2844ad7b17 atm: uPD98402: fix incorrect allocation
    40d0a9297f83 net: davicom: Use platform_get_irq_optional()
    b90de232a806 net: wan: fix error return code of uhdlc_init()
    0da0f199e767 net: hisilicon: hns: fix error return code of hns_nic_clear_all_rx_fetch()
    ab60e4f5eb3a NFS: Correct size calculation for create reply length
    785be28d360f nfs: fix PNFS_FLEXFILE_LAYOUT Kconfig default
    d605afb11945 gpiolib: acpi: Add missing IRQF_ONESHOT
    f6c1da94ddb3 cpufreq: blacklist Arm Vexpress platforms in cpufreq-dt-platdev
    1d2c9669135f cifs: ask for more credit on async read/write code paths
    ec7ce1e337ec gianfar: fix jumbo packets+napi+rx overrun crash
    7ef7d296b154 sun/niu: fix wrong RXMAC_BC_FRM_CNT_COUNT count
    d25f579ec557 net: intel: iavf: fix error return code of iavf_init_get_resources()
    d4dd6de6fc90 net: tehuti: fix error return code in bdx_probe()
    e224a789d4a6 ixgbe: Fix memleak in ixgbe_configure_clsu32
    537653a0698b ALSA: hda: ignore invalid NHLT table
    bd272f11a9d4 Revert "r8152: adjust the settings about MAC clock speed down for RTL8153"
    7a12167636bf atm: lanai: dont run lanai_dev_close if not open
    fb0067fcda6a atm: eni: dont release is never initialized
    614a4ba66854 powerpc/4xx: Fix build errors from mfdcr()
    45c1ca3e5784 net: fec: ptp: avoid register access when ipg clock is disabled
    d0f5726ab1df hugetlbfs: hugetlb_fault_mutex_hash() cleanup
    b90344f7d600 Linux 5.4.108
    819eb4d7a85e cifs: Fix preauth hash corruption
    cf113ffd620d x86/apic/of: Fix CPU devicetree-node lookups
    288be0ed9b36 genirq: Disable interrupts for force threaded handlers
    b8ebe853abca firmware/efi: Fix a use after bug in efi_mem_reserve_persistent
    31e17169a116 efi: use 32-bit alignment for efi_guid_t literals
    886dbe0e338b ext4: fix potential error in ext4_do_update_inode
    2f65ae3a7ee3 ext4: do not try to set xattr into ea_inode if value is empty
    474aab448436 ext4: find old entry again if failed to rename whiteout
    de2e1603c125 x86: Introduce TS_COMPAT_RESTART to fix get_nr_restart_syscall()
    076b60af926b x86: Move TS_COMPAT back to asm/thread_info.h
    27ddd2b59045 kernel, fs: Introduce and use set_restart_fn() and arch_set_restart_data()
    f546965c3aac x86/ioapic: Ignore IRQ2 again
    da326ba3b84a perf/x86/intel: Fix a crash caused by zero PEBS status
    51a2b19b554c PCI: rpadlpar: Fix potential drc_name corruption in store functions
    796fc331c3cf counter: stm32-timer-cnt: fix ceiling write max value
    850ca1c0130a iio: hid-sensor-temperature: Fix issues of timestamp channel
    31a2e804ad4a iio: hid-sensor-prox: Fix scale not correct issue
    3fa27c8749cf iio: hid-sensor-humidity: Fix alignment issue of timestamp channel
    4458ae8d4001 iio: adc: ad7949: fix wrong ADC result due to incorrect bit mask
    a605c095bb46 iio: gyro: mpu3050: Fix error handling in mpu3050_trigger_handler
    87163fbba6d2 iio: adis16400: Fix an error code in adis16400_initial_setup()
    ed0625334b94 iio:adc:qcom-spmi-vadc: add default scale to LR_MUX2_BAT_ID channel
    08414c498b4b iio:adc:stm32-adc: Add HAS_IOMEM dependency
    b0a595269e62 usb: typec: tcpm: Invoke power_supply_changed for tcpm-source-psy-
    4baade6fd6e5 usb: gadget: configfs: Fix KASAN use-after-free
    c92aebf2b0f3 USB: replace hardcode maximum usb string length by definition
    f89366164693 usbip: Fix incorrect double assignment to udc->ud.tcp_rx
    251949ec9d95 usb-storage: Add quirk to defeat Kindle's automatic unload
    81b56afc2841 nvme-rdma: fix possible hang when failing to set io queues
    b891d41d01f4 counter: stm32-timer-cnt: Report count function when SLAVE_MODE_DISABLED
    86fd6c0d22a5 scsi: myrs: Fix a double free in myrs_cleanup()
    eb46392d329a scsi: lpfc: Fix some error codes in debugfs
    1f925558e3f1 riscv: Correct SPARSEMEM configuration
    7db8f3be034d kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
    1dad483b1ebc net/qrtr: fix __netdev_alloc_skb call
    f0b09d547713 sunrpc: fix refcount leak for rpc auth modules
    3c57ea09365f vfio: IOMMU_API should be selected
    b439aac77360 svcrdma: disable timeouts on rdma backchannel
    d1ae8f16c223 NFSD: Repair misuse of sv_lock in 5.10.16-rt30.
    4c5fab560cb0 nfsd: Don't keep looking up unhashed files in the nfsd file cache
    49545a7b8b30 nvmet: don't check iosqes,iocqes for discovery controllers
    cf7d7728d8a5 nvme-tcp: fix a NULL deref when receiving a 0-length r2t PDU
    36a4f9164cf6 nvme-tcp: fix possible hang when failing to set io queues
    81c1dbe1070c nvme: fix Write Zeroes limitations
    6712b7fcef9d afs: Stop listxattr() from listing "afs.*" attributes
    c71b93323f37 ASoC: simple-card-utils: Do not handle device clock
    e029384c1835 ASoC: SOF: intel: fix wrong poll bits in dsp power down
    626a484d1ec2 ASoC: SOF: Intel: unregister DMIC device on probe error
    db3d39bcd66a ASoC: fsl_ssi: Fix TDM slot setup for I2S mode
    24c553371add btrfs: fix slab cache flags for free space tree bitmap
    5b3b99525c4f btrfs: fix race when cloning extent buffer during rewind of an old root
    a3e438db75fb ARM: 9044/1: vfp: use undef hook for VFP support detection
    a47b395d441d ARM: 9030/1: entry: omit FP emulation for UND exceptions taken in kernel mode
    34794bc0e768 s390/vtime: fix increased steal time accounting
    ba4342094d71 Revert "PM: runtime: Update device status before letting suppliers suspend"
    62cf220630a0 ALSA: hda/realtek: Apply headset-mic quirks for Xiaomi Redmibook Air
    613fd762d188 ALSA: hda: generic: Fix the micmute led init state
    5a5f85603e6e ALSA: hda/realtek: apply pin quirk for XiaomiNotebook Pro
    4d35c01a3645 ALSA: dice: fix null pointer dereference when node is disconnected
    d0fc0e7bfda2 ASoC: ak5558: Add MODULE_DEVICE_TABLE
    a592a4c2889e ASoC: ak4458: Add MODULE_DEVICE_TABLE

(From OE-Core rev: a6aecb7e564f067b786cdec5b2eedd7fc3f2f13d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Bruce Ashfield
0f9ce18071 kern-tools: add dropped options to audit output
The rewrite of the configuration audit code dropped the ability to
generate warnings for configuration options that didn't make it into
the final .config.

We integrated the following commit to restore those warnings:

    symbol_why: classify based on config.queue hints

    The config.queue has typing hints inline with each fragment,
    we should be using them to further classify the options, and
    not only relying on the special hardware.cfg, etc, files that
    are part of the meta data

    We also should be checking for options that were set to a
    non 'no' value, and that don't make it into the final .config,
    since without that check it means we are missing some warnings.

(From OE-Core rev: f5e8a8c52386317607e333e55f710bf0393186c8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-21 22:43:58 +01:00
Michael Halstead
6204a3f5f4 releases: update to include 3.3
Adding Hardknott to documentation switcher and release list.

(From yocto-docs rev: d1578f6ae84d0c44c63632bd5f3146653f1310a3)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 14:04:56 +01:00
Richard Purdie
8c5b67bec2 bitbake: doc/user-manual-fetching: Remove basepath unpack parameter docs
The code for this was removed in 2016 in commit
e659a3b0c2771679057ee3e13cd42e6c62383ff2. Nobody seems to have missed it
so remove the documentation so we match the code.

[YOCTO #13449]

(Bitbake rev: 76bf42ea41a28b19d0377c2e548b0a59119fdf67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:51 +01:00
Niels Avonds
d12a06cd49 bitbake: fetch/gitsm: Fix crash when using git LFS and submodules
Gitsm fetcher crashes when cloning a repository that contains LFS files.
This happens because the unpack method is called during download, but the
submodules have not been downloaded yet at this point.

This issue was introduced in this
commit: 977b7268bf

[YOCTO #14283]

(Bitbake rev: 26caedc4d2e9b5a0f1d57f9291754a7f6c5e437e)

Signed-off-by: Niels Avonds <niels@codebits.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:50 +01:00
Richard Purdie
6584e59ff0 bitbake: bitbake-server: Remove now unneeded code
With the previous patch this code is now pointless as we'd have hit a TypeError
before now.

(Bitbake rev: 6301a99055c79d89b715f72182cd0ef1b781b89a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:50 +01:00
Ross Burton
01066a584a bitbake: bitbake-server: ensure server timeout is a float
bitbake-server is spawned by process.py and passes the arguments it is
given to ProcessServer.  There's some type confusion here:

bitbake-server is called with a string representation of the timeout,
which may be None.  If the timeout is not set, pass 0 instead of None.

Inside bitbake-server a ProcessServer is created which expects the
timeout to be a float not a string, so always float() the value.

[ YOCTO #14350 ]

(Bitbake rev: c93ae1f861208f6d39fd15c84fbcd0e2b54331f5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:57:50 +01:00
Trevor Gamblin
f39676bf56 nettle: upgrade 3.7.1 -> 3.7.2
Version 3.7.2 includes a fix for CVE-2021-20305.

(From OE-Core rev: 29f0ef2e32a9b55d8271fde240a4469070d57729)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Richard Purdie
ad2206b3fa sanity: Further improve directory sanity tests
Add tests to ensure COREBASE/TMPDIR doon't contain ".." as this causes
hard to understand build failures.

Also rework the code to test TMPDIR and COREBASE for all the patterns
since they may be set differently and one may contain problematic
characters.

[YOCTO #14111]

(From OE-Core rev: f22a6e46d003aba516a9a0cc7f94eae678d846b7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
1e6a42e923 ca-certificates: Fix openssl runtime cert dependencies
With commit dc778c70449ee5401b5a24ad18b22b88338c47c5, dependency was
moved to openssl-bin which in itself was a fine change, but dropping
dependency on openssl too should have been kept along, dropping this
meant that openssl binary wont be able to validate secure connections as
the CApath files wont be installed, which infact are required for
openssl bins to work, following call e.g. fails

$ openssl s_client -connect google.com:443

....
New, TLSv1.3, Cipher is TLS_AES_256_GCM_SHA384
Server public key is 256 bit
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
Early data was not sent
Verify return code: 20 (unable to get local issuer certificate)
....

The local issuer certs are not found in default location
/usr/lib/ssh-1.1/certs, this dir and its content is installed by openssl package
therefore re-add the dependency on openssl

(From OE-Core rev: eaf377315efc73d6ffe361372a873918b3bb3bf5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
9fc863bcdb weston: use standalone xwayland instead of outdated xserver-xorg version
(From OE-Core rev: e933962061ac3fa1c0c1069b8075a5f7645001c4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
07d33c8ec8 xwayland: add a standalone recipe
Please see here for the rationale for splitting XWayland out of
main xserver-xorg tree:
https://fedoraproject.org/wiki/Changes/XwaylandStandalone

Release announcement:
https://lists.x.org/archives/xorg-announce/2021-March/003076.html

(From OE-Core rev: 1533d913af0aac5524d2f9ebacaeafb5891124e2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
be76f499ad maintainers.inc: add libmicrohttpd entry
(From OE-Core rev: 3e588abaa081b2de238bbeead867204ff485e5ba)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
76a9b01ff3 libmicrohttpd: add a recipe from meta-oe
This is required to enable debuginfod in elfutils.

(From OE-Core rev: e6035099772a0ccbb4835c0c782317c19527876c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Alexander Kanavin
5aa20fe1b9 scripts/oe-debuginfod: correct several issues
Particularly:
- nesting subprocess.run() inside subprocess.check_output() does not work at all.
How was this tested?
- -R and -U options can be combined; no need to separate the invocations based
on packaging format
- both exception handlers are unnecessary; we can simply print the hint if
invocation did not succeed
- to run debuginfod from its own sysroot, '-c addto_recipe_sysroot' for elfutils-native
must be executed

(From OE-Core rev: 9e57bf636ec63e74d56f1ac48b5a27c5b80f1877)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Randy MacLeod
193251b8d0 oe-time-dd-test.sh: increase timeout to 15 sec
With the previous timeout of 5 seconds, there would be
builds such as:
   https://autobuilder.yocto.io/pub/non-release/20210417-13/
which produced 17 files with top output with top running 454 times
and that's a bit too much data to analyze for each run. By
increasing the timeout, we'll find the worse problems
first, fix them and then we can decrease the timeout if needed.

(From OE-Core rev: 92b29a09b4c442597d212337b785afb76129ac7c)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
c226e49cd5 gstreamer1.0-plugins-bad: Add packageconfigs for hls crypto backends
Use openssl by default

(From OE-Core rev: 4959563e59e0a829b9526009b14f71500624cced)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
268888f484 glib-networking: Prefer openssl backend instead of gnutls
Change the defaults to use openSSL

(From OE-Core rev: e63a422a407ed941a0d31522a8016d4c784bd87b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
1ceb808fb7 libpsl: Add config knobs for runtime/builtin conversion choices
Use libicu by default

(From OE-Core rev: 20fc11919e2cec656685dab3fad07862b0b90610)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
96b4ed1e93 curl: Use openssl backend
use openssl instead of gnutls

(From OE-Core rev: c39452bf65a8baa0eac15e6c4d39cc0f88e089d0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
7bfe0a4e7d wpa-supplicant: Enable openssl
Use openSSL for TLS/SSL implementation

(From OE-Core rev: 2bd4702d68ef79320c8194934568c56b4cc87aa3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
2d07f91008 cups: Turn gnutls into a packageconfig knob
Disable it by default

(From OE-Core rev: 438d00af14a0cc108a25b36bf37502f1383865be)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Khem Raj
397f7130e5 epiphany: Add missing dependency on gnutls
This was being pulled in by other dependencies thus far

(From OE-Core rev: de944399fa3dadecd3faa5054145fe0cd7adbbf7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Robert Joslyn
b129f2edda btrfs-tools: Try to follow style guide
Cosmetic changes to better follow the style guide.

(From OE-Core rev: e478013830700580c25877ab55b70ff73072bb81)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Robert Joslyn
769004c34a btrfs-tools: Add PACKAGECONFIG options
Add options to make it easier to control which features are enabled. All
of these default to enabled by upstream, so keep them enabled to
maintain previous behavior.

The convert option also supports reiserfs, but no recipes exist in the
layer index. Limit the option to ext filesystems until someone cares
enough to make reiserfs recipes.

Remove acl and attr from DEPENDS, as they do not apper to be needed. Add
zlib since it is required.

(From OE-Core rev: 7452cab85b65ce4b6e8309ab85ad40555c24435f)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Robert Joslyn
46b49025f3 btrfs-tools: Update to 5.11.1
Update licensing, as libtrfsutil is under LGPLv3+. Note that libtrfsutil
is in the process of being relicensed to LGPLv2.1+:
	https://github.com/kdave/btrfs-progs/issues/323

(From OE-Core rev: 0f75bb0e4d99c658302e28435d055b4f99dcc247)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Oleksandr Kravchuk
bd2c93374e autoconf-archive: update to 2021.02.19
(From OE-Core rev: f7417480667e7a06206239e3aac48dd1149d42fb)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Wes Lindauer
ada30f1091 oeqa/runtime/cases: Only disable/enable for current boot
Previously doing a stop/start worked, but using a disable/enable does
not work on a read-only rootfs. Add a --runtime flag to systemctl so
that systemd only modifies the current boot and does not attempt to
write to the filesystem.

This also keeps the test from making a permanent (one could argue
policy) change to the running system being tested. i.e. What if the
image being tested had intentionally disabled the timesyncd service in
preference to using chrony or ntpd? The test shouldn't assume that the
user wants the timesyncd service enabled.

(From OE-Core rev: 43dd83b6a325589368c980a3f17cab90935aaeb0)

Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-20 13:56:48 +01:00
Richard Purdie
d08d362cf9 bitbake: tinfoil/data_smart: Allow variable history emit() to function remotely
We can't access the emit() function of varhistory currently as the datastore parameter
isn't handled correctly, nor is the output stream. Add a custom wrapper for this
function which handles the two details correctly.

(Bitbake rev: ba0fa084ccd2b1ade96425d158fd31e49e42f286)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Henning Schild
46654e14a5 bitbake: tests/fetch: add tests for local and remote "noshared" git fetching
(Bitbake rev: e0267fe43bda208856af939b17e39beb9e5586c3)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Henning Schild
d274cf0cf8 bitbake: tests/fetch: deduplicate local git testing code
Purely cosmetic change that probably improves the code.

(Bitbake rev: 9c0733f0062f3cf19514c891cc06c9a8e0db429b)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Henning Schild
2cb6ce7788 bitbake: fetch/git: add support for disabling shared clones on unpack
By default the unpacker will create a "shared" clone when cloning from
the DL_DIR to the WORKDIR. This patch introduces an option to control
that behaviour.

Imagine some recipe steps are executed in a namespace that is different
from the one your downloader and unpacker ran in. (chroot) Because a
"shared" clone has an absolute reference to its "alternate" you now
have to make that "alternate" visible in that new namespace (chroot) at
the exact place.

With this patch you can unpack "noshared" and get a stand-alone copy.
This copy will also work if the "alternate" is not visible or existant.

The switch is a global bitbake switch and will affect all git urls.
Build systems that need "noshared" most likely need it for everything
they do with git.

(Bitbake rev: 6ae6f1865d5e666ebc670f70b7401a7b41648102)

Signed-off-by: Henning Schild <henning.schild@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Mikko Rapeli
33650ffdc7 bitbake: bitbake: tests/fetch: remove write protected files too
For some reason several git-annex files in Debian 10 buster
are read-only and removing them with "rm -rf" fails.

Fixes test failures like:

$ bitbake-selftest
...
rm: cannot remove '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource/annex/objects/f87/4d5/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855': Permission denied
rm: cannot remove '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource/annex/objects/f87/4d5/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855': Permission denied
EE..................................ssss.sssssssssssssss.sssss.......................................................................................................
======================================================================
ERROR: test_shallow_annex (bb.tests.fetch.GitShallowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1773, in test_shallow_annex
    fetcher, ud = self.fetch_shallow(uri)
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1541, in fetch_shallow
    bb.utils.remove(ud.clonedir, recurse=True)
  File "/home/builder/src/base/poky/bitbake/lib/bb/utils.py", line 700, in remove
    subprocess.check_call(cmd + ['rm', '-rf'] + glob.glob(path))
  File "/usr/lib/python3.7/subprocess.py", line 347, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['rm', '-rf', '/tmp/tmpwmfn4w64/download/git2/tmp.tmpwmfn4w64.gitsource']' returned non-zero exit status 1.

Also, one "chmod" call was failing since the .git/annex subdirectory doesn't exist so just chmod
the whole temporary directory which should cover any directory name differences between
different git-annex versions. Fixes tests failing after chmod call:

Running 'export PSEUDO_DISABLED=1; unset _PYTHON_SYSCONFIGDATA_NAME; chmod u+w -R /tmp/tmpwmfn4w64/git//.git/annex' in /tmp/tmpwmfn4w64/git/

(Bitbake rev: 7729ef2983c72867e99fad82d671069ba5cb32b2)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Mikko Rapeli
490fb73e34 bitbake: bitbake: tests/fetch: fix test execution without .gitconfig
A CI user validating changes does not have any git push rights or
even a .gitconfig file so fix tests so that they run
by setting the user.name and user.email for the repo before
committing changes.

Fixes errors like:

ERROR: test_that_unpack_throws_an_error_when_the_git_clone_nor_shallow_tarball_exist (bb.tests.fetch.GitShallowTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 2055, in test_that_unpack_throws_an_error_when_the_git_clone_nor_shallow_tarball_exist
    self.add_empty_file('a')
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1562, in add_empty_file
    self.git(['commit', '-m', msg, path], cwd)
  File "/home/builder/src/base/poky/bitbake/lib/bb/tests/fetch.py", line 1553, in git
    return bb.process.run(cmd, cwd=cwd)[0]
  File "/home/builder/src/base/poky/bitbake/lib/bb/process.py", line 184, in run
    raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
bb.process.ExecutionError: Execution of 'git commit -m a a' failed with exit code 128:

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

(Bitbake rev: 57c0811f1ee19b6619f4840a39e01e3cb98c34c4)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Richard Purdie
7ea37b9291 bitbake: runqueue: Fix deferred task issues
In a multiconfig situation there are circumstances where firstly, tasks
are deferred when they shouldn't be, then later, tasks can end up as
both covered and not covered.

This patch fixes two related issues. Firstly, the stamp validity checking
is done up front in the build and not reevaulated. When rebuilding the
deferred task list after scenequeue hash change updates, we need therefore
need to check if a task was in notcovered *or* covered when deciding to
defer it. This avoids strange logs like:

NOTE: Running setscene task X of Y (mc:initrfs_guest:/A/alsa-state.bb:do_deploy_source_date_epoch_setscene)
NOTE: Deferring mc:initrfs_guest:/A/alsa-state.bb:do_deploy_source_date_epoch after mc:host:/A/alsa-state.bb:do_deploy_source_date_epoch

where tasks have run but are then deferred.

Since we're recalculating the whole list, we also need to clear it before
iterating to rebuild it. By ensuring covered tasks aren't added to the
deferred queue, the covered + notcovered issue should also be avoided.
in the task deadlock forcing code.

[YOCTO #14342]

(Bitbake rev: 3c8717fb9ee1114dd80fc1ad22ee6c9e312bdac7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:38:22 +01:00
Oleksandr Kravchuk
3f1ccea75e python3-setuptools: update to 56.0.0
(From OE-Core rev: 589a5695befb887f290746a3fc85d291fcb881ff)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Alejandro Enedino Hernandez Samaniego
a8ec0d8cfd python3: Upgrade 3.9.2 -> 3.9.4
- Rebased patch 0001-test_locale.py-correct-the-test-output-format
  Maintainer needs to sign CLA and resubmit
- configure now explicitly requires autoconf-archive to be present

(From OE-Core rev: 34cb8f2a2ed36ad929dca9055c96f2f843656b8f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Alejandro Enedino Hernandez Samaniego
51b7ecfef3 python3: Improve logging, syntax and update deprecated modules to create_manifest
The imp module has een deprecated by upstream python, drop its usage
  (imp.get_tag) in favor of sys.implementation.cache_tag.

Avoid incorrectly getting dependencies for running script and
multiprocessing module.

Improve logging behavior of the create_manifest task:
- Use indentation.
- Logs on temp directory.
- Use a proper debug flag.
- Standarize syntax.

(From OE-Core rev: a3ac339f5b8549a050308ba94c4ef9093f10e303)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Khem Raj
18007c25bd systemd: Fix build on mips/musl
(From OE-Core rev: b4a0d8799af0a3d1b685dd7200b545fdb2c79d64)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Otavio Salvador
44b37abc66 gstreamer1.0-plugins-base: Use bb.utils.filter to reduce code
(From OE-Core rev: ec3a1cb77131a3cf61fc005c84295d282a2eb80a)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Otavio Salvador
8569ec6e7e gstreamer1.0-plugins-base: Add 'viv-fb' OpenGL Window System option
This adds the 'viv-fb' PACKAGECONFIG option to allow Vivante GPU window
system to work.

(From OE-Core rev: 846564f1a999ea044f580bd61f7bcd527af62dce)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
7117390a42 python3-pygobject: upgrade 3.38.0 -> 3.40.1
(From OE-Core rev: 3a274301edc359fba086e36da1272af93d59d178)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zangrc
a369684a85 maintainers.inc: Modify email address
zangrc.fnst@cn.fujitsu.com -> zangrc.fnst@fujitsu.com
wangmy@cn.fujitsu.com -> wangmy@fujitsu.com

(From OE-Core rev: 6e8562e5b924e6c10625c2e9b660eed89fdfbdf4)

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
313c21d257 mesa: upgrade 21.0.1 -> 21.0.2
(From OE-Core rev: 58ad359da1b05820ea3dc4ae3f789ccb8991fc32)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
3d389d46d7 go: update SRC_URI to use https protocol
(From OE-Core rev: 2a1eb731ed3bcb049192550e362b771c3a9ea6eb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Yanfei Xu
6a58e0c4ad parselogs: ignore floppy error on qemu-system-x86 at boot stage
We can disable floppy drive by BIOS on a hardware, but an empty floppy
drive is connected by default on qemu-system-x86. Linux usually detect
the device and modprode the matched floppy.ko at the boot stage. Due to
we don't specify a floppy deivce in qemu boot arguments, then the errors
about floppy reading comes out.

It is harmless and normal, so we could ignore this error message on
qemux86.

Seen if kernel-modules is included in the image which pulls in the
relavent kernel module.

https://lists.gnu.org/archive/html/qemu-devel/2021-04/msg01402.html

(From OE-Core rev: 3359f23ee9351c70997d5e0a17d17d1e47d59623)

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Jon Mason
f349bce59e oeqa/runtime: space needed
Messages are currently being printed as:
	Test requires dropbear, oropenssh-sshd to be installed
but should be
	Test requires dropbear, or openssh-sshd to be installed
Adding the space after the 'or' corrects this.

(From OE-Core rev: 51596e0f8cebe1607ab64ffb018d51e815c0ee4b)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
c3bd6ba29a man-pages: upgrade 5.10 -> 5.11
(From OE-Core rev: 40b0cd87c6677220168bfa029e68437b43d51df5)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
e88cb57ea8 mpg123: upgrade 1.26.4 -> 1.26.5
(From OE-Core rev: f277c3bbde507ae1830b1ba6c5ce9c0878f42491)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Mingli Yu
d186f922ef groff: not ship /usr/bin/grap2graph
grap2graph which converts a GRAP diagram into a cropped image fails
to run as below:
 $ grap2graph
 /usr/bin/grap2graph: line 89: convert: command not found
 /usr/bin/grap2graph: warning: falling back to old '-crop 0x0' trim method
 /usr/bin/grap2graph: line 104: convert: command not found
 /usr/bin/grap2graph: line 103: grap: command not found

Considering we don't often need to convert a GRAP diagram into
a cropped image and the recipe ImageMagick which provides convert
command is in meta-oe layer, so don't ship the related files to
avoid the confusion about the above run time error.

(From OE-Core rev: 251be7279a475ee18c0c53fe9795bb37bffc2b45)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
67609b751e icu: upgrade 68.2 -> 69.1
refresh 0001-icu-Added-armeb-support.patch

(From OE-Core rev: 6b22fce3a8a3567c794d0d701ffd14b61ea859c8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
2e95ad1e67 libdrm: upgrade 2.4.104 -> 2.4.105
0001-meson-Also-search-for-rst2man.py.patch
removed since it is included in 2.4.105

(From OE-Core rev: 7871f85a9fe610f600c4234fce38d24808f5a2fd)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
9ff374170d librepo: upgrade 1.13.0 -> 1.14.0
(From OE-Core rev: 7017725b14888c9668efcad92bca46b4d1ce9a68)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
zhengruoqin
86f2dff78b libdazzle: upgrade 3.38.0 -> 3.40.0
(From OE-Core rev: 5c184382bd9e952d91993bd29320357360d79cb3)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
fb2be3e462 libcomps: upgrade 0.1.15 -> 0.1.16
refresh 0001-Add-crc32.c-to-sources-list.patch

(From OE-Core rev: f1f66e20eeea7bb1c370991490d34f868cd8a964)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
wangmy
98d10b1c42 libcap: upgrade 2.48 -> 2.49
License-Update: add description of GPL v2.0

(From OE-Core rev: 2a02e5622d07146687f72615e9bcb8612cce03e3)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Richard Purdie
b3092cf96d sanity: Add error check for '%' in build path
It has been reported that '%' characters in build paths break with python
exceptions, probably due to confusion with python string escaping. Whilst it
is probably fixable, showing the user a human readable error is better given
it doesn't work.

[YOCTO #14282]

(From OE-Core rev: 31a3cf78452270131a657be45e76569515cff7ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Ross Burton
9230ef121d insane: clean up some more warning messages
(From OE-Core rev: 2abe18682192e7b38b9af5a5043906f2f069648f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Armin Kuster
190a53a942 binutils: rename BRANCH var
If BRANCH is defined in local.conf then that name is used to d/l sources
for binutils. You will get this error:

Fetcher failure for URL: 'git://sourceware.org/git/binutils-gdb.git;branch=hardknott;protocol=git'. Unable to fetch URL from any source.

Rename to SRCBRANCH like glibc has to avoid the more common variable name BRANCH.

(From OE-Core rev: 40d18272cd765420080fffc0e4bde7e3e79982af)

Signed-off-by: Armin Kuster <akuster808@gmail.com>

--
V2]
Remove commented out BINUPV and function

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Kevin Hao
a24d0161f6 Revert "inittab: Add getty launch on hvc0 for qemuppc64"
This reverts commit ed69ef2016.

The console entry has already been added into /etc/inittab based
on the SERIAL_CONSOLES. So drop this redundant entry.

(From OE-Core rev: 633f0c6b74e3caa2bae52ca60c61b811b7b2215d)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Kevin Hao
bfbccfd85f sysvinit-inittab/start_getty: Check /sys for the tty device existence
The hvc tty driver doesn't populate a file like /proc/tty/driver/serial,
so the current implementation of start_getty doesn't work for the hvc
console. By checking the /sys/class/tty/ for the tty device existence,
it should support more console types and also make the codes more simple.

(From OE-Core rev: 670ceef0f6584ece5ce4176610255226a6148570)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Kevin Hao
7d9a47e623 modutils-initscripts: Bail out when no module is installed
Fix the following warning when boot with a core-image-minimal rootfs:
  depmod: can't change directory to 'lib/modules/5.10.25-yocto-standard': No such file or directory

(From OE-Core rev: c34650400182a1104a5fbe03e54f5cea69eb1900)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Mingli Yu
25e1aabea6 libtool: make sure autoheader run before automake
When use automake to generate Makefile.in from Makefile.am, there
comes below race:
 | configure.ac:45: error: required file 'config-h.in' not found

It is because the file config-h.in in updating process by autoheader,
so make automake run after autoheader to avoid the above race.

(From OE-Core rev: 1fc0a4a98e65db7efba8bb5cb835101ea5dd865b)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Gavin Li
55c1c00456 kmod: do not symlink config.guess/config.sub during autoreconf
I was encountering the following race condition on poky:

- automake-native does do_install.
- automake-native does do_populate_sysroot. This hardlinks config.guess
  and config.sub into ${D}.
- kmod-native does do_configure. This runs `autoreconf`, which runs
  `automake --add-missing` (symlinks config.guess/config.sub from
  recipe-sysroot-native to build dir), then runs `gnu-configize` (copies
  _its own_ config.guess/config.sub _on top_ of the already existing
  ones). Since the destinations already had symlinks, the copy would
  overwrite config.guess/config.sub in recipe-sysroot-native, which
  would in turn overwrite the same in ${D} due to being hardlinked.
- automake-native does do_package. The outhash is thus calculated on the
  clobbered config.guess/config.sub files.

With hash equivalency enabled, the different outhash produced a
different unihash, which kept me from reusing sstate between my laptop
and my build server. This race condition would happen only on the build
server (BB_NUMBER_THREADS = 32) but never on my laptop
(BB_NUMBER_THREADS = 6).

I didn't see the --install and --symlink flags being used by any other
recipe, so I removed them, and that fixed the issue.

(From OE-Core rev: 89d675efd633b495daa4a3a57420b9c309497035)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Saul Wold
984dddf288 pango: re-enable ptest
The run-ptest script got accidently dropped from the SRC_URI during
a past update and ptest patch.

(From OE-Core rev: 4479f810c1a3ab2badf4f9610c309bc0e23e2a5f)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:26 +01:00
Anthony Bagwell
77ee8ef875 systemd: upgrade 247.4 -> 247.6
(From OE-Core rev: 63fbf39b8aa3d94ca2db719d1a53190045dbb86d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
bdda15e0f3 go: upgrade 1.16.2 -> 1.16.3
This is bugfix release in 1.16 series [1]

[1] https://github.com/golang/go/issues?q=milestone%3AGo1.16.3+label%3ACherryPickApproved

(From OE-Core rev: 84188e7b78aa40b168b526fa5d681a8a21d3b77c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Jose Quaresma
cac76cef79 gstreamer1.0: update patch upstream status
(From OE-Core rev: 0bd65127a249ce8a1199d4961e2351dbd6d83dd6)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Konrad Weihmann
ded1504299 cpan-base: set default UPSTREAM_CHECK_REGEX
as cpan release versions are almost always follow an a.b version scheme,
it's better to filter out beta releases such as a.b.c.
Use the first resource fetched from https://cpan.metacpan.org as base
for calculating the needed regex.
In case nothing can be calculated fall back to nothing.
Add this to cpan-base to enable it for new & old style cpan integration.

(From OE-Core rev: 3df2cf383b58a3100bd78ebb0369047221121512)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Ross Burton
da24dbf7b9 glslang: strip whitespace in pkgconfig file
Whilst pkg-config is fine with .pc files containing leading whitespace,
pkgconf is less forgiving.

(From OE-Core rev: 14bfe5f15f78c1bc049868633fd6fa19feb5a70c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Jonas Höppner
bcb4246fa6 ltp: fix empty ltp-dev package
Currently the headers are not installed and the ltp-dev package is
empty.

This patch adds an include-install make target in the do_install step to
install them in sysroot which ends up as a working ltp-dev package.

(From OE-Core rev: f6943da4444cd71053650be0c9212bc25ac53137)

Signed-off-by: Jonas Höppner <jonas.hoeppner@garz-fricke.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anatol Belski
036a8d4330 cross-canadian: Whitelist "mingw32" as TARGET_OS
If a recipe inherits cross-canadian and contains "nativesdk" in
BBCLASSEXTEND and meta-mingw is included and multiconfig is enabled,
bitbake will generate the correspending recipe. As meta-mingw sets
SDK_OS to "mingw32", that's what TARGET_OS will be set to as well.
Thus, currently such a recipe won't pass the check and fail with
a message:

Building cross-candian for an unknown TARGET_SYS
(x86_64-mysdk-mingw32), please update cross-canadian.bbclass

Even when building an SDK targeting Linux, but the mentioned conditions
are met, bitbake will try to generate the corresponding recipe and fail.

As the described combination seems valid, including "mingw32" into the
whitelist unconditionally as a fix is suggested.

(From OE-Core rev: d9306e8f9dbdbd30382f0bc0f0a1af75e702a2aa)

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Mingli Yu
0ae3f1edd6 packagegroup-core-tools-testapps.bb: Remove kexec for riscv32
kexec is not yet ported to riscv32.

(From OE-Core rev: f1e7da7737b3d6df27cc5af002fd1eb0c202d0b4)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Mingli Yu
5228f37b7e packagegroup-core-tools-profile: Remove valgrind for riscv32
valgrind is not yet ported to riscv32.

(From OE-Core rev: df70bc4c60838af1dd7e7f31aba43e8d190def77)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Mingli Yu
8cf34c3517 libxshmfence: Build fixes for riscv32
NR_futex is not defined by newer architectures e.g. riscv32 as
they only have 64bit variant of time_t. Glibc defines SYS_futex
interface based on __NR_futex, since this is used in applications,
such applications start to fail to build for these newer architectures.

Define a fallback to alias __NR_futex to __NR_futex_time64 to make
SYS_futex keep working.

Reference: https://git.openembedded.org/openembedded-core/commit/?id=7a218adf9990f5e18d0b6a33eb34091969f979c7

(From OE-Core rev: 81599bf32135187b34726d41e9f619d22ca1bdd1)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Ulrich Ölmann
91aa850998 arch-armv6m.inc: fix access rights
(From OE-Core rev: 2f7ebe444c2a78ef149b8c5f0f005ab23f24a176)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Douglas Royds
a7c950d7b5 externalsrc: Detect code changes in submodules
Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our source subtree.

[YOCTO #14333]

(From OE-Core rev: 1c18225d3ef94a41fc073ae87c163b68e6d46571)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Douglas Royds
52c1cb2a9d Revert "externalsrc: Detect code changes in submodules"
This reverts commit 4525310d49d115a37705f04ac5c03d639e5e8f8c.

Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

The (undocumented) git submodule--helper returns a path
for each submodule relative to the top of the repo.
Don't add submodules that are not within our EXTERNALSRC subtree.

If we unpack one git repo inside another, like this:

    SRC_URI = "git://${GIT_SERVER}/repo1;name=repo1;destsuffix=repo1 \
               git://${GIT_SERVER}/repo2;name=repo2;destsuffix=repo1/repo2 \
               "

Git status reports, for repo1:

    Untracked files:
      (use "git add <file>..." to include in what will be committed)
	repo2/

If we run `devtool modify` on this recipe, do_patch runs with:

    PATCHTOOL = "git"
    PATCH_COMMIT_FUNCTIONS = "1"

The `patch_task_postfunc` (patch.bbclass, line 82) runs a `git add .` on the
top-level repo1, leaving the checkout in an invalid state. The following git
warning does not appear in the log:

    $ git add .
    warning: adding embedded git repository: repo2
    hint: You've added another git repository inside your current repository.
    hint: Clones of the outer repository will not contain the contents of
    hint: the embedded repository and will not know how to obtain it.
    hint: If you meant to add a submodule, use:
    hint:
    hint: 	git submodule add <url> repo2
    hint:
    hint: If you added this path by mistake, you can remove it from the
    hint: index with:
    hint:
    hint: 	git rm --cached repo2
    hint:
    hint: See "git help submodule" for more information.

    $ git submodule status
    fatal: no submodule mapping found in .gitmodules for path 'repo2'

No further git submodule commands can be run on the checkout.

We could enhance the `patch_task_postfunc` to look for any embedded git
checkouts and add them as submodules, but this seems unnecessary complexity for
an obscure edge-case. Although the git repo is left in an invalid state with
respect to the submodules, it still serves the purpose required by devtool:
To take further commits, and generate patch files from them.

We are still able to run these commands to examine any submodules,
where git submodule--helper reports paths relative to the top of the checkout:

    $ git ls-files --stage | grep ^160000
    160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0   repo2

    $ git submodule--helper list
    160000 5feee12d6e974dd8c0614cf5b593380b046439a5 0   repo2

When a recipe sets EXTERNALSRC to a subdirectory of the git checkout, we test
for the existence of the reported submodule paths within the EXTERNALSRC
directory.

The latest versions of git submodule--helper accept a path to a subdirectory and
correctly report no submodules within that subdirectory. Regrettably, we still
support git versions that don't accept a path to a subdirectory.

[YOCTO #14333]

(From OE-Core rev: 2055718fdd19f925e236d67823017323bbd92a4b)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Samuli Piippo
91cb0b9645 assimp: BBCLASSEXTEND to native and nativesdk
At least some Qt tooling depends on assimp.

(From OE-Core rev: 49c6742eba328236cb73c0ac59b6288f29c46c81)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
40f1ab6a53 libksba: upgrade 1.5.0 -> 1.5.1
(From OE-Core rev: 506a99a9f2dd49bacc06821ad5e953c15d44b5e2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
c2804bba62 libportal: upgrade 0.3 -> 0.4
(From OE-Core rev: c6517d33eed8b092d2eda04b9173892139090b4c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
82fb0385a9 help2man: upgrade 1.48.2 -> 1.48.3
(From OE-Core rev: 27a2cbc0fa14ed8f6bdf5e75c38203238ed82931)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
8c1dff642c libva-utils: upgrade 2.10.0 -> 2.11.1
(From OE-Core rev: e296fc53b738c3a2b72831a6d6d003f28f19d062)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
122293878e ruby: upgrade 3.0.0 -> 3.0.1
(From OE-Core rev: b6949a028fd31bd04ed0478fb34a58b971f31e1f)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
32710bff53 libva: upgrade 2.10.0 -> 2.11.0
(From OE-Core rev: 47360e2dacf0521260ef5883f4a741eb8c69a18e)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Yi Fan Yu
1a42923505 Revert "glib-2.0: add workaround to fix codegen.py.test failing"
This reverts commit afc9ba7d546f3f2e60fb6f46f740dc925542df16.

Ptest-runner was upgraded in e3fd8f17dfb41173dbe037c25087a69f90b1346f,
which means we no longer need to limit glib-2.0 ptest output.

[YOCTO #14170]

(From OE-Core rev: e7be3901e43645796e195348924739d03495a079)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
hongxu
9ca4b13bd5 deb: apply postinstall on sdk
If not postinstall applied, some nativesdk command could not be found
in sdk due to update-alternatives in postinst not be executed, such as chroot:

$ which chroot
/sbin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils

After applying the fix
$ which chroot
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot
$ which chroot.coreutils
path-to-sdk/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/chroot.coreutils

(From OE-Core rev: 2a9bf19502766baa4087456649d5471483d04f6a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anders Wallin
9e0f210179 scripts/contrib/image-manifest: add new script
image-manifest: script to generate product/image specific BOM

The image-manifest script generates image specific reports based on
an image manifest file. Currently there is data generated by buildhistory,
pkgdata, and license manifest but this data is poorly formated and spread
across multiple text files. This script can generate a single JSON output
file that is machine readable by other tools.

The manifest-info collects package information and stores the information
in a tarball. manifest-info can be configured using a json configuration
file. The default configuration including all possible options can be
dumped using the dump-config subcommand.

image-manifest takes an image manifest file as input to get the runtime
dependencies. As an option image-manifest can also use the build dependency
file, pn-buildlist, to get the build dependencies excluding native
packages.

This script extends the oe-image-manifest script [0] done by Paul Eggleton

[0]
https://github.com/intel/clear-linux-dissector-web/blob/master/layerindex/static/files/oe-image-manifest

------------------------------------------------------
usage: image-manifest [-h] [-d] [-q] <subcommand> ...

Image manifest utility

options:
  -h, --help     show this help message and exit
  -d, --debug    Enable debug output
  -q, --quiet    Print only errors

subcommands:
  recipe-info    Get recipe info
  list-depends   List dependencies
  list-recipes   List recipes producing packages within an image
  list-packages  List packages within an image
  list-layers    List included layers
  dump-config    Dump default config
  manifest-info  Export recipe info for a manifest
Use image-manifest <subcommand> --help to get help on a specific command

Co-developed-by: Paul Eggleton <bluelightning@bluelightning.org>
(From OE-Core rev: ad8fec9ce1704866df925bda18a240d6889b1ed5)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Stefan Ghinea
f07d4c2234 wpa-supplicant: fix CVE-2021-30004
In wpa_supplicant and hostapd 2.9, forging attacks may occur because
AlgorithmIdentifier parameters are mishandled in tls/pkcs1.c and
tls/x509v3.c.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-30004

Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=a0541334a6394f8237a4393b7372693cd7e96f15

(From OE-Core rev: b32b671bf430b36a5547f8d822dbb760d6be47f7)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
317907d736 acpica: upgrade 20210105 -> 20210331
(From OE-Core rev: 5165d2e38406c29809dcdbbde4fbc48bcda01b43)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
218e1e3f47 curl: upgrade 7.75.0 -> 7.76.0
(From OE-Core rev: c1dfe36c5641ce1ddc1424e56037e23fd927c058)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
3db91ef623 file: upgrade 5.39 -> 5.40
0001-src-compress.c-correct-header-define-for-xz-lzma.patch
removed since it is included in 5.40

(From OE-Core rev: ae73c5fa666c0e0a7d1d7a04acd6246542b744aa)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anders Wallin
565cbd773d lttng-tools: Fix path for test_python_looging
" was missing

(From OE-Core rev: e1780ccfc89e9ff4e260276f28ffa0bb8e9b44e1)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Anders Wallin
beb01f1820 lttng-tools: Fix missing legacy test files
tests/regression/tools/save-load

(From OE-Core rev: 2e892895e25d148b4c522e3a30bfb1bb4e9a9506)

Signed-off-by: Anders Wallin <anders.wallin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
Khem Raj
5765253344 vte: Upgrade to 0.64.0 release
Use git for SRC_URI as thi release has not appeared on gnome downloads yet
Drop LGPL-2.0 as it has fully moved to LGPL-3.1+ see [1] that also
covers for change in License checksums for GPL-3

Add license information to cover for Xterm files in libvte

Add new glade files into -dev package

[1] 5e14529d42

(From OE-Core rev: 4a1a20325e2d40256e03ab1a5be348a4c213d181)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
wangmy
54dff05002 glib-2.0: upgrade 2.66.7 -> 2.68.0
the following patches are refreshed:
0001-Set-host_machine-correctly-when-building-with-mingw3.patch
0001-gio-tests-codegen.py-bump-timeout-to-100-seconds.patch
0001-tests-codegen.py-removing-unecessary-print-statement.patch
relocate-modules.patch

the following patches are removed since they are included
in 2.68.0:
0001-gobject-Drop-use-of-volatile-from-get_type-macros.patch
0002-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0003-tests-Fix-non-atomic-access-to-a-shared-variable.patch
0004-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0005-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0006-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0007-gdbusconnection-Drop-unnecessary-volatile-qualifiers.patch
0008-gdbuserror-Drop-unnecessary-volatile-qualifiers-from.patch
0009-gio-Drop-unnecessary-volatile-qualifiers-from-intern.patch
0010-kqueue-Fix-unlocked-access-to-shared-variable.patch
0011-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0012-tests-Fix-non-atomic-access-to-some-shared-variables.patch
0013-gatomic-Drop-unnecessary-volatile-qualifiers-from-in.patch
0014-gatomic-Drop-unnecessary-volatile-qualifiers-from-ma.patch
0015-glib-Drop-unnecessary-volatile-qualifiers-from-inter.patch
0016-gobject-Drop-unnecessary-volatile-qualifiers-from-in.patch
0017-gmessages-Drop-unnecessary-volatile-qualifiers-from-.patch
0018-gtypes-Drop-volatile-qualifier-from-gatomicrefcount.patch
0019-gatomicarray-Drop-volatile-qualifier-from-GAtomicArr.patch
0020-gobject-Drop-volatile-qualifier-from-GObject.ref_cou.patch
0021-tests-Drop-unnecessary-volatile-qualifiers-from-test.patch
0022-build-Drop-unnecessary-volatile-qualifiers-from-conf.patch
0023-gdbusprivate-Avoid-a-warning-about-a-statement-with-.patch
0024-tests-Add-comment-to-volatile-atomic-tests.patch
0025-gthread-Use-g_atomic-primitives-correctly-in-destruc.patch
0026-gtype-Fix-some-typos-in-comments.patch
0027-gtype-Add-some-missing-atomic-accesses-to-init_state.patch
0028-gresource-Fix-a-pointer-mismatch-with-an-atomic-load.patch
0029-docs-Document-not-to-use-volatile-qualifiers.patch

(From OE-Core rev: fde4cb18e28e98f934c0742292f7ec183a568233)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
d7e0475b50 python3-gitdb: upgrade 4.0.5 -> 4.0.7
(From OE-Core rev: 4abef6ce5093ce62fb583eba1f103f1b79723723)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
4ca98c14a6 python3-dbusmock: upgrade 0.22.0 -> 0.23.0
(From OE-Core rev: 114950983c82a7412301ed88bf1f74d7f2d2ac14)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:25 +01:00
zhengruoqin
075ac6ca72 netbase: upgrade 6.2 -> 6.3
(From OE-Core rev: 9fd991163cfce6c4a1cf481b42c493eccb0a5a1a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
2e7c5829fc libsolv: upgrade 0.7.17 -> 0.7.18
(From OE-Core rev: a06a4d19b102c4b1fbdb969c8b6e96c2ffba3ef9)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
bf8055edad ghostscript: upgrade 9.53.3 -> 9.54.0
(From OE-Core rev: bb4cdbda73b77808ebbd17cce3420fab767b496d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
446a078ad5 gcr: upgrade 3.38.1 -> 3.40.0
(From OE-Core rev: d9f8925864d80d959b2b145c00fb36423f6dd08e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
6852a907dc ccache: upgrade 4.2 -> 4.2.1
License-Update: add license information of src/third_party/win32/winerror_to_errno.h

(From OE-Core rev: 12f0aa9533edc7ac5a65b1c165797b049349b19e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
49652a4910 dbus-glib: upgrade 0.110 -> 0.112
License-Update:add the following information of license
     SPDX-License-Identifier: AFL-2.1 OR GPL-2.0-or-later

(From OE-Core rev: fbc9e6f5c2a45ff917b7c255487616d922bdeb7a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
wangmy
da9f221f70 ell: upgrade 0.38 -> 0.39
(From OE-Core rev: dba7774a0f34eea86707a011941c7b3ef2fa5c1c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Randy MacLeod
0b16b83dff sqlite3: upgrade 3.35.0 -> 3.35.3
(From OE-Core rev: 7d511f9b2b1f739e0c96a063d85428b3ab5767b3)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
af42c1a8ad vte: upgrade 0.62.2 -> 0.62.3
(From OE-Core rev: f258154135980c054c220a34c6a9c4278d2038c3)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
b676111c64 webkitgtk: upgrade 2.30.5 -> 2.30.6
(From OE-Core rev: 9a3a925cc90f1b882463f3e885af441177a8215c)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
zhengruoqin
7b4b6ff618 wpebackend-fdo: upgrade 1.8.0 -> 1.8.2
(From OE-Core rev: c65d04d555df94ad3b5c1076d8b5097de699f8c5)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
zhengruoqin
19ff739725 epiphany: upgrade 3.38.2 -> 3.38.3
(From OE-Core rev: 5062a5a0e7d2228051721346bbc2abb4ab7c9ecc)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
31e395f4ba libassuan: upgrade 2.5.4 -> 2.5.5
refresh libassuan-add-pkgconfig-support.patch

(From OE-Core rev: e4948654311034d75352ffd74d7f602d7f8394de)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
8c88d149c8 valgrind: Add libstdc++ debug symbols for ptest
new/delete symbols are needed by overloaded-new.post test

(From OE-Core rev: 11bb1fe42590fd35ae5f24196d263f93dd063d35)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
5015e6711d valgrind: Add glibc-src to ptest rdeps
gdbserver tests look for glibc sources ( rtld.c )
or else they are flagged as differences and tests marked as failures

(From OE-Core rev: 3824f811db82c6f2360eea19a9df9129f4330291)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
5751bf6e14 valgrind: Delete trailing whitespaces
(From OE-Core rev: 2a049dd918e565c37b03af03973c695420b9599a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Yi Fan Yu
e90519f1b5 valgrind: Fix ptest swapcontext.vgtest
Backport an upstream patch.
to limit the amount of stackstrace present.

Revert "valgrind: Disable ptest swapcontext.vgtest"
Effectively reverts commit 9dff5766f5795bb02677050045f24365f68bbc1a.

[YOCTO #14324]

(From OE-Core rev: a9baae5994354ba6410793f8a54e224e9dc21b5a)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Yi Fan Yu
0f51493992 valgrind: Disable ptest swapcontext.vgtest
New test introduced in valgrind 3.17.0.
Test fails on both qemuarm64 and qemux64.

[YOCTO #14324]

(From OE-Core rev: 2c21e5dda1d88280be3062eabb8c2788ff543600)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Yi Fan Yu
70dcfaea5e valgrind: update 3.16.1 -> 3.17.0
Notable changes:
* library is now in libexecdir instead of libdir

Added patches:
* Add musl.supp: missing musl.supp in 3.17.0

Dropped backport patches:
* nlcontrolc: found in c79180a3afcf65902e578646c3b716cc749db406
* drd Fedora33: found in 15330adf7c2471fbaa6a0818db07078d81dbff97
* lmw lswi ppc64le: found in 74b74174d572fee4015b8f4e326db3cd949bcdc3

Other dropped patches
* helgrind intercept: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9
* drd musl fix: found in d2d54dbcc74244adfc0c80b40862edf2b82f53b9

TESTING RESULTS:
qemux86-64:
FAIL: drd/tests/swapcontext

      3.17.0  3.16.1
===================
TOTAL:  736    726
PASSED: 694    688
FAILED:   1      0
SKIPPED: 41     38

(From OE-Core rev: 7c8c04ad933be38a806da355158c1e13e2c1b84c)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
ea6c56ed89 boost-build-native: upgrade 4.3.0 -> 4.4.1
(From OE-Core rev: 9c8cc168d215d5eb784997a40c31262904ff8145)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
583a26f346 babeltrace2: upgrade 2.0.3 -> 2.0.4
(From OE-Core rev: 628d335300ac378f8b7af5d1437873990fffa9e5)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Wang Mingyu
0732afc6e9 at-spi2-core: upgrade 2.38.0 -> 2.40.0
(From OE-Core rev: 3e3e158839b57221919d1dd54eb54fffc1f9ac1b)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Richard Purdie
83b9c24889 layer.conf: Update to add post 3.3 release honister series
(From OE-Core rev: c0f43f19fecfd16f973c2d2f8227106c46b451bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Chen Qi
bbec2f3f29 busybox: fix CVE-2021-28831
Backport patch to fix CVE-2021-28831.

(From OE-Core rev: e579dbd9a6b2472ca90f411c0b594da9e38c9aca)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Daniel Ammann
cf80f79422 archiver: Fix typos
(From OE-Core rev: 36de56496bc07c321162555d603fac756297911a)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
27eadb84fe gcc-runtime: Make DEBUG_PREFIX_MAP relative to S
Current definition of SLIB is actually equal to S but is hardcoded, this
means when we have altered location of S, then the regexp for
DEBUG_PREFIX_MAP will not be effective, which could result in S being
emitted into debug_line sections. Simplify the maps to use S variable
instead of SLIB

Secondly, rename SLIB_NEW to REL_S to make it more appropritate to what
it represents

(From OE-Core rev: 2c8e130adb5d4d55ba732a042ec157498460ee29)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
f715025381 glibc: Rename glibc src package
Since glibc uses custom PACKAGES, it misses using ${PN}-src and as a
result it uses libc-src for name which means creating rdep on glibc src
package becomes difficult since bitbake can not resolve rdep = glibc-src
back to glibc recipe and bails out on builds

Missing or unbuildable dependency chain was: ['glibc-src']
ERROR: Required build target 'valgrind' has no buildable providers.
Missing or unbuildable dependency chain was: ['valgrind', 'glibc-src']

(From OE-Core rev: 816c8529f05271aba3d414ab2e68506ac7b6ec69)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khem Raj
e237e345fb gcc: Upgrade to 10.3.0 bug-fix release
Drop aarch64 backports which are already upstream
List of bugs fixed is [1]

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=298084&resolution=FIXED&target_milestone=10.3

(From OE-Core rev: 023806e0e0de2b0e814e6e38d78bf2faa9661f19)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Khairul Rohaizzat Jamaluddin
b50e51b1c8 qemu: Fix CVE-2020-35517
CVE:
CVE-2020-35517

(From OE-Core rev: 51376edb13eed748395ebe1e56081c092565be9b)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Richard Purdie
84a6d97670 oeqa/selftest: Ensure packages classes are set correctly for maintainers test
The dnf packages aren't parsed if rpm isn't in PACKAGE_CLASSES which means
the aintainers test failes for OE-Core (where ipk is the default) but not
for poky (where the default is rpm).

Ensure PACKAGE_CLASSES is set so it works in all cases.

[YOCTO #14277]

(From OE-Core rev: 842b11107363357ed933cfcf619f1cf23f0d841e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:24 +01:00
Richard Purdie
773f19df44 pseudo: Upgrade to add trailing slashes ignore path fix
Pull in:
  client: strip trailing slashes when opening an ignored path

(From OE-Core rev: 9fb92bc13b8a78ef98798f14e728058feb180ba6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:23 +01:00
Peter Budny
16aeb6e94f lib/oe/terminal: Fix tmux new-session on older tmux versions (<1.9)
`tmux new -c` fails on tmux older than 1.9, when that flag was added.
We can omit the flag for older versions of tmux, and the working
directory gets set even without it.

(From OE-Core rev: c55c294be6f5119f4c58a4e7a0bc052904126569)

Signed-off-by: Peter Budny <pbbudny@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-18 11:37:23 +01:00
Richard Purdie
227a93441f oeqa/selftest: Hardcode test assumptions about heartbeat event timings
Setting a value of 10 for heartbeat events causes the test to fail. Hardcode
a value to ensure it works correctly even if the default is changed.

(From OE-Core rev: 08b2c9a23ce43ed65a16f5f0714b19a571e1b54a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-16 13:37:08 +01:00
Sakib Sajal
1cb269448b oe-time-dd-test.sh: provide more information from "top"
Improvements:
    - increase width to 512
    - pass -c option to show full command-line

(From OE-Core rev: aeae9467af5609c3c7bf8d0379d5546d9797ead5)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-16 09:24:48 +01:00
Sakib Sajal
6e8f334c77 oe-time-dd-test.sh: make executable
(From OE-Core rev: d58d5ce00a997646fc7b691e6fd23ebd7f84e3ab)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-16 09:24:48 +01:00
Paul Eggleton
1203d1f24d ref-manual: add mention of DISTUTILS_SETUP_PATH
Add a variable glossary entry and corresponding 3.3 migration
section entry for DISTUTILS_SETUP_PATH.

(From yocto-docs rev: 0823237e6f4b9dbdf48500b3c1e8cc61696fa2d2)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:58 +01:00
Paul Eggleton
34a72cf613 ref-manual: migration guide: add release codenames
People will see release codenames in other contexts, and thus it is
useful to mention them explicitly here rather than having to go to the
Releases wiki page to map version number to release codename.

(From yocto-docs rev: fe3a91e8b3ef09b79711b62c6a08643f9444dcec)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:58 +01:00
Paul Eggleton
e88b0ba326 ref-manual: add migration section for 3.3 release
(From yocto-docs rev: b8b6e8335be382337fe4adda11d5a90872ff4c79)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:58 +01:00
Paul Eggleton
5b11fd8881 ref-manual: tweak buildtools section
Add a joining paragraph and fix the second section so that it makes
sense with the addition of the first one.

(From yocto-docs rev: 8ee993995d9d72873f36e40dda5e3f345901978c)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:58 +01:00
Paul Eggleton
93e2dd396e ref-manual: fix reference to build-essential
This has been here since the text was added to the DocBook version.

(From yocto-docs rev: 611588b065ab98d7021173525027d16b5ab519c8)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:58 +01:00
Paul Eggleton
4af4b69f71 ref-manual: add FIT_KERNEL_COMP_ALG*
Add FIT_KERNEL_COMP_ALG and FIT_KERNEL_COMP_ALG_EXTENSION. Examining
OE-Core commit 5c72105e2973e613b5c0f0e6310ffdea6e56c6c7 and the
associated code, these do not enable arbitrary selection of compression
algorithm - only disabling compression - so document them accordingly.

(From yocto-docs rev: 41640526dd87153fdf802b058336c6fb466b8ade)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:58 +01:00
Paul Eggleton
e7559be8d5 ref-manual: add passwd-expire to EXTRA_USERS_PARAMS
Add a reference to the recently added passwd-expire command in
EXTRA_USERS_PARAMS.

(From yocto-docs rev: 9a6c8b37a1e6baab4dfb2ffe7b4abdf7dcbb8822)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:58 +01:00
Paul Eggleton
bf68c627b1 ref-manual: add python3targetconfig class and remove python 2 references
Add the recently added python3targetconfig class. Also, we no longer
have the python 2 classes, remove all references to those.

(From yocto-docs rev: c63d88656e2fc5361c512d4d9b426260c3e339f3)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:58 +01:00
Paul Eggleton
70441f2b73 ref-manual: add REQUIRED_VERSION and adjust PREFERRED_VERSION entry
Add REQUIRED_VERSION, add a reference to it in PREFERRED_VERSION and
adjust the opening statement to read slightly better.

(From yocto-docs rev: c1c0b3600f2f6e752faacfc877b80c2dda7cf522)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:58 +01:00
Paul Eggleton
71b78ef384 ref-manual: and SDK_CUSTOM_TEMPLATECONF to glossary
(From yocto-docs rev: dc23e9cf8fa161388a52deae5e6c9da54c6573d5)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:58 +01:00
Paul Eggleton
06e98c4b80 overview-manual: fix git command line
There was an en dash here instead of a hyphen; this meant that the
command line could not be copied and pasted verbatim. (Admittedly that
is less likely here than in other examples, but let's correct it
anyway.)

(From yocto-docs rev: 4f289752fab3529516ad44e6e62a1042c339fd13)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:57 +01:00
Paul Eggleton
6a4a9e8333 ref-manual: update/fix text for SDK_VERSION
DISTRO_VERSION snapshot versions use METADATA_REVISION not DATE in
hardknott and thus the default for SDK_VERSION has been updated, so
update it here as well. Additionally, fix the text so it makes sense.

(From yocto-docs rev: 7b0c4229591d6325384800137e9242c2b030e118)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:57 +01:00
Paul Eggleton
8396001238 Use variables for minimum host versions and bump Python to 3.6
Minimum Git, tar, Python and gcc versions are specified in quite a few
different places. Let's add some variables for these so there's no
chance of missing one if they're updated in future. Additionally, for
hardknott the minimum Python version is 3.6 so set that as the value for
Python.

(From yocto-docs rev: 9a802bc4bb0438c2540f360a08c7787caf64408a)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:57 +01:00
Paul Eggleton
b56736ae76 ref-manual: add METADATA_REVISION and METADATA_BRANCH
These are not new variables, but we are using METADATA_REVISION in a new
place and thus need to refer to it.

(From yocto-docs rev: 3b80ece864e8cc06f09d3d4ee645ddeef5d4eaf6)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:57 +01:00
Paul Eggleton
f2a20f7bd0 bitbake: bitbake-user-manual: add REQUIRED_VERSION and adjust PREFERRED_VERSION entry
Add REQUIRED_VERSION, add a reference to it in PREFERRED_VERSION and
adjust the opening statement to read slightly better.

(Bitbake rev: b32e6c8d4ea2f83fe77021207e9db883fec82d97)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:57 +01:00
Paul Eggleton
1892aae539 bitbake: bitbake-user-manual: document no support for using passwords in git URLs
This is based on the comment added in revision
aded964eed4ce5a725ed1ab477efabc86b1aa481.

(Bitbake rev: 082683da089115d8b6f71f221cabb41ac401f733)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-15 20:18:57 +01:00
Nicolas Dechesne
ddc9e2fd33 docs: add a top level page for bitbake documentation
The top level index file includes a link to the Bitbake
documentation. This link is static, however the location of the
Bitbake documentation depends on the intersphinx configuration. As
such, when looking at an old YP docs release, the link to the bitbake
documentation is always the same (and wrong).

Since we cannot use a cross reference in a toc index, this patch
creates an intermediate page for bitbake documentation, and in that
page we insert the right link to the bibtake documentation
(e.g. :doc:`bitbake:index`) which will be adjusted dynamically based
on intersphinx config.

(From yocto-docs rev: 4f7f451df266a307b34bf145b29291ca85eb882f)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-09 15:24:46 +01:00
Quentin Schulz
c380ba5a17 docs: replace anchor links
Anchor links are treated by Sphinx as external links and are not checked
during build, meaning it is impossible to know if a link becomes broken or
not.

As a matter of fact, most of the anchor links replaced in this commit
were actually broken.

The README now states that anchor links are forbidden so that there's no
need to go through such a change later on.

(From yocto-docs rev: de9e4d26b46afa3c79137d07529a74553400d2e0)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-09 15:24:46 +01:00
Ulrich Ölmann
802ac0b75e sdk-manual: fix typo
(From yocto-docs rev: 5bde446a0335ccf7f3d772e1eef666aeb31eace3)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-09 15:24:46 +01:00
Richard Purdie
ca07d22405 bitbake: bitbake: Update version to 1.50.0 stable release series
(Bitbake rev: e70b925ba98fd4fedf3940d141a4210c953087ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-09 14:20:01 +01:00
Richard Purdie
e1839b58eb build-appliance-image: Update to master head revision
(From OE-Core rev: 14241ed09f9ed317045cf75a6d08416d3579bb8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:52:23 +01:00
Richard Purdie
42514ade8b poky.conf: Bump version for 3.3 hardknott release
(From meta-yocto rev: 32a30ba2b445e5a8440b35f44f0937c1f1190a71)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:43:23 +01:00
Bruce Ashfield
4de08d01ba perf-tests: add bash into RDEPENDS (v5.12-rc5+)
Upstream commit:

   commit 1dc481c0b0cf18d3952d93a73c4ece90dec277f0
   Author: Leo Yan <leo.yan@linaro.org>
   Date:   Sat Mar 20 18:45:54 2021 +0800

       perf test: Change to use bash for daemon test

       When executing the daemon test on Arm64 and x86 with Debian (Buster)
       distro, both skip the test case with the log:

Changes tools/perf/tests/shell/daemon.sh to be explicitly bash
(it was already required, but was just skipped on various
distros).

We add it into our RDEPENDS for perf-tests to fixup 5.12+
builds.

We already have relatively heavy RDEPENDS for perf tests (python3), so
adding bash into the RDEPENDS isn't signifcant even for older perf
builds that use the same recipe.

(From OE-Core rev: 159cdb159ad0e9d3ed73cfc07f9acd5c0b608e7b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:37:23 +01:00
Ross Burton
089929e831 oeqa/selftest: add test case for SRC_URI dependency sniffing
Add tests to verify that SRC_URI dependency sniffing works correctly.

(From OE-Core rev: 394b98f7d77c199a4a022447ec5d722ffb7d1741)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:37:23 +01:00
Klaus Heinrich Kiwi
900f8676e5 uboot: Fixes SPL verified boot on corner cases
* The kernel-fitimage class adds a do_assemble_fitimage_initramfs task
  regardless of INITRAMFS_IMAGE_BUNDLE setting, which in some cases can
  result in that task running after do_uboot_assemble_fitimage and
  overwriting the u-boot-spl.dtb file with the pristine version (without
  public key). Fix this by making do_uboot_assemble_fitimage dependant
  on both do_assemble_fitimage_* tasks, regardless of the aforementioned
  setting.

* Adjust 'type' and 'os' on the U-boot fitimage its script so that
  mkimage/dumpimage can recognize them.

* Move the deployment of the u-boot-spl-nodtb files outside of
  concat_spl_dtb_helper(), so that we can better isolate the scenarios
  of creating an (unsigned) U-Boot fitimage versus also signing it. This
  prevents some stale files from being deployed in the images directory.

* Remove any u-boot-fitImage and u-boot-its files from build tree, in
  case the build tree is being reused across bitbake calls.

(From OE-Core rev: dc26d35e0935f30af55a3d2cb5c501d1b5c35437)

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:37:23 +01:00
Yann Dirson
3d13fc1f25 kernel-yocto: fix do_kernel_configme indentation
(From OE-Core rev: 6a2a1a0d38499b2537e1b39ac34677cd52b81fc0)

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:37:23 +01:00
Michael Opdenacker
aeb59935e9 manuals: fix suspicious newlines
- That could originate from documentation migration issues
- Checked that the corresponding links still exist

(From yocto-docs rev: 38bae8f6067bc12f3617ed38587737d22dd7b32c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:29:49 +01:00
Michael Opdenacker
9df4fd6d39 ref-manual: fix typo
- Fix an obvious typo

(From yocto-docs rev: 03bbd66ddb85acddcfa0c588cfd29e2eac15d3db)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:29:49 +01:00
Michael Opdenacker
37ff21babe overview-manual: style improvements
- A few style improvements
- Fix a few typos

(From yocto-docs rev: 116484a850bdd9b8b648d919fd9c8858f6c55e21)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:29:49 +01:00
Michael Opdenacker
44d0532c89 manuals: Fix typos and spacing
Fix double words, punctuation spacing issues, spacing issues,
"its" instead of "it's", and other trivial issues.

(From yocto-docs rev: 56eb1f340a7af112e62c1d8ad02d4bec0ad88313)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:29:49 +01:00
Janne Kiiskila
5480a85f01 poky.yaml: Use git instead of git-core for Ubunti
Ubuntu has changed packaging and git-core is not available anymore,
it is now just plain git.

$ sudo apt-get install git-core
[sudo] password for jankii01:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'git' instead of 'git-core'
git is already the newest version (1:2.17.1-1ubuntu0.8).
The following package was automatically installed and is no longer required:
  linux-hwe-5.4-headers-5.4.0-65
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.

Documentation should match the current package name to avoid confusion/warnings.

Change can be verified by running the following script

set -ex

distros=("debian:8" "debian:9" "debian:10" "ubuntu:16.04" "ubuntu:18.04" "ubuntu:20.04")
for i in "${distros[@]}"
do
   folder="${i/:/.}"      # change : to .
   mkdir -p $folder
   cd $folder
   echo FROM $i > Dockerfile
   echo RUN apt-get update \&\& apt-get install -y git >> Dockerfile
   echo
   cat Dockerfile
   docker build -t test-$folder .
   cd ..
   rm $folder/Dockerfile
   rmdir $folder
done

(From yocto-docs rev: 8cf3acb3b639ef0373c2f77daf0a4323a7f404b0)

Signed-off-by: Janne Kiiskila <janne.kiiskila@pelion.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:29:49 +01:00
Michael Opdenacker
ae19be727a Quick build: checkout a branch instead of a fixed tag
- Add guidelines for choosing a release
- Check-out a branch instead of a fixed tag
  This way it's possible to pull release updates later

(From yocto-docs rev: 00b45fcf7e37616b46ca003b49c83594c061c40b)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:29:49 +01:00
Michael Opdenacker
be976e3aa1 SDK manual: fix reference to appendix
Fixes [YOCTO #14307]

(From yocto-docs rev: d14bdf401114054d517c09d483947705e2a0d71d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:29:49 +01:00
Michael Opdenacker
c643a4749c manuals: Spellcheck and capitalization fixes
- Spelling fixes found using Emacs' spelling checker
  configured for US English
- Fixes for some capitalization issues, especially some
  project names (QEMU, openSUSE, BusyBox), that were not
  consistently used with the same capitalization anyway.
- A few whitespace fixes too

(From yocto-docs rev: 05d69f17490dcc4933dcd85e57d9db53b912084a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 22:29:49 +01:00
Ross Burton
07c7bdc6c2 poky.yaml: change gcc-multilib to gcc
None of the other distributions install compilers for 32-bit compilation,
and this package isn't available on arm64 Ubuntu systems.

(From yocto-docs rev: 5036fea7854c3152a0c148d8ab1668e01b38697d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 15:07:55 +01:00
Richard Purdie
7ca303cdc6 documentation/poky.yaml: Fix latest 3.2 series tag reference
This was accidentally missed in the last release update, fix it.

(From yocto-docs rev: 8a671976818381d97ae01499e9d7deb571312f7d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 15:07:55 +01:00
Klaus Heinrich Kiwi
03f39e8111 oe-selftest: Add U-Boot fitImage signing testcases
Derived from the similar kernel fitImage sign testcase, the U-Boot
fitImage testcases exercises the following fitimage.FitImageTest
scenarios:

 * test_uboot_fit_image - create unsigned U-Boot fitImage
 * test_uboot_sign_fit_image - create unsigned U-Boot fitImage in
   addition to signed Kernel fitImage
 * test_sign_standalone_uboot_fit_image - Create signed U-Boot fitImage
   without a Kernel fitImage
 * test_sign_cascaded_uboot_fit_image - Create and sign U-Boot and
   Kernel fitImages

(From OE-Core rev: e71e4c617568496ae3bd6bb678f97b4f73cb43d8)

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 11:36:51 +01:00
Klaus Heinrich Kiwi
575cf33e6b u-boot: Use a different Key for SPL signing
Duplicate the variables governing u-boot signing so that we can have a
different set of keys/parameters signing the SPL.

(From OE-Core rev: 0e6b0fefa02356afeb11a32dfee7f0c7c250ab7f)

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 11:36:51 +01:00
Klaus Heinrich Kiwi
49d274b61b u-boot: Add infrastructure to SPL verified boot
Add the necessary infrastructure to create a U-boot proper fitimage,
sign it (using the same keys as the kernel-fitimage), and put the public
key in the SPL binary so that verified SPL boot can be accomplished.

(From OE-Core rev: 5af4dfe83c2f6509015916262be32fc09bc9714d)

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 11:36:51 +01:00
Klaus Heinrich Kiwi
068d114385 u-boot: Move definitions to common locations
Move some definitions from u-boot.inc into uboot-config.bbclass and
similarly from kernel-fitimage.bbclass into uboot-sign.bbclass, so that
they can be useful when signing the U-boot proper fitimage, for a
verified-boot SPL.

(From OE-Core rev: cc6c3e31526d3b6ef3a87ba5e548fcad7483bd51)

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 11:36:51 +01:00
Michael Halstead
e8e10f27b2 releases: update to include 3.2.3
Updating to build 3.2.3 docs and add missing 3.0.4 release line.

(From yocto-docs rev: 95972458c4c5ecea38676975f69afca7f0c91e35)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 09:45:39 +01:00
Richard Purdie
9982b2c0f2 bitbake: runqueue: Further fixes for confused setscene tasks
There is further evidence of tasks ending up being "covered" and "notcovered"
which shouldn't happen and is bad. The code that caused this problem last
time appears to have issues where stamps for tasks already exist.

Split out the setscene stamp checking code to a separate function and
use this when checking "hard dependencies" (like pseudo-native) so
that if the stamps exist and it will be "covered", it is not put on
the notcovered list.

(Bitbake rev: a1848a481e36b729c8e4130c394b1d462d4b488a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 09:31:24 +01:00
Richard Purdie
232cb7b055 oeqa/runqemu: Support RUNQEMU_TMPFS_DIR as a location to copy snapshot images to
We have a working theory that IO queues on the autobuilder are impacting
runtime testing under qemu, particularly async writes which inice does not
influence. We already pass the snapshot option to qemu which copies the
image and runs out of the copy. Add in the ability to copy the image to
a specificed location which can be a tmpfs. This means that writes to the
image would no longer be blocked by other writes to disk in the system.

Preliminary tests show that this does improve the qemu errors at the expense
of sometimes showing qemu startup timeouts as on a loaded system with a large
test image, it can take longer than 120s to copy the image to tmpfs. Having
a most consistent failure mode for loaded tests is probably desireable though.

(From OE-Core rev: fd1c26ab426c3699ffd8082b83d65a84c8eb8bff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 09:30:10 +01:00
Richard Purdie
82d7dc9709 diffoscope: Upgrade 168 -> 172
In particular 170 includes rpm header fixes which stop the webpages
for rpm diffs breaking web browsers and are important in the context
of the autobuilder.

(From OE-Core rev: 275738c3f2116de9b812b46e00d80b4de6975d7f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 09:30:10 +01:00
Richard Purdie
855fbb6f99 oeqa/concurrencytest: Fix display of test stdout/stderr
If oe-selftest is run with -j, the output to stdout/stderr is being
lost at present. Capture this and display it upon test failure. We
have code that previously tried to enable this but it wasn't functioning
correctly. This should give more usable error reports on the autobuilder.

This code will mix stdout and stderr as the output is streamed from the test
server without markup. This is most in keeping with subunit/testools though
and the easiest way to handle the various challenges here as far as I can
see.

(From OE-Core rev: 6a954ce5834c8026adecff8478c3d827640bc647)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 09:30:10 +01:00
Richard Purdie
f0c5a904d9 oeqa/concurrencytest: Rename variables to improve the code
Each time I look at this code I get confused about what the different
variables represent. Rename a few of them to better indicate what they
represent.

(From OE-Core rev: e39d97c0b191add9281bac463ca059685288c81a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-06 09:30:10 +01:00
Khem Raj
ef501020fb webkitgtk: Drop include_array.patch
It has been fixed with another upstream fix
https://bugs.webkit.org/show_bug.cgi?id=198180

(From OE-Core rev: d6e1452491e27a1bd70b82e6b41c4f058d8684aa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Chen Qi
8d00b494a2 apt: Fix do_compile error when enable ccache
When apt was upgraded, the '-DCMAKE_DISABLE_FIND_PACKAGE_Zstd=True'
was dropped. However, it was there to fix do_compile error when ccache is
enabled. See details in the following commit.

"""
commit 0aa7d612b8b7e5f14b4ed38f2a32b3f7eefca31c
Author: Robert Yang <liezhi.yang@windriver.com>
Date:   Tue Jan 19 01:23:45 2021 -0800

    apt: Fix do_compile error when enable ccache

    Fixed:
        apt-pkg/libapt-pkg.so.5.0.2: undefined reference to `ZSTD_endStream'
	    collect2: error: ld returned 1 exit status

    This is because ccache-native depends on zstd-native which makes apt wronly
        find it. Disable zstd for apt to fix the problem.
"""

Now we are meeting do_compile failure again when enabling ccache, so add it
back to solve the problem.

(From OE-Core rev: f8aa80a8fc777464f20e864b53af0582487d0387)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Joshua Watt
4718aa32fa bitbake.conf: Limit the number of OpenMP threads
Limits the number of OpenMP threads to match BB_NUMBER_THREADS. This
prevents OpenMP (libgomp in particular) from falling back to using all
the available CPUs, which behaves poorly when attempting to limit build
usage, especially when attempting to build in a container.

(From OE-Core rev: fd2b8986aef11609123da917aaf6bcbe41f63112)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Khem Raj
e1d353880c binutils: Fix a missing break in case statement
This was missed during patch forward porting
its only effective when printing options

(From OE-Core rev: 5c6a585347199c099700b93405f511971f5fe26d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Alistair Francis
bd4748e22a conf/machine: Enable keyboard and mouse on RISC-V machines
(From OE-Core rev: d115ebea8983641b42202379119ce35d6ee4a3b0)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Klaus Heinrich Kiwi
5d9a91a2ae uboot: Deploy default symlinks with fitImage
Some image recipes uses ${DEPLOY_DIR_IMAGE}/${UBOOT_BINARY} to create
their images. Force the re-creation of those symlinks pointing to the
u-boot-fitImage in case UBOOT_FITIMAGE_ENABLE is set.

(From OE-Core rev: 11a016aaf243a110f7139ea052fd4e568aad40dd)

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Matt Madison
58bda8b1c2 libxcb: use PN for naming dynamic packages
so an explicit runtime dependency on one of the library
packages doesn't generate a message about libxcb and
libxcb-native both being providers.

(From OE-Core rev: 9021db018b74f484109d5f62787fc957229933ba)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Yi Fan Yu
bbe14ab331 valgrind: print failed ptest details
Some intermittent failures in valgrind are hard
reproduce.

Printing the difference between actual and expected
will make understanding them slightly easier.

[YOCTO #14294]

(From OE-Core rev: 099313ef541920d4a84b801d9d8788a56ba7ec61)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Alistair Francis
cc5d71ef73 conf/machine: Enable bochs-display on RISC-V machines
Enable the bochs-display as q QEMU argument when running on RISC-V
machines.

(From OE-Core rev: ec085b75a1edb14c6e4dd1dc2f5cdf62f44d0e39)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Yi Fan Yu
d1b90dae19 python3: Skip failing ptests due to load variability
Skip tests until load issue is fixed,
most commonly seen on the arm64 builder.

[YOCTO #14296]

(From OE-Core rev: 7c67bc2476b784083acbc7a55ecf3627ec8f2b6b)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Denys Dmytriyenko
8c130cd764 make-mod-scripts: pass CROSS_COMPILE to configure and build
Fixes:
|   CALL    /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/checksyscalls.sh
|   CALL    /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/atomic/check-atomics.sh
|   LDS     arch/arm64/kernel/vdso/vdso.lds
|   CC      arch/arm64/kernel/vdso/vgettimeofday.o
|   AS      arch/arm64/kernel/vdso/note.o
|   AS      arch/arm64/kernel/vdso/sigreturn.o
|   LD      arch/arm64/kernel/vdso/vdso.so.dbg
|   VDSOSYM include/generated/vdso-offsets.h
|   OBJCOPY arch/arm64/kernel/vdso/vdso.so
| objcopy: Unable to recognise the format of the input file `arch/arm64/kernel/vdso/vdso.so.dbg'
| /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/arch/arm64/kernel/vdso/Makefile:61: recipe for target 'arch/arm64/kernel/vdso/vdso.so' failed

Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Cc: Nishanth Menon <nm@ti.com>
(From OE-Core rev: ddad8183490c725062626fa52985da2b04a2aa8f)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Guillaume Champagne
7519831d74 image-live.bbclass: optional depends when ROOTFS empty
`ROOTFS` is optional. It can be empty if the live image doesn't require
a rootfs.  In such cases, the build doesn't depend on
`do_image_{LIVE_ROOTFS_TYPE}`.

(From OE-Core rev: 96f47c39f1d17f073243913d524bde84add41d8f)

Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Awais Belal
f0b09b95ef perl: fix creation and generate new perl-rdepends.txt
The creation of perl-rdepends.txt simply copied over the
generated list (perl-rdepends.generated) to perl-rdepends.txt
while missing out the manual dependencies placed in
perl-rdepends.inc. This caused missing runtime dependencies.
Additionally, the mechanism always appended which then
produced duplicated lines in perl-rdepends.txt if the creation
function is run multiple times.
We now concatenate both the .inc and .generated to the final
.txt so manual and generated both types of dependencies make
it to the final configuration. A new perl-rdepends.txt is then
generated with these fixes.

(From OE-Core rev: 61d6584eeadb42943a020c4168f398e7abb377e2)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Awais Belal
6a0bac1fa9 perl: allow empty lines and comments in perl-rdepends.txt
With this change the rdepends file can now have empty lines
and comment lines. The perl-rdepends.txt generation will be
fixed with further commits to leverage this change.

(From OE-Core rev: 2256afc652d69e720a31f7c5858d5ab32b0065f2)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Alexander Kanavin
c4f54b4638 ptest-runner: correct version check
(From OE-Core rev: 0942515b32d79fd1043adaa27942203680b31cfa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:02 +01:00
Anibal Limon
da98b5281e ptest-runner: Upgrade to 2.4.1
Changes:

cce0edb utils.c: wait_child reimplement timeout using alarm
acbba90 utils.c: Use a thread to read from child
cb2840a utils.c: Fix exit status of a child
77bc79e utils.c: get_available_ptests allow to specify relative directories
d27e242 README.md: Small fix mtrace call
c5d5831 tests/utils.c: Add braces in START_TEST/END_TEST now required in check 0.15.x

(From OE-Core rev: e3fd8f17dfb41173dbe037c25087a69f90b1346f)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:01 +01:00
Alexander Kanavin
0c9f11e07c mesa: enable dri in native/nativesdk through gallium drivers
Previously, dri was enabled via a token dri driver (swrast, then
nouveau). Upstream is discussing removing dri drivers altogether
(they're becoming difficult to support and only needed for obsolete
x86 hardware), so let's prepare for that happening in the future:

https://lists.freedesktop.org/archives/mesa-dev/2021-March/224984.html

(From OE-Core rev: d32add868ee5cb05c4fdbc0c30c7bb01070e683b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:01 +01:00
Alexander Kanavin
559fe1d1e9 mesa: gallium option requires libdrm
Previously it was pulled in via dri option, and there was
no configuration where gallium was enabled and dri was not.

(From OE-Core rev: 1328556e9c0853babff45bf1bf67643d7ddfdabb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:01 +01:00
Alexander Kanavin
379ee98034 runqemu: do not stop processing graphical options after nographic
Some options such as egl-headless are fully compatible with it, so
there is no need to quit.

(From OE-Core rev: 66d11106f9e76d19e397ba3d14c3a22726033567)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:01 +01:00
Alexander Kanavin
25e5e7ca5a mesa: update 21.0.0 -> 21.0.1
(From OE-Core rev: e72dc396f0e147b078160fae0ac43861eb60e76f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:01 +01:00
Khem Raj
3892f36251 mesa-gl: Use swrast gallium driver
Fixes:
../mesa-21.0.0/meson.build:21:0: ERROR: Options "swrast" are not in allowed choices: "auto, i915, i965, r100, r200, nouveau"

with any driver enabled in DRIDRIVERS, do_configure fails with:
../mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system

even after enabling gallium and wayland PACKAGECONFIGs, move DRIDRIVERS_append* from
mesa.inc to mesa recipe.

(From OE-Core rev: 2d0239c446be3e7f04c00e24f6c8ac1707440c8a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-04-05 15:29:01 +01:00
jan
7d0988966c cve-update-db-native: Allow to overrule the URL in a bbappend.
With this small patch, it's possible to overrule the public
URL with a local mirror for those without Internet access.

(From OE-Core rev: 2d903126e8bbece3a5171c3488c3deae1f0aa3ee)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 08:51:02 +01:00
Christopher Larson
13e372dfd9 image,populate_sdk_base: move 'func' flag setting for sdk command vars
Setting the 'func' flag on the commands variables ensures that they are parsed
as shell, and therefore that the referenced commands contents are included in
checksums. Doing this only in image.bbclass means that this is missing in
recipes that are not images, but which inherit populate_sdk or populate_sdk_base
directly, so move it to the latter.

[YOCTO #13998]

(From OE-Core rev: edc28907ce19a7298059dd388933c58a9c6c28b9)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 08:51:02 +01:00
Christopher Larson
8eb55de821 buildhistory: add missing vardepsexcludes
For POPULATE_SDK_POST_TARGET_COMMAND, POPULATE_SDK_POST_HOST_COMMAND, and SDK_POSTPROCESS_COMMAND, the appropriate entries were added to vardepvalueexclude, but we want them in vardepsexclude as well.

(From OE-Core rev: 554b17e0bbe5190e4b03121f2ed06f4845012a71)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 08:51:02 +01:00
Wang Mingyu
8f84d0ac9d gnutls: upgrade 3.7.0 -> 3.7.1
(From OE-Core rev: 7123b17db594b13c52414cd20beceb2a54841c4e)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 00:06:23 +01:00
Mark Hatle
3edc458cb9 populate_sdk_ext: Add support for PR service
In the classes/populate_sdk_ext.bbclass the system already copies a number
of configurations, such as the hash equivalency data.  However, the PR
service was being handled.

The new code works by checking if PRSERV_HOST is defined, if it is, use
the existing export functions to write out a conf/prserv.inc file into
the eSDK.  On eSDK install, if a conf/prserv.inc file is present we then
import this file into the system.

This mechanism will work if the PRSERV_HOST is local or remote, as it pulls
the necessary data from the server and then imports it to a local database
on eSDK installation.

Note: the conf/prserv.inc file is not deleted at this time.  It was left
for possible debugging purposes, but removing it is something we could decide
to do in the future.

(From OE-Core rev: e207dabdfaa07cd5ebba1cd7dd58610f7185c7e2)

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 00:06:23 +01:00
Khem Raj
eba2ca9aef grub2: Enable on riscv32
Update the patch as submitted upstream to grub2

(From OE-Core rev: a1ce702bb5317712083ae32332051c36923c4a50)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 00:06:23 +01:00
Minjae Kim
9eddd432da git: upgrade 2.30.1 -> 2.31.1
Includes a fix for CVE-2021-21300

(From OE-Core rev: c6a3ba282c3bf0d5a81e0eaf6b02a0a138052622)

Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 00:06:23 +01:00
Minjae Kim
d3b1daa7af git: fix CVE-2021-21300
checkout: fix bug that makes checkout follow symlinks in leading path

Upstream-Status: Acepted [684dd4c2b4]
CVE: CVE-2021-21300
(From OE-Core rev: 1b680f6aca14c92d03d32c4974292788140d7a65)

Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 00:06:23 +01:00
Ross Burton
06b4910c3a meson: use native-file instead of environment variables
Meson now supports native-files, which are the same as cross files but
describe the native build.

By writing and using a native file which describes the tools to use, we
can drop the environment variable overriding.

(From OE-Core rev: 20a5af2583de60969124b4dc15e045ee47516da4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 00:06:23 +01:00
Ross Burton
ff9c4b0141 meson: fix native/host confusion in gobject-introspection
When building G-I we want to use *native* binaries (as they need to be
executed) but the *cross* libraries, as otherwise when using the correct
pkg-config binary in native lookups Meson will end up linking native and
cross libraries together.

(From OE-Core rev: 958d7f8cebe863705dc6710b671764879ea68575)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-31 00:06:23 +01:00
Khem Raj
57b37e3b03 grub-efi: Re-introduce lost cast to long
This cast was accidentally dropped in
https://git.savannah.gnu.org/cgit/grub.git/commit/?id=2bf40e9e5be9808b17852e688eead87acff14420

(From OE-Core rev: c032297695e9e4bb4d0fb12dc883044bdfa870f2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Khem Raj
ab91b0756d grub2: Disable for RISCV32
A full working port is not available yet, until such time disable it

(From OE-Core rev: a8a8b7f3db955bbdb1abfce1e0be004521348669)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Robert P. J. Day
9079c7082e packagegroups: delete useless "PROVIDES" lines
There is apparently no functional value to "PROVIDES" lines anymore in
packagegroup recipe files, so remove the lonely couple of examples
left.

(From OE-Core rev: 6f2c9602bc5fc6794b852ec20f40ea62a55ada1e)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Khem Raj
4484c702c2 image-uefi: Set efi_file for rv32/rv64
(From OE-Core rev: 6a13e357234b9c775a877aca3ad76acaa9ff7f97)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Mark Hatle
63831568bd populate_sdk_ext: Avoid copying and producing .pyc files
Since pyc cache files are really system specific, no real reason to copy or
generate them during the eSDK build process.  Also generating them has the
possibility of re-using inodes that pseudo may have been tracking, leading
a build failure.

(From OE-Core rev: ce8eba263647ae63a722122e28f26af46ae083a0)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Bruce Ashfield
f4b82998b9 linux-yocto-rt/5.10: update to -rt34
Integrating the following commit(s) to linux-yocto/5.10:

    be2935bce35f v5.10.21-rt34
    8078987238f9 softirq: Update the softirq/tasklet patches
    0042f5e5ac7d mm: slub: Don't resize the location tracking cache on PREEMPT_RT
    69bcb4682eaa v5.10.21-rt33
    75e139bb405a v5.10.17-rt32
    209e0ad0f61d printk: Update the printk code
    f1e0daad5cd4 trace: Add the flags for need_resched_lazy()

(From OE-Core rev: 51c3ca662c8b3a60d308a37af9b0902938b54aaa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Bruce Ashfield
6c402ef7f7 linux-yocto/5.4: update to v5.4.107
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    a65e78863443 Linux 5.4.107
    5161cc4350de net: dsa: b53: Support setting learning on port
    ebeefdc3d8ee net: dsa: tag_mtk: fix 802.1ad VLAN egress
    6c3d86e6ffde crypto: x86/aes-ni-xts - use direct calls to and 4-way stride
    ae69c97bb76e crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg
    eeb0899e0073 crypto: x86 - Regularize glue function prototypes
    187ae0463653 fuse: fix live lock in fuse_iget()
    28e53acd3065 drm/i915/gvt: Fix vfio_edid issue for BXT/APL
    5a7c72ffb412 drm/i915/gvt: Fix port number for BDW on EDID region setup
    4ab29329668d drm/i915/gvt: Fix virtual display setup for BXT/APL
    e46f72e1f27c drm/i915/gvt: Fix mmio handler break on BXT/APL.
    8cd68991b836 drm/i915/gvt: Set SNOOP for PAT3 on BXT/APL to workaround GPU BB hang
    50f83ffc58ab btrfs: scrub: Don't check free space before marking a block group RO
    591ea83fd2ce bpf, selftests: Fix up some test_verifier cases for unprivileged
    4e4c85404a23 bpf: Add sanity check for upper ptr_limit
    524471df8fa9 bpf: Simplify alu_limit masking for pointer arithmetic
    2da0540739e4 bpf: Fix off-by-one for area size in creating mask to left
    ea8fb45eaac1 bpf: Prohibit alu ops for pointer types not defining ptr_limit
    010c5bee66bd KVM: arm64: nvhe: Save the SPE context early
    0437de26e28d Linux 5.4.106
    b802b6ef28d6 xen/events: avoid handling the same event on two cpus at the same time
    92aefc62f483 xen/events: don't unmask an event channel when an eoi is pending
    43d0b82bb45c xen/events: reset affinity of 2-level event when tearing it down
    38563c1ff081 KVM: arm64: Reject VM creation when the default IPA size is unsupported
    da2e37b55d4c KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
    4e2156c0d37b nvme: release namespace head reference on error
    eb565f052b3e nvme: unlink head after removing last namespace
    4535fb9ec5fd KVM: arm64: Fix exclusive limit for IPA size
    e28b19ca2aeb x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2
    c0e0ab60d0b1 binfmt_misc: fix possible deadlock in bm_register_write
    106fea9ad246 powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
    907f7f2cf0ff sched/membarrier: fix missing local execution of ipi_sync_rq_state()
    2306580a95b7 zram: fix return value on writeback_store
    29e28a134a49 include/linux/sched/mm.h: use rcu_dereference in in_vfork()
    99f1960cae4f stop_machine: mark helpers __always_inline
    aaf92d0538d2 hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event()
    88c79851b82d arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds
    73aa6f93e1e9 configfs: fix a use-after-free in __configfs_open_file
    babd55002dd4 block: rsxx: fix error return code of rsxx_pci_probe()
    41deefab452a NFSv4.2: fix return value of _nfs4_get_security_label()
    86954a52d829 NFS: Don't gratuitously clear the inode cache when lookup failed
    d29f9aa6a8b2 NFS: Don't revalidate the directory permissions on a lookup failure
    d5a69ed75931 SUNRPC: Set memalloc_nofs_save() for sync tasks
    9c9ea7ac18b2 arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
    19bb2a20710d sh_eth: fix TRSCER mask for R7S72100
    c3c1defad2dd staging: comedi: pcl818: Fix endian problem for AI command data
    c5916897a6e1 staging: comedi: pcl711: Fix endian problem for AI command data
    7d8ec7bef320 staging: comedi: me4000: Fix endian problem for AI command data
    e70294943c89 staging: comedi: dmm32at: Fix endian problem for AI command data
    47a2af64eea3 staging: comedi: das800: Fix endian problem for AI command data
    0f2522ec71b6 staging: comedi: das6402: Fix endian problem for AI command data
    e91490b9edb9 staging: comedi: adv_pci1710: Fix endian problem for AI command data
    4d6505edee5a staging: comedi: addi_apci_1500: Fix endian problem for command sample
    f258c1c26f64 staging: comedi: addi_apci_1032: Fix endian problem for COS sample
    e644fc4ab7bb staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan
    8f586a59829b staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd
    9fe42273b2c6 staging: ks7010: prevent buffer overflow in ks_wlan_set_scan()
    ab42f28d5f34 staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
    1a866057e970 staging: rtl8712: unterminated string leads to read overflow
    da5abe369b03 staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
    a311b6a7f099 staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
    e4b52c7cbaaf misc: fastrpc: restrict user apps from sending kernel RPC messages
    9009b59dfd5f misc/pvpanic: Export module FDT device table
    0a58a400a93b usbip: fix vudc usbip_sockfd_store races leading to gpf
    8a50dda5243e usbip: fix vhci_hcd attach_store() races leading to gpf
    8698133003cf usbip: fix stub_dev usbip_sockfd_store() races leading to gpf
    7b76c7a91bf6 usbip: fix vudc to check for stream socket
    2e24c093e264 usbip: fix vhci_hcd to check for stream socket
    da1be8e07852 usbip: fix stub_dev to check for stream socket
    ec7fb77a37af USB: serial: cp210x: add some more GE USB IDs
    b05ac5bcf623 USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter
    0b7034401f0c USB: serial: ch341: add new Product ID
    5287c3d62e91 USB: serial: io_edgeport: fix memory leak in edge_startup
    c1b20c6fac05 xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state
    3573dea8c17a usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing
    57ab089c09d5 xhci: Improve detection of device initiated wake signal.
    f4f02f9feb4e usb: xhci: do not perform Soft Retry for some xHCI hosts
    45bc1c34b54e usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM
    c9e346234698 USB: usblp: fix a hang in poll() if disconnected
    cc495be17466 usb: dwc3: qcom: Honor wakeup enabled/disabled state
    f030e3c67791 usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement
    014e4b616313 usb: gadget: f_uac1: stop playback on function disable
    117aadfc0616 usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot
    ec7b0ac66539 USB: gadget: u_ether: Fix a configfs return code
    0ae3101f5cf0 Goodix Fingerprint device is not a modem
    b0ea155fa4f7 mmc: cqhci: Fix random crash when remove mmc module/card
    61fadd5f1e4e mmc: core: Fix partition switch time for eMMC
    1cb73c82622c software node: Fix node registration
    3bc266631a9e s390/dasd: fix hanging IO request during DASD driver unbind
    87adc240df30 s390/dasd: fix hanging DASD driver unbind
    12002aa2e7af arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL
    47a5d1b63f21 Revert 95ebabde382c ("capabilities: Don't allow writing ambiguous v3 file capabilities")
    ac85e7d4abb1 ALSA: usb-audio: Apply the control quirk to Plantronics headsets
    b1fe755e51df ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar
    2b7615c97b0e ALSA: hda: Avoid spurious unsol event handling during S3/S4
    bb060148e29f ALSA: hda: Flush pending unsolicited events before suspend
    09cb42025a46 ALSA: hda: Drop the BATCH workaround for AMD controllers
    e1a92ad57b2c ALSA: hda/ca0132: Add Sound BlasterX AE-5 Plus support
    ff2152beb22c ALSA: hda/hdmi: Cancel pending works before suspend
    dd6d483104bf ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk
    300fba2b4e11 scsi: target: core: Prevent underflow for service actions
    de2cdbcb4f38 scsi: target: core: Add cmd length set before cmd complete
    050e1900d617 scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
    acf0e7b15f87 sysctl.c: fix underflow value setting risk in vm_table
    508d56e2c5c3 s390/smp: __smp_rescan_cpus() - move cpumask away from stack
    54fc6a56f72a i40e: Fix memory leak in i40e_probe
    f95403013744 PCI: Fix pci_register_io_range() memory leak
    e9be5518af2c kbuild: clamp SUBLEVEL to 255
    e622e01d44e4 PCI: mediatek: Add missing of_node_put() to fix reference leak
    d54c77959ece PCI: xgene-msi: Fix race in installing chained irq handler
    395f24b37fe8 Input: applespi - don't wait for responses to commands indefinitely.
    ad93777a59c7 sparc64: Use arch_validate_flags() to validate ADI flag
    dec0ab3bc3a2 sparc32: Limit memblock allocation to low memory
    f8788ee8544c iommu/amd: Fix performance counter initialization
    d92afe30a665 powerpc/64: Fix stack trace not displaying final frame
    61654b5d079d HID: logitech-dj: add support for the new lightspeed connection iteration
    49e38713faaf powerpc/perf: Record counter overflow always if SAMPLE_IP is unset
    a54c278fcf8b powerpc: improve handling of unrecoverable system reset
    7765b5c2c192 spi: stm32: make spurious and overrun interrupts visible
    507b9bce2113 powerpc/pci: Add ppc_md.discover_phbs()
    26d60799d99b Platform: OLPC: Fix probe error handling
    ccad3c70fcd0 mmc: mediatek: fix race condition between msdc_request_timeout and irq
    edf05afc9be3 mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()'
    c44d966e9020 udf: fix silent AED tagLocation corruption
    5f04f970d579 i2c: rcar: optimize cacheline to minimize HW race condition
    1e1aace4a395 i2c: rcar: faster irq code to minimize HW race condition
    2e24fd30c6f0 net: phy: fix save wrong speed and duplex problem if autoneg is on
    aea71e92b9a0 net: enetc: initialize RFS/RSS memories for unused ports too
    d1f308174a60 net: hns3: fix error mask definition of flow director
    cb36bf447a0c media: rc: compile rc-cec.c into rc-core
    4c0c31572b67 media: v4l: vsp1: Fix bru null pointer access
    f56a82844c1f media: v4l: vsp1: Fix uif null pointer access
    8cdc0900fc80 media: usbtv: Fix deadlock on suspend
    56b9b2c25905 sh_eth: fix TRSCER mask for R7S9210
    bdec0dd95cc8 qxl: Fix uninitialised struct field head.surface_id
    d5fc9c5d64ca s390/crypto: return -EFAULT if copy_to_user() fails
    72ba965bf10d s390/cio: return -EFAULT if copy_to_user() fails
    d2100ef32a8c drm: meson_drv add shutdown function
    72c541cc4552 drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff
    0d574fc463c7 drm/shmem-helper: Check for purged buffers in fault handler
    3b08ea3a548f drm/compat: Clear bounce structures
    cabbd263c8e8 bnxt_en: reliably allocate IRQ table on reset to avoid crash
    dfa176f374ba s390/cio: return -EFAULT if copy_to_user() fails again
    05d11eb7bd9d net: hns3: fix bug when calculating the TCAM table info
    8bbc59bb0556 net: hns3: fix query vlan mask value error for flow director
    4d0273ab0a79 perf traceevent: Ensure read cmdlines are null terminated.
    ef663d149f8e selftests: forwarding: Fix race condition in mirror installation
    fcce3cb62c09 net: stmmac: fix watchdog timeout during suspend/resume stress test
    d31ae9ec5a03 net: stmmac: stop each tx channel independently
    86ea605518d7 ixgbe: fail to create xfrm offload of IPsec tunnel mode SA
    e8b6c1d7ced2 net: qrtr: fix error return code of qrtr_sendmsg()
    d28e783c2003 net: davicom: Fix regulator not turned off on driver removal
    05517de4188b net: davicom: Fix regulator not turned off on failed probe
    11a589205119 net: lapbether: Remove netif_start_queue / netif_stop_queue
    b4800e7a1c9f cipso,calipso: resolve a number of problems with the DOI refcounts
    6d599697e9a8 netdevsim: init u64 stats for 32bit hardware
    8e365b61bda7 net: usb: qmi_wwan: allow qmimux add/del with master up
    392f34cce2b0 net: sched: avoid duplicates in classes dump
    3e66c16388f5 nexthop: Do not flush blackhole nexthops when loopback goes down
    7f101d035deb net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10
    0fbbcf797e9c net/mlx4_en: update moderation when config reset
    78cbd0a4749d net: enetc: don't overwrite the RSS indirection table when initializing
    6547ec428619 Revert "mm, slub: consider rest of partial list if acquire_slab() fails"
    55e6ede3b935 cifs: return proper error code in statfs(2)
    a1ff418d3eda mount: fix mounting of detached mounts onto targets that reside on shared mounts
    59a057a89155 powerpc/603: Fix protection of user pages mapped with PROT_NONE
    da9f2219f66c mt76: dma: do not report truncated frames to mac80211
    95b0a3b09094 ibmvnic: always store valid MAC address
    3e8ab75f3301 samples, bpf: Add missing munmap in xdpsock
    c2c3a85ab01f selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifier
    57b9f13e8aaa selftests/bpf: No need to drop the packet when there is no geneve opt
    82e85c0e7f34 netfilter: x_tables: gpf inside xt_find_revision()
    f66b8e738140 netfilter: nf_nat: undo erroneous tcp edemux lookup
    3bf899438c12 tcp: add sanity tests to TCP_QUEUE_SEQ
    b7049b6156ce can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode
    a7e187a87e8e can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode
    e0eccdfc5c0e can: flexcan: enable RX FIFO after FRZ/HALT valid
    ca483b872d20 can: flexcan: assert FRZ bit in flexcan_chip_freeze()
    6676e510d1a9 can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership
    718769eb1bbe sh_eth: fix TRSCER mask for SH771x
    8baa52f26b3e net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
    ca278267d6cd net: check if protocol extracted by virtio_net_hdr_set_proto is correct
    f2d78bbbca42 net: Fix gro aggregation for udp encaps with zero csum
    9be769161192 ath9k: fix transmitting to stations in dynamic SMPS mode
    5555ee33b6cc ethernet: alx: fix order of calls on resume
    dcb95790821b powerpc/pseries: Don't enforce MSI affinity with kdump
    fd1824bf963a uapi: nfnetlink_cthelper.h: fix userspace compilation error

(From OE-Core rev: 59ab12f804dda59ecf8954df6ef8024646bcbde7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Bruce Ashfield
a87010133a linux-yocto/5.10: update to v5.10.25
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    3ba56f490c7a Linux 5.10.25
    dd0b7edb7794 net: dsa: b53: Support setting learning on port
    0f6cab2350d5 ALSA: usb-audio: Don't avoid stopping the stream at disconnection
    df8596f57743 Revert "nfsd4: a client's own opens needn't prevent delegations"
    894ecf0cb505 Revert "nfsd4: remove check_conflicting_opens warning"
    d955f13ea212 fuse: fix live lock in fuse_iget()
    2d7888b2c4cd RDMA/srp: Fix support for unpopulated and unbalanced NUMA nodes
    3672c3ce622e bpf, selftests: Fix up some test_verifier cases for unprivileged
    1010f17aaa78 bpf: Add sanity check for upper ptr_limit
    6a3504bf4006 bpf: Simplify alu_limit masking for pointer arithmetic
    ac1b87a18c1f bpf: Fix off-by-one for area size in creating mask to left
    c4d37eea1c64 bpf: Prohibit alu ops for pointer types not defining ptr_limit
    bf93113d46f8 crypto: x86/aes-ni-xts - use direct calls to and 4-way stride
    fcfab1a9aa40 crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg
    05d125f7524e Linux 5.10.24
    1c0899636d44 RDMA/umem: Use ib_dma_max_seg_size instead of dma_get_max_seg_size
    1dbce9ba2aa9 KVM: arm64: Fix nVHE hyp panic host context restore
    f67e5243d0f3 xen/events: avoid handling the same event on two cpus at the same time
    30cdb862e831 xen/events: don't unmask an event channel when an eoi is pending
    4c84191cbc3e mm/page_alloc.c: refactor initialization of struct page for holes in memory layout
    e7afadd0dbe2 KVM: arm64: Ensure I-cache isolation between vcpus of a same VM
    518f98e39077 mm/madvise: replace ptrace attach requirement for process_madvise
    2aaa79f69417 mm/userfaultfd: fix memory corruption due to writeprotect
    c3d70b1bf1ce KVM: arm64: Fix exclusive limit for IPA size
    ada8817ab674 KVM: arm64: Reject VM creation when the default IPA size is unsupported
    eeba4e4cc524 KVM: arm64: nvhe: Save the SPE context early
    a9779820bb97 KVM: arm64: Avoid corrupting vCPU context register in guest exit
    17becbfca9fc KVM: arm64: Fix range alignment when walking page tables
    a688bf8cf550 KVM: kvmclock: Fix vCPUs > 64 can't be online/hotpluged
    4ab5d1b70929 KVM: x86: Ensure deadline timer has truly expired before posting its IRQ
    e40384fcd600 x86/entry: Fix entry/exit mismatch on failed fast 32-bit syscalls
    a2bab396cb97 x86/sev-es: Use __copy_from_user_inatomic()
    977b9f4190ad x86/sev-es: Correctly track IRQ states in runtime #VC handler
    269424432731 x86/entry: Move nmi entry/exit into common code
    752fbe0c8ddd x86/sev-es: Check regs->sp is trusted before adjusting #VC IST stack
    871fd1e3ee8e x86/sev-es: Introduce ip_within_syscall_gap() helper
    d327d8632cdb x86/unwind/orc: Disable KASAN checking in the ORC unwinder, part 2
    5ab9464a2a3c binfmt_misc: fix possible deadlock in bm_register_write
    0e4750f69c17 powerpc: Fix missing declaration of [en/dis]able_kernel_vsx()
    1f372e89567b powerpc: Fix inverted SET_FULL_REGS bitop
    9776812ee861 powerpc/64s: Fix instruction encoding for lis in ppc_function_entry()
    8571c66401ea efi: stub: omit SetVirtualAddressMap() if marked unsupported in RT_PROP table
    68b4378d910e sched/membarrier: fix missing local execution of ipi_sync_rq_state()
    5f2f616343b1 linux/compiler-clang.h: define HAVE_BUILTIN_BSWAP*
    bc7c1b09f7a4 zram: fix return value on writeback_store
    3cbe8f9193e6 include/linux/sched/mm.h: use rcu_dereference in in_vfork()
    7da7542c04a4 stop_machine: mark helpers __always_inline
    2a39eb7b8670 seqlock,lockdep: Fix seqcount_latch_init()
    372734dc1897 powerpc/64s/exception: Clean up a missed SRR specifier
    df7dbfc24c33 hrtimer: Update softirq_expires_next correctly after __hrtimer_get_next_event()
    896846b8151d perf/x86/intel: Set PERF_ATTACH_SCHED_CB for large PEBS and LBR
    82ad50c112f8 perf/core: Flush PMU internal buffers for per-CPU events
    3ebd4bd2eb6f arm64: mm: use a 48-bit ID map when possible on 52-bit VA builds
    109720342efd configfs: fix a use-after-free in __configfs_open_file
    6cf11f3a09a2 nvme-fc: fix racing controller reset and create association
    d1d918492e6e block: rsxx: fix error return code of rsxx_pci_probe()
    caa86901c863 NFSv4.2: fix return value of _nfs4_get_security_label()
    e181960ec51d NFS: Don't gratuitously clear the inode cache when lookup failed
    dd756d05bee5 NFS: Don't revalidate the directory permissions on a lookup failure
    faa48b23d0e3 SUNRPC: Set memalloc_nofs_save() for sync tasks
    475a4307c14c arm64/mm: Fix pfn_valid() for ZONE_DEVICE based memory
    e50ada589497 cpufreq: qcom-hw: Fix return value check in qcom_cpufreq_hw_cpu_init()
    7dfe37e9ea69 cpufreq: qcom-hw: fix dereferencing freed memory 'data'
    75d9be57cf2e sh_eth: fix TRSCER mask for R7S72100
    a854bd051465 staging: comedi: pcl818: Fix endian problem for AI command data
    ddfeb236ed8e staging: comedi: pcl711: Fix endian problem for AI command data
    c30fe0f767c3 staging: comedi: me4000: Fix endian problem for AI command data
    2c1ea26a289e staging: comedi: dmm32at: Fix endian problem for AI command data
    c36d2f40c1bc staging: comedi: das800: Fix endian problem for AI command data
    d8f26a4122db staging: comedi: das6402: Fix endian problem for AI command data
    b46f6908ea3e staging: comedi: adv_pci1710: Fix endian problem for AI command data
    66a44ed42367 staging: comedi: addi_apci_1500: Fix endian problem for command sample
    4d14685f9f74 staging: comedi: addi_apci_1032: Fix endian problem for COS sample
    c5d3e25e1808 staging: rtl8192e: Fix possible buffer overflow in _rtl92e_wx_set_scan
    74a14d8ae20d staging: rtl8712: Fix possible buffer overflow in r8712_sitesurvey_cmd
    66cf4f582987 staging: ks7010: prevent buffer overflow in ks_wlan_set_scan()
    be9745304e3e staging: rtl8188eu: fix potential memory corruption in rtw_check_beacon_data()
    550c9e49eb42 staging: rtl8712: unterminated string leads to read overflow
    d972a516958d staging: rtl8188eu: prevent ->ssid overflow in rtw_wx_set_scan()
    1642b5153ba5 staging: rtl8192u: fix ->ssid overflow in r8192_wx_set_scan()
    52feb58f9b5b misc: fastrpc: restrict user apps from sending kernel RPC messages
    7ae2482c7042 misc/pvpanic: Export module FDT device table
    70c26fc71b7e Revert "serial: max310x: rework RX interrupt handling"
    9951e64550d0 usbip: fix vudc usbip_sockfd_store races leading to gpf
    116a71087875 usbip: fix vhci_hcd attach_store() races leading to gpf
    ab5c3186686a usbip: fix stub_dev usbip_sockfd_store() races leading to gpf
    e033d7f79995 usbip: fix vudc to check for stream socket
    2aa21585adbd usbip: fix vhci_hcd to check for stream socket
    6d7452392151 usbip: fix stub_dev to check for stream socket
    b249b8f9b740 USB: serial: cp210x: add some more GE USB IDs
    0aa33c041e84 USB: serial: cp210x: add ID for Acuity Brands nLight Air Adapter
    3aa50426c72c USB: serial: ch341: add new Product ID
    a347908c5192 USB: serial: io_edgeport: fix memory leak in edge_startup
    fc411ca43bed xhci: Fix repeated xhci wake after suspend due to uncleared internal wake state
    209b3ff98deb usb: xhci: Fix ASMedia ASM1042A and ASM3242 DMA addressing
    e7800913ac97 xhci: Improve detection of device initiated wake signal.
    203060896dbe usb: xhci: do not perform Soft Retry for some xHCI hosts
    7c87f4ea3f16 usb: renesas_usbhs: Clear PIPECFG for re-enabling pipe with other EPNUM
    48c7fc4f14b6 USB: usblp: fix a hang in poll() if disconnected
    adb9639d1e50 usb: dwc3: qcom: Honor wakeup enabled/disabled state
    13c9e76cdda6 usb: dwc3: qcom: add ACPI device id for sc8180x
    39bcc4b7f398 usb: dwc3: qcom: add URS Host support for sdm845 ACPI boot
    10551fbc5517 usb: dwc3: qcom: Add missing DWC3 OF node refcount decrement
    32ad0eb74eac usb: gadget: f_uac1: stop playback on function disable
    30a187afdbd2 usb: gadget: f_uac2: always increase endpoint max_packet_size by one audio slot
    50233f8220f0 USB: gadget: u_ether: Fix a configfs return code
    80091541a46b USB: gadget: udc: s3c2410_udc: fix return value check in s3c2410_udc_probe()
    b0db0c76a2ba Goodix Fingerprint device is not a modem
    d308202c1b96 cifs: do not send close in compound create+close requests
    310a1ffe7b36 mmc: cqhci: Fix random crash when remove mmc module/card
    a61596a9b2a7 mmc: core: Fix partition switch time for eMMC
    6c971bd99cb8 mmc: mmci: Add MMC_CAP_NEED_RSP_BUSY for the stm32 variants
    bb815894ba37 xen/events: reset affinity of 2-level event when tearing it down
    e86abde80d12 software node: Fix node registration
    08bccd721243 s390/dasd: fix hanging IO request during DASD driver unbind
    5d766455510c s390/dasd: fix hanging DASD driver unbind
    fb242be88da9 arm64: perf: Fix 64-bit event counter read truncation
    ffb9a77d0a7f arm64: mte: Map hotplugged memory as Normal Tagged
    d73665b4a9f6 arm64: kasan: fix page_alloc tagging with DEBUG_VIRTUAL
    d44c9780ed40 block: Try to handle busy underlying device on discard
    a53477849286 block: Discard page cache of zone reset target range
    5d5422a294e6 Revert 95ebabde382c ("capabilities: Don't allow writing ambiguous v3 file capabilities")
    29bc89c8b48d ALSA: usb-audio: fix use after free in usb_audio_disconnect
    d2fdcc82d866 ALSA: usb-audio: fix NULL ptr dereference in usb_audio_probe
    e4493974dbce ALSA: usb-audio: Disable USB autosuspend properly in setup_disable_autosuspend()
    144ebd02a118 ALSA: usb-audio: Apply the control quirk to Plantronics headsets
    723bf21ceab0 ALSA: usb-audio: Fix "cannot get freq eq" errors on Dell AE515 sound bar
    4b536c1ec8b3 ALSA: hda: Avoid spurious unsol event handling during S3/S4
    f1d28b1310bb ALSA: hda: Flush pending unsolicited events before suspend
    ebbb9bbe35ae ALSA: hda: Drop the BATCH workaround for AMD controllers
    f5278fcfb760 ALSA: hda/ca0132: Add Sound BlasterX AE-5 Plus support
    064ac8ed90a3 ALSA: hda/conexant: Add quirk for mute LED control on HP ZBook G5
    4dc34571e973 ALSA: hda/hdmi: Cancel pending works before suspend
    d77540ada71b ALSA: usb: Add Plantronics C320-M USB ctrl msg delay quirk
    d291b2594f85 ARM: efistub: replace adrl pseudo-op with adr_l macro invocation
    fd863653ad63 ARM: assembler: introduce adr_l, ldr_l and str_l macros
    917220f362a0 ARM: 9029/1: Make iwmmxt.S support Clang's integrated assembler
    69f845526833 mmc: sdhci: Update firmware interface API
    73d1a11a198a clk: qcom: gpucc-msm8998: Add resets, cxc, fix flags on gpu_gx_gdsc
    1b0b0c0b9ae9 scsi: target: core: Prevent underflow for service actions
    17c2c52051c4 scsi: target: core: Add cmd length set before cmd complete
    79b4fdd8b4cf scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
    f49bdac3e7f4 sysctl.c: fix underflow value setting risk in vm_table
    8876cc237e04 drivers/base/memory: don't store phys_device in memory blocks
    e4b98e2260fd s390/smp: __smp_rescan_cpus() - move cpumask away from stack
    219fc4b30058 kasan: fix memory corruption in kasan_bitops_tags test
    6c73bc9f28e2 i40e: Fix memory leak in i40e_probe
    6d4fabc6c7ec PCI: Fix pci_register_io_range() memory leak
    950bff22a98a kbuild: clamp SUBLEVEL to 255
    64578f9417e1 ext4: don't try to processed freed blocks until mballoc is initialized
    d49f86e88859 PCI/LINK: Remove bandwidth notification
    732bb21397ee drivers/base: build kunit tests without structleak plugin
    fa6dae9d7ffd PCI: mediatek: Add missing of_node_put() to fix reference leak
    d26949c732e4 PCI: xgene-msi: Fix race in installing chained irq handler
    8282ec632443 Input: applespi - don't wait for responses to commands indefinitely.
    f27af42b1f10 sparc64: Use arch_validate_flags() to validate ADI flag
    99ed6ae4d000 sparc32: Limit memblock allocation to low memory
    661cba45dc67 clk: qcom: gdsc: Implement NO_RET_PERIPH flag
    a19d18a1171b iommu/amd: Fix performance counter initialization
    adc631d87ea9 powerpc/64: Fix stack trace not displaying final frame
    9fbbc5d3f7e0 HID: logitech-dj: add support for the new lightspeed connection iteration
    eb5a9ee32c76 powerpc/perf: Record counter overflow always if SAMPLE_IP is unset
    87e443255dce powerpc: improve handling of unrecoverable system reset
    2314d5061709 spi: stm32: make spurious and overrun interrupts visible
    912237ec3485 powerpc/pci: Add ppc_md.discover_phbs()
    711112e99a65 Platform: OLPC: Fix probe error handling
    09ef146f640d mmc: sdhci-iproc: Add ACPI bindings for the RPi
    35f662ba915e mmc: mediatek: fix race condition between msdc_request_timeout and irq
    7cb2c431583e mmc: mxs-mmc: Fix a resource leak in an error handling path in 'mxs_mmc_probe()'
    1e5ac057b05c iommu/vt-d: Clear PRQ overflow only when PRQ is empty
    82d6c12899e2 udf: fix silent AED tagLocation corruption
    cd69732c2579 scsi: ufs: WB is only available on LUN #0 to #7
    2b6105746b83 i2c: rcar: optimize cacheline to minimize HW race condition
    222a825f6bdb i2c: rcar: faster irq code to minimize HW race condition
    4d65eb3df0ad ath11k: fix AP mode for QCA6390
    700e2b63cbc8 ath11k: start vdev if a bss peer is already created
    dbec869d234e ath11k: peer delete synchronization with firmware
    781e956a8277 net: enetc: initialize RFS/RSS memories for unused ports too
    a3df6b7a8a41 enetc: Fix unused var build warning for CONFIG_OF
    606cfdeebd3d net: dsa: tag_mtk: fix 802.1ad VLAN egress
    409af8946619 net: dsa: tag_ar9331: let DSA core deal with TX reallocation
    a2fd181b4b7a net: dsa: tag_gswip: let DSA core deal with TX reallocation
    9bb1bec952ad net: dsa: tag_dsa: let DSA core deal with TX reallocation
    9ad635b75e42 net: dsa: tag_brcm: let DSA core deal with TX reallocation
    67fd35c21a60 net: dsa: tag_edsa: let DSA core deal with TX reallocation
    6702dd45534a net: dsa: tag_lan9303: let DSA core deal with TX reallocation
    27f014eb6627 net: dsa: tag_mtk: let DSA core deal with TX reallocation
    54787024c8fb net: dsa: tag_ocelot: let DSA core deal with TX reallocation
    cf5c6682e274 net: dsa: tag_qca: let DSA core deal with TX reallocation
    8f17133cc3ae net: dsa: trailer: don't allocate additional memory for padding/tagging
    a4d2836de5c6 net: dsa: tag_ksz: don't allocate additional memory for padding/tagging
    162c423e6071 net: dsa: implement a central TX reallocation procedure
    f91a299fb160 s390/qeth: fix notification for pending buffers during teardown
    f7a7d3ede5f5 s390/qeth: improve completion of pending TX buffers
    144dbdf86c7a s390/qeth: remove QETH_QDIO_BUF_HANDLED_DELAYED state
    926200fd224c s390/qeth: don't replace a fully completed async TX buffer
    13e312dca2f2 net: hns3: fix error mask definition of flow director
    3370a84d781c cifs: fix credit accounting for extra channel
    83ff4f644de4 media: rc: compile rc-cec.c into rc-core
    db2ae26d7855 media: v4l: vsp1: Fix bru null pointer access
    465fd4191aaa media: v4l: vsp1: Fix uif null pointer access
    17c6d693a33a media: rkisp1: params: fix wrong bits settings
    c29dcb253a6a media: usbtv: Fix deadlock on suspend
    a5190a7865b6 sh_eth: fix TRSCER mask for R7S9210
    c6ecc613ef16 qxl: Fix uninitialised struct field head.surface_id
    1afe77386a6d s390/crypto: return -EFAULT if copy_to_user() fails
    dac4e0e10b9b s390/cio: return -EFAULT if copy_to_user() fails
    d7b8aef5b6d1 drm/i915: Wedge the GPU if command parser setup fails
    335d21ad8a9a drm/shmem-helpers: vunmap: Don't put pages for dma-buf
    d4ec1ffbdaa8 drm: meson_drv add shutdown function
    915f2f8cadbd drm: Use USB controller's DMA mask when importing dmabufs
    5e9b01152527 drm/shmem-helper: Don't remove the offset in vm_area_struct pgoff
    368b53e797c9 drm/shmem-helper: Check for purged buffers in fault handler
    ad106ddd3366 drm/amdgpu/display: handle aux backlight in backlight_get_brightness
    fd87d778642b drm/amdgpu/display: don't assert in set backlight function
    4b55b9fd9bfc drm/amdgpu/display: simplify backlight setting
    96b097e84101 drm/amd/pm: bug fix for pcie dpm
    6b9900263a31 drm/amd/display: Fix nested FPU context in dcn21_validate_bandwidth()
    b40528bcc10b drm/amdgpu/display: use GFP_ATOMIC in dcn21_validate_bandwidth_fp()
    55086176c75a drm/amd/display: Add a backlight module option
    e30ce84181cf drm/compat: Clear bounce structures
    ccc942eaf570 gpio: fix gpio-device list corruption
    2e3c8a28f465 gpio: pca953x: Set IRQ type when handle Intel Galileo Gen 2
    f60ffab25855 gpiolib: acpi: Allow to find GpioInt() resource by name and index
    8df70a5b4d0c gpiolib: acpi: Add ACPI_GPIO_QUIRK_ABSOLUTE_NUMBER quirk
    845ec460537d bnxt_en: reliably allocate IRQ table on reset to avoid crash
    686874ca92c2 s390/cio: return -EFAULT if copy_to_user() fails again
    fd61e772f036 net: hns3: fix bug when calculating the TCAM table info
    3c7f1304ee71 net: hns3: fix query vlan mask value error for flow director
    f9a87999bdd9 perf report: Fix -F for branch & mem modes
    57a798e4a197 perf traceevent: Ensure read cmdlines are null terminated.
    e4f7ffaa7cdf mlxsw: spectrum_ethtool: Add an external speed to PTYS register
    824c94cbf4d6 selftests: forwarding: Fix race condition in mirror installation
    c1e1a64a2313 net: phy: make mdio_bus_phy_suspend/resume as __maybe_unused
    ad59796872ae ethtool: fix the check logic of at least one channel for RX/TX
    482f99d0ad39 net: stmmac: fix wrongly set buffer2 valid when sph unsupport
    333dbdee0651 net: stmmac: fix watchdog timeout during suspend/resume stress test
    3c1b58261ff8 net: stmmac: stop each tx channel independently
    640492cf1732 perf build: Fix ccache usage in $(CC) when generating arch errno table
    8493877b58b6 tools/resolve_btfids: Fix build error with older host toolchains
    ee7eac24b5b4 ixgbe: fail to create xfrm offload of IPsec tunnel mode SA
    cab735320fe9 r8169: fix r8168fp_adjust_ocp_cmd function
    84ef8a8cb789 s390/qeth: fix memory leak after failed TX Buffer allocation
    345d90cd741a net: qrtr: fix error return code of qrtr_sendmsg()
    4f8e71a770dd net: enetc: allow hardware timestamping on TX queues with tc-etf enabled
    4fd0654b8f21 net: davicom: Fix regulator not turned off on driver removal
    e334c401f3fc net: davicom: Fix regulator not turned off on failed probe
    6342ccdfdf2b net: lapbether: Remove netif_start_queue / netif_stop_queue
    9c4136081cc2 stmmac: intel: Fixes clock registration error seen for multiple interfaces
    d78f23ef3040 net: stmmac: Fix VLAN filter delete timeout issue in Intel mGBE SGMII
    85178d76febd cipso,calipso: resolve a number of problems with the DOI refcounts
    e03ed1190d56 netdevsim: init u64 stats for 32bit hardware
    6ed0a2cafd1f net: usb: qmi_wwan: allow qmimux add/del with master up
    565b2d3ae202 net: dsa: sja1105: fix SGMII PCS being forced to SPEED_UNKNOWN instead of SPEED_10
    719611e806de net: mscc: ocelot: properly reject destination IP keys in VCAP IS1
    2809a5ca962e net: sched: avoid duplicates in classes dump
    9c61f1e1c40e nexthop: Do not flush blackhole nexthops when loopback goes down
    87b7b19d6e1d net: stmmac: fix incorrect DMA channel intr enable setting of EQoS v4.10
    6b0d3ae1051b net/mlx4_en: update moderation when config reset
    fa0bc09db49b net: ethernet: mtk-star-emac: fix wrong unmap in RX handling
    1cdd008902d4 net: enetc: keep RX ring consumer index in sync with hardware
    531736540111 net: enetc: remove bogus write to SIRXIDR from enetc_setup_rxbdr
    63876df5615e net: enetc: force the RGMII speed and duplex instead of operating in inband mode
    5732688c8411 net: enetc: don't disable VLAN filtering in IFF_PROMISC mode
    d56e3f8d289b net: enetc: fix incorrect TPID when receiving 802.1ad tagged packets
    bf9c564716a1 net: enetc: take the MDIO lock only once per NAPI poll cycle
    dfaf418dfff8 net: enetc: don't overwrite the RSS indirection table when initializing
    4ea379733555 sh_eth: fix TRSCER mask for SH771x
    68277f69a873 net: dsa: tag_rtl4_a: fix egress tags
    389055e7b970 docs: networking: drop special stable handling
    e1759160877a Revert "mm, slub: consider rest of partial list if acquire_slab() fails"
    3d0bbd97eb6f cifs: return proper error code in statfs(2)
    36e1efcdc542 mount: fix mounting of detached mounts onto targets that reside on shared mounts
    aa1258d91455 powerpc/603: Fix protection of user pages mapped with PROT_NONE
    e36d276dd4be mt76: dma: do not report truncated frames to mac80211
    1e343b2e7b96 ibmvnic: always store valid MAC address
    57ac75f8d241 ibmvnic: Fix possibly uninitialized old_num_tx_queues variable warning.
    2f6f72ee9a98 libbpf: Clear map_info before each bpf_obj_get_info_by_fd
    f126147970a1 samples, bpf: Add missing munmap in xdpsock
    4d2cdb2ded60 selftests/bpf: Mask bpf_csum_diff() return value to 16 bits in test_verifier
    4fa0ece2e0eb selftests/bpf: No need to drop the packet when there is no geneve opt
    7653656be252 selftests/bpf: Use the last page in test_snprintf_btf on s390
    6aa23829949c net: phy: fix save wrong speed and duplex problem if autoneg is on
    91796b65563b net: always use icmp{,v6}_ndo_send from ndo_start_xmit
    8abbf7e53e17 netfilter: x_tables: gpf inside xt_find_revision()
    42402bd84530 netfilter: nf_nat: undo erroneous tcp edemux lookup
    046f3c1c2ff4 tcp: add sanity tests to TCP_QUEUE_SEQ
    e95ebe1ed6ab tcp: Fix sign comparison bug in getsockopt(TCP_ZEROCOPY_RECEIVE)
    473bce9b9393 can: tcan4x5x: tcan4x5x_init(): fix initialization - clear MRAM before entering Normal Mode
    c537011c99ab can: flexcan: invoke flexcan_chip_freeze() to enter freeze mode
    e24c53182850 can: flexcan: enable RX FIFO after FRZ/HALT valid
    98b7f969116d can: flexcan: assert FRZ bit in flexcan_chip_freeze()
    4224890edff1 can: skb: can_skb_set_owner(): fix ref counting if socket was closed before setting skb ownership
    fa5d019c56e7 net: l2tp: reduce log level of messages in receive path, add counter instead
    453fff24f52e net: avoid infinite loop in mpls_gso_segment when mpls_hlen == 0
    faa3baa2828c net: check if protocol extracted by virtio_net_hdr_set_proto is correct
    09af4362ba47 net: Fix gro aggregation for udp encaps with zero csum
    d2fb1911a7a8 ath9k: fix transmitting to stations in dynamic SMPS mode
    b0454a28f608 crypto: mips/poly1305 - enable for all MIPS processors
    a0df424a863a ethernet: alx: fix order of calls on resume
    a9c55f22a0b9 powerpc/pseries: Don't enforce MSI affinity with kdump
    ac022fbee685 powerpc/perf: Fix handling of privilege level checks in perf interrupt context
    7732f57f0f52 uapi: nfnetlink_cthelper.h: fix userspace compilation error

(From OE-Core rev: 6fa4bbe77486e904841e8d39bca93423b9d0b99a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Awais Belal
559b5a892b rootfs.py: uninstall the run-postinsts package if not needed
The run-postinsts package runs post installation scripts
on target if packages request delayed post installations. When
no delayed post installations are found the sysV style scripts
are disabled for the package and hence it did not run on sysV
based systems. However, the package provides systemd service
as well which still ran on systems based on systemd even when
no post installations were found.
Rather than disabling/masking scripts for different initialization
managers we now simply remove/uninstall the run-postinsts package
when no post installations are found to be delayed till runtime.
This is also more aligned with the function (_uninstall_unneeded)
this functionality is triggered through.

(From OE-Core rev: 627fb3181edd71502fbdf96549c41b2dea027250)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Mikko Rapeli
c5e5ba214a openssl: update to 1.1.1k to fix CVE-2021-3450 and CVE-2021-3449
Only security issues fixed in this release according to
https://www.openssl.org/news/cl111.txt

(From OE-Core rev: 557d956743ecf5e1d002ae0b2135b1307736b7c8)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Ross Burton
a740ac1c07 bitbake.conf: ensure BUILD_* tools match target tools
Add a few more tools to the BUILD_* list, to match the target tool list.

(From OE-Core rev: 633393830aea0120c4a2a165917040223630c49d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Richard Purdie
bbd6098ef4 util-linux-libuuid: Simplify recipe and rename from util-linux-uuid
Rename the recipe from util-linux-uuid to util-linux-libuuid which means
we can drop the custom PACKAGES and FILES defintions which simplifies
things. Also move the LICENSE setting to the libuuid recipe so that
it is correctly applied to the right packages.

This means the standard definitions from bitbake.conf are used, avoiding
errors from situations where users have customised settings causing
failures.

(From OE-Core rev: 65efd76198ad805060fe28714765cd423fa748dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:27 +01:00
Mingli Yu
8d9dbbdd4a libtool: make sure autoheader run before autoconf
autoheader will update ../libtool-2.4.6/libltdl/config-h.in which
autoconf needs, so there comes a race sometimes as below:
 | configure.ac:45: error: required file 'config-h.in' not found
 | touch '../libtool-2.4.6/libltdl/config-h.in'

So make sure autoheader run before autoconf to avoid this race.

(From OE-Core rev: d8451cbef5906b67756582fdfc44eb01ed3512fc)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:26 +01:00
Robert P. J. Day
946007fd4c bitbake.conf: correct description of HOSTTOOLS_DIR
HOSTTOOLS_DIR contains symlinks to host tools, not copies

(From OE-Core rev: fb7692da7faa49b370680decbbaceaeb85b6889d)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:26 +01:00
Jon Mason
02655792c9 tune-cortexa32: Add hard FPU
A32 always has NEON and VFP.  Set the FPU as hard to always have this
enabled and used.

(From OE-Core rev: bbca4d664555a8b4e8c4f18da3827c1176dba455)

Signed-off-by: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:26 +01:00
Ross Burton
f7ed81182c classes/image: use oe.utils.directory_size() instead of du
Instead of using du (which has issues as disussed in the previous commit), use
the new oe.utils.directory_size() function.

(From OE-Core rev: d8f1f3a6b024a2ae6631d1ce25421e8d94b69a12)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:26 +01:00
Ross Burton
3743234dab lib/oe/utils: add directory size function
For the purpose of image construction using du on a rootfs directory isn't
entirely satisfactory.  Bare "du" will report the actual disk usage so file
systems which can compress the data will report less than the actual space
required.  Using "du --apparent-size" will report the actual space used, but as
this simply sums the bytes used for content across an entire file system can
result in significant under-reporting due to block size overhead.

Attempt to solve these problems by implementing our own function to calculate
how large a rootfs will be.  This function handles hardlinks correctly but
rounds up all sizes to multiples of the block size (currently, 4KB is the
hard-coded block size).

(From OE-Core rev: 6ca53ad7b26ee2b4e6d2c121c6f6d6eed7f6b56f)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:26 +01:00
Yann Dirson
e9929301d4 ffmpeg: disable GPL features by default
--disable-gpl is the upstream default, and using GPL features violates
the license when linking into non-GPL programs.

Enabling it by default breaks user expectations, may cause people to
violate the GPL by mistake.

(From OE-Core rev: ae9273f7e3b6bbf6cbdbdfbd32634cebe5c1b0ce)

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:26 +01:00
Ming Liu
fef6805f68 initramfs-framework:rootfs: fix some conditional check
Drop a duplicated check for "PARTLABEL=", also change to use elif to
avoid go through all the checks for root parameter.

(From OE-Core rev: 29e1e2ad0b6fd0db0e099831ba331b4ffa2b094b)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-28 22:28:26 +01:00
Khem Raj
a7e1bbaf6d documentation-audit.sh: Fix typo in specifying LICENSE_FLAGS_WHITELIST
(From OE-Core rev: 410a45639d84a3d69a65133593da32062196dd59)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-26 11:34:33 +00:00
Richard Purdie
ea455ca867 build-appliance-image: Update to master head revision
(From OE-Core rev: 7ae12e4278e98c5b916a1067ae0b48c2da6e82cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:56:44 +00:00
Michael Opdenacker
c6483187f9 documentation/README minor improvements
- Minor style and spelling fixes
- Add some extra details; add missing external link macros
  and explain where they are defined
- Correct where documentation can be found on the
  Yocto Project website: the "Documentation" tab
  has been replaced by "Docs" (and it's later
  shown as uppercase ("DOCS") by the current CSS, but this
  may change one day.

(From yocto-docs rev: ed7b4f318c9ba6cf501f1e551c7a8eb4aaee1396)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:54:55 +00:00
Dorinda
6c9829385e dev-manual/common-task.rst: Added documentation for debuginfod support
Added documentation on running debuginfod server and using it on the target.
Added the term DEBUGINFOD_URLS definition in ref-manual/variables.rst

(From yocto-docs rev: a16ae140e26482c81ce733f20f8c68c6eba55f35)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:54:55 +00:00
Michael Opdenacker
2d80d02edb Update documentation URL
(From yocto-docs rev: dcedeaeb50d094d278e114928bfb63164aa7afb2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:54:55 +00:00
Michael Opdenacker
a306baf850 Do not assume working from $HOME
In the "Yocto Project Quick Build" instructions
(https://docs.yoctoproject.org/brief-yoctoprojectqs/index.html#)
there is an inconsistency that impacts several documents...

People are first instructed to clone the poky git repository, but not
mentioning from which directory. Then, it's consistent to instruct
people to run "cd poky/".

However, later in the instructions, readers are instructed to run "cd
~/poky", which assumes that cloning poky was done from the home
directory. Many other places in the documentation make such an assumption.

This change fixes this, and makes no assumption on where people
have chosen to store their data, in particular where they cloned
the "poky" repository.

This also fixes a few whitespace issues.

(From yocto-docs rev: fd4e365c85df212d7ed70fc1abb3657a4a88b294)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:54:55 +00:00
Kevin Hao
5de939f61c meta-yocto-bsp: beaglebone: Set a fixed size for boot partition in WIC image
After the dosfstools has been updated to v4.2 by commit b522f24723
("dosfstools: update 4.1 -> 4.2"), the commit b29eb5be67e9 ("mkfs.fat:
Align total number of sectors to be multiple of sectors per track") in
v4.2 has caused a regression in beagebone black board. The reason is
that the real total sectors of the fat filesystem created by the mkdosfs
may not be the same size as what we requested due to align with the
sectors per track, this change seem no side effect to linux kernel,
but it breaks the beaglebone black boot ROM and make it can't load the
MLO. In order to fix this issue, we choose to set a fixed size for the
boot partition to make sure that the total sectors always are aligned
with the sectors per track.

[Yocto #14306]

(From meta-yocto rev: 0c679ac53b52e631a7c961872ce58f5cf74b8629)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:52:09 +00:00
Wang Mingyu
e42870e233 openssh: Improve LICENSE to show BSD license variants.
Update LICENSE to show that BSD-2-Clause, BSD-3-Clause and BSD-4-Clause
are all present.

(From OE-Core rev: d17938953fc2524bc5f04db4409a47aa400e756a)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:26 +00:00
Wang Mingyu
644954038d openssh: upgrade 8.4p1 -> 8.5p1
0f90440ca70abab947acbd77795e9f130967956c.patch
removed since it is included in 8.5p1

License Updated :
2-clause BSD license and 4-clause BSD license added

(From OE-Core rev: 60ab470f8759539547a96f1b47299b7b16d6a630)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Bruce Ashfield
a1f8ee382f linux-yocto/5.10: update qemuriscv32 v5.10.23
The kernel SRCREV updates were missing riscv32, so stayed back on
5.10.21, which causes build issues as PV is out of sync with the
actual kernel version.

(From OE-Core rev: 31e94296eab06eaca2039bdc9771e49893088b27)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Bruce Ashfield
273aef2b5a linux-yocto-dev: bump to v5.12-rc
The -dev kernel has moved to v5.12, as it will be the latest avialable
in the upcoming release. core-image-kernel-dev sanity has passed for
the supported arches.

So we bump the version to match the active branches.

(From OE-Core rev: 51401e0180f4f27ac9b6c8149332d4021d393d0d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Richard Purdie
d340067a21 site/elfutils/libunistring: Drop patching for iconv and set in site file
The standard macros from gettext for iconv include problematic tests which
we've been patching out adhoc. Stop doing this and set results in the site
files instead which is simpler, more maintainable and peforms better too
as an added bonus.

(From OE-Core rev: 5a3bfdc4af18302cf0e3ea5802fdfefaa7235657)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Khem Raj
5fdfa9e3cd valgrind: Fix ptests on ppc64 LE
Backport a patch to avoid lsw/lmw instructions

(From OE-Core rev: 834923cbf36d028da56208ad1e2a1b8623a88bd7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Sakib Sajal
4b5a93d190 scripts: add oe-time-dd-test.sh
oe-time-dd-test records how much time it takes to
write <count> number of kilobytes to the filesystem.
It also records the number of processes that are in
running (R), uninterruptible sleep (D) and interruptible
sleep (S) state from the output of "top" command.
The purporse of this script is to find which part of
the build system puts stress on the filesystem io and
log all the processes.

(From OE-Core rev: 26d82f92e5ed2ebdde158d66b86eaf248f56892a)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Changqing Li
ab6fb347a6 go-helloworld: disable module-aware mode
>From go 1.16, module-aware mode is enabled by default, regardless of
whether a go.mod file is present in the current working directory or a
parent directory.

Above change makes go-helloworld build fail when doing offline build or
proxy.golang.org is not accessible.

This fix is kind of workaround, as from go1.17, GOPATH mode will be
dropped, and GO111MODULE is ignored.

(From OE-Core rev: a0dc36d60809a0a937bbb02ec27ba768ef177063)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Scott Murray
33132ec146 u-boot: Fix CVE-2021-27097, CVE-2021-27138
Backport fixes for CVE-2021-27097 and CVE-2021-27138 as well as
a precursor fdt validation fix that allows using the upstream
patches for the CVEs without significant rebasing.  Note that
the additional upstream changes to add new U-Boot fit image tests
have been left out to keep the patch count down.  Those tests are
currently not used for ptest or oe-selftest, so it is believed
their absence should not be problematic.

(From OE-Core rev: b6c2df341d7e6da5defca9a5567fdb7212489efa)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Jose Quaresma
f0d268181e gstreamer1.0-plugins-good: fix rtpjitterbuffer regression
Due to an off-by-one when parsing the string, the most significant digit
or the clock offset was skipped when parsing the offset.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/910

(From OE-Core rev: ce51f42b87b154a5a12fb77fc9dd965ba59f2403)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Jose Quaresma
902bf6550c gstreamer1.0: upgrade 1.18.3 -> 1.18.4
(From OE-Core rev: 633739bc912cf84c78f5ae0f7fbcb41663a05c7f)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Anton D. Kachalov
c3ec66dfb5 run-postinsts: do not remove postinsts directory.
When running on the systems having read-only rootfs backed by overlayfs,
removing the whole directory lead to create a special char device file
on the upperdir to reflect directory's removal. Once it is required to
upgrade the whole read-only image that might contain new postinsts scripts,
it will be impossible to run such scripts with a "deletion mark" file
on the overlayfs -- the whole directory will be marked as deleted regardless
new files in it.

(From OE-Core rev: 1a27b62b225ffeecec47c249a0b86cc54d775add)

Signed-off-by: Anton D. Kachalov <gmouse@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Martin Jansa
84e4c97835 python3: fix PACKAGECONFIG handling
* it was changed from sysconf_dis to mods_disabled in:
  https://git.openembedded.org/openembedded-core/diff/meta/recipes-devtools/python/python3/0017-setup.py-do-not-report-missing-dependencies-for-disa.patch?id=7347556b18b45c5f9afc2cade565a75c95876914

  but unfortunately this doesn't work as mods_disabled set by remove_configured_extensions
  can contain only extensions which were disabled, as this list:
  self.extensions: ['_struct', 'array', '_contextvars', 'math', 'cmath', 'time', '_datetime', '_zoneinfo', '_random', '_bisect', '_heapq', '_pickle', 'atexit', '_json', '_lsprof', 'unicodedata', '_opcode', '_asyncio', '_abc', '_queue', '_statistics', 'fcntl', 'pwd', 'grp', 'spwd', 'select', 'parser', 'mmap', 'syslog', '_xxsubinterpreters', 'audioop', '_csv', '_posixsubprocess', '_testcapi', '_testinternalcapi', '_testbuffer', '_testimportmultiple', '_testmultiphase', '_xxtestfuzz', '_curses', '_curses_panel', '_crypt', '_socket', '_ssl', '_hashlib', '_sha256', '_sha512', '_md5', '_sha1', '_blake2', '_sha3', '_sqlite3', 'termios', 'resource', 'ossaudiodev', 'nis', 'zlib', 'binascii', '_bz2', '_lzma', 'pyexpat', '_elementtree', '_multibytecodec', '_codecs_kr', '_codecs_jp', '_codecs_cn', '_codecs_tw', '_codecs_hk', '_codecs_iso2022', '_decimal', '_ctypes_test', '_posixshmem', '_multiprocessing', '_uuid', 'xxlimited', '_ctypes']

  while PACKAGECONFIG in python3 usually uses this to disable _dbm, _gdbm or runtime modules.

* without this change the do_install will fail (based on check_build_completeness.py log.do_compile) with:
  | ERROR: Execution of '/OE/build/oe-core/tmp-glibc/work/x86_64-linux/python3-native/3.9.0-r0/temp/run.do_install.69743' failed with exit code 1:
  | The necessary bits to build these optional modules were not found:
  | _dbm                  _gdbm                 readline

(From OE-Core rev: fa5243693e35e1e0dc3247e2178f181051f68e77)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Khem Raj
9d00a01831 apt: Do not disable NLS
Add a patch to disable cmake po targets

(From OE-Core rev: 28ba2ddcf73400263ae8409f64190d5f109c44b8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Khem Raj
ad43cc66d2 apt: Support old resolver as fallback
Not all C libraries implement the new resolver APIs e.g. musl, therefore
keep the old interfaces around and choose using __RES version macro
which is meant for this kind of work.

(From OE-Core rev: 7450cae1d886abe0d6c7b738a9001579c2b530e0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Alexander Kanavin
94fa96262a apt: update 1.8.2.2 -> 2.2.2
Drop 0001-test-libapt-do-not-use-gtest-from-the-host.patch
(replaced by WITH_TESTS option).

Drop 0001-Do-not-configure-packages-on-installation.patch
(no longer necessary).

Adjust build dependencies.

(From OE-Core rev: f0ede019c828249688e2b287b7845f4ebd2d6203)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Bruce Ashfield
3c48fe13f3 linux-yocto/5.10: cfg: fix ppc64 configuration warnings
Recent tweaks to the kern tools triggered some warnings that were
previously hidden.

With these two commits, ppc64 has a clean audit:

    c0cfc016a51 qemuppc64: fix 5.10 configuration warnings
    489c76aa9fb qemu-ppc64.cfg: Do not set CONFIG_POWER4

(From OE-Core rev: 2a5f2f2c9dbbad1cf79e28be79e4a8a06cc29bea)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Richard Purdie
5fa2455fbb sstate: Add documentation for eventhandlers and tweak naming
It isn't immediately obvious what these do, add some better examples
to document them. Also improve the naming for one of the handlers.
This will help make it clear in any tracebacks which code is being
used.

(From OE-Core rev: 2b5c553744804f44a17b61c345e482027e45b71e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Richard Purdie
75c2c03416 sstate: Remove stale objects before the main build
The split of util-linux-uuid out from util-linux caused some interesting
sstate file overlap errors on existing build directories. This is a
challenge to handle since util-linux depends on util-linux-uuid and has
overlapping files in package data and deploy/packages directories.
The util-linux build happens later and is what would clean up those files
but it happens too late for uuid.

Fixing this is hard as we don't know the taskhashes until the task
graph is calculated. Once that is ready, we can compare the hashes
with the existing hashes and know which sstate tasks are "stale".

This patch adds a handler which iterates the sstate manifests looking
for matching stamp paths and then removes the manifests along with the
associated stamp files.

(From OE-Core rev: 60e77b1777c6c304aa1d629c4cfdabe0daa22eb1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
zhengruoqin
5372c7b54e stress-ng: upgrade 0.12.04 -> 0.12.05
(From OE-Core rev: e5f457cb81698a517a11df48131169b3a40105ce)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
zhengruoqin
9f228661de liburi-perl: upgrade 1.74 -> 5.08
(From OE-Core rev: f582d6de3d3eb77c9f5d1bf5b6a8fa0c6c98515b)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Michael Opdenacker
62880ffb17 bitbake: doc: Update links to documentation
(Bitbake rev: ed8e1fd4cf9d5ac8a8203638add99d686b4b3521)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Richard Purdie
86ec266d91 bitbake: runqueue/event: Add an event for notifying of stale setscene tasks
Use the new functionality in build.py to identify stale setscene tasks
and send an event to the metadata listing them. The metadata then
has the option of performing cleanup operations if it thinks that
appropriate.

(Bitbake rev: ef8c980a3ae92c168b7ca16a4d19cd38a9574761)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Richard Purdie
ab55f8bfec bitbake: build: Add find_stale_stamps function
Add a new function which compares the stamp filename we want (including
taskhash) with what is in the stamp directory (using the clean mask).
This tells us which stamp files are stale and are due to be rerun.

(Bitbake rev: b126a53882d202e4df0f9661303355c9fe9ec80e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-23 22:51:25 +00:00
Robert P. J. Day
22931aec26 bitbake: doc: fix syntax error in layer.conf example
While this example really needs to be rewritten to not define multiple
patterns in the same layer.conf, as long as it's there, it might as
well be syntactically correct.

(Bitbake rev: 1c2d2875099a3ff9149710d42c679ab31b00f68b)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-22 18:10:06 +00:00
Robert P. J. Day
d4603d56c7 bitbake: doc: fix glossary link for BB_INVALIDCONF variable
(Bitbake rev: 4a4d55c41806815c32add32863a05351a6df30f7)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-22 18:10:06 +00:00
Robert P. J. Day
a29a37f0b0 bitbake: doc: mention that addtask handles multiple dependencies
Add a note explaining that "addtask" can accept multiple dependencies,
just in case someone runs across such an example and is confused.

(Bitbake rev: 5e4e9acd323b5ebc3a14c07384f6cf8f8a272066)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-22 18:10:06 +00:00
Robert P. J. Day
ecacf2e941 ref-manual: remove erroneous '\*' from variables list
Not sure what those leading '\*' are doing, but they're rendered
verbatim and mess up creating a linkable item.

(From yocto-docs rev: dd2e5ef733f056900cc4c9746a1e8c688cc61920)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-22 18:05:31 +00:00
Martin Jansa
64bd40886d packagegroup-core-weston.bb: add pam to REQUIRED_DISTRO_FEATURES
* weston, weston-init, weston-examples require pam
* fixes:
  ERROR: Nothing RPROVIDES 'weston-init' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston-init was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston-init' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston-init']
  ERROR: Nothing RPROVIDES 'packagegroup-core-weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'packagegroup-core-weston'
  NOTE: Runtime target 'packagegroup-core-weston' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['packagegroup-core-weston']
  ERROR: Nothing RPROVIDES 'weston-examples' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston RPROVIDES weston-examples but was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston-examples' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston-examples']
  ERROR: Nothing RPROVIDES 'weston' (but meta/recipes-graphics/packagegroups/packagegroup-core-weston.bb RDEPENDS on or otherwise requires it)
  weston was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston']

(From OE-Core rev: 27cb44e83b4bc63484bbea9988701e9d9b3f7142)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
ea8f03e279 kernel-devsrc: fix on-target scripts/prepare for v5.12+
AR is now captured are part of the build environment. If we don't
subtitute our on-target variant for the cross version, we'll end
up getting a prompted configure when preparing to build modules.

(From OE-Core rev: 09bf40bf890a9d56c8365eb93a4baf467dc3308c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
0ffb5a8a49 lttng-modules: backport patches to fix build against 5.12+ kernel
There are four changes in addition to the 2.12.5 release that we
need to build against the 5.12 kernel. Rather than only rely on
people knowing to use devupstream support to build against newer
kernels, we backport the 4 patches while waiting for release.

(From OE-Core rev: 2d45c09bfbad969549c719654f72714324299f00)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
b020c230c9 lttng-modules: update devupstream to 2.12.5+
When building against kernel v5.12-rc+, we need extra changes
on top of the 2.12.5 release. We can bump devupstream separately
from the main release to grab those changes.

(From OE-Core rev: a53ddaa3dc5c072f9fbc5df5075e6067c0d6cc11)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
0064a7523d linux-yocto/5.10: cfg: features/numa: Remove NODES_SPAN_OTHER_NODES option
Integrating the following commit(s) to:

    f5babefa399 features/numa: Remove NODES_SPAN_OTHER_NODES option

(From OE-Core rev: d412ed47a6a04acb1c3325345c77de145bd9b00c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
da1b9fdda1 linux-yocto/5.10: update to v5.10.23
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    dfbf345b63c3 Linux 5.10.23
    c8714d1faae8 nvme-pci: add quirks for Lexar 256GB SSD
    e88e01440a48 nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.
    3b659091587a KVM: SVM: Clear the CR4 register on reset
    1611c323df9f scsi: ufs: Fix a duplicate dev quirk number
    2dba0f805416 ASoC: Intel: sof_sdw: add quirk for HP Spectre x360 convertible
    c08344abc971 ASoC: Intel: sof_sdw: reorganize quirks by generation
    1d3efd15e8a4 PCI: cadence: Retrain Link to work around Gen2 training defect
    015d38539db9 ALSA: usb-audio: add mixer quirks for Pioneer DJM-900NXS2
    d78acca2afe5 ALSA: usb-audio: Add DJM750 to Pioneer mixer quirk
    96c4c0a9405e HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15
    5b6526283499 mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN
    e62bdb34858c drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register
    e74b237ef989 scsi: ufs: ufs-exynos: Use UFSHCD_QUIRK_ALIGN_SG_WITH_PAGE_SIZE
    0905bfe69ac2 scsi: ufs: ufs-exynos: Apply vendor-specific values for three timeouts
    c32b34115357 scsi: ufs: Introduce a quirk to allow only page-aligned sg entries
    eece8fe5ebb0 misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom
    2fc01226c288 scsi: ufs: Add a quirk to permit overriding UniPro defaults
    dbaa2667515e scsi: ufs-mediatek: Enable UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL
    ff72a41132b3 ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A32
    c7ebe45e403d KVM: x86: Supplement __cr4_reserved_bits() with X86_FEATURE_PCID check
    422da3196be9 PCI: Add function 1 DMA alias quirk for Marvell 9215 SATA controller
    0ff1f97510fd usb: cdns3: fix NULL pointer dereference on no platform data
    8694c4e2b19c usb: cdns3: add quirk for enable runtime pm by default
    febf7d870371 usb: cdns3: host: add xhci_plat_priv quirk XHCI_SKIP_PHY_INIT
    3db17e283a92 usb: cdns3: host: add .suspend_quirk for xhci-plat.c
    1b2ac1d95fb1 ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140
    d3116e06fb16 ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807
    c5188a98d2fb media: cx23885: add more quirks for reset DMA on some AMD IOMMU
    748446897d36 HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter
    8fb656fefddd platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016
    ba1a647e0f11 platform/x86: acer-wmi: Add support for SW_TABLET_MODE on Switch devices
    2c9132e543b7 platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag
    039cd40179e9 platform/x86: acer-wmi: Add new force_caps module parameter
    74848026bcb1 platform/x86: acer-wmi: Cleanup accelerometer device handling
    be52e3ea4520 platform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines
    b159a9a4d357 bus: ti-sysc: Implement GPMC debug quirk to drop platform data
    f7f227eb32d1 ASoC: Intel: sof_sdw: add quirk for new TigerLake-SDCA device
    36b3ba412d7c mwifiex: pcie: skip cancel_work_sync() on reset failure path
    f5526b77335d Bluetooth: btqca: Add valid le states quirk
    93d20ce4c47f iommu/amd: Fix sleeping in atomic in increase_address_space()
    bf6dd437c3ba btrfs: don't flush from btrfs_delayed_inode_reserve_metadata
    cf9317ceb5a1 btrfs: export and rename qgroup_reserve_meta
    7215d7742daf arm64: Make CPU_BIG_ENDIAN depend on ld.bfd or ld.lld 13.0.0+
    a6425142f522 parisc: Enable -mlong-calls gcc option with CONFIG_COMPILE_TEST
    ea222427ae9c nvme-pci: mark Kingston SKC2000 as not supporting the deepest power state
    6d7fdad08fbd ASoC: SOF: Intel: broadwell: fix mutual exclusion with catpt driver
    62ba6d817c91 ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling
    b672142f76cb Linux 5.10.22
    b31a9f0c366d r8169: fix resuming from suspend on RTL8105e if machine runs on battery
    aa40f5e33ce3 tomoyo: recognize kernel threads correctly
    4645271c32b4 of: unittest: Fix build on architectures without CONFIG_OF_ADDRESS
    b70e6aacbe32 Revert "arm64: dts: amlogic: add missing ethernet reset ID"
    a7cefacccafa iommu/vt-d: Fix status code for Allocate/Free PASID command
    5cc0813e7bb9 rsxx: Return -EFAULT if copy_to_user() fails
    e88c1b25f2bc ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
    a14c6ea66211 ALSA: hda: intel-nhlt: verify config type
    7ef9d23bc312 IB/mlx5: Add missing error code
    f767104af496 RDMA/rxe: Fix missing kconfig dependency on CRYPTO
    8850a814d42d RDMA/cm: Fix IRQ restore in ib_send_cm_sidr_rep
    253b7a11ce26 ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
    4d7ed9a49b0c mm: Remove examples from enum zone_type comment
    8eaef922e938 arm64: mm: Set ZONE_DMA size based on early IORT scan
    35ec3d09ff6a arm64: mm: Set ZONE_DMA size based on devicetree's dma-ranges
    a9861e7fa4f8 of: unittest: Add test for of_dma_get_max_cpu_address()
    18bf6e998d08 of/address: Introduce of_dma_get_max_cpu_address()
    3fbe62ffbb54 arm64: mm: Move zone_dma_bits initialization into zone_sizes_init()
    407b173adfac arm64: mm: Move reserve_crashkernel() into mem_init()
    85433307d8a1 crypto - shash: reduce minimum alignment of shash_desc structure
    3868a277e6fc drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie
    c2fee74ea801 drm/amdgpu:disable VCN for Navi12 SKU
    ce1cca17381f dm verity: fix FEC for RS roots unaligned to block size
    7bda53f46387 dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
    a2501d87663b io_uring: ignore double poll add on the same waitqueue head
    3301afbfef69 ring-buffer: Force before_stamp and write_stamp to be different on discard
    c6e5800bdf70 PM: runtime: Update device status before letting suppliers suspend
    ae971992e9fe btrfs: fix warning when creating a directory with smack enabled
    e6ba61aaff88 btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors
    37ffce966821 btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
    a64ad80223f2 btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl
    e82407d24968 btrfs: fix race between extent freeing/allocation when using bitmaps
    1559d94fece2 btrfs: fix stale data exposure after cloning a hole with NO_HOLES enabled
    6fc9e5866cb9 btrfs: fix race between swap file activation and snapshot creation
    501fdd1cefae btrfs: fix race between writes to swap files and scrub
    b2a487613218 btrfs: fix raid6 qstripe kmap
    a01415e5e862 btrfs: avoid double put of block group when emptying cluster
    fbefc2d28900 tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality()
    bfa2e4ed1d39 tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality()
    86c524934277 ALSA: usb-audio: Drop bogus dB range in too low level
    4330e7a8bf01 ALSA: usb-audio: use Corsair Virtuoso mapping for Corsair Virtuoso SE
    5c947a8a6f05 ALSA: hda/realtek: Enable headset mic of Acer SWIFT with ALC256

(From OE-Core rev: 6b61ff4f293ebfabafb80dff35cfc7c0513983b6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
b999c99de3 linux-yocto/5.4: update to v5.4.105
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    ce615a08404c Linux 5.4.105
    d17cf4cb1928 nvme-pci: add quirks for Lexar 256GB SSD
    1d08ff846484 nvme-pci: mark Seagate Nytro XM1440 as QUIRK_NO_NS_DESC_LIST.
    9106a7844efb HID: i2c-hid: Add I2C_HID_QUIRK_NO_IRQ_AFTER_RESET for ITE8568 EC on Voyo Winpad A15
    b5e10e9b3047 mmc: sdhci-of-dwcmshc: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN
    21f3fb36b5a2 drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register
    1d113893ff9d misc: eeprom_93xx46: Add quirk to support Microchip 93LC46B eeprom
    9f1f09887551 PCI: Add function 1 DMA alias quirk for Marvell 9215 SATA controller
    f40fdcb7ca29 ASoC: Intel: bytcr_rt5640: Add quirk for ARCHOS Cesium 140
    242be7cddd25 ACPI: video: Add DMI quirk for GIGABYTE GB-BXBT-2807
    86c8848d680a media: cx23885: add more quirks for reset DMA on some AMD IOMMU
    fd476c6d4e1a HID: mf: add support for 0079:1846 Mayflash/Dragonrise USB Gamecube Adapter
    ef9fa6bb8582 platform/x86: acer-wmi: Add ACER_CAP_KBD_DOCK quirk for the Aspire Switch 10E SW3-016
    3a8eb20cb87b platform/x86: acer-wmi: Add support for SW_TABLET_MODE on Switch devices
    e3a3a69da177 platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag
    b734af305c78 platform/x86: acer-wmi: Add new force_caps module parameter
    025180244251 platform/x86: acer-wmi: Cleanup accelerometer device handling
    37b4324cb78e platform/x86: acer-wmi: Cleanup ACER_CAP_FOO defines
    200e14759da5 mwifiex: pcie: skip cancel_work_sync() on reset failure path
    c699a89d385c iommu/amd: Fix sleeping in atomic in increase_address_space()
    fa56bf637eac ACPICA: Fix race in generic_serial_bus (I2C) and GPIO op_region parameter handling
    f27765adb3f6 dm table: fix zoned iterate_devices based device capability checks
    06ef17b88676 dm table: fix DAX iterate_devices based device capability checks
    b8aedc65db40 dm table: fix iterate_devices based device capability checks
    c1f5fc082beb net: dsa: add GRO support via gro_cells
    84d5d3c9d3fb Linux 5.4.104
    d859388ea25a r8169: fix resuming from suspend on RTL8105e if machine runs on battery
    1fba84f3c491 rsxx: Return -EFAULT if copy_to_user() fails
    77a81b10f894 ftrace: Have recordmcount use w8 to read relp->r_info in arm64_is_fake_mcount
    9a20e5782d2d ALSA: hda: intel-nhlt: verify config type
    86b3b62b81c5 IB/mlx5: Add missing error code
    809ef2660c1b RDMA/rxe: Fix missing kconfig dependency on CRYPTO
    26a1af33c9cd ALSA: ctxfi: cthw20k2: fix mask on conf to allow 4 bits
    6827415290ab usbip: tools: fix build error for multiple definition
    078170924d84 crypto - shash: reduce minimum alignment of shash_desc structure
    1f8884d04480 arm64: ptrace: Fix seccomp of traced syscall -1 (NO_SYSCALL)
    9e15b43fdaf3 drm/amdgpu: fix parameter error of RREG32_PCIE() in amdgpu_regs_pcie
    b367201430dd dm verity: fix FEC for RS roots unaligned to block size
    1a4182923144 dm bufio: subtract the number of initial sectors in dm_bufio_get_device_size
    52a643680165 PM: runtime: Update device status before letting suppliers suspend
    e49baccfe299 btrfs: fix warning when creating a directory with smack enabled
    a87911c26a1c btrfs: unlock extents in btrfs_zero_range in case of quota reservation errors
    91bc3296bffb btrfs: free correct amount of space in btrfs_delayed_inode_reserve_metadata
    8674c1a72a69 btrfs: validate qgroup inherit for SNAP_CREATE_V2 ioctl
    0c740d2b8c61 btrfs: fix raid6 qstripe kmap
    909a8d2b1e7b btrfs: raid56: simplify tracking of Q stripe presence
    15726df8c09a tpm, tpm_tis: Decorate tpm_get_timeouts() with request_locality()
    6d71cbc91104 tpm, tpm_tis: Decorate tpm_tis_gen_interrupt() with request_locality()

(From OE-Core rev: 589673d5cef12c98a95c83d47d30d6fc35463747)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Bruce Ashfield
6df0aad846 linux-yocto/5.10: fix SERIAL_OF_PLATFORM warning
Integrating the following commit(s) to linux-yocto.:

    a0249ac3bae cfg: classify CONFIG_SERIAL_OF_PLATFORM as non-hardware

By declaring the option non-hardware, we make it optional and hence
fix the warning on non OF platforms.

(From OE-Core rev: c6f0962e5ea2403b95ecc2bc0bc3faa9d979ee57)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:57 +00:00
Richard Purdie
922332f58d layer.conf: Drop gatesgarth from the layer series names
The time has come to encourage people to update actively maintained
layers to use the new series name.

(From OE-Core rev: 737e3e608e64fc9ba67facc3dd2dd30497266f1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Khem Raj
0163e6b8d0 gcc-sanitizers: Package up hwasan files
This is introduced in GCC-11

(From OE-Core rev: 3df4a25465e488ba7c17d0b358435fc1088c6dac)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
9c30eb87e3 xxhash: import from meta-oe
This is needed for newer versions of apt.

(From OE-Core rev: fc0c7b68eda2d47ff7ec61f9f49137fb547d9d6b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
56f0368524 automake: update 1.16.2 - > 1.16.3
Drop automake-replace-w-option-in-shebangs-with-modern-use-warnings.patch;
upstream has fixed the issue.

(From OE-Core rev: 88778afc693d824cc637011e91d4727f8e8c2de4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
d497d046f0 strace: update 5.10 -> 5.11
Drop disable-git-version-gen.patch as problem fixed upstream.

Add parallel builds to ptest compile.

strace-graph has been removed upstream.

Adjust ptest patch to match upstream changes.

License-Update: copyright years.

(From OE-Core rev: 09af1c98499c9919dc2ebf7eb11796d3d912a8a5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
b1deccbd49 libhandy: update 1.0.3 -> 1.2.0
(From OE-Core rev: 48fb4f03fec2085ca2e4745e0e40eaab6787e0f2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
64ddf97b34 asciidoc: update 9.0.4 -> 9.1.0
Dropped patch supserseded by https://github.com/asciidoc-py/asciidoc-py/pull/172

(From OE-Core rev: 4051cb4ac24c75494b26e1422e281196ae5c9e3b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
e0f94da010 attr: update 2.4.48 -> 2.5.1
(From OE-Core rev: b3c4efe648805fc903be8a51a149c8a5a787e7e0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
99438a57a9 mesa: update 20.3.4 -> 21.0.0
0001-anv-fix-a-build-race-between-generating-a-header-and.patch
merged upstream.

osmesa is now a simple boolean option.

Swrast has been removed from dri drivers, so as we need at least one
driver to enable dri in native/nativesdk, replace it with nouveau
(which does not take long to build).

(From OE-Core rev: e4e4cc57a0a949400c557073af0cf78f977bd02d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
12aae17e43 spirv-tools: upgrade 2020.6 -> 2020.7
(From OE-Core rev: 6a9c8ec527b9a0d0e8d4cc071603a5748ffd7db4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
ea08b83d94 spirv-headers: update to latest revision
This is required by latest release of spirv-tools.

(From OE-Core rev: 0afd46a3d864a1e86f211636a318e9a749756071)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
b771abc57a bind: upgrade 9.16.11 -> 9.16.12
Adjust library packaging (see link to commit in the recipe).

(From OE-Core rev: 4711c1f4fc003da594b2a230997012ad5dcc202f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Naveen Saini
da9b0583de grub: upgrade 2.04 -> 2.06~rc1
2.06 RC1 release have a number of CVEs fixed:
CVE-2020-15705
CVE-2021-3418
CVE-2020-27749
CVE-2021-20233
CVE-2021-20225
CVE-2020-25647
CVE-2020-25632
CVE-2020-27779
CVE-2020-14372
CVE-2020-15707
CVE-2020-15706
CVE-2020-14309
CVE-2020-14310
CVE-2020-14311
CVE-2020-14308
CVE-2020-10713
CVE-2014-4607

Dropped backported patches.

(From OE-Core rev: 36a59d63619c2225fe48aa1d8fb1cdabedfffc03)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Richard Purdie
9825a860ee selftest/wic: Fix dependency issue in rawcopy test
The current test code contains a subtle race. It is building an ext4,
then trying to reuse that image in a wic build for the same recipe.
Whilst this happened to work, the code is within its rights to clean
up the output before the wic code runs.

Avoid this by using separate image targets instead.

(From OE-Core rev: 590398080e81fb5e2f81e12b8900858837dfe25f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
2cb12498f9 gcc: Update patch to only patch files once
This fixes an error in do_patch when using "PATCHTOOL = "patch""

error message:
checking file gcc/configure.ac Hunk #1 FAILED at 6602.

(From OE-Core rev: f75a1eddc7c01d9a83d0a1114fc0d6aaa79d8806)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Li Wang
4b382a05dd linux-dummy: add empty dependent packages
some kernel includes kernel-image-image and kernel-devicetree packages.
these patckages are defined in kernel.bbclass
but, when use linux-dummy, these packages are not defined.
so, define them as empty packages for avoiding compile error:

ERROR: Nothing RPROVIDES 'kernel-devicetree'

(From OE-Core rev: 8dbae2dd5ac3de629957ca699f823f5438e80163)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Jose Quaresma
8a59808e19 spirv-tools: cleanup an old patch that is not used anymore
(From OE-Core rev: 013df011f61830adcd9e89993ec19d6526c6fd83)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Jose Quaresma
e1b3e5d4f1 spirv-tools: python3 is need not only for the tests
commit acf109c1a1 remove the python3native
when disabling the tests but python is needed not only for the tests,
so re add it.

(From OE-Core rev: a8ab739e054375c0343a3449be335cdc92d0836c)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Dorinda Bassey
0bda83333e devshell.bbclass: Exceptions displayed within devpyshell
If you type something into devpyshell, an exception should be triggered,
but that exception isn't printed out because it is not being flushed out
of the buffer. This patch fixes that issue.

[YOCTO #12156]

(From OE-Core rev: 9f95e82a3b27bfd5177a855326dcad8a5bdf5b2d)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
fc21b6b885 vulkan-tools: upgrade 1.2.162.1 -> 1.2.170.0
(From OE-Core rev: 665841955f2b51f34d6493c8db3296333dc53fc4)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
255c92a4cf vulkan-loader: upgrade 1.2.162.0 -> 1.2.170.0
0001-Rename-LIB_SUFFIX-to-VULKAN_LIB_SUFFIX.patch
removed since it is included in 1.2.170.0

(From OE-Core rev: aff97c5263d7261150ecbda3bb0b5ff7a586146c)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
28fdf9c6c3 vulkan-headers: upgrade 1.2.162.0 -> 1.2.170.0
(From OE-Core rev: 1c365f7ed9e03d41d1339a1355439cd7a98627d2)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Ming Liu
959291c849 kernel-fitimage.bbclass: support both KERNEL_DEVICETREE/EXTERNAL_KERNEL_DEVICETREE
There are user cases that a developer wants to add both in-tree and
out-of-tree devicetrees to fitimage, and this is quite normal, for
instance, a developer might need the devicetrees from kernel source
meanwhile maintaining his/her own devicetree overlays to be applied
on top of them.

To support that, we now allow KERNEL_DEVICETREE and
EXTERNAL_KERNEL_DEVICETREE to be both set in configuration files, and
the devicetrees in EXTERNAL_KERNEL_DEVICETREE have higher priority to
override the same names in KERNEL_DEVICETREE.

(From OE-Core rev: c461b245076be066512ac7b074020f6032056b8d)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Alexander Kanavin
b24332906d libxcrypt: fix sporadic failures in nativesdk-libxcrypt-compat
(From OE-Core rev: ee1dca4ad342455c800b4ff38f375f5c40cfbdf6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
wangmy@fujitsu.com
43600886d7 systemd: upgrade 247.3 -> 247.4
refresh the following patches:
systemd/0001-systemd.pc.in-use-ROOTPREFIX-without-suffixed-slash.patch
systemd/0006-Include-netinet-if_ether.h.patch

(From OE-Core rev: 5db15aec00517e5b6f6585b534a2314c226841bf)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Petr Vorel
596ccd7cb8 scripts/verify-bashisms: Update checkbashisms.pl URL
anonscm.debian.org is not used any more, update the URL.

(From OE-Core rev: 3c89071a2c19a522c1df5919f500b88339ec6294)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Adrian
991a49fb99 weston-init: Set $HOME variable for SysVinit manager
SysVinit sets by default the $HOME directory to "/" for the init scripts.
It's picked then by the weston-launcher and make weston-terminal to have
wrongly set $HOME environment variable for the root user.

(From OE-Core rev: f5ddf5533b19a41be9e9cd403c2e7ded6da6f272)

Signed-off-by: Adrian Fiergolski <adrian.fiergolski@fastree3d.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
7b9601d49c gptfdisk: upgrade 1.0.6 -> 1.0.7
(From OE-Core rev: 0333457e9c8bb89e4de81baeb1d706202bf4a236)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Douglas Royds
42c86799ce externalsrc: Detect code changes in submodules
Further to 50ff9afb39, only detect code changes in submodules that are
subdirectories of the EXTERNALSRC directory.

git submodule status returns a path relative to the cwd for each submodule.
We don't add submodules that are not within our source subtree.

(From OE-Core rev: 4525310d49d115a37705f04ac5c03d639e5e8f8c)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Douglas Royds
887e56c1b2 cmake: Fully-qualified path to ar
We (correctly enough) pass in our AR to cmake via the toolchain file,
but unlike the other cross-compilation tools (CC, CXX, ranlib, etc),
cmake does not then do its own search in the PATH for our AR.

By using cmake's own find_program() to search the PATH,
make works as expected from the commandline, outside of bitbake.

(From OE-Core rev: e9180c9575f0723b51915a0da58452511b6b03bf)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Lee Chee Yang
78f58a4769 cve-check: CVE_VERSION_SUFFIX to work with patched release
CVE_VERSION_SUFFIX in "patch" to treat version string with suffix "pX"
or "patchX" as patched release.

also update testcases to cover this changes and set CVE_VERSION_SUFFIX
for sudo.

(From OE-Core rev: 8076815fc2ffc8f632e73527ce2b7d158a29e9ea)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Lee Chee Yang
f0347de268 cve-update-db-native: consider version suffix when update CVE db
some record from NVD can merge or split suffix from version, for
example:
  CVE-2017-15906
  "cpe23Uri" : "cpe:2.3🅰️openbsd:openssh:5.0:p1:*:*:*:*:*:*"
  "cpe23Uri" : "cpe:2.3🅰️openbsd:openssh:4.7p1:*:*:*:*:*:*:*"

in such case include the suffix into version when update local CVE db.

(From OE-Core rev: 13cc68197f81bb7c76fa1abecc5dd720b8bdb8d5)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:56 +00:00
Wang Mingyu
299d456f05 msmtp: upgrade 1.8.14 -> 1.8.15
(From OE-Core rev: 93f0bf11ce2b950215a2de79a4ce928cd0b1b7b9)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Khem Raj
a0ee9118fc webkitgtk: enable strlen and stpcpy on musl/linux too
(From OE-Core rev: d8f210688c56c26012f44a0a8c3bc6c1fbb9b596)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Khem Raj
736086e7c0 webkitgtk: Add packageconfig to chose between size and speed
This packageconfig when selected will use -Os -DNDEBUG instead of -O2
-DNDEBUG, which should generate smaller binaries and libs but perhaps at
the expense of some runtime performance, defaults are kept as it is

size reduction when enabled

--rwxr-xr-x root       root         23503680 ./usr/lib/libjavascriptcoregtk-4.0.so.18.17.13
+-rwxr-xr-x root       root         17536152 ./usr/lib/libjavascriptcoregtk-4.0.so.18.17.13
--rwxr-xr-x root       root         53314616 ./usr/lib/libwebkit2gtk-4.0.so.37.49.9
+-rwxr-xr-x root       root         40195672 ./usr/lib/libwebkit2gtk-4.0.so.37.49.9

(From OE-Core rev: 086c7ef9f90bc4946b53a1373cca539701501384)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Khem Raj
c9dd83cd20 webkitgtk: Reduce stack and heap sizes for jsc on musl
Fixes

[YOCTO #14281]

(From OE-Core rev: 5be97052ecfd5cc510651dddeb1291183240d1f3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrei Gherzan <andrei@gherzan.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
zhengruoqin
3407f8566d sudo: upgrade 1.9.6 -> 1.9.6p1
(From OE-Core rev: 237411b48d639bd325a54d5a1c9168b776f485e1)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Awais Belal
bd72322c2a libsdl2: disable shared memory for native builds
libsdl2 currently does not handle the failures that
occur due to shared memory in case of remote hosts
where it should ideally switch to socket based writing
when a failure is seen with shared memory.
Consider a scenario where a qemu build is done with
graphics support on a build machine and then accessed
remotely using ssh. If the remote host's X presents
MIT-SHM as an extension, launching qemu fails with

runqemu - ERROR - Failed to run qemu: X Error: BadValue
Request Major code 130 (MIT-SHM)
Request Minor code 3 ()

This is most often seen when the remote machine doing
ssh is a Ubuntu 20.04. The libsdl2 native are mainly
used for qemu at this time so it is a major usecase.
A report of such a failure was also presented at
https://lists.yoctoproject.org/g/poky/topic/78854857

(From OE-Core rev: d12306a6331238a25db52816ad74a775c026d7da)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Ross Burton
99c49bae5a base: respect downloadfilename when sniffing the SRC_URI for dependencies
(From OE-Core rev: 2881875da12ac8db3db67e4a45e511169e0e2820)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Richard Purdie
80a5009f2d selftest/reproducible: Drop ovmf exclusion
The hardcoded path issue was fixed, drop the exclusion.

(From OE-Core rev: 58e02c83dcf4d6c40c206a0371ef5d7f8db2b272)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Ross Burton
56c043a58d ovmf: make output binaries reproducible
OVMF is mostly reproducible, but the final .efi binaries have a 'NM10'
segment in that references the original input file, and this input file
has the build path in.

This can be solved by passing --zero to GenFw so that this segment is
zero'd out in release builds.

[ YOCTO #14264 ]

(From OE-Core rev: 8b4e5a3b8c3eabfbb94ab577529240b2e270efa7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Michael Trensch
8693591a35 linux-firmware: Fix packaging
Upstream directory layout has changed after update in commit 3c2f8b750a, resulting in some package to pull in linux-firmware base package.
This may cause an image size increase of approximately 700MB.

See log.do_packaging:
DEBUG: linux-firmware-bcm43340 contains dangling link /lib/firmware/cypress/cyfmac43340-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43362 contains dangling link /lib/firmware/cypress/cyfmac43362-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4339 contains dangling link /lib/firmware/cypress/cyfmac4339-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43430 contains dangling link /lib/firmware/cypress/cyfmac43430-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43455 contains dangling link /lib/firmware/cypress/cyfmac43455-sdio.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4354 contains dangling link /lib/firmware/cypress/cyfmac4354-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356 contains dangling link /lib/firmware/cypress/cyfmac4356-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.clm_blob
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4356-pcie contains dangling link /lib/firmware/cypress/cyfmac4356-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm43570 contains dangling link /lib/firmware/cypress/cyfmac43570-pcie.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-bcm4373 contains dangling link /lib/firmware/cypress/cyfmac4373-sdio.bin
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_2x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_4x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_8x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0099-0001_1x10_1x25.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_2x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0096-0001_2x10.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0097-0001_4x10_1x40.nffw
DEBUG: target found in linux-firmware
DEBUG: linux-firmware-netronome contains dangling link /lib/firmware/netronome/nic/nic_AMDA0081-0001_1x40.nffw
DEBUG: target found in linux-firmware

(From OE-Core rev: cd273c611b03bd5972da8bf4accaba247f7c9c62)

Signed-off-by: Michael Trensch <mtrensch@hilscher.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Bartosz Golaszewski
9dd8f9aa67 python3: make pydoc rdepend on python3-io
pydoc needs tempfile (provided by python3-io) to work. Add python3-io
to its RDEPENDS.

(From OE-Core rev: dfd1264ed6a2d7ff48a5286134bb80b1898fc0ba)

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Luca Boccassi
a31f87a1ff util-linux: backport patch to skip build of unused objects
util-linux-uuid does not need libtcolors.a and libcommon.a but
they get build regardless. Backport a patch from upstream to
skip them and save some compilation time.

c65953d72b

(From OE-Core rev: 9353c4338acd51e1bc4172554fca018c4044829f)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-20 18:54:55 +00:00
Richard Purdie
3cda6c0bd1 sudo: upgrade 1.9.5p2 -> 1.9.6
(From OE-Core rev: ecb038f14c0b91280ba1532ad94a6ebc64c70644)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Richard Purdie
40cade73ad sqlite3: upgrade 3.34.1 -> 3.35.0
(From OE-Core rev: fd2263bb82fb8a3d0bf74d41777ff55ac14b9447)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Richard Purdie
6ba9e91663 lttng-modules: upgrade 2.12.4 -> 2.12.5
(From OE-Core rev: b6baf26d038300a6dc9a4d6f3b8a3e52e9ccf5d4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Richard Purdie
fb95176df9 lttng-tools: upgrade 2.12.2 -> 2.12.3
(From OE-Core rev: 8170e82ac528c57a891e92677e3a7a24aad5ba69)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Khem Raj
5e9a43a6ba libedit: upgrade 20191231-3.1 -> 20210216-3.1
(From OE-Core rev: 988d65657adba43098e57c39ea165c27ed0f7dfa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Richard Purdie
906fd2800b meson: Work around determinism issue
The meson determinism issue is the same frozenset issue we encountered with
python itself. Remove the problematic pyc file until upstream work out the
best way to address the issue (as with core python).

(From OE-Core rev: ad00107dc02b3211f5d1a7fe889f538ee2bc064d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Dorinda Bassey
e1f2f51698 meta-selftest: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing
descriptions or homepage.

(From OE-Core rev: f36f176dc0316a79ae288c3b4f6c2eab366810dd)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-16 17:52:21 +00:00
Robert P. J. Day
7a348cdc3a bitbake: doc: move BBFILES_DYNAMIC for alphabetical order
Since BBFILES_DYNAMIC does not have a "BB_" prefix, it belongs further
down in the variable glossary.

(Bitbake rev: 493f291601c7680f8b8146f358c545fcb5f53cc9)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 21:47:42 +00:00
Tomasz Dziendzielski
a9098e6423 bitbake: codeparser: Fix TypeError in bitbake debug mode
Commit 75f87db413 fixed the confusion between bitbake and python logger
but in codeparser still old method of setting debug level was used
causing TypeError, because debug level value was incorrectly returned
and assigned to event.msg.
| File "./bitbake/lib/bb/ui/knotty.py", line 660, in main
|   event.msg = event.fn + ': ' + event.msg
| TypeError: can only concatenate str (not "int") to str

[YOCTO #14298]

(Bitbake rev: bec9ea7ab28a8dfad1a6010ca5c6ec691754748d)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 21:47:42 +00:00
Richard Purdie
9fbbf40317 build-appliance-image: Update to master head revision
(From OE-Core rev: fa1e1fbc082e82e41ccfeae58af97fe048c9aac7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 15:17:44 +00:00
Richard Purdie
44a74138b6 layer.conf: Add gatesgarth back for now to allow for transition
(From OE-Core rev: 60bb29725473497f57396ef32c6dc13b89b8a45d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 15:17:34 +00:00
Richard Purdie
bba241900c build-appliance-image: Update to master head revision
(From OE-Core rev: aeacc675fcf0cf02ad0bc8e247285638fd72023d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:59:59 +00:00
Richard Purdie
4ae1fce626 layer.conf: Update for hardknott release series
(From meta-yocto rev: f07f28224c9d3d1af5e7a63151da8ad4731fd1c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:57:03 +00:00
Richard Purdie
15cb12188e layer.conf: Update for hardknott release series
(From OE-Core rev: d430bf39f2f2ecdf989b33f7405751844d783fc5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:57:03 +00:00
Alexander Kanavin
142fa3c5a0 procps: update 3.3.16 -> 3.3.17
(From OE-Core rev: a3f0ee1cff8c4fef82e82effcc9944a39caec7c6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:49:51 +00:00
Robert Yang
b608cf6120 image.bbclass: deltask do_packagedata
This can fix a do_package error when compile with meta-secure-core layer:
http://layers.openembedded.org/layerindex/branch/master/layer/meta-secure-core/

$ bitbake kernel-initramfs
[snip]
WARNING:kernel-initramfs-1.0-r0 do_package: Manifest
build/tmp-glibc/sstate-control/manifest-x86_64_x86_64-nativesdk-secure-core-image-initramfs.packagedata
not found in intel_x86_64 corei7-64 core2-64 x86_64 allarch x86_64_x86_64-nativesdk (variant '')?
[snip]

This is because kernel-initramfs wants to pack an initramfs image into
kernel-initramfs.rpm which adds a dependency in kernel-initramfs.bb to do this:

d.appendVarFlag('do_install', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')

This causes kernel-initramfs' do_package depends on
${INITRAMFS_IMAGE}:do_image_complete's do_packagedata, then we will get the
error. Delete do_packagedata as other do_package relelated tasks for the image
recipe will fix the error.

RP: There is a side effect from this change which means that image
tasks will no longer run their fetch/unpack/configure/compile/install
tasks as these become detached from the dependency chain. The standard
tasks are noexec or deleted anyway already so this shouldn't be a
significant change.

(From OE-Core rev: 0eb95212a7e6b6bdc1243094072dea432cb48f0f)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:49:09 +00:00
Richard Purdie
e9aac299c7 scripts/contrib/list-packageconfig-flags: Upate for tinfoil API changes
Update after tinfoil API changes in bitake for REQUIRED_VERSION.

(From OE-Core rev: 1645c9b093bebf7ced67cbee0009d81d1a215966)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:49:09 +00:00
Charlie Davies
5ec16c88fc multilib_global: handle REQUIRED_VERSION
Add logic to multilib_global.bbclass to handle new REQUIRED_VERSION
variable.

Fixes [YOCTO #10096]

(From OE-Core rev: 05ba2df8e565589cf7b0b7cedcb96c7fdf97298b)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:49:09 +00:00
Randy MacLeod
27a7f3a35c zstd: upgrade 1.4.8 -> 1.4.9
Shave fuzz off the Makefile-sort-all-wildcard-file-list-expansions patch

CHANGELOG:

    v1.4.9  (Mar 1, 2021)
    bug: Use `umask()` to Constrain Created File Permissions (#2495, @felixhandte)
    bug: Make Simple Single-Pass Functions Ignore Advanced Parameters (#2498, @terrelln)
    api: Add (De)Compression Tracing Functionality (#2482, @terrelln)
    api: Support References to Multiple DDicts (#2446, @senhuang42)
    api: Add Function to Generate Skippable Frame (#2439, @senhuang42)
    perf: New Algorithms for the Long Distance Matcher (#2483, @mpu)
    perf: Performance Improvements for Long Distance Matcher (#2464, @mpu)
    perf: Don't Shrink Window Log when Streaming with a Dictionary (#2451, @terrelln)
    cli: Fix `--output-dir-mirror`'s Rejection of `..`-Containing Paths (#2512, @felixhandte)
    cli: Allow Input From Console When `-f`/`--force` is Passed (#2466, @felixhandte)
    cli: Improve Help Message (#2500, @senhuang42)
    tests: Remove Flaky Tests (#2455, #2486, #2445, @Cyan4973)
    tests: Correctly Invoke md5 Utility on NetBSD (#2492, @niacat)
    tests: Avoid Using `stat -c` on NetBSD (#2513, @felixhandte)
    build: Zstd CLI Can Now be Linked to Dynamic `libzstd` (#2457, #2454 @Cyan4973)
    build: Hide and Avoid Using Static-Only Symbols (#2501, #2504, @skitt)
    build: CMake: Enable Only C for lib/ and programs/ Projects (#2498, @concatime)
    build: CMake: Use `configure_file()` to Create the `.pc` File (#2462, @lazka)
    build: Fix Fuzzer Compiler Detection & Update UBSAN Flags (#2503, @terrelln)
    build: Add Guards for `_LARGEFILE_SOURCE` and `_LARGEFILE64_SOURCE` (#2444, @indygreg)
    build: Improve `zlibwrapper` Makefile (#2437, @Cyan4973)
    contrib: Add `recover_directory` Program (#2473, @terrelln)
    doc: Change License Year to 2021 (#2452 & #2465, @terrelln & @senhuang42)
    doc: Fix Typos (#2459, @ThomasWaldmann)

(From OE-Core rev: 305c954a1d8aaeda3240523e4705c1b06e2c8590)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:37:40 +00:00
Dorinda Bassey
a6932c2203 distrodata.py: Test to track recipes without HOMEPAGE or DESCRIPTION
This test is to keep track of recipes that do not have a HOMEPAGE or DESCRIPTION,
with exceptions to recipes whose SRC_URI are not linked to external sources.

Results of this test: it take about 2 to 3 minutes for this test to complete execution
depending on the laptop used, Recipes that didn't have a homepage or description were found,
and using list data structure instead of set() returned an ordered list of recipes that
didn't have a homepage. Hence it's easier to view recipes with missing homepage and description.

[YOCTO #13471]

(From OE-Core rev: 5e0cfce7a126c194bfb7855952355c62eae3831a)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:37:40 +00:00
Khem Raj
028fcc2348 libunwind: Link with libucontext on musl
Functions like unw_getcontext in libunwind call getcontext() which are
not part of musl C library like glibc, however there is a supplimental
library providing these functions called libucontext, therefore link
libunwind with a static version of this library to resolve such symbols,
this inturn helps packages needing libunwind, who look for certain
APIs in libunwind during configure e.g. heaptrack

(From OE-Core rev: 824c07d1cf2d1574dfe8f395af37479064782426)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:37:40 +00:00
Khem Raj
603e14dc68 go-dep: Remove
go-dep was an effort for dependency management before go modules, which
since 2020 has been deprecated in favor of go modules. Since its not
developed any longer and go mdules is officially supported, this should
be retired from OE-core as well.

(From OE-Core rev: 1e7ed44d87034446f1d07692c9378c3b0a8a9dd3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Otavio Salvador <otavio.salvador@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:37:40 +00:00
Khem Raj
8945d44952 go: Update to 1.16.2
This is bugfix release in 1.16 series [1]

[1] https://golang.org/doc/devel/release.html#go1.16.minor

(From OE-Core rev: 25627fb304bbd26d994f68e29fb18802144149b2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:37:40 +00:00
Richard Purdie
ddacd8c66f bitbake: bblayers/query: Update to handle REQUIRED_VERSION
Ii is unclear whether any changes are needed to bblayers are
needed to handle the extra data from REQUIRED_VERSION. Update
to at match the new API, at present it doesn't look necessary
to handle the required version data.

(Bitbake rev: 53c30efec4099035d19e6717059dfceff8ff88fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:52 +00:00
Charlie Davies
cb3cbd8bb2 bitbake: bitbake: cooker: Add REQUIRED_VERSION checks
Add logic to check that if REQUIRED_VERSION has been set that the cooker
class method findBestProviders properly handles the case where the
REQUIRED_VERSION has not been found.

Fixes [YOCTO #10096]

(Bitbake rev: 5df201d746f26154213e6d15d2721cd35b38b59e)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:52 +00:00
Charlie Davies
889a7ce8de bitbake: bitbake: lib: add Required Version to Bitbake --show-versions command
This commit adds a new column to the Bitbake --show-versions command
called Required Version. This column will display any packages which
have a REQUIRED_VERSION successfully set.

Fixes [YOCTO #10096]

(Bitbake rev: 90c7d1815e41243323d32b9dbb865757a922578a)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:52 +00:00
Charlie Davies
78fcf6831a bitbake: bitbake: providers: check for REQUIRED_VERSION in _filterProviders
Before the REQUIRED_VERSION variable was introduced the
PREFERRED_VERSION variable allowed for a fallback to the next most
suitable version.

Since REQUIRED_VERSION does not allow a fallback to a different version
implement a check in the _filterProviders function to make sure that
if a requested REQUIRED_VERSION is not found then the function returns
no eligible providers have been found.

Fixes [YOCTO #10096]

(Bitbake rev: c41386b78aa53e0bf081cd973c950b88126670a7)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:51 +00:00
Charlie Davies
3752782cb7 bitbake: bitbake: providers: introduce logic for REQUIRED_VERSION variable
This commit adds checks during the findPreferredProvider function for a
new variable REQUIRED_VERSION. This can be set, in exactly the same
manner as PREFERRED_VERSION, on a per package basis to enforce the use
of a particular version of a package.

REQUIRED_VERSION is similar in behaviour to PREFERRED_VERSION except if
the version specified by REQUIRED_VERSION is not found an error occurs
and the execution of Bitbake stops.

Fixes [YOCTO #10096]

(Bitbake rev: 5cbf6d95fc1009e78e7d0745a49e0bf418b37abb)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:51 +00:00
Charlie Davies
70f90dcfd7 bitbake: bitbake: providers: consistent single line formatting between functions
(Bitbake rev: e8c74ac8e589ee44d862b71fd63dd75ab303d3b5)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:51 +00:00
Charlie Davies
04bb096170 bitbake: bitbake: providers: remove unneeded logging call
The logging line for when no eligible providers are found only adds
unnecessary noise and is not required. As the stack unwinds better
logging occurs which satisfactorily describes the no eligible providers
error condition.

(Bitbake rev: 933c9df919f7947f515d843199cce2621cf8195f)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-15 14:36:51 +00:00
Khem Raj
eec6406607 glib-2.0: Drop volatile qualifier
Fixes
glib/gatomic.h:112:5: error: argument 2 of '__atomic_load' discards 'volatile' qualifier [-Werror=incompatible-pointer-types]

(From OE-Core rev: 06ac55a06f2300fa5442ec73a28c3f52022cc640)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
8a74a7deca gcc: Package new module mapper tool
This is new tool in GCC 11 [1]

[1] https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Module-Mapper.html

(From OE-Core rev: 91e1b8f84471fda3d5173a5ab2fe9458f9233007)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Robert P. J. Day
97edca5997 bitbake-whatchanged: change ending quote to proper period
Pretty sure that trailing quote should be a period; it
appears to work properly.

(From OE-Core rev: 579f9ada19bd174bff0002cd6a731d12a1868252)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Chen Qi
f00dfafbaf populate_sdk_ext: record METADATA_REVISION
As we delete the .git/ directory, it's impossible to get METADATA_REVISION
inside eSDK. Because of this, we meet the following warning when installing eSDK.

  WARNING: The base-files:do_install sig is computed to be 16b9d96148d45de183cc94667aae016ec7d102d48255456381e718cd4bbd0aa0, \
  but the sig is locked to 6eb0dcaed504282becee94662481d79264db920dee1f7deda18230133fff8f36 in SIGGEN_LOCKEDSIGS_t-qemux86-64

So we record METADATA_REVISION in eSDK generation time to fix this problem.

(From OE-Core rev: ff2ad51b801fd62e2abbc573ba2c9ee8fdc7e012)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Wang Mingyu
d34234c6e1 ovmf: upgrade 202011 -> 202102
0003-ovmf-enable-long-path-file.patch
removed since it is not available in 202102.

(From OE-Core rev: c364d64adcb8c7fdfe196186efa868381f8630e7)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Peter Kjellerstedt
28648ee17f license.bbclass: Improve parsing time when INCOMPATIBLE_LICENSES is big
The commit 08cbf1748 (licenses: Update INCOMPATIBLE_LICENSE for
'or-later' handling) increased the parsing time considerably if there
are many licenses in INCOMPATIBLE_LICENSE. Reorganize the code to get
almost all the time back.

(From OE-Core rev: dd2532279fb239e7f61396898a8aa44ee5104d1d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
9952e546e1 libunwind: Do not assume libdir for ppc64
This ensures that build respects OE's choice for libdir

(From OE-Core rev: 715a3860f728d08b0a9575690049553c7b8dd65a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
7beff2f942 libucontext: Recognize ppc64le architecture
(From OE-Core rev: 03dec80604ae363c31a5f2b68eb3efdba7c35f1a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Alejandro Hernandez Samaniego
6f3b5a8e24 devtool: Fix do_kernel_configme task
The do_kernel_configme task is no longer part of SRCTREECOVEREDTASKS,
its been removed from the kernel-yocto.bbclass since b72dbb2e4, but
there wasnt a matching patch for devtool for those changes.

This patch enables us to invoke the do_kernel_configme task when
using a devtool workspace, it also prepends a check for an existing
.config file in the source directory and moves it if thats the case,
since when using devtool modify a .config is created and
do_kernel_configme complains about it, this is not the case when
using bitbake since the .config file would be on B instead.

Alowing do_kernel_configme to run also fixes the flow where testing a
new config fragment from devtool workspace isnt added properly
(config queue shows it as ///frg.cfg) and as a side effect it never
gets merged into the final config.

(From OE-Core rev: 08dcc0e68095dcf2a159546a48b29d40c9aabc0b)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
9d3f6fe2d2 cmake.bbclass: Create cmake arch mapping for ppc64le
(From OE-Core rev: 698ece14e22d0efd9074493ef443b2cce5625d51)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
cfd71413e5 Enable qemu usermode on ppc64
d044743cdc4 disabled it, perhaps it did not work back in 2016

(From OE-Core rev: fb5408a2fe1c0519c74d378023b6b77aa8f3068a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Alistair Francis
7aaa97c904 u-boot: Add support for building for qemuriscv32
(From OE-Core rev: a9666fbfe2dcb43fe9e8fd78e357eaacd99ca75e)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khem Raj
b19c8f0af0 perf: Remove libunwind for rv32
libunwind is not yet ported to RISCV32

(From OE-Core rev: 2cce2a296b4659a6c7e7f069e11f6f35957608d2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Yanfei Xu
3f8d6c0637 glibc: fix pthread_cond_destroy hangs with process-shared mutex
This bug can cause pthread_cond_destroy hang with process-shared
mutex. And it is since glibc-2.32, will be fixed in glibc-2.34.

(From OE-Core rev: 7d9c50a12d1b47474536c214f44dc4ff72c54402)

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Khairul Rohaizzat Jamaluddin
a9d032345f glibc: Fix CVE-2021-27645
CVE:
CVE-2021-27645

(From OE-Core rev: 0d6b266c469a35628a3602590611d05ebbf4d562)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Martin Jansa
6a33b20b6a iso-codes: fix protocol in SRC_URI
* it doesn't listen on http and the redirect sometimes doesn't work

WARNING: iso-codes-4.6.0-r0 do_fetch: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available

The protocol should be changed to https, like all other salsa.debian.org pulls are, so that it doesn't depend on mirrors.bbclass to resolve this.
meta/classes/mirrors.bbclass:git://salsa.debian.org/.*     git://salsa.debian.org/PATH;protocol=https \n \

from log.do_fetch:
DEBUG: Fetcher accessed the network with the command LANG=C git -c core.fsyncobjectfiles=0 fetch -f --progress http://salsa.debian.org/iso-codes-team/iso-codes.git refs/*:refs/*
fatal: unable to access 'http://salsa.debian.org/iso-codes-team/iso-codes.git/': Couldn't connect to server
WARNING: Failed to fetch URL git://salsa.debian.org/iso-codes-team/iso-codes.git;protocol=http;branch=main;, attempting MIRRORS if available
...
warning: redirecting to https://salsa.debian.org/iso-codes-team/iso-codes.git/

(From OE-Core rev: 749eeb8cfaa8ffcfda29f3f06a77debaf6304288)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Peter Kjellerstedt
cfd897e213 metadata_scm.bbclass: Use immediate expansion for the METADATA_* variables
Define METADATA_BRANCH and METADATA_REVISION using immediate expansion.
This avoids running `git rev-parse HEAD` multiple times during recipe
parsing.

(From OE-Core rev: 34e1841ec14c545c73fbe03a9f946d43d65ab326)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Peter Kjellerstedt
eff09fadaf uninative-tarball: Add a dependency on nativesdk-glibc-dbg
This adds the debug symbols for the binaries included in the uninative
tar ball. These are needed if one wants to run valgrind on a native
binary when uninative is used. Or get complete backtraces using gdb.

(From OE-Core rev: 13775feac21f0df50d4b3db19f6c79f10cf397f5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Bruce Ashfield
6b624af071 reproducibile: remove perf from exclusions
We have fixes for perf reproducibility, so we can drop it from the
exclusion list.

(From OE-Core rev: 2989779fa244ec2c2c714c27f67753eefeeaf4af)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-14 16:33:59 +00:00
Paul Gortmaker
ffc36f351f bitbake: gitignore: ignore runqueue-tests/bitbake-cookerdaemon.log
(Bitbake rev: 2787c3dadbc94925aa1cba6c2e765ffa9f7a7c4a)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 16:47:12 +00:00
Khem Raj
8157486c30 python3-setuptools: Upgrade 54.1.0 -> 54.1.1
Changes [1]
[1] d2ae3cd2cf

(From OE-Core rev: 8e515c643f0197b78f6c7d597dfabcda71f4e898)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:09 +00:00
Wang Mingyu
88c82eac7e jquery: upgrade 3.5.1 -> 3.6.0
License file updated:
Copyright changed from "JS Foundation" to "OpenJS Foundation"
Source code changed

(From OE-Core rev: 67289ad7c93628d7576670121909ccc0aee157ed)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:09 +00:00
Martin Jansa
473ba58c82 busybox-inittab: rename for PV to match with busybox's PV
(From OE-Core rev: 0c22fbc91655873f29cbedad6d55a7981482d257)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:09 +00:00
Martin Jansa
571c27ccb8 busybox: refresh the defconfig from 1.33.0
(From OE-Core rev: 4335cd240c30db677fdd1849eefe9ed3277681a8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:09 +00:00
Luca Boccassi
d42487bf52 util-linux: split uuid in separate recipe to allow bootstrapping
Recently util-linux gained an (optional) build dependency on libcryptsetup.
But libcryptsetup build-depends on util-linux for blkid (optional, can be disabled)
and uuid (mandatory).
Split out util-linux-uuid in a different recipe to break the cycle.

https://github.com/karelzak/util-linux/pull/898

(From OE-Core rev: 5f204796e73f37ee67d0a86512ce3ab6f19f9ed0)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:08 +00:00
Bruce Ashfield
6bb1621815 perf: reproducibility fixes for pmu-events.c
perf generates pmu-events.c as part of the build process. The
code that generates the events is doing tree walks and potentially
other non-determinstic things.

We'd rather not mess with that implementation, so we add a script
that knows how to read the pmu-events.c, sort the entries and then
copy it over the generated one.

With this, we should always have events in the same order, improving
reproducibility.

(From OE-Core rev: 5281b2a6e16b6d24b66172b8269478356c0ce6c9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:35:08 +00:00
Richard Purdie
cca5433baf bitbake: tests/color: Fix event register to pass the datastore
Adding the "if d is None" to the event handling code meant some of
these tests stopped working. The reason is that len(d) was zero but
not equal to None.

Passing the data object to the register() function in the test
correctly registers the event handler and avoids the problem, it
just happened to work previously, incorrectly.

(Bitbake rev: 426eb83c6668d82a2ebaca6c672db131e37c11da)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 15:28:57 +00:00
Richard Purdie
22d7989e8f bitbake: event: Fix another 'if d' test to test for None explictly
This should have been fixed in the previous patch, well spotted Chris!

(Bitbake rev: c3f6fee42bfa23f23f167cb29f0cfa05ac2fa197)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 21:38:32 +00:00
Alexander Kanavin
9dd5a3b671 bmap-tools: upgrade 3.5 -> 3.6
(From OE-Core rev: 69f8f3e21324223c8e68a34db156e4472acfba6d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 15:25:57 +00:00
Khem Raj
87cf634ac3 spirv-tools: Replace strncpy with memcpy
Fixes warnings produced with gcc 11

(From OE-Core rev: 09cfa5ce1eca27c810d86680f89ab881533fb0a5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 15:25:57 +00:00
Kai Kang
79ae401957 local.conf.sample.extended: sample value for SDK_PS1
Provides a sample default value for SDK_PS1 in
local.conf.sample.extended. It will look like:

poky-glibc-x86_64--cortexa57-qemuarm64-pokysdk:$

(From meta-yocto rev: ce0405745dc302efdb336870b591ed86d73eb304)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 15:24:13 +00:00
Kai Kang
80b522be12 toolchain-scripts.bbclass: customize prompt string for SDKs
Introduce a new variable SDK_PS1 to customize prompt string for SDKs
when source script environment-setup-script. If variable SDK_PS1 is not
set or empty, nothing changed. Otherwise new PS1 with the value of
SDK_PS1 is used after source the sdk environment file.

(From OE-Core rev: 81ed52f245c18c50e8df51fce1f62906cd4ddd05)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 15:24:13 +00:00
Bruce Ashfield
7e9ea9d807 yocto-bsp: update reference platforms to latest 5.10
Bumping our reference boards to match the latest in OE-core.  Not only
do we get the latest, we fix a configuration warning with genericx86.

(From meta-yocto rev: 8d04d39396cd209395f8aa2f530bd4cd53eac821)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Vivien Didelot
842f67608e beaglebone-yocto: allow other virtual/bootloader
The beaglebone-yocto machine currently hardcodes "u-boot" as a
dependency for the image and the wic format, and this prevents one
from choosing a different bootloader via:

    PREFERRED_PROVIDER_virtual/bootloader = "non-u-boot-bootloader"

Depending on "virtual/bootloader" instead of "u-boot" fixes this.

Cc: Denys Dmytriyenko <denis@denix.org>
(From meta-yocto rev: 4c4c8327645457a5d68762ff64b64d4b5845cd20)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Vivien Didelot
d9dba95943 poky: don't use space with +=
Bitbake variables are usually appended with one of:

    FOO_append = " bar"
    FOO += "bar"

While the space is mandatory in the "_append" variant, it doesn't
hurt in the "+=" variant, but it can be misleading.

Remove the space to avoid confusion.

(From meta-yocto rev: 66525f278143b7fe6082c8f5956cdff64b16ff58)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Vivien Didelot
2d3bbfcfba poky: fix typos
Fix fromw -> from typo in poky-world-exclude.inc,
and confiruration -> configuration in poky-tiny.conf.

(From meta-yocto rev: 70f767e9440452bf65dc5c295ae5e336d5622597)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Ulrich Ölmann
89661b6a22 local.conf.sample: fix typo
(From meta-yocto rev: 63323bc90e1fff9e2c94188db5d9fc4bb92e2649)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:06:46 +00:00
Alejandro Hernandez Samaniego
cab7cdc16e sanity.bbclass: Add az fetcher to accepted URI protocols for mirrors sanity
(From OE-Core rev: 1d19b16846a70b1180647e85f124e314002a4b83)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:05:58 +00:00
Ulrich Ölmann
bbfe61892c common-tasks.rst: fix typo
(From yocto-docs rev: a66062216cccbe7350fdc3ee39544eeb515509ed)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:05:22 +00:00
Ulrich Ölmann
5ef20853ac common-tasks.rst: fix 'wic cp' command
(From yocto-docs rev: 4d5a184b2bf5e73c036b82984be1a2dc4c8688b5)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:05:22 +00:00
Alejandro Hernandez Samaniego
43a3ea41eb ref-manual: Add Az fetcher documentation
(From yocto-docs rev: c4ad59cdc2c7fde6ef4698e5f47282540d8f0d8a)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:05:22 +00:00
Richard Purdie
b1a5b43735 bitbake: event: Fix multiconfig event handler change performance regressions
There were two issues in this code, firstly the code could stack duplicates
in the variable, secondly, calling "if data" caused the datastore to compute
len(data) which is comparitively expensive. Checking "if data is not None"
is much much faster/cheaper.

The issue was clear from "bitbake -p -P" output where the time in register()
showed large amounts of time in the __len__ function of the datastore.

(Bitbake rev: 9298d08b7dcf9d79f54536f87686d65c4ad7deb9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Manuel Leonhardt
e6ec2b4dcc bitbake: tinfoil: Honor quiet when parsing recipes
When using parse_recipes, honor quiet so that scripts and custom plugins
for recipetool are able to mute progress bars from bitbake that would
otherwise print to STDOUT.

(Bitbake rev: ab9d26c4847a062cadaae5fb8caac0ead5f958db)

Signed-off-by: Manuel Leonhardt <mleonhardt@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Tomasz Dziendzielski
5386b3db50 bitbake: runqueue: Print pseudo.log if fakeroot task failed
Currently if pseudo fails we can only see the path to pseudo.log. If we
have no access to server and can only rely on bitbake log then debugging
becomes impossible. This printing needs to be added in runqueue level,
not inside task execution, because in some cases task fails with pseudo
abort really early and we don't even see any log.

In this change I'm adding pseudo log printing in every fakeroot task
failure that logged `mismatch`, `error` or `fatal` to logfile, because
we have no other way to communicate with pseudo if it failed or not.
Only lines from last pseudo server execution will be printed.

(Bitbake rev: e7c664a947903ed7b868abef62af2ff5f8ef0dc6)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Jan Brzezanski <jan.brzezanski@gmail.com>
Signed-off-by: Adrian Walag
Signed-off-by: Paulo Neves <ptsneves@gmail.com>
Signed-off-by: Mikolaj Lasota <mikolaj.lasota@protonmail.com>
Signed-off-by: Wiktor Baura <wbaura@gmail.com>
Signed-off-by: Kamil Kwiek <kamil.kwiek@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Chen Qi
d3a0f074bc bitbake: event.py: fix regression about INVALIDCONF
A previous commit uses __BBHANDLERS_MC to record all handlers, but
it does not take into consideration of INVALIDCONF, thus causing regression.

We need to record the name before returned AlreadyRegistered, otherwise, when
reparsing due to INVALIDCONF, bascially all handlers are not called.

(Bitbake rev: f6fb6f22fa6ba1ffe121948d7f53ac724358491e)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Alejandro Hernandez Samaniego
1d2fc389f9 bitbake: docs: Add AZ_SAS definition to glossary
(Bitbake rev: 134df841b273d94e767426876459da348d96dd23)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Alejandro Hernandez Samaniego
3a60575cba bitbake: docs: Add Az fetcher documentation
(Bitbake rev: e3b480636a3c2716effd619b59cf55e11f9a6db0)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Alejandro Hernandez Samaniego
0f84d24df8 bitbake: bitbake: Add Azure Storage fetcher implementation
Allows bitbake to fetch from an Azure Storage account.

        The fetcher submodule is compatible with the az:// URI protocol, its
        functionality is based on bitbakes wget fetcher, superior in performance
        to using a propietary tool like azcopy which can handle cloud storage
        account operations with more functionality (that we dont need in a fetcher)
	but less compatibility.

        A sample URI uses can be defined in the following way:
	SRC_URI = "az://<azure-storage-account>.blob.core.windows.net/<container>/foo.tar.xz"

        This fetcher can easily be used with PREMIRRORS and SSTATE_MIRRORS, e.g.:

        SSTATE_MIRRORS = "file://.* az://<azure-storage-account>.blob.core.windows.net/sstate-cache/PATH;downloadfilename=PATH \n"

        PREMIRRORS_prepend = "\
            git://.*/.* az://<azure-storage-account>.blob.core.windows.net/downloads/ \n \
            ftp://.*/.* az://<azure-storage-account>.blob.core.windows.net/downloads/ \n \
            http://.*/.* az://<azure-storage-account>.blob.core.windows.net/downloads/ \n \
            https://.*/.* az://<azure-storage-account>.blob.core.windows.net/downloads/ \n \
        "

        Can also be used with non-public access Azure Storage accounts/containers via a
        Shared Access Signature by declaring the AZ_SAS variable which will be
        automatically used by the fetcher:

        AZ_SAS="?sv=2000-01-01&ss=...&sig=somesignature"

(Bitbake rev: b103b02f2ce2f8f5079f17ec1a854f904c2110a4)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:04:45 +00:00
Wang Mingyu
271caebdc0 iso-codes: upgrade 4.5.0 -> 4.6.0
(From OE-Core rev: 7639ffed1ab275ce6039ee90ea6c34019b451171)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Wang Mingyu
9c82d992dd help2man: upgrade 1.48.1 -> 1.48.2
(From OE-Core rev: ad4e023bb3b8863a6e04ba6fa33d396f977a5634)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Wang Mingyu
6f413e3f05 sysklogd: upgrade 2.2.1 -> 2.2.2
(From OE-Core rev: a7d7c1412bdeffd8cb179f12b47ac0fb60dc0b26)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Wang Mingyu
4720316219 python3-zipp: upgrade 3.4.0 -> 3.4.1
(From OE-Core rev: d34cc88cb72e8701b71a2a272daca2d755f66873)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Wang Mingyu
b5b730e35e python3-pygments: upgrade 2.8.0 -> 2.8.1
(From OE-Core rev: 27da7a57b087536cd6cc8b9529f739fa7875a162)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Jon Mason
fae414bb70 runqemu: modify novga to conform to documentation
Passing 'novga' only adds '-vga none' to the qemu commandline and does
not prevent other vga devices from being added, contrary to the
documentation/help.  Clean-up the vga logic and add the ability to
prevent other vga devices from being added.

(From OE-Core rev: 9f8d049dbbe0b1760979d9f3b745124abfc54c90)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I7ff8f9f3e419ce8bae3f3847d75f9275ca30406a
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Jon Mason
16d1669ff9 runqemu: correct forcing of ttyS0
Some platforms do not use ttyS* for their serial consoles (e.g., qemuarm
and qemuarm64).  The hardcoding of this can cause issues.  Modify
runqemu to use the serial consoles defined in SERIAL_CONSOLES instead of
hardcoding.

(From OE-Core rev: 9dea4cd2f9f46ab3a75562639a22d8f56b4d26af)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I746d56de5669c955c5e29d3ded70c0a4d3171f17
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Jon Mason
bd0ada8994 runqemu: add QB_GRAPHICS
Add a new runqemu field for VGA devices.  Currently, these are being set
in QB_OPT_APPEND, which can make them difficult to override if importing
the config file into another one.

(From OE-Core rev: 695c98b6522be4373806c154a2999eaeef205556)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I8cb9527954c5b06c083c42fe2466cb3338584b7d
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Dorinda Bassey
f4adaac783 meta/recipes-devtools: Add HOMEPAGE / DESCRIPTION
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

(From OE-Core rev: 7290b773486da3888f848abf0dba747f2d9f42e1)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Dorinda
0a65c58c97 meta/recipes-graphics: Add HOMEPAGE / DESCRIPTION
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

(From OE-Core rev: 5ab087950ceaa960c29b0cad12aa716a50b50c34)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Dorinda
8995bbf0bb meta/recipes-multimedia: Add HOMEPAGE / DESCRIPTION
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

(From OE-Core rev: ab7a945f6e88db5cc2457823e2a6f942f30ab4e5)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Dorinda
45d10529b2 meta/recipes-kernel: Add HOMEPAGE / DESCRIPTION
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

(From OE-Core rev: 693988ec423341b930e93d604638826cccba9e37)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Dorinda
79e0b33248 meta/recipes-support: Add HOMEPAGE / DESCRIPTION
Added missing HOMEPAGE and DESCRIPTION found using the test command
`oe-selftest -r distrodata.Distrodata.test_missing_homepg`

[YOCTO #13471]

(From OE-Core rev: 325db7fea11315e8dd53274853f33b716247d1bf)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Randy MacLeod
7bf522c752 ffmpeg: upgrade 4.3.1 -> 4.3.2
Remove 2 patches that are included in the n4.3.2 tag.
The commits were cherry-picked back to the 4.3 branch so they
have different commit ids than in the patches:

6d886b6586 lavf/srt: fix build fail when used the libsrt 1.4.1
a53ffb15d8 avcodec/exr: Check ymin vs. h
4f0bdff292 avformat/vividas: improve extradata packing checks in track_header()

(From OE-Core rev: ffdce193f3ab5b8cb16979ee9ae29322b7294c38)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Bruce Ashfield
c6f7c7989b linux-yocto/qemuarmv5: fix configuration warning
Integrating the following commit(s) to linux-yocto:

    8c8f6a791be qemuarm: inhibit optimize for size

To fix the following warning:

    [NOTE]: 'CONFIG_CC_OPTIMIZE_FOR_SIZE' last val (y) and .config val (n) do not match
    [INFO]: CONFIG_CC_OPTIMIZE_FOR_SIZE : n ## .config: 159 :configs/v5.10/standard/ktypes/standard/standard.cfg (n) configs/v5.10/standard/arch/arm/arm.cfg (y)
    [INFO]: raw config text:
            config CC_OPTIMIZE_FOR_SIZE
        	    bool "Optimize for size (-Os)"
        	    depends on <choice>
        	    help
        	      Choosing this option will pass "-Os" to your compiler resulting
        	      in a smaller kernel.
            Config 'CC_OPTIMIZE_FOR_SIZE' has the following Direct dependencies (CC_OPTIMIZE_FOR_SIZE=y):
                    <choice>
            Parent dependencies are:
                 choice [y]

We explicitly enable optimize_for_performance in this BSP, but the
arch default is optimize_for_size. These are choice options in the
kernel, so they both can't be enabled.

Unless we tell the audit that we don't want optimize_for_size, it
will notice that fact, and warn that it is not set in the final .config.

[YOCTO #14285]

(From OE-Core rev: 07c09631d8ccb7701a3cf2d2b51c90d7ea8cfa37)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Bruce Ashfield
b7735e8090 linux-yocto/5.10: update to v5.10.21
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    012f78dadb71 Linux 5.10.21
    2064bba25ac5 net: sfp: add workaround for Realtek RTL8672 and RTL9601C chips
    113bcb8f65d4 net: sfp: VSOL V2801F / CarlitoxxPro CPGOS03-0490 v2.0 workaround
    d0fcadd6b9a3 ALSA: hda/realtek: Apply dual codec quirks for MSI Godlike X570 board
    6bba54d9baca ALSA: hda/realtek: Add quirk for Intel NUC 10
    cfb468241658 ALSA: hda/realtek: Add quirk for Clevo NH55RZQ
    5400770e31e8 media: v4l: ioctl: Fix memory leak in video_usercopy
    c7ff2d25bce3 tty: teach the n_tty ICANON case about the new "cookie continuations" too
    0c78bf9c55f1 tty: teach n_tty line discipline about the new "cookie continuations"
    e761cd8a7853 tty: clean up legacy leftovers from n_tty line discipline
    98480f5c7981 tty: fix up hung_up_tty_read() conversion
    ef67e445e962 tty: fix up iterate_tty_read() EOVERFLOW handling
    686fa5a0c647 powerpc/sstep: Fix incorrect return from analyze_instr()
    20d323c8cf57 powerpc/sstep: Check instruction validity against ISA version before emulation
    04b049ac9cb4 swap: fix swapfile read/write offset
    ba1230b49acb remoteproc/mediatek: Fix kernel test robot warning
    02f768edb9d3 zsmalloc: account the number of compacted pages correctly
    9c62adb6e2fd xen: fix p2m size in dom0 for disabled memory hotplug case
    fa00c0c826dd xen-netback: respect gnttab_map_refs()'s return value
    545c837d6789 Xen/gnttab: handle p2m update errors on a per-slot basis
    f40bbcb68131 scsi: iscsi: Verify lengths on passthrough PDUs
    76d92bf293c3 scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE
    c71edc5d2480 scsi: iscsi: Restrict sessions and handles to admin capabilities
    d8a380105699 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer One S1002 tablet
    15c84277be64 ASoC: Intel: bytcr_rt5651: Add quirk for the Jumper EZpad 7 tablet
    078526cbf027 ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet
    530d0426a9bc ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet
    9a68fa0ebb28 sched/features: Fix hrtick reprogramming
    25ceaadccbce parisc: Bump 64-bit IRQ stack size to 64 KB
    5883a3bb309c ASoC: Intel: sof_sdw: detect DMIC number based on mach params
    18de10ef4805 ASoC: Intel: sof-sdw: indent and add quirks consistently
    7e7596ea1a46 perf/x86/kvm: Add Cascade Lake Xeon steppings to isolation_ucodes[]
    5aa2717b6b8d btrfs: fix error handling in commit_fs_roots
    e8ad7fac6938 ASoC: Intel: Add DMI quirk table to soc_intel_is_byt_cr()
    1fdde02e5f34 nvme-tcp: add clean action for failed reconnection
    7da81eaf8710 nvme-rdma: add clean action for failed reconnection
    74c4f7aed603 nvme-core: add cancel tagset helpers
    0d2d6857dbb9 f2fs: fix to set/clear I_LINKABLE under i_lock
    c86df2b84bea f2fs: handle unallocated section and zone on pinned/atgc
    cc52ed14f5ca media: uvcvideo: Allow entities with no pads
    4b73f01d5ebd drm/amd/amdgpu: add error handling to amdgpu_virt_read_pf2vf_data
    a986f9345467 drm/amd/display: Guard against NULL pointer deref when get_i2c_info fails
    3418abd7c66f ASoC: Intel: bytcr_rt5640: Add new BYT_RT5640_NO_SPEAKERS quirk-flag
    0b6383a9a80a PCI: Add a REBAR size quirk for Sapphire RX 5600 XT Pulse
    b9b1648ac947 drm/amdgpu: Add check to prevent IH overflow
    01fd84a436b5 fs: make unlazy_walk() error handling consistent
    ed51ffe96abc crypto: tcrypt - avoid signed overflow in byte count
    bb5e204b6b98 drm/hisilicon: Fix use-after-free
    2eb7eacf4e00 brcmfmac: Add DMI nvram filename quirk for Voyo winpad A15 tablet
    4649950f32e8 brcmfmac: Add DMI nvram filename quirk for Predia Basic tablet
    a1eda21a2cb1 staging: bcm2835-audio: Replace unsafe strcpy() with strscpy()
    0cac694c2c05 staging: most: sound: add sanity check for function argument
    15c56b8f2ce1 Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
    05a524b97dd1 Bluetooth: Add new HCI_QUIRK_NO_SUSPEND_NOTIFIER quirk
    6c15e41dc4ac net: sfp: add mode quirk for GPON module Ubiquiti U-Fiber Instant
    0b5d22c770bf ath10k: fix wmi mgmt tx queue full due to race condition
    aee0cc0d7a34 pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
    aec571968140 mt76: mt7615: reset token when mac_reset happens
    b9afcdcddff6 Bluetooth: btusb: fix memory leak on suspend and resume
    baae70ce0bb7 Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl
    2ce5e0a5480c wlcore: Fix command execute failure 19 for wl12xx
    136f009b2a1b vt/consolemap: do font sum unsigned
    e0c29b368ded x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk
    b3854d1550f0 staging: fwserial: Fix error handling in fwserial_create
    a03583775a5f EDAC/amd64: Do not load on family 0x15, model 0x13
    ef690e3f622b rsi: Move card interrupt handling to RX thread
    ec52458902b8 rsi: Fix TX EAPOL packet handling against iwlwifi AP
    b3186a3a0d89 ASoC: qcom: Remove useless debug print
    5c671e4a4c39 dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/
    33dbc6759de3 dt-bindings: ethernet-controller: fix fixed-link specification
    1fc205d9e400 net: fix dev_ifsioc_locked() race condition
    57b8c5bf2dd0 net: psample: Fix netlink skb length with tunnel info
    daea77234623 net: hsr: add support for EntryForgetTime
    a31cb3072d11 net: ag71xx: remove unnecessary MTU reservation
    10b55a0a7f4b net: dsa: tag_rtl4_a: Support also egress tags
    7b23cad0308a net/sched: cls_flower: Reject invalid ct_state flags rules
    b74206091e29 net: bridge: use switchdev for port flags set through sysfs too
    5ab779a68e37 mptcp: do not wakeup listener for MPJ subflows
    9adbc25b0e30 tcp: fix tcp_rmem documentation
    73a4bde5e580 RDMA/rtrs-srv: Do not signal REG_MR
    70123d9989df RDMA/rtrs-clt: Use bitmask to check sess->flags
    482157ed2060 RDMA/rtrs: Do not signal for heatbeat
    e335952d8645 mm/hugetlb.c: fix unnecessary address expansion of pmd sharing
    dc2b77642e5d nbd: handle device refs for DESTROY_ON_DISCONNECT properly
    bd9f7dc079f1 riscv: Get rid of MAX_EARLY_MAPPING_SIZE
    97ff09a7ed48 net: fix up truesize of cloned skb in skb_prepare_for_shift()
    e00420943aef tomoyo: ignore data race while checking quota
    fa5b65609256 smackfs: restrict bytes count in smackfs write functions
    23a523ef400d net/af_iucv: remove WARN_ONCE on malformed RX packets
    c57ba68e730c xfs: Fix assert failure in xfs_setattr_size()
    c55db99fd8c0 media: v4l2-ctrls.c: fix shift-out-of-bounds in std_validate
    5e0068a4fb10 erofs: fix shift-out-of-bounds of blkszbits
    1aeaa0ea7df5 media: mceusb: sanity check for prescaler value
    17a6e850e5fa udlfb: Fix memory leak in dlfb_usb_probe
    6816509065b9 sched/core: Allow try_invoke_on_locked_down_task() with irqs disabled
    40f6090d6ea0 JFS: more checks for invalid superblock
    b3d0f1c3a671 x86/build: Treat R_386_PLT32 relocation as R_386_PC32
    63d0afae74c4 drm/virtio: use kvmalloc for large allocations
    a4b0bfbe4b99 Input: elan_i2c - add new trackpoint report type 0x5F
    dde807b4a442 Input: elantech - fix protocol errors for some trackpoints in SMBus mode
    d00a97dddce6 net: usb: qmi_wwan: support ZTE P685M modem
    83be32b6c9e5 Linux 5.10.20
    b4f255432d0d ARM: dts: aspeed: Add LCLK to lpc-snoop
    a3b6f3a3758e net_sched: fix RTNL deadlock again caused by request_module()
    ea625e3415af net: qrtr: Fix memory leak in qrtr_tun_open
    bba8ef2e97b7 net: sched: fix police ext initialization
    2a3b38992f40 wireguard: queueing: get rid of per-peer ring buffers
    c7b1307fee19 wireguard: selftests: test multiple parallel streams
    ce4feb0111ac net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
    b60108e72f00 ipv6: silence compilation warning for non-IPV6 builds
    13e83186c91a kgdb: fix to kill breakpoints on initmem after boot
    c51f98210ac6 drm/i915: Reject 446-480MHz HDMI clock on GLK
    9bfb6d528467 dm era: only resize metadata in preresume
    a46ab7c3a411 dm era: Reinitialize bitset cache before digesting a new writeset
    f6dbf022f4fc dm era: Use correct value size in equality function of writeset tree
    fbb85ef8cd0c dm era: Fix bitset memory leaks
    ede89488369d dm era: Verify the data block size hasn't changed
    e6039db4f1f1 dm era: Update in-core bitset after committing the metadata
    d7131cc3f800 dm era: Recover committed writeset after crash
    0b2dbaa5db0a dm writecache: fix writing beyond end of underlying device when shrinking
    f88a70bfd5d0 dm writecache: return the exact table values that were set
    70faef983ab2 dm writecache: fix performance degradation in ssd mode
    72d17fa4ed11 dm table: fix zoned iterate_devices based device capability checks
    bc3f609db369 dm table: fix DAX iterate_devices based device capability checks
    bf95976f66db dm table: fix iterate_devices based device capability checks
    1f145073b196 dm: fix deadlock when swapping to encrypted device
    eb8128c5bb7f gfs2: Recursive gfs2_quota_hold in gfs2_iomap_end
    a646a3164b42 gfs2: Lock imbalance on error path in gfs2_recover_one
    42fd50035351 gfs2: Don't skip dlm unlock if glock has an lvb
    fc82ab4bb5d7 gfs2: fix glock confusion in function signal_our_withdraw
    2e3fb5234230 spi: spi-synquacer: fix set_cs handling
    1f8a8875936c spi: fsl: invert spisel_boot signal on MPC8309
    fdd97c456873 sparc32: fix a user-triggerable oops in clear_user()
    f98be1689889 f2fs: flush data when enabling checkpoint back
    04a495780f85 f2fs: enforce the immutable flag on open files
    e391239dcd17 f2fs: fix out-of-repair __setattr_copy()
    c41de6eae248 irqchip/loongson-pch-msi: Use bitmap_zalloc() to allocate bitmap
    833f5208b142 um: defer killing userspace on page table update failures
    63a069b81d40 um: mm: check more comprehensively for stub changes
    68a6199cf334 virtio/s390: implement virtio-ccw revision 2 correctly
    93c5029fb87b s390/vtime: fix inline assembly clobber list
    13fb0e1ecf7b proc: don't allow async path resolution of /proc/thread-self components
    b7cd9711a1e8 cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available
    ace950888233 cpufreq: intel_pstate: Change intel_pstate_get_hwp_max() argument
    b49bee3fb5dc cpufreq: qcom-hw: drop devm_xxx() calls from init/exit hooks
    b3df1eac5a7a thermal: cpufreq_cooling: freq_qos_update_request() returns < 0 on error
    1ea36020950d kcmp: Support selection of SYS_kcmp without CHECKPOINT_RESTORE
    834c7ec6af44 zonefs: Fix file size of zones in full condition
    4e6e00704f9d exfat: fix shift-out-of-bounds in exfat_fill_super()
    eb9036b4cf4c printk: fix deadlock when kernel panic
    09cf8b46b58d mfd: gateworks-gsc: Fix interrupt type
    67e7c64b47c0 gpio: pcf857x: Fix missing first interrupt
    548d83e8b6dd mei: me: add adler lake point LP DID
    fd7fafa048a7 mei: me: add adler lake point S DID
    df000e9dc62a mei: me: emmitsburg workstation DID
    30e24dcab1a7 mei: fix transfer over dma with extended header
    4fb3523ba3e4 spmi: spmi-pmic-arb: Fix hw_irq overflow
    01b487b67c1c powerpc/32s: Add missing call to kuep_lock on syscall entry
    402d31bdcd56 powerpc/kexec_file: fix FDT size estimation for kdump kernel
    c0ec2029518d powerpc/32: Preserve cr1 in exception prolog stack check to fix build error
    e793c06f0c0d mmc: sdhci-pci-o2micro: Bug fix for SDR104 HW tuning failure
    a8997b99e8bc mmc: sdhci-esdhc-imx: fix kernel panic when remove module
    a51c34f2a5d8 module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
    11d14267de25 nvmem: qcom-spmi-sdam: Fix uninitialized pdev pointer
    da5b48ac720d KVM: nSVM: fix running nested guests when npt=0
    25b0eb2e33c9 mm, compaction: make fast_isolate_freepages() stay within zone
    54683f81c8b3 mm/vmscan: restore zone_reclaim_mode ABI
    32e970488f49 hugetlb: fix copy_huge_page_from_user contig page struct assumption
    65f6dc3616d6 hugetlb: fix update_and_free_page contig page struct assumption
    1b1a949b40dd mm: memcontrol: fix get_active_memcg return value
    90de36e7b109 mm: memcontrol: fix swap undercounting in cgroup2
    d2ac7ec47ffd x86: fix seq_file iteration for pat/memtype.c
    cf20d349ae8d seq_file: document how per-entry resources are managed.
    885a2d24c219 fs/affs: release old buffer head on error path
    df2d431a1ef3 mtd: spi-nor: hisi-sfc: Put child node np on error path
    68ef24e86cf7 mtd: spi-nor: core: Add erase size check for erase command initialization
    6d6c7e7e9258 mtd: spi-nor: core: Fix erase type discovery for overlaid region
    c27cf85cd931 mtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region
    c123b069bbb2 mtd: spi-nor: sfdp: Fix last erase region marking
    19009472156e coresight: etm4x: Handle accesses to TRCSTALLCTLR
    306b9513d3fd watchdog: mei_wdt: request stop on unregister
    053c4f838757 watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ
    b74bf690dcf4 riscv: Disable KSAN_SANITIZE for vDSO
    0ead6914dce2 arm64: spectre: Prevent lockdep splat on v4 mitigation enable path
    18b9041e434f arm64 module: set plt* section addresses to 0x0
    d623d5cb3831 arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
    fa1fbfb64458 arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails
    e9e98723c5e3 iommu/arm-smmu-qcom: Fix mask extraction for bootloader programmed SMRs
    32009c5d178e arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55
    c9b33f7cbe45 kprobes: Fix to delay the kprobes jump optimization
    e713bdd791ba rcu/nocb: Perform deferred wake up before last idle's need_resched() check
    20b7669fa3f0 rcu: Pull deferred rcuog wake up to rcu_eqs_enter() callers
    6f7e5b49f6c9 powerpc/prom: Fix "ibm,arch-vec-5-platform-support" scan
    be896eef0e32 x86/entry: Fix instrumentation annotation
    9488984c7d13 x86/fault: Fix AMD erratum #91 errata fixup for user code
    db44025963d9 x86/reboot: Force all cpus to exit VMX root if VMX is supported
    df52c4f4b40a x86/virt: Eat faults on VMXOFF in reboot flows
    2184f87e4944 media: smipcie: fix interrupt handling and IR timeout
    d5b1a7ef9c6e media: marvell-ccic: power up the device on mclk enable
    d0f6efac3c82 media: ipu3-cio2: Fix mbus_code processing in cio2_subdev_set_fmt()
    3a4c5d7261e1 media: ir_toy: add another IR Droid device
    0ba52e99d5ee media: i2c: max9286: fix access to unallocated memory
    ce5697ef57da floppy: reintroduce O_NDELAY fix
    9c9f49c06ea1 staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
    4934db348d5a staging: gdm724x: Fix DMA from stack
    848c87e8d826 staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c
    7e00b4c86a84 arm64: dts: agilex: fix phy interface bit shift for gmac1 and gmac2
    bcec1eea4121 dts64: mt7622: fix slow sd card access
    edadcf211ac0 pstore: Fix typo in compression option name
    53f6c858c496 drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
    449488765c17 misc: rtsx: init of rts522a add OCP power off when no card is present
    428c4a4d0dc7 arm64: ptrace: Fix seccomp of traced syscall -1 (NO_SYSCALL)
    b506450ce3d9 seccomp: Add missing return in non-void function
    56a7c53c494c soc: samsung: exynos-asv: handle reading revision register error
    3a5daa8a5e9c soc: samsung: exynos-asv: don't defer early on not-supported SoCs
    70c4b76be44b crypto: sun4i-ss - initialize need_fallback
    985b609668d8 crypto: sun4i-ss - handle BigEndian for cipher
    19be286216dc crypto: sun4i-ss - IV register does not work on A10 and A13
    ca4460daf0c5 crypto: sun4i-ss - checking sg length is not sufficient
    84c93e8897bb crypto: michael_mic - fix broken misalignment handling
    6e3b6710ea2e crypto: aesni - prevent misaligned buffers on the stack
    e2c540e18140 crypto: arm64/sha - add missing module aliases
    1f8586fb4ef1 drm/i915/gt: Correct surface base address for renderclear
    6bb73b704de4 drm/i915/gt: Flush before changing register state
    de3ea5be511a btrfs: fix extent buffer leak on failure to copy root
    9a739917ef2d btrfs: account for new extents being deleted in total_bytes_pinned
    7ec1536e800b btrfs: handle space_info::total_bytes_pinned inside the delayed ref itself
    acaeedb193a5 btrfs: splice remaining dirty_bg's onto the transaction dirty bg list
    c717ca57a405 btrfs: fix reloc root leak with 0 ref reloc roots on recovery
    4d3edf72d6b5 btrfs: abort the transaction if we fail to inc ref in btrfs_copy_root
    a1a5cc25489a btrfs: add asserts for deleting backref cache nodes
    52f93e5ee700 btrfs: do not warn if we can't find the reloc root when looking up backref
    02785bae77ca btrfs: do not cleanup upper nodes in btrfs_backref_cleanup_node
    67118bb78d72 KEYS: trusted: Reserve TPM for seal and unseal operations
    54c527c18e7f KEYS: trusted: Fix migratable=1 failing
    9d83cc1a1e7f KEYS: trusted: Fix incorrect handling of tpm_get_random()
    d65aef25464f tpm_tis: Clean up locality release
    a1710b067ec9 tpm_tis: Fix check_locality for correct locality acquisition
    03c9bf033c7b erofs: initialized fields can only be observed after bit is set
    2fe92153013c selinux: fix inconsistency between inode_getxattr and inode_listsecurity
    cae75116662f ASoC: siu: Fix build error by a wrong const prefix
    dab6fbf2b30b drm/rockchip: Require the YTR modifier for AFBC
    7397365737fd drm/panel: kd35t133: allow using non-continuous dsi clock
    a7cf5e49229b drm/sched: Cancel and flush all outstanding jobs before finish.
    bdbee7d7fd95 drm/modes: Switch to 64bit maths to avoid integer overflow
    565eca5a9aa9 drm/nouveau/kms: handle mDP connectors
    926532686863 drm/amdgpu: Set reference clock to 100Mhz on Renoir (v2)
    a81bb9031a75 drm/amdkfd: Fix recursive lock warnings
    c4fe9c525ec5 drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1
    22f2bf0892f7 drm/amd/display: Remove Assert from dcn10_get_dig_frontend
    9d0da9afeb28 drm/amd/display: Add FPU wrappers to dcn21_validate_bandwidth()
    49b1b5b10009 Revert "drm/amd/display: Update NV1x SR latency values"
    695185fce229 bcache: Move journal work to new flush wq
    f5ee9638a6db bcache: Give btree_io_wq correct semantics again
    25ca325743a5 Revert "bcache: Kill btree_io_wq"
    50af0b3848b7 Revert "MIPS: Octeon: Remove special handling of CONFIG_MIPS_ELF_APPENDED_DTB=y"
    3f3614b4dd27 MIPS: VDSO: Use CLANG_FLAGS instead of filtering out '--target='
    3896c324bb25 MIPS: Support binutils configured with --enable-mips-fix-loongson3-llsc=yes
    a799741acdb6 MIPS: Ingenic: Disable HPTLB for D0 XBurst CPUs too
    1365914e020f ALSA: hda/realtek: Quirk for HP Spectre x360 14 amp setup
    5c8561ae3ef3 ALSA: hda/realtek: modify EAPD in the ALC886
    0a7efa3fd7a1 ALSA: hda/hdmi: Drop bogus check at closing a stream
    a9fe4ab42cbd ALSA: hda: Add another CometLake-H PCI ID
    1312a7b68689 ALSA: fireface: fix to parse sync status register of latter protocol
    caefa1473847 phy: lantiq: rcu-usb2: wait after clock enable
    b927c4f2a1b3 USB: serial: mos7720: fix error code in mos7720_write()
    bcac85cabaf7 USB: serial: mos7840: fix error code in mos7840_write()
    11fd58946e03 USB: serial: pl2303: fix line-speed handling on newer chips
    b006da9e3efd USB: serial: ftdi_sio: fix FTX sub-integer prescaler
    5b4cd9678762 usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
    6b78b380db60 usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
    1cf76e4ca610 usb: musb: Fix runtime PM race in musb_queue_resume_work
    a82ba907a83d USB: serial: option: update interface mapping for ZTE P685M
    0fe6ea18f2bb media: mceusb: Fix potential out-of-bounds shift
    960652adc54a Input: i8042 - add ASUS Zenbook Flip to noselftest list
    deced3e2aea9 Input: joydev - prevent potential read overflow in ioctl
    18fca2909171 Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
    0af89539c9e5 Input: raydium_ts_i2c - do not send zero length
    923a82a6bc93 HID: wacom: Ignore attempts to overwrite the touch_max value from HID
    eb6a537479b4 HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
    0a5fcc0a21fb cpufreq: ACPI: Set cpuinfo.max_freq directly if max boost is known
    ff9dd5223b62 ACPI: configfs: add missing check after configfs_register_default_group()
    6470cc6519ff ACPI: property: Fix fwnode string properties matching
    d7b804b9404e soundwire: intel: fix possible crash when no device is detected
    556c513e6bac blk-settings: align max_sectors on "logical_block_size" boundary
    3c88c1b76280 scsi: sd: Fix Opal support
    a4907c75b568 ide/falconide: Fix module unload
    cc88a819a14c block: reopen the device in blkdev_reread_part
    f1cf46115afa scsi: sd: sd_zbc: Don't pass GFP_NOIO to kvcalloc
    5fa5d9e34b7f scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
    02309dd33737 csky: Fix a size determination in gpr_get()
    b7925acd8292 proc: use kvzalloc for our kernel buffer
    d45f943ef84b mm/rmap: fix potential pte_unmap on an not mapped pte
    dc495b59ff4c mm: fix memory_failure() handling of dax-namespace metadata
    a7fbcb3b560a mm,thp,shmem: make khugepaged obey tmpfs mount flags
    b0501bee4b65 i2c: exynos5: Preserve high speed master code
    d49d76395903 i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
    b138d65ccec4 arm64: Add missing ISB after invalidating TLB in __primary_switch
    db08c3636d91 KVM: x86/mmu: Expand collapsible SPTE zap for TDP MMU to ZONE_DEVICE and HugeTLB pages
    f1ea1bee3573 KVM: SVM: Intercept INVPCID when it's disabled to inject #UD
    9468ab8a2718 NFSv4: Fixes for nfs4_bitmask_adjust()
    8d1d23a84726 r8169: fix jumbo packet handling on RTL8168e
    2d95ad18df6f mm/compaction: fix misbehaviors of fast_find_migrateblock()
    c9ea7719a4af mm/hugetlb: suppress wrong warning info when alloc gigantic page
    89b2dbd807b1 mm/hugetlb: fix potential double free in hugetlb_register_node() error path
    6c074ae0a482 mm/memory.c: fix potential pte_unmap_unlock pte error
    cbb86d6a5db9 mm: memcontrol: fix slub memory accounting
    026e07bc0abc mm: memcontrol: fix NR_ANON_THPS accounting in charge moving
    b761fd28218e ocfs2: fix a use after free on error
    d0b3159fca6e wireguard: kconfig: use arm chacha even with no neon
    2a33f6fb9206 wireguard: device: do not generate ICMP for non-IP packets
    3bbb8573ceb1 vxlan: move debug check after netdev unregister
    9cf2b21aa937 PCI: rockchip: Make 'ep-gpios' DT property optional
    1c0058472166 net/mlx4_core: Add missed mlx4_free_cmd_mailbox()
    ba817c176608 net: stmmac: fix CBS idleslope and sendslope calculation
    dd2d203f02ff ice: update the number of available RSS queues
    70bcfea70f12 ice: Fix state bits on LLDP mode switch
    09a2fee49546 ice: Account for port VLAN in VF max packet size calculation
    4bee367264f1 ice: report correct max number of TCs
    c2ff99488390 vfio/type1: Use follow_pte()
    e47685ec4cb8 pwm: iqs620a: Fix overflow and optimize calculations
    dae49384d0d7 octeontx2-af: Fix an off by one in rvu_dbg_qsize_write()
    a8afe8bce434 i40e: Fix add TC filter for IPv6
    1fe02a86fa92 nios2: fixed broken sys_clone syscall
    9dfb367a2382 Take mmap lock in cacheflush syscall
    5917fdcc554d i40e: Fix VFs not created
    0497d52bbfc3 i40e: Fix addition of RX filters after enabling FW LLDP agent
    0c6a8e35f47d i40e: Fix overwriting flow control settings during driver loading
    b57d0f5489f8 i40e: Add zero-initialization of AQ command structures
    42dc67dee995 i40e: Fix flow for IPv6 next header (extension header)
    1ecbf4f3e993 PCI: cadence: Fix DMA range mapping early return error
    c2f17201d0e2 PCI: pci-bridge-emul: Fix array overruns, improve safety
    fc22917f48ee device-dax: Fix default return code of range_parse()
    37aba9cfece7 mailbox: sprd: correct definition of SPRD_OUTBOX_FIFO_FULL
    d167a7367d4a ext: EXT4_KUNIT_TESTS should depend on EXT4_FS instead of selecting it
    bf672140d60b regmap: sdw: use _no_pm functions in regmap_read/write
    291803ee7319 remoteproc/mediatek: acknowledge watchdog IRQ after handled
    dc798d57ca78 misc: fastrpc: fix incorrect usage of dma_map_sgtable
    787d7067c36b soundwire: bus: fix confusion on device used by pm_runtime
    336657c98112 soundwire: export sdw_write/read_no_pm functions
    dfdec5eda330 soundwire: bus: use sdw_write_no_pm when setting the bus scale registers
    519a514807c7 soundwire: bus: use sdw_update_no_pm when initializing a device
    663a18271e53 nvmem: core: skip child nodes not matching binding
    0422b93c4bfb nvmem: core: Fix a resource leak on error in nvmem_add_cells_from_of()
    5678109857cd coresight: etm4x: Skip accessing TRCPDCR in save/restore
    3e40d7bd87c9 phy: USB_LGM_PHY should depend on X86
    858d343c7873 ext4: fix potential htree index checksum corruption
    9eb145398e6f vfio-pci/zdev: fix possible segmentation fault issue
    c0e73c1d6d91 vfio/iommu_type1: Fix some sanity checks in detach group
    a8fe0b750a94 vfio/iommu_type1: Populate full dirty when detach non-pinned group
    c1fe9383139a drm/msm/dp: trigger unplug event in msm_dp_display_disable
    2d130a893ef3 drm/msm: Fix races managing the OOB state for timestamp vs timestamps.
    b605b8d568db drm/msm: Fix race of GPU init vs timestamp power management.
    5c49fc7b5d9b drm/msm/mdp5: Fix wait-for-commit for cmd panels
    92a1514e0a5d drm/msm/dsi: Correct io_start for MSM8994 (20nm PHY)
    b016a9f0c546 drm/msm: Fix MSM_INFO_GET_IOVA with carveout
    bede9ad9196c mei: hbm: call mei_set_devstate() on hbm stop response
    4ce87382d87c PCI: Align checking of syscall user config accessors
    6b34aa520429 VMCI: Use set_page_dirty_lock() when unregistering guest memory
    6a96a4413dcc PCI: xilinx-cpm: Fix reference count leak on error path
    58516ac4aac8 pwm: rockchip: Eliminate potential race condition when probing
    6f503e4e3752 pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare()
    39ab0927e7b2 pwm: rockchip: Enable APB clock during register access while probing
    7c0c9081f816 soundwire: cadence: fix ACK/NAK handling
    9944f02f2e15 PCI: rcar: Always allocate MSI addresses in 32bit space
    d2742ed447bc misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
    5a602158b885 phy: cadence-torrent: Fix error code in cdns_torrent_phy_probe()
    95fdc1ea3bfc phy: rockchip-emmc: emmc_phy_init() always return 0
    03112ff9eabf misc: eeprom_93xx46: Fix module alias to enable module autoprobe
    6ac46ecd98c9 ARM: 9065/1: OABI compat: fix build when EPOLL is not enabled
    6fb1564f74fb Input: zinitix - fix return type of zinitix_init_touch()
    0fda33ea8947 sparc: fix led.c driver when PROC_FS is not enabled
    103ca2da81c2 sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
    79796706ac4a Input: elo - fix an error code in elo_connect()
    538b990451fe perf test: Fix unaligned access in sample parsing test
    2f7d4603a00c perf intel-pt: Fix IPC with CYC threshold
    4616d95a25b5 perf intel-pt: Fix premature IPC
    9702d580daa3 perf intel-pt: Fix missing CYC processing in PSB
    47d32f8becec perf record: Fix continue profiling after draining the buffer
    47c9d32e7170 Input: sur40 - fix an error code in sur40_probe()
    248014ab2ea9 RDMA/rtrs-srv: Do not pass a valid pointer to PTR_ERR()
    d94d6498ba2d RDMA/rtrs-srv-sysfs: fix missing put_device
    fad3372fdfba RDMA/rtrs-srv: fix memory leak by missing kobject free
    c6f81f3a9c40 RDMA/rtrs: Only allow addition of path to an already established session
    51ea7da47b7c RDMA/rtrs-srv: Fix stack-out-of-bounds
    60d613b39e8d RDMA/ucma: Fix use-after-free bug in ucma_create_uevent
    55bfe125b44a RDMA/hns: Fixes missing error code of CMDQ
    95f432c0a396 ceph: fix flush_snap logic after putting caps
    426b8fb3d672 svcrdma: Hold private mutex while invoking rdma_accept()
    7c7cb07d4aff nfsd: register pernet ops last, unregister first
    b0363faf9886 perf symbols: Fix return value when loading PE DSO
    2de70d744e09 printk: avoid prb_first_valid_seq() where possible
    86f5b0936975 spi: Skip zero-length transfers in spi_transfer_one_message()
    231d8c46b16d spi: dw: Avoid stack content exposure
    3604dfd1c60a regulator: bd718x7, bd71828, Fix dvs voltage levels
    c7a1a092d364 perf symbols: Use (long) for iterator for bfd symbols
    31c2e369b533 selftests/ftrace: Update synthetic event syntax errors
    e5d5829c7ac9 clk: aspeed: Fix APLL calculate formula from ast2600-A2
    e8d491783554 regulator: qcom-rpmh: fix pm8009 ldo7
    f5f08edae12a powerpc/kuap: Restore AMR after replaying soft interrupts
    97ab82462a3a powerpc/uaccess: Avoid might_fault() when user access is enabled
    3aa4af48f4f1 spi: pxa2xx: Fix the controller numbering for Wildcat Point
    5273b9ba3e99 clk: divider: fix initialization with parent_hw
    c10782b20829 RDMA/hns: Disable RQ inline by default
    7e2cf295cee2 RDMA/hns: Fix type of sq_signal_bits
    4b31e9ffc4cd RDMA/siw: Fix calculation of tx_valid_cpus size
    f2ab2ac9c550 RDMA/hns: Fixed wrong judgments in the goto branch
    b11abc70b2d2 kselftests: dmabuf-heaps: Fix Makefile's inclusion of the kernel's usr/include dir
    ecb23b97a70b kunit: tool: fix unit test cleanup handling
    1989b09d7645 clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs
    e87684f92706 powerpc/8xx: Fix software emulation interrupt
    c035dcae0bcc powerpc/pseries/dlpar: handle ibm, configure-connector delay status
    b1b904813755 mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
    5d82c92db904 mfd: altera-sysmgr: Fix physical address storing more
    03a422ecf30d spi: stm32: properly handle 0 byte transfer
    a46f34ba2563 RDMA/rxe: Correct skb on loopback path
    54bdcd7b8f0a RDMA/rxe: Fix coding error in rxe_rcv_mcast_pkt
    d464194f6e47 RDMA/rxe: Fix coding error in rxe_recv.c
    5132b4f24874 perf vendor events arm64: Fix Ampere eMag event typo
    100ba402178c perf tools: Fix DSO filtering when not finding a map for a sampled address
    378f670e08fc rtc: zynqmp: depend on HAS_IOMEM
    8a40ca0c8b9f tracepoint: Do not fail unregistering a probe due to memory failure
    edcaf7a3b8bc IB/cm: Avoid a loop when device has 255 ports
    0d19c3e61668 IB/mlx5: Return appropriate error code instead of ENOMEM
    377a9c919163 iommu: Properly pass gfp_t in _iommu_map() to avoid atomic sleeping
    452fc2c9bbf2 iommu: Move iotlb_sync_map out from __iommu_map
    910990a6075a amba: Fix resource leak for drivers without .remove
    426c56022623 i2c: qcom-geni: Store DMA mapping data in geni_i2c_dev struct
    e699cd138063 ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
    252425cb8755 mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to 128-bytes
    d892fe653ee4 mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
    25975632869b mmc: sdhci-sprd: Fix some resource leaks in the remove function
    34251b827471 mmc: owl-mmc: Fix a resource leak in an error handling path and in the remove function
    99e7c8d15770 powerpc/time: Enable sched clock for irqtime
    f6ba4a84b9e0 powerpc/47x: Disable 256k page size
    6b83da9b1e58 KVM: PPC: Make the VMX instruction emulation routines static
    69ca7a12b77d IB/umad: Return EPOLLERR in case of when device disassociated
    1598e9e00a99 IB/umad: Return EIO in case of when device disassociated
    48e671371357 iommu: Switch gather->end to the inclusive end
    2dbc0ea1d141 scsi: lpfc: Fix ancient double free
    c41fc75addf1 objtool: Fix ".cold" section suffix check for newer versions of GCC
    7631376b2d8e objtool: Fix retpoline detection in asm code
    9e06f36658df objtool: Fix error handling for STD/CLD warnings
    994334fa2a13 auxdisplay: ht16k33: Fix refresh rate handling
    56cc83dfd35f watchdog: intel-mid_wdt: Postpone IRQ handler registration till SCU is ready
    ffc6e686f43d isofs: release buffer head before return
    aa69ea2595ff regulator: core: Avoid debugfs: Directory ... already present! error
    87f6600119a1 power: supply: smb347-charger: Fix interrupt usage if interrupt is unavailable
    564c05da080f power: supply: axp20x_usb_power: Init work before enabling IRQs
    b1ff96e9191d regulator: s5m8767: Drop regulators OF node reference
    ac5ab9c02951 spi: atmel: Put allocated master before return
    1303992207e8 regulator: s5m8767: Fix reference count leak
    d7b0efadc3eb certs: Fix blacklist flag type confusion
    6e223a3d906a watch_queue: Drop references to /dev/watch_queue
    a6b732fb6a83 regulator: axp20x: Fix reference cout leak
    863691f865b7 platform/chrome: cros_ec_proto: Add LID and BATTERY to default mask
    65e880808202 platform/chrome: cros_ec_proto: Use EC_HOST_EVENT_MASK not BIT
    d99d58b8df08 clk: sunxi-ng: h6: Fix clock divider range on some clocks
    57ae53cc5a79 IB/mlx5: Add mutex destroy call to cap_mask_mutex mutex
    a62529e888fa RDMA/mlx5: Use the correct obj_id upon DEVX TIR creation
    3577f6920179 spi: imx: Don't print error on -EPROBEDEFER
    f8b64afe9166 clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
    9f5c5595cf13 clocksource/drivers/ixp4xx: Select TIMER_OF when needed
    884d1b0d51e0 power: supply: fix sbs-charger build, needs REGMAP_I2C
    4f24543828fa dmaengine: idxd: set DMA channel to be private
    31c9ba0c38bc rtc: s5m: select REGMAP_I2C
    28c05164b72f power: reset: at91-sama5d2_shdwc: fix wkupdbc mask
    e724c819ed9f RDMA/rtrs-srv: Init wr_cnt as 1
    cb6d98b30655 RDMA/rtrs-clt: Refactor the failure cases in alloc_clt
    30b7b6b8dac0 RDMA/rtrs-srv: Fix missing wr_cqe
    e393184841ba RDMA/rtrs: Call kobject_put in the failure path
    1a8e1385b22b RDMA/rtrs-clt: Set mininum limit when create QP
    f8f1833d2a10 RDMA/rtrs-srv: Use sysfs_remove_file_self for disconnect
    e3d74840c73e RDMA/rtrs-srv: Release lock before call into close_sess
    0a131e09e4e2 RDMA/rtrs: Extend ibtrs_cq_qp_create
    54d3a5761951 of/fdt: Make sure no-map does not remove already reserved regions
    0674fa99a7d8 fdt: Properly handle "no-map" field in the memory region
    3f93f17ae946 power: supply: cpcap-charger: Fix power_supply_put on null battery pointer
    1f6133749213 power: supply: cpcap-battery: Fix missing power_supply_put()
    748f7b65d2e0 power: supply: cpcap-charger: Fix missing power_supply_put()
    57e43b696dee mfd: bd9571mwv: Use devm_mfd_add_devices()
    4ddac9d8acba dmaengine: hsu: disable spurious interrupt
    d8c7170c2097 dmaengine: owl-dma: Fix a resource leak in the remove function
    ecf1d532a055 dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
    1cc37e5a0555 dmaengine: fsldma: Fix a resource leak in the remove function
    9703b65b2dab RDMA/siw: Fix handling of zero-sized Read and Receive Queues.
    95d5e8fbc2ff HID: core: detect and skip invalid inputs to snto32()
    35c739b4d4fa clk: renesas: r8a779a0: Fix parent of CBFUSA clock
    91210528b38c clk: renesas: r8a779a0: Remove non-existent S2 clock
    6d3fca943eec clk: sunxi-ng: h6: Fix CEC clock
    d8d37cdde2a5 spi: cadence-quadspi: Abort read if dummy cycles required are too many
    a8594ec0bb37 i2c: iproc: handle master read request
    77f44e82e898 i2c: iproc: update slave isr mask (ISR_MASK_SLAVE)
    686ed8d7bf90 i2c: iproc: handle only slave interrupts which are enabled
    8584d4f31a3a quota: Fix memory leak when handling corrupted quota file
    3c5304eb1805 arm64: dts: qcom: qrb5165-rb5: fix pm8009 regulators
    b7c77df94684 regulator: qcom-rpmh-regulator: add pm8009-1 chip revision
    e00a29e24575 selftests/powerpc: Make the test check in eeh-basic.sh posix compliant
    460538d02a18 clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()
    02df54191f7f clk: meson: clk-pll: make "ret" a signed integer
    55e47652d625 clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
    49d8c198fab5 power: supply: cpcap: Add missing IRQF_ONESHOT to fix regression
    7c650a997df3 HSI: Fix PM usage counter unbalance in ssi_hw_init
    54b4e5df958c capabilities: Don't allow writing ambiguous v3 file capabilities
    bf24c51d62d1 drm/amdgpu/display: remove hdcp_srm sysfs on device removal
    7a9b76bb9bf3 smp: Process pending softirqs in flush_smp_call_function_from_idle()
    3e7387af5a50 irqchip/imx: IMX_INTMUX should not default to y, unconditionally
    24386143cb94 ubifs: Fix error return code in alloc_wbufs()
    3818158df15e ubifs: replay: Fix high stack usage, again
    bdb176a0c876 ubifs: Fix memleak in ubifs_init_authentication
    bdf943745924 jffs2: fix use after free in jffs2_sum_write_data()
    a6b56338a910 fs/jfs: fix potential integer overflow on shift of a int
    d5f8088cfc98 ASoC: simple-card-utils: Fix device module clock
    c365d333e97a ima: Free IMA measurement buffer after kexec syscall
    1facf2415b98 ima: Free IMA measurement buffer on error
    f40d1ec3a3db ASoC: SOF: sof-pci-dev: add missing Up-Extreme quirk
    0bbbd44ba122 nvmet: set status to 0 in case for invalid nsid
    6c32db01dd41 nvmet: remove extra variable in identify ns
    48629fed4fc4 nvme-multipath: set nr_zones for zoned namespaces
    5f8ab7f8fedd nvmet-tcp: fix potential race of tcp socket closing accept_work
    91edfca6f8b3 nvmet-tcp: fix receive data digest calculation for multiple h2cdata PDUs
    81dfee4731c0 io_uring: fix possible deadlock in io_uring_poll
    ea914be6de9d crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()
    bebfe70c4df8 hwrng: timeriomem - Fix cooldown period calculation
    ca0d82585d07 drm/dp_mst: Don't cache EDIDs for physical ports
    141c9392246c drm/lima: fix reference leak in lima_pm_busy
    c37792594393 drm/vc4: hdmi: Update the CEC clock divider on HSM rate change
    ecd8c7420ee2 drm/vc4: hdmi: Compute the CEC clock divider from the clock rate
    b2c22c74462e drm/vc4: hdmi: Restore cec physical address on reconnect
    5ef6d3b78abc drm/vc4: hdmi: Fix up CEC registers
    22a555e031aa drm/vc4: hdmi: Fix register offset with longer CEC messages
    e7506205db3a drm/vc4: hdmi: Move hdmi reset to bind
    f06ce8ddbdfc s390/zcrypt: return EIO when msg retry limit reached
    689ceaad9423 KVM: x86: Restore all 64 bits of DR6 and DR7 during RSM on x86-64
    6a402b937eb1 btrfs: fix double accounting of ordered extent for subpage case in btrfs_invalidapge
    006ef266c275 btrfs: clarify error returns values in __load_free_space_cache
    79717a3381dd ASoC: SOF: debug: Fix a potential issue on string buffer termination
    47d35964886f ASoC: rt5682: Fix panic in rt5682_jack_detect_handler happening during system shutdown
    67353635006a ASoC: qcom: lpass: Fix i2s ctl register bit map
    d48f03f6b25c locking/lockdep: Avoid unmatched unlock
    2e0e7c91ddb3 ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A3E
    6bbbb1dea7e8 ASoC: Intel: sof_sdw: add missing TGL_HDMI quirk for Dell SKU 0A5E
    71a6979d540d Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()
    bed8bed04179 drm/mediatek: Check if fb is null
    d87df78aabf2 KVM: nSVM: Don't strip host's C-bit from guest's CR3 when reading PDPTRs
    9ac313799515 ASoC: qcom: Fix typo error in HDMI regmap config callbacks
    5dc2ee02fdd9 f2fs: fix a wrong condition in __submit_bio
    c1b18119d82b drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask()
    a9553ae64da0 f2fs: fix to avoid inconsistent quota data
    0edd035143dd mtd: parsers: afs: Fix freeing the part name memory in failure
    e350b5bea8e8 ASoC: codecs: add missing max_register in regmap config
    79f85d7b5ce0 ASoC: cpcap: fix microphone timeslot mask
    9e61730083eb ata: ahci_brcm: Add back regulators management
    61a1f0ad45de mm: proc: Invalidate TLB after clearing soft-dirty page state
    e3fcff9f45aa drm/nouveau: bail out of nouveau_channel_new if channel init fails
    c64eb55b4ec2 crypto: talitos - Fix ctr(aes) on SEC1
    62aa24d2b7be crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
    da7a5e73cdd1 mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()
    86399c1911eb perf/arm-cmn: Move IRQs when migrating context
    1ea83d489102 perf/arm-cmn: Fix PMU instance naming
    cb8e225c16c8 ASoC: SOF: Intel: hda: cancel D0i3 work during runtime suspend
    2a387bbeada0 ASoC: qcom: lpass-cpu: Remove bit clock state check
    2bebc6dcd345 f2fs: compress: fix potential deadlock
    91e10f2ad150 sched/eas: Don't update misfit status if the task is pinned
    8b1c386d9266 media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
    130722b55dde media: pxa_camera: declare variable when DEBUG is defined
    2c0a480ac595 media: mtk-vcodec: fix argument used when DEBUG is defined
    f1e2ca0c11e4 media: cx25821: Fix a bug when reallocating some dma memory
    d196f0682366 media: qm1d1c0042: fix error return code in qm1d1c0042_init()
    28fa29bd59f2 media: atomisp: Fix a buffer overflow in debug code
    abfdb63b6e5f media: vidtv: psi: fix missing crc for PMT
    32f864a4432d media: lmedm04: Fix misuse of comma
    f7765a1143c3 media: software_node: Fix refcounts in software_node_get_next_child()
    e3d5fe8fb6f3 drm/amd/display: Fix HDMI deep color output for DCE 6-11.
    3592f930f742 drm/amd/display: Fix 10/12 bpc setup in DCE output bit depth reduction.
    18f10ae0d477 macintosh/adb-iop: Use big-endian autopoll mask
    1c7b7d476e6a bsg: free the request before return error code
    a9d9fd5bd24b drm/amdgpu: toggle on DF Cstate after finishing xgmi injection
    0cdfdd1f03c2 drm/tegra: Fix reference leak when pm_runtime_get_sync() fails
    cc1c1fe79551 MIPS: Compare __SYNC_loongson3_war against 0
    f89de444df59 MIPS: properly stop .eh_frame generation
    b1f4731f33ba media: ti-vpe: cal: fix write to unallocated memory
    640da89f3eee media: imx7: csi: Fix pad link validation
    a274661d5842 media: imx7: csi: Fix regression for parallel cameras on i.MX6UL
    1c95f266a692 drm/sun4i: tcon: fix inverted DCLK polarity
    e830af503cae sched/fair: Avoid stale CPU util_est value for schedutil in task dequeue
    3b22a67c7f6b crypto: bcm - Rename struct device_private to bcm_device_private
    494e9ec12c1b evm: Fix memleak in init_desc
    f465abaef3d1 ASoC: qcom: qdsp6: Move frontend AIFs to q6asm-dai
    43deab1aff79 ASoC: cs42l56: fix up error handling in probe
    967ddb4ac910 media: aspeed: fix error return code in aspeed_video_setup_video()
    9883df7c0195 media: tm6000: Fix memleak in tm6000_start_stream
    172e30ea3861 media: media/pci: Fix memleak in empress_init
    451c7cb236ef media: em28xx: Fix use-after-free in em28xx_alloc_urbs
    27dfb2c856f5 media: vsp1: Fix an error handling path in the probe function
    df6f92f1bde1 media: camss: missing error code in msm_video_register()
    27a82f52a55d media: mtk-vcodec: fix error return code in vdec_vp9_decode()
    40d53d436a59 media: imx: Fix csc/scaler unregister
    fe2e6f9342e8 media: imx: Unregister csc/scaler only if registered
    9056dd5417b1 media: i2c: ov5670: Fix PIXEL_RATE minimum value
    c271cb89897c media: ipu3-cio2: Build only for x86
    26297e1710d2 drm/fourcc: fix Amlogic format modifier masks
    dfc846691a66 drm/virtio: make sure context is created in gem open
    74cfb7883a04 MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
    8dbfa4e99c5f MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
    a0e0d3d8245e drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
    61de9181c86c drm: rcar-du: Fix the return check of of_parse_phandle and of_find_device_by_node
    4f6cd7e77b07 drm: rcar-du: Fix crash when using LVDS1 clock for CRTC
    cfed53d82219 drm: rcar-du: Fix PM reference leak in rcar_cmm_enable()
    7e8cad8788a9 kcsan: Rewrite kcsan_prandom_u32_max() without prandom_u32_state()
    e559765186ac media: allegro: Fix use after free on error
    5ea0601513a7 hwrng: ingenic - Fix a resource leak in an error handling path
    39e0bddeff36 crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled
    2f7287fbcb9f crypto: sun4i-ss - fix kmap usage
    99e9cb7bc13b crypto: sun4i-ss - linearize buffers content must be kept
    5d93dad67df8 drm/vc4: hdmi: Take into account the clock doubling flag in atomic_check
    5eb0784f4dd0 drm/panel: mantix: Tweak init sequence
    35bf6702052c drm/fb-helper: Add missed unlocks in setcmap_legacy()
    c4c8db5eb19f gma500: clean up error handling in init
    9a83b8b33128 drm/gma500: Fix error return code in psb_driver_load()
    e9c01c8fd64a fbdev: aty: SPARC64 requires FB_ATY_CT
    41c6f6b926d0 tty: implement read_iter
    279e54536ddb tty: convert tty_ldisc_ops 'read()' function to take a kernel pointer
    65a10cb163cd net: enetc: fix destroyed phylink dereference during unbind
    79234cb9aab9 net: mvneta: Remove per-cpu queue mapping for Armada 3700
    8845446496a7 net: amd-xgbe: Fix network fluctuations when using 1G BELFUSE SFP
    286fca3f30b9 net: amd-xgbe: Reset link when the link never comes back
    a961fcfb2465 net: amd-xgbe: Fix NETDEV WATCHDOG transmit queue timeout warning
    87f1df93d49f net: amd-xgbe: Reset the PHY rx data path when mailbox command timeout
    7592f07e6d2c net: phy: mscc: adding LCPLL reset to VSC8514
    100676d5c4d5 net: dsa: felix: don't deinitialize unused ports
    51b1868b715a net: dsa: felix: perform teardown in reverse order of setup
    ad843121588f ibmvnic: skip send_request_unmap for timeout reset
    be613736fddd ibmvnic: add memory barrier to protect long term buffer
    f4a5c7ff2ab6 bpf: Clear subreg_def for global function return values
    14a296eab662 b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
    e6d02456012a cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds
    21248186f953 net: axienet: Handle deferred probe on clock properly
    8e81baeb83a3 tcp: fix SO_RCVLOWAT related hangs under mem pressure
    c805f99ffe27 selftests: mptcp: fix ACKRX debug message
    1d6e51e231c4 bpf: Fix bpf_fib_lookup helper MTU check for SKB ctx
    e3c29af06581 bpf, devmap: Use GFP_KERNEL for xdp bulk queue allocation
    94c0e3551594 bpf: Fix an unitialized value in bpf_iter
    c8de71a7ae39 libbpf: Ignore non function pointer member in struct_ops
    b5f71c9ff128 mac80211: fix potential overflow when multiplying to u32 integers
    5ccc0ecda9e8 net/mlx5e: Check tunnel offload is required before setting SWP
    c80b5da86011 net/mlx5e: CT: manage the lifetime of the ct entry object
    046e29284b07 net/mlx5: Disable devlink reload for lag devices
    5decdc86ca9d net/mlx5: Disallow RoCE on lag device
    8dafb484fe3f net/mlx5: Disallow RoCE on multi port slave device
    efb1aa6f1175 net/mlx5: Disable devlink reload for multi port slave device
    64ea9e958fba net/mlx5e: kTLS, Use refcounts to free kTLS RX priv context
    08b42b6f891c net/mlx5e: Replace synchronize_rcu with synchronize_net
    27c79b3a9212 net/mlx5: Fix health error state handling
    ae624d4bd9b6 net/mlx5e: Change interrupt moderation channel params also when channels are closed
    34394a179ed2 net/mlx5e: Don't change interrupt moderation params when DIM is enabled
    96fb2077a517 net: phy: consider that suspend2ram may cut off PHY power
    a5ff8b798a36 dpaa2-eth: fix memory leak in XDP_REDIRECT
    3cf0490625c8 xen/netback: fix spurious event detection for common event case
    fc94be935868 bnxt_en: Fix devlink info's stored fw.psid version format.
    f22cdfcc9df1 bnxt_en: reverse order of TX disable and carrier off
    991d286e194f ibmvnic: Set to CLOSED state even on error
    c318d4198149 selftests/bpf: Convert test_xdp_redirect.sh to bash
    61f0bbac1f0d ath9k: fix data bus crash when setting nf_override via debugfs
    45c720ca5d8e iwlwifi: pnvm: increment the pointer before checking the TLV
    47708895c917 iwlwifi: pnvm: set the PNVM again if it was already loaded
    c8b23e12a74e bpf_lru_list: Read double-checked variable once without lock
    6f304a8d61fb iwlwifi: mvm: don't check if CSA event is running before removing
    caa32dc6ab77 iwlwifi: mvm: assign SAR table revision to the command later
    207bb27562b4 iwlwifi: mvm: send stored PPAG command instead of local
    600c03b4e99d iwlwifi: mvm: store PPAG enabled/disabled flag properly
    39d8f5db9c88 iwlwifi: mvm: fix the type we use in the PPAG table validity checks
    d195e314e849 soc: aspeed: snoop: Add clock control logic
    1a6c71880fad ath11k: fix a locking bug in ath11k_mac_op_start()
    c2fd1a9715a1 ath10k: Fix lockdep assertion warning in ath10k_sta_statistics
    fc0024dfd921 ath10k: Fix suspicious RCU usage warning in ath10k_wmi_tlv_parse_peer_stats_info()
    4641cecc3dbf ARM: at91: use proper asm syntax in pm_suspend
    6709f280e75d staging: wfx: fix possible panic with re-queued frames
    702143d1de99 optee: simplify i2c access
    d25640c5e61d ARM: s3c: fix fiq for clang IAS
    480f1e5d5ca8 iwlwifi: mvm: set enabled in the PPAG command properly
    90aadc8ce0fd arm64: dts: meson: fix broken wifi node for Khadas VIM3L
    0aa65ba9352d arm64: dts: msm8916: Fix reserved and rfsa nodes unit address
    84f9aaa7312b soc: qcom: ocmem: don't return NULL in of_get_ocmem
    9bb8acd6aa96 Bluetooth: btusb: Fix memory leak in btusb_mtk_wmt_recv
    276d6b35f3bc opp: Correct debug message in _opp_add_static_v2()
    bf7d341506d6 arm64: dts: armada-3720-turris-mox: rename u-boot mtd partition to a53-firmware
    1a210339f056 ARM: dts: armada388-helios4: assign pinctrl to each fan
    0d6d8024c1f7 ARM: dts: armada388-helios4: assign pinctrl to LEDs
    b9aa9108b63a can: mcp251xfd: mcp251xfd_probe(): fix errata reference
    104463e0faae arm64: dts: renesas: beacon: Fix EEPROM compatible value
    ad71e4decf49 x86/MSR: Filter MSR writes through X86_IOC_WRMSR_REGS ioctl too
    56ef08902f0d staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules
    e5d153b3da39 usb: dwc2: Make "trimming xfer length" a debug message
    fdc77e02db8c usb: dwc2: Abort transaction after errors with unknown reason
    8eb3e6899a27 usb: dwc2: Do not update data length if it is 0 on inbound transfers
    cdbe8c0c5274 ARM: dts: Configure missing thermal interrupt for 4430
    509fe94c196f memory: ti-aemif: Drop child node when jumping out loop
    63cb4aa9e4ee Bluetooth: Put HCI device if inquiry procedure interrupts
    78bbee8f2542 Bluetooth: drop HCI device reference before return
    ba8832d23c97 staging: media: atomisp: Fix size_t format specifier in hmm_alloc() debug statemenet
    3681476ad60e soc: ti: pm33xx: Fix some resource leak in the error handling paths of the probe function
    6e46b23a9f4c soc: qcom: socinfo: Fix an off by one in qcom_show_pmic_model()
    4cbd11f9c37e arm64: dts: qcom: sdm845-db845c: Fix reset-pin of ov8856 node
    c9ccb0efaab2 usb: gadget: u_audio: Free requests only after callback
    66a55fafe3d8 ACPICA: Fix exception code class checks
    3a3f15b4d2f3 arm64: dts: rockchip: rk3328: Add clock_in_out property to gmac2phy node
    88cd0e882f1e cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove()
    de17aa73c9d9 cpufreq: brcmstb-avs-cpufreq: Free resources in error path
    b87a4fcf4536 arm64: dts: qcom: msm8916-samsung-a2015: Fix sensors
    7ae2c607e8e8 arm64: dts: allwinner: A64: Limit MMC2 bus frequency to 150 MHz
    b20768733427 arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency
    aa60fe811181 arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card
    299dfaed458f arm64: dts: allwinner: H6: properly connect USB PHY to port 0
    da0131818f90 arm64: dts: allwinner: A64: properly connect USB PHY to port 0
    1173e48b162a firmware: arm_scmi: Fix call site of scmi_notification_exit
    0e290a7b4ac4 bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
    faf4b1fba2dd bpf: Add bpf_patch_call_args prototype to include/linux/bpf.h
    ef1efead3f2a net: stmmac: dwmac-meson8b: fix enabling the timing-adjustment clock
    106c902da8a6 arm64: dts: qcom: msm8916-samsung-a5u: Fix iris compatible
    9b6d62eea4c5 staging: vchiq: Fix bulk transfers on 64-bit builds
    6929e3b01179 staging: vchiq: Fix bulk userdata handling
    601899cec0a3 Bluetooth: hci_qca: Fix memleak in qca_controller_memdump
    ec621e844289 memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops
    587b9cc3c02d arm64: dts: exynos: correct PMIC interrupt trigger level on Espresso
    347b3e5557da arm64: dts: exynos: correct PMIC interrupt trigger level on TM2
    ff11ece44c2d ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid XU3 family
    42596469a889 ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
    41461029703e ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
    9f87ff784143 ARM: dts: exynos: correct PMIC interrupt trigger level on Rinato
    f716c60cb017 ARM: dts: exynos: correct PMIC interrupt trigger level on Monk
    83830e692f28 ARM: dts: exynos: correct PMIC interrupt trigger level on Artik 5
    fcb451381725 arm64: dts: renesas: beacon: Fix audio-1.8V pin enable
    072552f973ad arm64: dts: renesas: beacon kit: Fix choppy Bluetooth Audio
    65933b074ae0 Bluetooth: Fix initializing response id after clearing struct
    bbe6d14a98b0 Bluetooth: hci_uart: Fix a race for write_work scheduling
    fdbed2d74011 Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function
    fa336bddbe83 ath10k: Fix error handling in case of CE pipe init failure
    b4139fd0ab00 drm/i915/gt: One more flush for Baytrail clear residuals
    de7e30da243f ALSA: pcm: Don't call sync_stop if it hasn't been stopped
    7011cd4599ef ALSA: pcm: Assure sync with the pending stop operation at suspend
    6bcf443bce96 ALSA: pcm: Call sync_stop at disconnection
    85c1062920d1 random: fix the RNDRESEEDCRNG ioctl
    f24e9121eace vmlinux.lds.h: Define SANTIZER_DISCARDS with CONFIG_GCOV_KERNEL=y
    b57d559a92e8 MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
    e18368d0515d ALSA: usb-audio: Fix PCM buffer allocation in non-vmalloc mode
    89e3d1a85df8 bfq: Avoid false bfq queue merging
    a9f834514580 virt: vbox: Do not use wait_event_interruptible when called from kernel context
    9ecedb5793a6 PCI: Decline to resize resources if boot config must be preserved
    9101e328625f PCI: qcom: Use PHY_REFCLK_USE_PAD only for ipq8064
    1ad8f7fc4aa7 w1: w1_therm: Fix conversion result for negative temperatures
    ed5d02f0a778 kdb: Make memory allocations more robust
    77c711013ddc scsi: qla2xxx: Fix mailbox Ch erroneous error
    a24bb59cabab scsi: libsas: docs: Remove notify_ha_event()
    7bc68c67d21e debugfs: do not attempt to create a new file before the filesystem is initalized
    0bd665240a56 debugfs: be more robust at handling improper input in debugfs_lookup()
    2a7e48dc3834 vdpa/mlx5: fix param validation in mlx5_vdpa_get_config()
    070d0094b3f4 vmlinux.lds.h: add DWARF v5 sections

(From OE-Core rev: 7a48aad3d35318ddaf0f969ae0b6b568ef617397)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Bruce Ashfield
190d2af65e kern-tools: symbol-why fix and README update
There was a bad indent in symbol_why, which we fix with a submitted
patch. As part of getting that patch, it was pointed out that there's
no README telling people where to send changes. So we add a basic
README to avoid that in the future:

   8f6aaab docs: add README for patch submission
   9f1a6cb symbol_why: fix incorrect indentation of sys.exit(1)

(From OE-Core rev: eea536b4368abed2248d3d0c5727a680b7368ce7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Bruce Ashfield
439e6d47fa linux-yocto/5.4: update to v5.4.103
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    c4ca4659678e Linux 5.4.103
    47478db9ad21 ALSA: hda/realtek: Apply dual codec quirks for MSI Godlike X570 board
    4cf243476463 ALSA: hda/realtek: Add quirk for Intel NUC 10
    2254dfa68428 ALSA: hda/realtek: Add quirk for Clevo NH55RZQ
    027ddd67f685 media: v4l: ioctl: Fix memory leak in video_usercopy
    60fdceaa91ad swap: fix swapfile read/write offset
    bebf5e832779 zsmalloc: account the number of compacted pages correctly
    f038a22632a4 xen-netback: respect gnttab_map_refs()'s return value
    474773c42ffd Xen/gnttab: handle p2m update errors on a per-slot basis
    def70c33c478 scsi: iscsi: Verify lengths on passthrough PDUs
    567a234a231d scsi: iscsi: Ensure sysfs attributes are limited to PAGE_SIZE
    5f4243642873 sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs output
    ca3afdd03773 scsi: iscsi: Restrict sessions and handles to admin capabilities
    fdaec40526b4 ASoC: Intel: bytcr_rt5640: Add quirk for the Acer One S1002 tablet
    68b15ca91add ASoC: Intel: bytcr_rt5651: Add quirk for the Jumper EZpad 7 tablet
    db0e94615263 ASoC: Intel: bytcr_rt5640: Add quirk for the Voyo Winpad A15 tablet
    925ae8148535 ASoC: Intel: bytcr_rt5640: Add quirk for the Estar Beauty HD MID 7316R tablet
    99d2926531ac sched/features: Fix hrtick reprogramming
    4a3f4feeb622 parisc: Bump 64-bit IRQ stack size to 64 KB
    f41ed2164364 perf/x86/kvm: Add Cascade Lake Xeon steppings to isolation_ucodes[]
    2b130871e20a btrfs: fix error handling in commit_fs_roots
    9bf519ca55c4 ASoC: Intel: Add DMI quirk table to soc_intel_is_byt_cr()
    7702b331861b nvme-tcp: add clean action for failed reconnection
    a9ea34d2717a nvme-rdma: add clean action for failed reconnection
    4bf6c84c9ad3 nvme-core: add cancel tagset helpers
    8253cc11abb2 f2fs: fix to set/clear I_LINKABLE under i_lock
    77dc257b4feb f2fs: handle unallocated section and zone on pinned/atgc
    aa1362606059 media: uvcvideo: Allow entities with no pads
    0e9d7902764a drm/amd/display: Guard against NULL pointer deref when get_i2c_info fails
    f1fef55a3f1a PCI: Add a REBAR size quirk for Sapphire RX 5600 XT Pulse
    b252cdd9c650 drm/amdgpu: Add check to prevent IH overflow
    a8d46a3feb02 crypto: tcrypt - avoid signed overflow in byte count
    9f8d3e4b8ad8 drm/hisilicon: Fix use-after-free
    e1b9c1c9dbb0 brcmfmac: Add DMI nvram filename quirk for Voyo winpad A15 tablet
    3c099c272eb5 brcmfmac: Add DMI nvram filename quirk for Predia Basic tablet
    d1f262561993 staging: bcm2835-audio: Replace unsafe strcpy() with strscpy()
    e3ec4af50642 staging: most: sound: add sanity check for function argument
    7d16e7c1615d Bluetooth: Fix null pointer dereference in amp_read_loc_assoc_final_data
    bba1995325b5 x86/build: Treat R_386_PLT32 relocation as R_386_PC32
    e37674e1a48d ath10k: fix wmi mgmt tx queue full due to race condition
    46813e4a7caa pktgen: fix misuse of BUG_ON() in pktgen_thread_worker()
    b074e7e20cc9 Bluetooth: hci_h5: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY for btrtl
    5a8bbefd0074 wlcore: Fix command execute failure 19 for wl12xx
    48549db10dbe vt/consolemap: do font sum unsigned
    de00b8f037ca x86/reboot: Add Zotac ZBOX CI327 nano PCI reboot quirk
    48f6c1a89487 staging: fwserial: Fix error handling in fwserial_create
    ce2b4b9c86b7 rsi: Move card interrupt handling to RX thread
    133b0b1aa5c4 rsi: Fix TX EAPOL packet handling against iwlwifi AP
    c8c3088a90c3 drm/virtio: use kvmalloc for large allocations
    584149c771ec MIPS: Drop 32-bit asm string functions
    648c5b1b24d0 dt-bindings: net: btusb: DT fix s/interrupt-name/interrupt-names/
    823e6524e1f3 dt-bindings: ethernet-controller: fix fixed-link specification
    176188cff67e net: fix dev_ifsioc_locked() race condition
    e4fc812e3577 net: ag71xx: remove unnecessary MTU reservation
    ad112654e21d net: bridge: use switchdev for port flags set through sysfs too
    2e235c3a9518 mm/hugetlb.c: fix unnecessary address expansion of pmd sharing
    4ed3162e92bf nbd: handle device refs for DESTROY_ON_DISCONNECT properly
    e6af7cb64b7b net: fix up truesize of cloned skb in skb_prepare_for_shift()
    4ceb5ca9e626 smackfs: restrict bytes count in smackfs write functions
    5fe244620e74 net/af_iucv: remove WARN_ONCE on malformed RX packets
    09e47dc27ed5 xfs: Fix assert failure in xfs_setattr_size()
    a72c45f4ee33 media: v4l2-ctrls.c: fix shift-out-of-bounds in std_validate
    edaa0a0aab6e erofs: fix shift-out-of-bounds of blkszbits
    706068d0811a media: mceusb: sanity check for prescaler value
    64677f10e560 udlfb: Fix memory leak in dlfb_usb_probe
    4e3b08cfe619 JFS: more checks for invalid superblock
    86d7c693670e MIPS: VDSO: Use CLANG_FLAGS instead of filtering out '--target='
    9757d5c4fc3f arm64 module: set plt* section addresses to 0x0
    69861dcc78c2 nvme-pci: fix error unwind in nvme_map_data
    744073c5c79c nvme-pci: refactor nvme_unmap_data
    9e4815cf1785 Input: elantech - fix protocol errors for some trackpoints in SMBus mode
    a1d010346e48 net: usb: qmi_wwan: support ZTE P685M modem
    7f324ea75baa Linux 5.4.102
    07c4c2e2bcd3 ARM: dts: aspeed: Add LCLK to lpc-snoop
    39be7b978fde net: qrtr: Fix memory leak in qrtr_tun_open
    7b518508c685 dm era: Update in-core bitset after committing the metadata
    976ee31ea300 net: sched: fix police ext initialization
    9875cb3c0968 net: icmp: pass zeroed opts from icmp{,v6}_ndo_send before sending
    354fb7244fd0 ipv6: silence compilation warning for non-IPV6 builds
    e528edf1e579 ipv6: icmp6: avoid indirect call for icmpv6_send()
    c30e93eee3bf xfrm: interface: use icmp_ndo_send helper
    e1ec06b833aa sunvnet: use icmp_ndo_send helper
    d8d268ce1a5e gtp: use icmp_ndo_send helper
    dd28e735df5c icmp: allow icmpv6_ndo_send to work with CONFIG_IPV6=n
    2019554f9656 icmp: introduce helper for nat'd source address in network device context
    0a35ff986617 drm/i915: Reject 446-480MHz HDMI clock on GLK
    467214ddfa7e dm era: only resize metadata in preresume
    fb8986363019 dm era: Reinitialize bitset cache before digesting a new writeset
    e59b9a8464be dm era: Use correct value size in equality function of writeset tree
    fead0c8e5c56 dm era: Fix bitset memory leaks
    8ca89085fe72 dm era: Verify the data block size hasn't changed
    e8a146ef82a4 dm era: Recover committed writeset after crash
    d873884783ed dm writecache: fix writing beyond end of underlying device when shrinking
    5233c47c8d46 dm: fix deadlock when swapping to encrypted device
    fd3b7e07d3c1 gfs2: Recursive gfs2_quota_hold in gfs2_iomap_end
    fa0201d3902e gfs2: Don't skip dlm unlock if glock has an lvb
    c5abc17d2740 spi: spi-synquacer: fix set_cs handling
    3dbe8f1d24de sparc32: fix a user-triggerable oops in clear_user()
    7e17044631aa f2fs: fix out-of-repair __setattr_copy()
    5b5d76028056 um: mm: check more comprehensively for stub changes
    b95baf4efb68 virtio/s390: implement virtio-ccw revision 2 correctly
    8e6c8cfa9aee s390/vtime: fix inline assembly clobber list
    07332771663b cpufreq: intel_pstate: Get per-CPU max freq via MSR_HWP_CAPABILITIES if available
    dfbbed769f1b printk: fix deadlock when kernel panic
    81c2472bcf33 gpio: pcf857x: Fix missing first interrupt
    70dcfb66ef68 spmi: spmi-pmic-arb: Fix hw_irq overflow
    d5194f7264e2 powerpc/32s: Add missing call to kuep_lock on syscall entry
    6b22c402dff9 mmc: sdhci-esdhc-imx: fix kernel panic when remove module
    b6bc5417385d module: Ignore _GLOBAL_OFFSET_TABLE_ when warning for undefined symbols
    8a3e6c6fe9c6 media: smipcie: fix interrupt handling and IR timeout
    2e1df9bfe6fa arm64: Extend workaround for erratum 1024718 to all versions of Cortex-A55
    566209806176 hugetlb: fix copy_huge_page_from_user contig page struct assumption
    5dd34ee9abdc hugetlb: fix update_and_free_page contig page struct assumption
    b74e3493264f x86: fix seq_file iteration for pat/memtype.c
    ebd5a480db0e seq_file: document how per-entry resources are managed.
    3e9b85cabea0 fs/affs: release old buffer head on error path
    b2b5c3aec866 mtd: spi-nor: hisi-sfc: Put child node np on error path
    61dfd4fbbd1e mtd: spi-nor: core: Add erase size check for erase command initialization
    3ab134965691 mtd: spi-nor: core: Fix erase type discovery for overlaid region
    cc27d5f40680 mtd: spi-nor: sfdp: Fix wrong erase type bitmask for overlaid region
    7852feb3accb mtd: spi-nor: sfdp: Fix last erase region marking
    97d079fd2ac1 watchdog: mei_wdt: request stop on unregister
    4262c46bfbcf watchdog: qcom: Remove incorrect usage of QCOM_WDT_ENABLE_IRQ
    a82ebd5dde7d arm64: uprobe: Return EOPNOTSUPP for AARCH32 instruction probing
    efca4c991ecf arm64: kexec_file: fix memory leakage in create_dtb() when fdt_open_into() fails
    d4a7d6c02261 floppy: reintroduce O_NDELAY fix
    337bba09d850 rcu/nocb: Perform deferred wake up before last idle's need_resched() check
    3cd9a74bead1 rcu: Pull deferred rcuog wake up to rcu_eqs_enter() callers
    14122331b1c3 powerpc/prom: Fix "ibm,arch-vec-5-platform-support" scan
    84ec5883b4f9 x86/reboot: Force all cpus to exit VMX root if VMX is supported
    4fa154124164 x86/virt: Eat faults on VMXOFF in reboot flows
    3f5dc4a102a9 media: ipu3-cio2: Fix mbus_code processing in cio2_subdev_set_fmt()
    de9b5d51b627 staging: rtl8188eu: Add Edimax EW-7811UN V2 to device table
    bb5bfd51f603 staging: gdm724x: Fix DMA from stack
    d69583a2c1b3 staging/mt7621-dma: mtk-hsdma.c->hsdma-mt7621.c
    eb6f42b101ec dts64: mt7622: fix slow sd card access
    f73e98efaa10 pstore: Fix typo in compression option name
    c9e529e635b9 drivers/misc/vmw_vmci: restrict too big queue size in qp_host_alloc_queue
    d82d5a77f0a0 misc: rtsx: init of rts522a add OCP power off when no card is present
    aa00c2d60ae1 seccomp: Add missing return in non-void function
    0d95bdee02ad crypto: sun4i-ss - initialize need_fallback
    903f576f4e66 crypto: sun4i-ss - handle BigEndian for cipher
    4fc52e091a2c crypto: sun4i-ss - checking sg length is not sufficient
    3b40af844c26 crypto: aesni - prevent misaligned buffers on the stack
    46e6d781f87e crypto: arm64/sha - add missing module aliases
    dca4f29507e4 btrfs: fix extent buffer leak on failure to copy root
    df369c3afb0d btrfs: splice remaining dirty_bg's onto the transaction dirty bg list
    dc0780e456ac btrfs: fix reloc root leak with 0 ref reloc roots on recovery
    c0baf3aaf4b9 btrfs: abort the transaction if we fail to inc ref in btrfs_copy_root
    2910038c09f4 KEYS: trusted: Fix migratable=1 failing
    2c21eac499f8 tpm_tis: Clean up locality release
    f19b98394c0a tpm_tis: Fix check_locality for correct locality acquisition
    52f3bdb1078a erofs: initialized fields can only be observed after bit is set
    4d09487509ad drm/sched: Cancel and flush all outstanding jobs before finish.
    c38fd6afe146 drm/nouveau/kms: handle mDP connectors
    7c1a2f91908f drm/amdgpu: Set reference clock to 100Mhz on Renoir (v2)
    ca5a8ad84ba0 drm/amd/display: Add vupdate_no_lock interrupts for DCN2.1
    5431cb67306d bcache: Move journal work to new flush wq
    a339f0998eb1 bcache: Give btree_io_wq correct semantics again
    de5510b9825c Revert "bcache: Kill btree_io_wq"
    f6992915031e ALSA: hda/realtek: modify EAPD in the ALC886
    48d1950dafe9 ALSA: hda: Add another CometLake-H PCI ID
    3ed9bd25fd88 USB: serial: mos7720: fix error code in mos7720_write()
    e73874b41286 USB: serial: mos7840: fix error code in mos7840_write()
    a678d130424a USB: serial: ftdi_sio: fix FTX sub-integer prescaler
    d1f773b70ae6 usb: dwc3: gadget: Fix dep->interval for fullspeed interrupt
    1c073b56e765 usb: dwc3: gadget: Fix setting of DEPCFG.bInterval_m1
    a5ae281779a5 usb: musb: Fix runtime PM race in musb_queue_resume_work
    e3ddfaf3e617 USB: serial: option: update interface mapping for ZTE P685M
    32a82e001ead media: mceusb: Fix potential out-of-bounds shift
    8812bed7ec74 Input: i8042 - add ASUS Zenbook Flip to noselftest list
    80168ba86034 Input: joydev - prevent potential read overflow in ioctl
    9fe66416b02e Input: xpad - add support for PowerA Enhanced Wired Controller for Xbox Series X|S
    d84f9c28abbe Input: raydium_ts_i2c - do not send zero length
    2d954832ba48 HID: wacom: Ignore attempts to overwrite the touch_max value from HID
    394f2b794310 HID: logitech-dj: add support for keyboard events in eQUAD step 4 Gaming
    e690b3f48635 ACPI: configfs: add missing check after configfs_register_default_group()
    40b70c98be98 ACPI: property: Fix fwnode string properties matching
    371a2218ed33 blk-settings: align max_sectors on "logical_block_size" boundary
    4ad2a372e1cd scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
    d2aa80c36727 mm/rmap: fix potential pte_unmap on an not mapped pte
    8450b1cd7cb3 i2c: brcmstb: Fix brcmstd_send_i2c_cmd condition
    1a47856548fb arm64: Add missing ISB after invalidating TLB in __primary_switch
    94a432151c35 r8169: fix jumbo packet handling on RTL8168e
    c70c3b6e62e4 mm/compaction: fix misbehaviors of fast_find_migrateblock()
    c200f4959586 mm/hugetlb: fix potential double free in hugetlb_register_node() error path
    67a982ee20d2 mm/memory.c: fix potential pte_unmap_unlock pte error
    5bf318965485 ocfs2: fix a use after free on error
    55b6be947efa vxlan: move debug check after netdev unregister
    e9ae8928ddd6 net/mlx4_core: Add missed mlx4_free_cmd_mailbox()
    e41bb745fd0f vfio/type1: Use follow_pte()
    005ed88685aa i40e: Fix add TC filter for IPv6
    1b66e64ce349 i40e: Fix VFs not created
    a60ef5efff55 i40e: Fix addition of RX filters after enabling FW LLDP agent
    57a7b145d8a1 i40e: Fix overwriting flow control settings during driver loading
    55af95c8ce4d i40e: Add zero-initialization of AQ command structures
    d7c25783b8c8 i40e: Fix flow for IPv6 next header (extension header)
    2efbd63b6e74 regmap: sdw: use _no_pm functions in regmap_read/write
    62c4532ebb1d nvmem: core: skip child nodes not matching binding
    e40a8924eb3b nvmem: core: Fix a resource leak on error in nvmem_add_cells_from_of()
    d8b7689a6240 ext4: fix potential htree index checksum corruption
    2df4434766aa vfio/iommu_type1: Fix some sanity checks in detach group
    179b83e72c89 drm/msm/mdp5: Fix wait-for-commit for cmd panels
    32cf1b5c153d drm/msm/dsi: Correct io_start for MSM8994 (20nm PHY)
    e2d44809c4f4 mei: hbm: call mei_set_devstate() on hbm stop response
    c7cac840c2b3 PCI: Align checking of syscall user config accessors
    8c23e9f4c7b0 VMCI: Use set_page_dirty_lock() when unregistering guest memory
    e8ba75011695 pwm: rockchip: rockchip_pwm_probe(): Remove superfluous clk_unprepare()
    3a9044ea78ea soundwire: cadence: fix ACK/NAK handling
    fcfec32c9a01 misc: eeprom_93xx46: Add module alias to avoid breaking support for non device tree users
    52fe389c0a99 phy: rockchip-emmc: emmc_phy_init() always return 0
    047e029392a5 misc: eeprom_93xx46: Fix module alias to enable module autoprobe
    f7fb313affee sparc64: only select COMPAT_BINFMT_ELF if BINFMT_ELF is set
    0a072f01e585 Input: elo - fix an error code in elo_connect()
    2062856c441c perf test: Fix unaligned access in sample parsing test
    eb191a88be52 perf intel-pt: Fix premature IPC
    119f96bb14bc perf intel-pt: Fix missing CYC processing in PSB
    ce40b82cfa09 Input: sur40 - fix an error code in sur40_probe()
    d5ca5d1190a4 RDMA/hns: Fixes missing error code of CMDQ
    8677e99150b0 nfsd: register pernet ops last, unregister first
    046615ffd431 clk: aspeed: Fix APLL calculate formula from ast2600-A2
    923027302666 regulator: qcom-rpmh: fix pm8009 ldo7
    2ebadcea0ef3 spi: pxa2xx: Fix the controller numbering for Wildcat Point
    e0c516e72fd5 RDMA/hns: Fix type of sq_signal_bits
    d21f6d9a3e49 RDMA/siw: Fix calculation of tx_valid_cpus size
    d0005c4ab5e1 RDMA/hns: Fixed wrong judgments in the goto branch
    c42d1e8caad5 clk: qcom: gcc-msm8998: Fix Alpha PLL type for all GPLLs
    ecfae933df3a powerpc/8xx: Fix software emulation interrupt
    ba5c8a0ee624 powerpc/pseries/dlpar: handle ibm, configure-connector delay status
    0c79abee609d mfd: wm831x-auxadc: Prevent use after free in wm831x_auxadc_read_irq()
    046a8158982b spi: stm32: properly handle 0 byte transfer
    3cb8510625d5 RDMA/rxe: Correct skb on loopback path
    c88fc726d9c0 RDMA/rxe: Fix coding error in rxe_rcv_mcast_pkt
    2e556ba37f13 RDMA/rxe: Fix coding error in rxe_recv.c
    d2ee0b2070cd perf vendor events arm64: Fix Ampere eMag event typo
    a0ea1f58aeea perf tools: Fix DSO filtering when not finding a map for a sampled address
    e59e0ced0763 tracepoint: Do not fail unregistering a probe due to memory failure
    4cb8bdaebbd8 IB/cm: Avoid a loop when device has 255 ports
    180cd50dd9a8 IB/mlx5: Return appropriate error code instead of ENOMEM
    379b5ee283dd amba: Fix resource leak for drivers without .remove
    65159b4401fd i2c: qcom-geni: Store DMA mapping data in geni_i2c_dev struct
    870ab7ef9799 ARM: 9046/1: decompressor: Do not clear SCTLR.nTLSMD for ARMv7+ cores
    f201f050a52a mmc: renesas_sdhi_internal_dmac: Fix DMA buffer alignment from 8 to 128-bytes
    2096ca11967c mmc: usdhi6rol0: Fix a resource leak in the error handling path of the probe
    de1e8961db05 mmc: sdhci-sprd: Fix some resource leaks in the remove function
    c4c70ac4659e powerpc/47x: Disable 256k page size
    8121f35cc657 KVM: PPC: Make the VMX instruction emulation routines static
    144422afaa10 IB/umad: Return EPOLLERR in case of when device disassociated
    40d9bcab50d0 IB/umad: Return EIO in case of when device disassociated
    f337e5947a19 objtool: Fix ".cold" section suffix check for newer versions of GCC
    9d20f53167e6 objtool: Fix error handling for STD/CLD warnings
    68b6d02b3774 auxdisplay: ht16k33: Fix refresh rate handling
    88b6e7267f9e isofs: release buffer head before return
    8eaf7e3480ec regulator: core: Avoid debugfs: Directory ... already present! error
    486a018932fe regulator: s5m8767: Drop regulators OF node reference
    ab669048f97d spi: atmel: Put allocated master before return
    bdad2e9c992e regulator: s5m8767: Fix reference count leak
    0fec3272abf1 certs: Fix blacklist flag type confusion
    8d0c3acd0370 regulator: axp20x: Fix reference cout leak
    edf1d9025195 clk: sunxi-ng: h6: Fix clock divider range on some clocks
    e68366695807 RDMA/mlx5: Use the correct obj_id upon DEVX TIR creation
    6a52a17fd0a3 clocksource/drivers/mxs_timer: Add missing semicolon when DEBUG is defined
    898c96f75616 clocksource/drivers/ixp4xx: Select TIMER_OF when needed
    d8a9db6dfa23 rtc: s5m: select REGMAP_I2C
    239670e85cbb power: reset: at91-sama5d2_shdwc: fix wkupdbc mask
    3cbd3038c915 of/fdt: Make sure no-map does not remove already reserved regions
    fb326c6ce0dc fdt: Properly handle "no-map" field in the memory region
    5fba43deff93 mfd: bd9571mwv: Use devm_mfd_add_devices()
    3b0053360e84 dmaengine: hsu: disable spurious interrupt
    fe0a870739ba dmaengine: owl-dma: Fix a resource leak in the remove function
    6f4fdb448b4c dmaengine: fsldma: Fix a resource leak in an error handling path of the probe function
    67be754e0771 dmaengine: fsldma: Fix a resource leak in the remove function
    da0f70eadabf RDMA/siw: Fix handling of zero-sized Read and Receive Queues.
    1f5fea7616e8 HID: core: detect and skip invalid inputs to snto32()
    34d0d61a864d clk: sunxi-ng: h6: Fix CEC clock
    2dd73db1b508 spi: cadence-quadspi: Abort read if dummy cycles required are too many
    0473358e075c i2c: iproc: handle master read request
    128c8431e8b9 i2c: iproc: update slave isr mask (ISR_MASK_SLAVE)
    d8a5e1780a2b i2c: iproc: handle only slave interrupts which are enabled
    8b63c0cbc724 quota: Fix memory leak when handling corrupted quota file
    623c86840e8a selftests/powerpc: Make the test check in eeh-basic.sh posix compliant
    b070f3b6ee5a clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate()
    f8c601cb3ab4 clk: meson: clk-pll: make "ret" a signed integer
    fcba0f6ab1e2 clk: meson: clk-pll: fix initializing the old rate (fallback) for a PLL
    6413d0318ca4 HSI: Fix PM usage counter unbalance in ssi_hw_init
    33a2e62473e8 capabilities: Don't allow writing ambiguous v3 file capabilities
    b42b04e517cb ubifs: Fix error return code in alloc_wbufs()
    5501892826bb ubifs: Fix memleak in ubifs_init_authentication
    c4ede7571b4f jffs2: fix use after free in jffs2_sum_write_data()
    746ef39b0bd6 fs/jfs: fix potential integer overflow on shift of a int
    ff138fd20f17 ASoC: simple-card-utils: Fix device module clock
    091b409383ad ima: Free IMA measurement buffer after kexec syscall
    e436d3f7bdac ima: Free IMA measurement buffer on error
    f04787555f4c crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()
    cba03a29611c hwrng: timeriomem - Fix cooldown period calculation
    6f651ec266ba btrfs: clarify error returns values in __load_free_space_cache
    790c0dcbb519 ASoC: SOF: debug: Fix a potential issue on string buffer termination
    624d18332e13 Drivers: hv: vmbus: Avoid use-after-free in vmbus_onoffer_rescind()
    76faeef2f45e f2fs: fix a wrong condition in __submit_bio
    721c986986d2 drm/amdgpu: Prevent shift wrapping in amdgpu_read_mask()
    c1a421b198bc f2fs: fix to avoid inconsistent quota data
    7cb52169ada4 mtd: parsers: afs: Fix freeing the part name memory in failure
    35a5d96a4c22 ASoC: cpcap: fix microphone timeslot mask
    4168bf93ccc4 ata: ahci_brcm: Add back regulators management
    0faef25462f8 drm/nouveau: bail out of nouveau_channel_new if channel init fails
    adc2e1dba977 crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
    7284c2692aff mtd: parser: imagetag: fix error codes in bcm963xx_parse_imagetag_partitions()
    aae14aed37d5 sched/eas: Don't update misfit status if the task is pinned
    ba95955ee1e2 media: uvcvideo: Accept invalid bFormatIndex and bFrameIndex values
    27019b873863 media: pxa_camera: declare variable when DEBUG is defined
    0f16925a9e70 media: cx25821: Fix a bug when reallocating some dma memory
    c3a2f73a7925 media: qm1d1c0042: fix error return code in qm1d1c0042_init()
    96a3bc313aa3 media: lmedm04: Fix misuse of comma
    69e859a9d0a4 media: software_node: Fix refcounts in software_node_get_next_child()
    1e0f565138db drm/amd/display: Fix HDMI deep color output for DCE 6-11.
    7d1fc1e88b36 drm/amd/display: Fix 10/12 bpc setup in DCE output bit depth reduction.
    ed0b50cd4407 bsg: free the request before return error code
    de9b26b5133f MIPS: properly stop .eh_frame generation
    1169602150d5 drm/sun4i: tcon: fix inverted DCLK polarity
    48f2fcd7b928 crypto: bcm - Rename struct device_private to bcm_device_private
    3d5afcae9af2 evm: Fix memleak in init_desc
    76b7e3a636b4 ASoC: cs42l56: fix up error handling in probe
    c7ebd8b358b0 media: aspeed: fix error return code in aspeed_video_setup_video()
    438d2cc7b8cc media: tm6000: Fix memleak in tm6000_start_stream
    31730cb2461b media: media/pci: Fix memleak in empress_init
    57cc424326df media: em28xx: Fix use-after-free in em28xx_alloc_urbs
    3e0c29a407da media: vsp1: Fix an error handling path in the probe function
    e01fcc71a994 media: camss: missing error code in msm_video_register()
    1b26ba73b18f media: imx: Fix csc/scaler unregister
    0634c66e6660 media: imx: Unregister csc/scaler only if registered
    61f638b3afe9 media: i2c: ov5670: Fix PIXEL_RATE minimum value
    7dfe4fed118d MIPS: lantiq: Explicitly compare LTQ_EBU_PCC_ISTAT against 0
    ea27c3f0bc1a MIPS: c-r4k: Fix section mismatch for loongson2_sc_init
    d9f6d2a54487 drm/amdgpu: Fix macro name _AMDGPU_TRACE_H_ in preprocessor if condition
    0d528f6151c7 crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled
    e056f69dea5a crypto: sun4i-ss - fix kmap usage
    a3eeb7fd063f crypto: sun4i-ss - linearize buffers content must be kept
    914d61930b89 drm/fb-helper: Add missed unlocks in setcmap_legacy()
    200e603d5517 gma500: clean up error handling in init
    2e5c94708d3e drm/gma500: Fix error return code in psb_driver_load()
    0da21f552344 fbdev: aty: SPARC64 requires FB_ATY_CT
    e7b6ac5c46fe net: mvneta: Remove per-cpu queue mapping for Armada 3700
    825c82d55197 net: amd-xgbe: Fix network fluctuations when using 1G BELFUSE SFP
    46121a6f3be5 net: amd-xgbe: Reset link when the link never comes back
    70bf58171f19 net: amd-xgbe: Fix NETDEV WATCHDOG transmit queue timeout warning
    0496eb6f48cc net: amd-xgbe: Reset the PHY rx data path when mailbox command timeout
    95672dd57547 ibmvnic: skip send_request_unmap for timeout reset
    64a87b0b650c ibmvnic: add memory barrier to protect long term buffer
    8022d52a102b b43: N-PHY: Fix the update of coef for the PHY revision >= 3case
    9db1f14e7043 cxgb4/chtls/cxgbit: Keeping the max ofld immediate data size same in cxgb4 and ulds
    399fb9d51ba9 net: axienet: Handle deferred probe on clock properly
    774bacf121c3 tcp: fix SO_RCVLOWAT related hangs under mem pressure
    88f8f40c901c bpf: Fix bpf_fib_lookup helper MTU check for SKB ctx
    5af224ab9486 mac80211: fix potential overflow when multiplying to u32 integers
    fef6f594ea43 xen/netback: fix spurious event detection for common event case
    5c54aaed078d bnxt_en: reverse order of TX disable and carrier off
    a1b692506569 ibmvnic: Set to CLOSED state even on error
    9de820ae6cc1 ath9k: fix data bus crash when setting nf_override via debugfs
    4dcfd936030b bpf_lru_list: Read double-checked variable once without lock
    bcda70ed686f soc: aspeed: snoop: Add clock control logic
    5350b91a73d7 ARM: s3c: fix fiq for clang IAS
    b9634e38ac61 arm64: dts: msm8916: Fix reserved and rfsa nodes unit address
    65f9fdb425bc Bluetooth: btusb: Fix memory leak in btusb_mtk_wmt_recv
    80ace3402885 arm64: dts: armada-3720-turris-mox: rename u-boot mtd partition to a53-firmware
    18ab54cfda05 ARM: dts: armada388-helios4: assign pinctrl to each fan
    3d3098c2ddad ARM: dts: armada388-helios4: assign pinctrl to LEDs
    6b86cbc97589 staging: rtl8723bs: wifi_regd.c: Fix incorrect number of regulatory rules
    c75f541e12f8 usb: dwc2: Make "trimming xfer length" a debug message
    6e89da2174f7 usb: dwc2: Abort transaction after errors with unknown reason
    c192b2cc4d39 usb: dwc2: Do not update data length if it is 0 on inbound transfers
    c7722f664788 ARM: dts: Configure missing thermal interrupt for 4430
    75921ff8bdc4 memory: ti-aemif: Drop child node when jumping out loop
    725cb22009f7 Bluetooth: Put HCI device if inquiry procedure interrupts
    9f2816a99ace Bluetooth: drop HCI device reference before return
    a5542b45c729 usb: gadget: u_audio: Free requests only after callback
    a17fa9039218 ACPICA: Fix exception code class checks
    fb6aa67ab1da cpufreq: brcmstb-avs-cpufreq: Fix resource leaks in ->remove()
    279bc604e2e9 cpufreq: brcmstb-avs-cpufreq: Free resources in error path
    24932862d9ee arm64: dts: allwinner: A64: Limit MMC2 bus frequency to 150 MHz
    f85f6c5572ff arm64: dts: allwinner: H6: Allow up to 150 MHz MMC bus frequency
    06010cf028ce arm64: dts: allwinner: Drop non-removable from SoPine/LTS SD card
    288764e9ac2f arm64: dts: allwinner: H6: properly connect USB PHY to port 0
    c4be5762aab9 arm64: dts: allwinner: A64: properly connect USB PHY to port 0
    c616257c9db4 bpf: Avoid warning when re-casting __bpf_call_base into __bpf_call_base_args
    fa3fc79c7834 bpf: Add bpf_patch_call_args prototype to include/linux/bpf.h
    ab9de93d12c9 memory: mtk-smi: Fix PM usage counter unbalance in mtk_smi ops
    9ab4364ecd99 arm64: dts: exynos: correct PMIC interrupt trigger level on Espresso
    0fb966b5d10b arm64: dts: exynos: correct PMIC interrupt trigger level on TM2
    f0f9e9152375 ARM: dts: exynos: correct PMIC interrupt trigger level on Odroid XU3 family
    d32a94371fc1 ARM: dts: exynos: correct PMIC interrupt trigger level on Arndale Octa
    da40c06e41b5 ARM: dts: exynos: correct PMIC interrupt trigger level on Spring
    e23124590415 ARM: dts: exynos: correct PMIC interrupt trigger level on Rinato
    4a0e0208bbb5 ARM: dts: exynos: correct PMIC interrupt trigger level on Monk
    6d4c9e525833 ARM: dts: exynos: correct PMIC interrupt trigger level on Artik 5
    36c39c445265 Bluetooth: Fix initializing response id after clearing struct
    04792d477215 Bluetooth: hci_uart: Fix a race for write_work scheduling
    b624bc27cf82 Bluetooth: btqcomsmd: Fix a resource leak in error handling paths in the probe function
    a48bb93f6fbe ath10k: Fix error handling in case of CE pipe init failure
    3a954b0d909c random: fix the RNDRESEEDCRNG ioctl
    1be2b1d23529 MIPS: vmlinux.lds.S: add missing PAGE_ALIGNED_DATA() section
    d3b8fa2e1d03 ALSA: usb-audio: Fix PCM buffer allocation in non-vmalloc mode
    166f9bc8ca0d bfq: Avoid false bfq queue merging
    608ba1f447bc virt: vbox: Do not use wait_event_interruptible when called from kernel context
    468bf1861a9c PCI: Decline to resize resources if boot config must be preserved
    213c6f635bab PCI: qcom: Use PHY_REFCLK_USE_PAD only for ipq8064
    c37821e061f0 kdb: Make memory allocations more robust
    6f15d498bfe8 debugfs: do not attempt to create a new file before the filesystem is initalized
    de5ae4087035 debugfs: be more robust at handling improper input in debugfs_lookup()
    d239c08f091a kvm: x86: replace kvm_spec_ctrl_test_value with runtime test on the host
    0a6565762f27 vmlinux.lds.h: add DWARF v5 sections

(From OE-Core rev: 820b55234191890ece87e858a98089326985e868)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Khem Raj
7dd1c5a1ee parselogs: Allow expected kernel messages for qemuppc64
pseries machine emulation ends up with these three messages in kernel
logs which are harmless, so ignore them for now

https://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg5600561.html
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1827162

(From OE-Core rev: f9a5dc7eeb99d211d728f8f7395aa22d4749e6a7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Khem Raj
ed69ef2016 inittab: Add getty launch on hvc0 for qemuppc64
(From OE-Core rev: be3a6b97913cd9e17cd434a2abec1aa3445a3c05)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Khem Raj
f9507e3adb formfactor: Add machine config for qemuppc64
(From OE-Core rev: 13bc8fa9d7ba8c2bf8c7167d0cf959273997f78f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Khem Raj
51b28ccb7c linux-yocto: Enable powerpc64le QEMU
(From OE-Core rev: 3a741b0f39486874b69cc3ed9c4cb95fef01876b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Khem Raj
ef910d7a51 qemuppc64: Add a QEMU machine definition for ppc64
(From OE-Core rev: 68275b25f0a1941cd9b3d2ddca60e9149ba18d37)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Minjae Kim
c59fa5d062 qemu: fix CVE-2021-20203
net: vmxnet3: validate configuration values during activate

Upstream-Status: Acepted [https://lists.gnu.org/archive/html/qemu-devel/2021-01/msg07935.html]
CVE: CVE-2021-20203
(From OE-Core rev: 20d9e13372c4878a87488ea4e470b6ccea3e9dbc)

Signed-off-by: Minjae Kim <flowergom@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Alistair Francis
4b02e98f87 machine: Initial commit of qemuriscv32
(From OE-Core rev: 5610a5b4ef7e95bf208821309ada70eeae47c4f8)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Alistair Francis
5ba6661a78 linux-yocto: Add qemuriscv32 as a compatible machine
(From OE-Core rev: 8a40989f036652aa91873b148f23988f2a996a8a)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Alistair Francis
4aafbcc370 openssl: Enable building for RISC-V 32-bit
(From OE-Core rev: 22691df60abe22bafb83f391549ee9e5026cabef)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Sakib Sajal
1d7da7a6fa buildstats.bbclass: improve timeout handling
The subprocess that runs the commands periodically
times out prematurely even when there is sufficient
time available within the given interval for the
commands to run.

This change improves timeout handling and give all the
commands equal time to run.

(From OE-Core rev: 74e5c438025ed42cfacb993261dc664c3b7959a8)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-11 14:00:36 +00:00
Diego Santa Cruz
aafa7a3f3a sstate-diff-machines.sh: support rpm, deb and tar package types in analysis
The sstate-diff-machines.sh script's --analyze option was only supporting
ipk packages, this adds rpm, deb and tar packages, checking all the used
package types simultaneously.

Without this changing sstate between machines would not report an error
if the difference occured in packages and ipk packaging was not enabled.

(From OE-Core rev: b27bff26a9640dfdfba4fc711a9b28acb4501d2b)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Khem Raj
90a39ca9f4 webkitgtk: Enhance check for atomics to include 1 byte CAS
This fixes linking failures
Source/WTF/wtf/text/StringImpl.h:1115: undefined reference to `__atomic_compare_exchange_1'

(From OE-Core rev: 22cb3fff5a161f03511056c749bfb11e83de1628)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Bruce Ashfield
a42b2bf96e perf: fix reproducibility issues
perf has been failing our reproducible testing due to multiple symbols
containg build paths.

With this commit, we fix the issues:

 1) The following line in the Makefle:

     override PYTHON := $(call get-executable-or-default,PYTHON,$(PYTHON_AUTO))

 "PYTHON" / "PYTHON_AUTO" have the full path as part of the variable. We've
 ensure that the environment is setup and we do not need the full path to be
 captured, since the symbol gets built into the executable, making it not
 reproducible.

 2) The following line:

    srcdir_SQ = $(patsubst %tools/perf,tools/perf,$(subst ','\'',$(srcdir))),

 Captures the full src path of perf, which of course makes it not
 reproducible. We really only need the relative location 'tools/perf', so we
 change the Makefile line to remove everything before 'tools/perf'

 3) OUTPUT is the full path, we have python on the path so we remove it from the
 definition. This is captured in the perf binary, so breaks reproducibility

     PYTHONPATH="BUILD_STR(python)

 4) To avoid bison generating #ifdefs that have captured paths, we make sure
 all the calls have YFLAGS, which contains prefix mapping information.

Upstream-status: OE specific to our cross/build environments. Variants
                 will be developed for upstream

(From OE-Core rev: dea57aa1cd879df4feae1b9595b38c5b6ff74574)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Andrei Gherzan
1d7e44d443 glibc: Backport patch to fix _SC_LEVEL1_ICACHE_LINESIZE
(From OE-Core rev: 89b38e4e7be9e136c71d5860ddca5369f9628393)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Khem Raj
c61948e9b8 webkitgtk: Use linker options to reduce memory overhead during linking
Helps builds on machines with less RAM ( 8G )

(From OE-Core rev: 6ff409d0d70b2ee0580d948c9fe50a1c9f224ac6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Richard Purdie
618b2ce5ca ltp: Fix libswapon issue properly
Replace the libswapon reproducibility workaround with the solution
preferred by upstream.

(From OE-Core rev: 5fc7d4a4c428d5be7103d8e9345d23038dae4247)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Richard Purdie
7c8a944c47 ltp: Fix determinism issue
There was still a remaining issue with reporoducibility based upon the
make version from the host system. Some versions added whitespace for
XXX+=<tab> (e.g. 4.1) and some versions do not (e.g. 4.3).

Replace the determinism patches with those submitted upstream both
for this issue and the previous one.

The LC_ALL setting for sort is dropped as it didn't fix an issue as hoped.

(From OE-Core rev: fda178ace0f4acad931c69300f6af54556472a06)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Yi Fan Yu
744566b658 valgrind: Fix nlcontrolc.vgtest
Backport a recent upstream patch
that redesigned the test.

It's now enabled for both x86-64 and arm.

[YOCTO #14223]

(From OE-Core rev: 64f98a731adaf86c9185c90436db1a6eb8e16b42)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Ross Burton
b0df39edd7 oeqa/selftest: add test to verify that poisoned sysroots are detected
Add a recipe that explicitly searches /usr/include, and use that in
oe-selftest to verify that host include paths are correctly causing
build failures.

(From OE-Core rev: b3e3eba796b843021b264f0e98dc30f983775d58)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Ross Burton
fdb9e868f7 gcc-cross: make use of the system include directories fatal
When building the cross GCC, configure it so that including the host
system include directories is fatal, not just a warning.

(From OE-Core rev: d039d6fbfc9076f081173f6e5cc63c56fe3a5adb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Ross Burton
036dd67bf6 gcc: add an option for --enable-poison-system-directories to be fatal
Extend --enable-poison-system-directories so that it can be an error
instead of a warning by default.

(From OE-Core rev: 1fcaa5f452b2c6b93a6f3dfd57f894cbef5e3379)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Ross Burton
81adf49416 insane: don't check for a warning string that is never output
insane has checks that the compiler isn't printing "CROSS COMPILE
Badness" during configure/compile/install, but this message hasn't been
output by GCC since 2010 (23f522e7).

The current warning is "include location [...] is unsafe for cross-
compilation" and as that is a proper GCC warning, we can make it fatal
in follow-up patches.

(From OE-Core rev: a67e9ebfd5b8002fd4a7d8d27ff0d997817f76e1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
ef39fa61d5 libical: drop the ad hoc native generator build
With a bit of help from upstream I figured out how to do
cross-builds the way upstream intends to.

(From OE-Core rev: f13c2cd727b01a3a11211a42c682ebb5eef9aa11)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
be8062b071 libical: update 3.0.8 -> 3.0.9
Upstream attempted to fix cross-compilation, but seems to have broken it,
so a new ticket was filed, and patch to un-break it was rewritten.

(From OE-Core rev: 062b1d1092b451f36af064b30f73326c0b5e5e4d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
bc177f47c5 librepo: update 1.12.1 -> 1.13.0
(From OE-Core rev: 3ce40697d0b5942f7c69f73b7b7f7cdf72b897fa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
43c40ea7e0 libdnf: replace a musl fix with a better one
(From OE-Core rev: 45a350bf9df8aeeaff1f9ded75307ee60f9897a1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
d3ffc00752 libdnf: update 0.55.2 -> 0.58.0
Sdd a patch to fix musl builds.

(From OE-Core rev: 559410af0496465f9fbe5e87849b42859328959e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Alexander Kanavin
d7522c859d dnf: upgrade 4.5.2 -> 4.6.0
(From OE-Core rev: 6e96939b65ad9d1435ae0dfd8303f0ed8c429cee)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-10 10:30:39 +00:00
Richard Purdie
281eba70c2 bitbake: __init__.py: Fix bitbake debug log handling
For a while I've been puzzled as to why debug logging from runqueue wouldn't
appear on the console with -DD. The logic in the bbdebug handling is inverted
so fix it and now we see the expected messages from runqueue with -D and -DD.

This should then let us debug other issues using those log messages.

(Bitbake rev: 34145b950be03aff8f9b88207cf843abf002ab13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:02:41 +00:00
Richard Purdie
31c4eec40a bitbake: runqueue: Add setscene task overlap sanity check
We've seen hard to debug issues where a task ends up in both the
covered and notcovered list. Add a sanity check to ensure if this
happens in future, we see it in the logs.

(Bitbake rev: 6e001410854792f9bb66a0409a2ac176171b0507)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:02:05 +00:00
Richard Purdie
341208aa87 bitbake: runqueue: Fix task execution corruption issue
We've seen occasional issues where linux-yocto:do_compile_kernelmodules would
run without do_shared_workdir running before it. do_shared_workdir is an
setscene task but never has an sstate object generated so it will always
rerun. This should not happen since compile_kernemodules should only
execute if a setscene that depends on it didn't run and that should trigger
do_shared_workdir not to be marked as covered.

The issue is that build-appliance-image:do_package is one of the tasks which
covers linux-yocto:do_compile_kernelmodules but it is also a noexec task
and has a dependecy on pseudo-native:do_populate_sysroot.

In the problem case, pseudo-native:do_populate_sysroot is unavailable but
marked as covered since it is noexec. The "harddeps" code then also marks it
as notcovered. No task should ever be both covered and notcovered and this
is where the problems come from.

The solution is for the harddeps code only to to fail tasks if they've not
already been handled in some way. The code is assuming code couldn't have
handled revdeps at this point but we now have clear evidence they can.

(Bitbake rev: f66556bbb38449789ceea2fd105e9f68df7fb660)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:02:05 +00:00
Richard Purdie
1b958cd47d ltp: Further extend reproducibility patch
Further issues were highlighted by autobuilder testing, extend the second patch
to cover them.

(From OE-Core rev: 3cf69fba8542e6ebbdb754c7616cf2ad44eec6ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
a65b6e543b linux-yocto/5.4: update to v5.4.101
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    ef1fcccf6e5f Linux 5.4.101
    fe257f47e2c3 scripts/recordmcount.pl: support big endian for ARCH sh
    a2c5e4a083a7 cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.
    e6f7bf29e32d cxgb4: Add new T6 PCI device id 0x6092
    aaf830ad624a NET: usb: qmi_wwan: Adding support for Cinterion MV31
    5f2093be3627 KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()
    3f9fbe703164 mm: provide a saner PTE walking API for modules
    32f070ad274d KVM: do not assume PTE is writable after follow_pfn
    78c7b242573a mm: simplify follow_pte{,pmd}
    8aeef9c9ac7e mm: unexport follow_pte_pmd
    8f869895cf9d scripts: set proper OpenSSL include dir also for sign-file
    c7ed0a50f20a scripts: use pkg-config to locate libcrypto
    c8e3bcc6db7c arm64: tegra: Add power-domain for Tegra210 HDA
    74c8a6af692a ntfs: check for valid standard information attribute
    54a3c25368d9 usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
    96ef50ec7266 USB: quirks: sort quirk entries
    fce3654c648d HID: make arrays usage and value to be the same
    185c2266c1df bpf: Fix truncation handling for mod32 dst reg wrt zero
    fc944ddc0b4a Linux 5.4.100
    38d777aaf2c3 btrfs: fix backport of 2175bf57dc952 in 5.4.95
    c6dd8545fe38 media: pwc: Use correct device for DMA
    524a77aa5d69 xen-blkback: fix error handling in xen_blkbk_map()
    be05138a9cdd xen-scsiback: don't "handle" error by BUG()
    52e8f43af540 xen-netback: don't "handle" error by BUG()
    7109f61d25ff xen-blkback: don't "handle" error by BUG()
    55ccf71c0985 xen/arm: don't ignore return errors from set_phys_to_machine
    feda880969a5 Xen/gntdev: correct error checking in gntdev_map_grant_pages()
    0e382682dda4 Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages()
    da92e41f010e Xen/x86: also check kernel mapping in set_foreign_p2m_mapping()
    104eef952314 Xen/x86: don't bail early from clear_foreign_p2m_mapping()
    49de0a17e68f net: bridge: Fix a warning when del bridge sysfs
    c35ce3d38caa net: qrtr: Fix port ID for control messages
    f49731dfdb20 KVM: SEV: fix double locking due to incorrect backport

(From OE-Core rev: e813c8d776679fc602b06959dd7e280959ffd1ee)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
83e8e824fa linux-yocto/5.10: update to v5.10.19
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    7b43ec8a0cc6 Linux 5.10.19
    983f361bde5e scripts/recordmcount.pl: support big endian for ARCH sh
    6ca89ac39e48 kbuild: fix CONFIG_TRIM_UNUSED_KSYMS build for ppc64
    b8b65310e4b9 cifs: Set CIFS_MOUNT_USE_PREFIX_PATH flag on setting cifs_sb->prepath.
    ec6504c8a1fc cxgb4: Add new T6 PCI device id 0x6092
    b7e51e5ecf39 NET: usb: qmi_wwan: Adding support for Cinterion MV31
    1f683fd2c21f drm/xlnx: fix kmemleak by sending vblank_event in atomic_disable
    3320aa64c322 KVM: Use kvm_pfn_t for local PFN variable in hva_to_pfn_remapped()
    a42150f1c965 mm: provide a saner PTE walking API for modules
    83d42c25868d KVM: do not assume PTE is writable after follow_pfn
    6d9c9ec0d859 mm: simplify follow_pte{,pmd}
    f8d8fb7ae86c mm: unexport follow_pte_pmd
    d2cbae37c3d8 KVM: x86: Zap the oldest MMU pages, not the newest
    729fbb8cb276 hwmon: (dell-smm) Add XPS 15 L502X to fan control blacklist
    956690f5c607 arm64: tegra: Add power-domain for Tegra210 HDA
    d63699364fa3 Bluetooth: btusb: Some Qualcomm Bluetooth adapters stop working
    9f04a05fa1ed ntfs: check for valid standard information attribute
    3e81e1db8b50 ceph: downgrade warning from mdsmap decode to debug
    92c8c930caa0 usb: quirks: add quirk to start video capture on ELMO L-12F document camera reliable
    f8921ed4d330 USB: quirks: sort quirk entries
    95c0528c11b2 nvme-rdma: Use ibdev_to_node instead of dereferencing ->dma_device
    225d207da2e1 RDMA: Lift ibdev_to_node from rds to common code
    77344e18cf84 HID: make arrays usage and value to be the same
    3320bae8c115 bpf: Fix truncation handling for mod32 dst reg wrt zero
    63b9d2e001fd Linux 5.10.18
    c6152fd3ac2b media: pwc: Use correct device for DMA
    a6703c711534 btrfs: fix crash after non-aligned direct IO write with O_DSYNC
    aa0fd921d207 btrfs: fix backport of 2175bf57dc952 in 5.10.13
    df443aad518d Bluetooth: btusb: Always fallback to alt 1 for WBS
    ffec7ee21809 tty: protect tty_write from odd low-level tty disciplines
    00805af45a21 xen-blkback: fix error handling in xen_blkbk_map()
    9bea436fc3fc xen-scsiback: don't "handle" error by BUG()
    2814b3aa38a6 xen-netback: don't "handle" error by BUG()
    8f8ebd6b1cb5 xen-blkback: don't "handle" error by BUG()
    0462dbbe2cab xen/arm: don't ignore return errors from set_phys_to_machine
    be89a0300a58 Xen/gntdev: correct error checking in gntdev_map_grant_pages()
    1a5c2274349f Xen/gntdev: correct dev_bus_addr handling in gntdev_map_grant_pages()
    0c08037b56a7 Xen/x86: also check kernel mapping in set_foreign_p2m_mapping()
    740f4d9d0c34 Xen/x86: don't bail early from clear_foreign_p2m_mapping()
    06ab1e63ec5c net: fix proc_fs init handling in af_packet and tls
    ba2582cd7f20 net: bridge: Fix a warning when del bridge sysfs
    2bce178c254c net: openvswitch: fix TTL decrement exception action execution
    78b12034d4c3 net: sched: incorrect Kconfig dependencies on Netfilter modules
    f9d6533d18fd mt76: mt7615: fix rdd mcu cmd endianness
    977060d4ec5b mt76: mt7915: fix endian issues
    496ef46dbf6d net/sched: fix miss init the mru in qdisc_skb_cb
    40bf5450ba6f mptcp: skip to next candidate if subflow has unacked data
    36e4b9383890 net: qrtr: Fix port ID for control messages
    c313e91b97eb IB/isert: add module param to set sg_tablesize for IO cmd
    5840f8687fdf vdpa_sim: add get_config callback in vdpasim_dev_attr
    8faf3ea12225 vdpa_sim: make 'config' generic and usable for any device type
    0fb67eda6a9c vdpa_sim: store parsed MAC address in a buffer
    0ed8181561be vdpa_sim: add struct vdpasim_dev_attr for device attributes
    c721898723bc vdpa_sim: remove hard-coded virtq count

(From OE-Core rev: ec4133a10343800d68c82fc342059f4026a6479c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
2878a45bdd linux-yocto/5.4: update to v5.4.99
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    850e6a95deb5 Linux 5.4.99
    e8ffaca0fe27 ovl: expand warning in ovl_d_real()
    b55528a18e40 net/qrtr: restrict user-controlled length in qrtr_tun_write_iter()
    99996cd558ba net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS
    ac79b1d94a88 vsock: fix locking in vsock_shutdown()
    c025081b57df vsock/virtio: update credit only if socket is not closed
    2545c5bd8316 net: watchdog: hold device global xmit lock during tx disable
    a5f0b6f7b1c0 net/vmw_vsock: improve locking in vsock_connect_timeout()
    611d93fbea54 net: fix iteration for sctp transport seq_files
    2085d886630a net: gro: do not keep too many GRO packets in napi->rx_list
    5c53956a8da0 net: dsa: call teardown method on probe failure
    0b42ab078369 udp: fix skb_copy_and_csum_datagram with odd segment sizes
    73bc75fda669 rxrpc: Fix clearance of Tx/Rx ring when releasing a call
    b90e8d5d28d1 usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one
    35834bf0b210 usb: dwc3: ulpi: fix checkpatch warning
    0b49b82eeea2 h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
    1019015a5dca i2c: stm32f7: fix configuration of the digital filter
    546d92a43c94 clk: sunxi-ng: mp: fix parent rate change flag check
    b02db23d2647 drm/sun4i: dw-hdmi: Fix max. frequency for H6
    40db7dba50fe drm/sun4i: Fix H6 HDMI PHY configuration
    3063b80b4bdf drm/sun4i: tcon: set sync polarity for tcon1 channel
    107cf5eede74 firmware_loader: align .builtin_fw to 8
    beb85f4927e8 net: hns3: add a check for queue_id in hclge_reset_vf_queue()
    a045956a3b41 x86/build: Disable CET instrumentation in the kernel for 32-bit too
    da1a5442ad2c netfilter: conntrack: skip identical origin tuple in same zone only
    0142b957866f ibmvnic: Clear failover_pending if unable to schedule
    3f8954cc624c net: stmmac: set TxQ mode back to DCB after disabling CBS
    c0daa74b8ed7 selftests: txtimestamp: fix compilation issue
    6107338c2fa2 net: enetc: initialize the RFS and RSS memories
    71d2bd7921db xen/netback: avoid race in xenvif_rx_ring_slots_available()
    ff758e8a77f3 netfilter: flowtable: fix tcp and udp header checksum update
    b110391d1e80 netfilter: nftables: fix possible UAF over chains from packet path in netns
    35c279e02b7e netfilter: xt_recent: Fix attempt to update deleted entry
    7e3a6b820535 bpf: Check for integer overflow when using roundup_pow_of_two()
    e29126678f65 drm/vc4: hvs: Fix buffer overflow with the dlist handling
    69beec4a8b36 mt76: dma: fix a possible memory leak in mt76_add_fragment()
    8a5991c8214b lkdtm: don't move ctors to .rodata
    4f5416710e13 vmlinux.lds.h: Create section for protection against instrumentation
    b7f41a7ad444 ARM: kexec: fix oops after TLB are invalidated
    f49bff85b6db ARM: ensure the signal page contains defined contents
    06350c7f7923 ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL
    e60577e29deb bfq-iosched: Revert "bfq: Fix computation of shallow depth"
    91d604ab2a99 riscv: virt_addr_valid must check the address belongs to linear mapping
    0db8d192ee57 drm/amd/display: Decrement refcount of dc_sink before reassignment
    5c8f63266255 drm/amd/display: Free atomic state after drm_atomic_commit
    f35da70b516f drm/amd/display: Fix dc_sink kref count in emulated_link_detect
    76979956a8af drm/amd/display: Add more Clock Sources to DCN2.1
    4516a0a2c087 nvme-pci: ignore the subsysem NQN on Phison E16
    335a285aa0f0 ovl: skip getxattr of security labels
    43e3cf46afb1 cap: fix conversions on getxattr
    df094aa0aab0 ovl: perform vfs_getxattr() with mounter creds
    cc512646b2e7 platform/x86: hp-wmi: Disable tablet-mode reporting by default
    2bb22cd4dae4 ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled
    2cb208ba0fd1 arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc
    92c40ed0abcb arm64: dts: rockchip: Fix PCIe DT properties on rk3399
    2407794f2298 cgroup: fix psi monitor for root cgroup
    18d691d837b3 arm/xen: Don't probe xenbus as part of an early initcall
    a0997a86f5c0 tracing: Check length before giving out the filter buffer
    74c7bafdd303 tracing: Do not count ftrace events in top level enable output
    4851d7b340e9 gpio: ep93xx: Fix single irqchip with multi gpiochips
    2c5abe0f8e9c gpio: ep93xx: fix BUG_ON port F usage

(From OE-Core rev: c300a9e9d414355af783f2adae53cde0c6319d08)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
68ecd60a40 linux-yocto/5.10: update to v5.10.17 and -rt31
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    13b6016e96f6 Linux 5.10.17
    90ac1981acfa kcov, usb: only collect coverage from __usb_hcd_giveback_urb in softirq
    e5c376c41a57 ovl: expand warning in ovl_d_real()
    57068800258f net/qrtr: restrict user-controlled length in qrtr_tun_write_iter()
    862d1c0edd21 net/rds: restrict iovecs length for RDS_CMSG_RDMA_ARGS
    69e9fd9de17e vsock: fix locking in vsock_shutdown()
    afe31701609b vsock/virtio: update credit only if socket is not closed
    ba3bcb35d783 switchdev: mrp: Remove SWITCHDEV_ATTR_ID_MRP_PORT_STAT
    55ad30cb7f73 bridge: mrp: Fix the usage of br_mrp_port_switchdev_set_state
    e22b963d3ec9 net: watchdog: hold device global xmit lock during tx disable
    bc21a88465c2 net/vmw_vsock: improve locking in vsock_connect_timeout()
    fcee53dc03c5 net/vmw_vsock: fix NULL pointer dereference
    c9013813413e net: fix iteration for sctp transport seq_files
    9e6ce473e96b net: gro: do not keep too many GRO packets in napi->rx_list
    18193e09834c cpufreq: ACPI: Update arch scale-invariance max perf ratio if CPPC is not there
    8a3fc32b322c cpufreq: ACPI: Extend frequency tables to cover boost frequencies
    c930943a3683 net: dsa: call teardown method on probe failure
    46a831d1cc25 udp: fix skb_copy_and_csum_datagram with odd segment sizes
    24f5544f76d3 rxrpc: Fix clearance of Tx/Rx ring when releasing a call
    975a2396e37c arm64: mte: Allow PTRACE_PEEKMTETAGS access to the zero page
    3ed6cc9c2dd0 x86/pci: Create PCI/MSI irqdomain after x86_init.pci.arch_init()
    902c6dcbb146 scripts: set proper OpenSSL include dir also for sign-file
    4761b1aabcfd h8300: fix PREEMPTION build, TI_PRE_COUNT undefined
    f6b5e671c6a7 i2c: stm32f7: fix configuration of the digital filter
    0c0ddf0dd692 clk: sunxi-ng: mp: fix parent rate change flag check
    664b66e3552c drm/sun4i: dw-hdmi: Fix max. frequency for H6
    962168c2bc15 drm/sun4i: Fix H6 HDMI PHY configuration
    e639cb199b8e drm/sun4i: dw-hdmi: always set clock rate
    7596c85a8962 drm/sun4i: tcon: set sync polarity for tcon1 channel
    39e855fa959e firmware_loader: align .builtin_fw to 8
    5ff69431b763 net: hns3: add a check for index in hclge_get_rss_key()
    2c0e46258eab net: hns3: add a check for tqp_index in hclge_get_ring_chain_from_mbx()
    40389ba14d0e net: hns3: add a check for queue_id in hclge_reset_vf_queue()
    6bbc1d5ee0eb net: dsa: felix: implement port flushing on .phylink_mac_link_down
    03bf0f163df2 x86/build: Disable CET instrumentation in the kernel for 32-bit too
    880b1c2164d1 scsi: scsi_debug: Fix a memory leak
    d519197b48c1 netfilter: conntrack: skip identical origin tuple in same zone only
    4067ace5f119 ibmvnic: Clear failover_pending if unable to schedule
    284abe15c17e net: stmmac: set TxQ mode back to DCB after disabling CBS
    25c312214d9f selftests: txtimestamp: fix compilation issue
    5ed60a17d466 net: enetc: initialize the RFS and RSS memories
    8eb3e56fd180 hv_netvsc: Reset the RSC count if NVSP_STAT_FAIL in netvsc_receive()
    23b2eac8b76a net: ipa: set error code in gsi_channel_setup()
    a4595395a915 net: hdlc_x25: Return meaningful error code in x25_open
    50ad6fc36aed xen/netback: avoid race in xenvif_rx_ring_slots_available()
    bbb8c391486b netfilter: flowtable: fix tcp and udp header checksum update
    0a0e5d47670b netfilter: nftables: fix possible UAF over chains from packet path in netns
    ef8f281a6530 selftests: netfilter: fix current year
    f035e97f331e netfilter: xt_recent: Fix attempt to update deleted entry
    8032bf2af9ce bpf: Check for integer overflow when using roundup_pow_of_two()
    52d29b478326 bpf: Unbreak BPF_PROG_TYPE_KPROBE when kprobe is called via do_int3
    40e3b5c12864 dmaengine: idxd: check device state before issue command
    143b87907788 drm/vc4: hvs: Fix buffer overflow with the dlist handling
    1d7c14566924 mt76: dma: fix a possible memory leak in mt76_add_fragment()
    3ade81db49bd ath9k: fix build error with LEDS_CLASS=m
    c39cdf559d26 dmaengine: idxd: fix misc interrupt completion
    3e53d64e9a4d cgroup-v1: add disabled controller check in cgroup1_parse_param()
    2aba53830f5d KVM: x86: cleanup CR3 reserved bits checks
    e624efe36eb6 lkdtm: don't move ctors to .rodata
    d070ccc7ad17 x86/efi: Remove EFI PGD build time checks
    486c1525eba3 Revert "lib: Restrict cpumask_local_spread to houskeeping CPUs"
    cf1cab6edb06 ubsan: implement __ubsan_handle_alignment_assumption
    249735b01123 ARM: kexec: fix oops after TLB are invalidated
    7913ec05fc02 ARM: ensure the signal page contains defined contents
    3dc2ba465001 kallsyms: fix nonconverging kallsyms table with lld
    11648f26b074 ARM: dts: lpc32xx: Revert set default clock rate of HCLK PLL
    d93178df8f75 bfq-iosched: Revert "bfq: Fix computation of shallow depth"
    4fccb50ec95b riscv: virt_addr_valid must check the address belongs to linear mapping
    cd0604db18d2 drm/amd/display: Decrement refcount of dc_sink before reassignment
    8466a0c6bc13 drm/amd/display: Free atomic state after drm_atomic_commit
    1898affc717e drm/amd/display: Fix dc_sink kref count in emulated_link_detect
    b8dc6255bb2d drm/amd/display: Release DSC before acquiring
    4d9a5224d507 drm/amd/display: Add more Clock Sources to DCN2.1
    7963f3ff8edd drm/amd/display: Fix DPCD translation for LTTPR AUX_RD_INTERVAL
    07c8c581d2be nvme-pci: ignore the subsysem NQN on Phison E16
    3895bcd96a9e x86/split_lock: Enable the split lock feature on another Alder Lake CPU
    020680e36d97 scsi: lpfc: Fix EEH encountering oops with NVMe traffic
    116826d615c1 ovl: skip getxattr of security labels
    02dee03d4831 cap: fix conversions on getxattr
    cbb9404a5052 ovl: perform vfs_getxattr() with mounter creds
    f66fa5ec47e0 arm64: dts: rockchip: Disable display for NanoPi R2S
    2a2e911469b5 platform/x86: hp-wmi: Disable tablet-mode reporting by default
    d33b28e01e5c arm64: dts: rockchip: remove interrupt-names property from rk3399 vdec node
    697091f92727 ARM: OMAP2+: Fix suspcious RCU usage splats for omap_enter_idle_coupled
    6c152ac1b687 arm64: dts: qcom: sdm845: Reserve LPASS clocks in gcc
    413a2353be6b arm64: dts: rockchip: Fix PCIe DT properties on rk3399
    8e25e1eef8b9 soc: ti: omap-prm: Fix boot time errors for rst_map_012 bits 0 and 1
    8c5864d21e01 tmpfs: disallow CONFIG_TMPFS_INODE64 on alpha
    b03a0d5cc26d tmpfs: disallow CONFIG_TMPFS_INODE64 on s390
    285b57595d40 dmaengine: move channel device_node deletion to driver
    deae1e6365cd drm/dp_mst: Don't report ports connected if nothing is attached to them
    5a36371f8bb5 drm/i915/tgl+: Make sure TypeC FIA is powered up when initializing it
    e11345ed78b9 Revert "drm/amd/display: Update NV1x SR latency values"
    e72a65802a3e cgroup: fix psi monitor for root cgroup
    89b0c20d80a1 arm/xen: Don't probe xenbus as part of an early initcall
    bef1f148812d drm/i915: Fix overlay frontbuffer tracking
    7c93d8cff582 tracing: Check length before giving out the filter buffer
    a38c1ee16623 tracing: Do not count ftrace events in top level enable output
    d9b7ea4c818c gpio: ep93xx: Fix single irqchip with multi gpiochips
    10538b869a64 gpio: ep93xx: fix BUG_ON port F usage
    e072d454faa4 gpio: mxs: GPIO_MXS should not default to y unconditionally
    039e0f627397 Revert "dts: phy: add GPIO number and active state used for phy reset"
    2b02985bf83e objtool: Fix seg fault with Clang non-section symbols

(From OE-Core rev: aa76ff856e0ceb61bb479c2fa833144be3ddb33d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
76586fd877 linux-yocto/5.10: fix qemumips testimage failures
Integrating the following commit(s) to linux-yocto/5.10:

    513e9332a00 qemumips32: disable CONFIG_COMPACTION

As mentioned in yocto bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13992
testimages are failing due to issues with kernel page migration/compaction
function that does not work very well with MIPS kernel HIGHMEM that
is needed for 512Mb.

A valid workaround is to disable CONFIG_COMPACTION and the problematic
migration functionality is also disabled.

[YOCTO: #13992]

(From OE-Core rev: 6f7ac59c4202ea8c44065db946341c9db415b267)

Signed-off-by: Victor Kamensky <victor.kamensky7@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Bruce Ashfield
6f147b07f7 linux-yocto/5.10: fix x86 32bit boot warnings
Integrating the following commit(s) to linux-yocto/5.10:

    34523d7c8476 qemux86: add configuration symbol to select values

In recent 5.10 kernels, the following traces have started appearing
on boot;

    [    1.010513] EIP: free_msi_irqs+0x49/0x180
    [    1.012036] Code: 74 11 8b 47 08 85 c0 0f 85 f4 00 00 00 8b 3f 39 df
    75 ef 8b 45 ec 8b 80 c8 01 00 00 85 c0 74 0a f6 40 14 01 0f 85 1c 01 00
    00 <0f> 0b 8b 45 ec 8b b8 d0 01 00 00 8b 17 39 fb 75 08 eb 40 8d 74 26
    [    1.016723] EAX: 00000000 EBX: c12199d0 ECX: c12199d0 EDX: 00000000
    [    1.021648] ESI: ffffffed EDI: c12199d0 EBP: c112bc78 ESP: c112bc64
    [    1.023517] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 EFLAGS: 00010246
    [    1.025449] CR0: 80050033 CR2: 00000000 CR3: 06cea000 CR4: 000006d0
    [    1.027293] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
    [    1.029115] DR6: fffe0ff0 DR7: 00000400
    [    1.030718] Call Trace:
    [    1.031986]  msix_capability_init+0x228/0x400
    [    1.033542]  pci_alloc_irq_vectors_affinity+0x18c/0x210
    [    1.035216]  vp_find_vqs_msix+0xca/0x460
    [    1.036693]  vp_find_vqs+0x29/0x190
    [    1.038097]  ? setup_vq+0x240/0x240
    [    1.039519]  vp_modern_find_vqs+0x21/0x80
    [    1.041014]  ? setup_vq+0x240/0x240
    [    1.042444]  init_vq+0x164/0x280
    [    1.043813]  ? ncpus_cmp_func+0x10/0x10
    [    1.045264]  virtblk_probe+0x104/0x770
    [    1.046860]  virtio_dev_probe+0x1c0/0x2a0
    [    1.048357]  really_probe+0xd5/0x3b0
    [    1.053029]  driver_probe_device+0x49/0xa0
    [    1.054539]  device_driver_attach+0x99/0xa0
    [    1.056077]  __driver_attach+0x60/0xe0
    [    1.057533]  ? device_driver_attach+0xa0/0xa0
    [    1.059136]  bus_for_each_dev+0x5b/0xa0
    [    1.060600]  driver_attach+0x19/0x20
    [    1.062033]  ? device_driver_attach+0xa0/0xa0
    [    1.063903]  bus_add_driver+0xed/0x1b0
    [    1.065358]  driver_register+0x79/0xd0
    [    1.066791]  ? loop_init+0x135/0x135
    [    1.068209]  register_virtio_driver+0x1b/0x30
    [    1.069742]  init+0x49/0x6f
    [    1.071040]  do_one_initcall+0x49/0x1e0
    [    1.072514]  kernel_init_freeable+0x16b/0x1b5
    [    1.074060]  ? rest_init+0xad/0xad
    [    1.075477]  kernel_init+0xd/0xf3
    [    1.076844]  ret_from_fork+0x1c/0x28
    [    1.078267] ---[ end trace 4deef4a5c447cb13 ]---

These are due to several changes in the way that MSI interrupts are
assigned and their fallbacks if they fail. Our 32bit qemu boot for
x86 does not have the right support by default, hence we get the
warnings (but boot continues).

If we define PCI_MSI_ARCH_FALLBACKS only for the qemux86 platform we
can supress the warnings and run without issues.

[YOCTO: #14219]

(From OE-Core rev: d9fd035d086e8980683ced8cda4722850b2db24f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Richard Purdie
a67183311a build-appliance-image: Drop kernel module handling
kernel-devsrc is a dependency of the image so we no longer need the symlink
creation code or the module-base inherit/dependency as it is included in
that recipe. The KERNEL_VERSION usage was broken anyway as the module
usage would have needed a:

do_image[depends] += "build-appliance-image:do_configure"

which wasn't present so it was indeterminate if KERNEL_VERSION was set
correctly.

(From OE-Core rev: a46b43bb67b2f87ec370480e50a2e2d111555b75)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Oleksandr Kravchuk
a73c8d4cfc python3-setuptools: update to 54.1.0
(From OE-Core rev: d0200689ba8373db188fa8d626efa84010eda457)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Khem Raj
19ab90c30d python3-cython: Check for files before editing
If using debug-without-src policy then usr/src/debug won't exist,
therefore the function will fail due to missing files, adding a check
for files to exist before editing them fixes it.

(From OE-Core rev: 0eb85a2670c9250350b66647f4cbdae446be830f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-09 00:01:24 +00:00
Peter Kjellerstedt
a7e117c8ed meson: Correctly set uid/gid of installed files
In 0.57.0, the uid and gid arguments passed to os.chown() when using
install_mode were accidentally swapped, causing files to end up with
incorrect owner/group if the owner and group are not the same.

(From OE-Core rev: 8f19fb08b66cd75616345e96fa5718048daae7fe)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Chen Qi
fac55b36a4 python3-jinja2: set CVE_PRODUCT
Set CVE_PRODUCT for more accurate CVE scanning.

(From OE-Core rev: aefcc7a7dd012530ed846292caaed70d20589a3a)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Dorinda
76e7ccfc30 meta/recipes-extended: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: cc6c7af900ae0196a62b7fa1375c55bbcd8e68b4)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Dorinda
85289a3107 meta-skeleton: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: 89d8f20353bacb089bc18833d3ff032b525613ee)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Dorinda
e711fe63dc meta/recipes-rt: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: 95a86ac1c12414c1b4983880145aec55bd9a38a4)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Purushottam Choudhary
cc300fb849 shadow: whitelist CVE-2013-4235
This CVE is about TOCTOU (time-of-check time-of-use)
race condition when copying and removing directory trees
which had very low severity problem and marked as closed
and won't fix. Therefore whitelisted CVE-2013-4235.
Master, gatesgarth and dunfell all have shadow version 4.81.
Hence, this is applicable for master, gatesgarth and dunfell.
Link: https://bugzilla.redhat.com/show_bug.cgi?id=884658

(From OE-Core rev: b1c6cd87bee6b019619dc5728fd6c36bc87ed696)

Signed-off-by: Sana Kazi <Sana.Kazi@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Wang Mingyu
a595ac00c9 vala: upgrade 0.50.3 -> 0.50.4
(From OE-Core rev: 1b344399b907b04b561bb25950db28b82a13856c)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Wang Mingyu
25197551fd taglib: upgrade 1.11.1 -> 1.12
CVE-2017-12678.patch
CVE-2018-11439.patch
removed since they are included in 1.12

(From OE-Core rev: dc999d351ec599e4c534281585152087ff16d345)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Wang Mingyu
93b1881f5d stress-ng: upgrade 0.12.03 -> 0.12.04
(From OE-Core rev: f2e1ea8df71d9ac312bc9f7c341477c8fc7c3923)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Wang Mingyu
c256971550 shaderc: upgrade 2020.4 -> 2020.5
0003-cmake-add-option-to-skip-build-the-examples.patch removed since it
is included in 2020.5

(From OE-Core rev: bdcf0bf7b482f145ac61d35c0d74450c54bb8d11)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Ross Burton
680da24f4b ptest-packagelists: remove libinput-ptest
The libinput ptests are very sensitive to system load, and will fail
if events from the kernel don't arrive sufficiently fast (from 20ms to
200ms depending on the test).

This is by design as input processing is inherently time-sensitive and
to avoid code bugs the test suite considers timing problems fatal.

As this is causing a large proportion of ptest runs to fail in libinput,
disable the execution of these tests for now.

[ YOCTO #14164 ]

(From OE-Core rev: 54e2eb809bdfedb64219f37b82589372bbc96905)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Charlie Davies
27d0fcddd1 bitbake-bblayers/create: Add optional layerid argument
This commit adds an optional layerid argument which can
be passed to the bitbake-layers create-layer command.
This allows for creation of a layer with a layer id
different to that of the layer's name. The default
behaviour of the command where the layer's id is set
to the layer's name is still retained.

(From OE-Core rev: 8f896bd9b34f19535838757c8f3049bae438e4fe)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Charlie Davies
b7d1f361ff bitbake-bblayers/create: Fix incorrect priority help message
The help message for the optional argument of setting
the priority of the new layer was incorrect.

(From OE-Core rev: d10d928c6030951994bc2404cde78137c86917a4)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Stefan Schmidt
78df4ab73e systemd-conf: do not ask for DHCP if configured on kernel command line
In cases where we configure the IP address and more on the kernel
command line with ip= we should not ask for DHCP with systemd-networkd
later on. We have such a setup with our runqemu script.

With this match in place we can also deploy this unit on qemu systems.

(From OE-Core rev: 8c4981e740c0e630200dbc77c9e3dfd3e43b790b)

Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Andrei Gherzan
0904a74e33 epiphany: Add package configuration for building in developer mode
(From OE-Core rev: 51ca329ea9cd51b699545bae2cf2a6a02f70a887)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Andrei Gherzan
585bf35ebe gcr: Add support for building without x11
(From OE-Core rev: d04d813189f388bc8505e29edc3166673a60c746)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Alexander Kanavin
750293518d oeqa/weston: correctly run wayland-info when systemd is in use
Under systemd weston's socket is in /run, not in /run/user/0.

(From OE-Core rev: ea7dfd857ce3779745dccda0cbfd93b5e5de1a36)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Alexander Kanavin
d8b2c8cee9 rootfs-postcommands: correctly set systemd target for weston images
Otherwise, weston wouldn't actually start when systemd is in use.

(From OE-Core rev: 6b6287b7e5190d1af2e3aefddb2f72a8d0d79968)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Alexander Kanavin
eab334ade5 core-image.bbclass: add a weston IMAGE_FEATURE, similar to x11-base
(From OE-Core rev: 5dd4bf88f59d3dddb5368163baba02f053eec502)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Ross Burton
a05bd5630d libinput: less parallism to increase chances the test suite works
Discussion with the libinput maintainer has confirmed that many of the
libinput test cases need to run on a relatively unloaded system,
because input handling is by definition time-sensitive and any
event mismatches are considered a failure to avoid broken code hiding.

We can't expect libinput to run on an otherside unloaded machine
because the autobuilder ptests execute in a qemu at the same time
as builds can be happening.  We can however reduce the amount of
parallellism happening in the libinput test suite to give it a better
chance of succeeding.

This may not be enough, but it's worth a go.

[ YOCTO #14164 ]

(From OE-Core rev: 5702f7c489ed45b7f4a69c78aa8215e2c98e21c4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Diego Santa Cruz
ed253541ee rpm: split build and extra functionality into separate packages
Having all the rpm build related tools in the main package requires
adding runtime dependencies on perl and python3-core, so adding
rpm to a target image can pull quite many unneeded packages to satisfy
the dependencies.

This splits all the build related tools into rpm-build and moves the
bash, perl and python3-core runtime dependencies to that package.

Also, the rpmsign tool is split into rpm-sign and rpm2archive (only
built if archive is in PACKAGECONFIG) into rpm-archive. These are
separate packages since they are not really related to building, so
do not belong in rpm-build, but are not necessarily wanted in
target images when rpm is included.

(From OE-Core rev: 0dea6cccc1c638078846e6eb8e48e8ef69c87618)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:04 +00:00
Stefan Ghinea
5623cf33c1 wpa-supplicant: fix CVE-2021-27803
A vulnerability was discovered in how p2p/p2p_pd.c in wpa_supplicant
before 2.10 processes P2P (Wi-Fi Direct) provision discovery requests.
It could result in denial of service or other impact (potentially
execution of arbitrary code), for an attacker within radio range.

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-27803

Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=8460e3230988ef2ec13ce6b69b687e941f6cdb32

(From OE-Core rev: 81e4260b83c52558c320fd7d1c1eafcb312ad6be)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Jon Mason
ca1382756c runqemu: use "raw" instead of "bin" for ovmf
bin is not an acceptable format for qemu and will throw an error is set.
The correct format in this case is raw.

(From OE-Core rev: cd279aeb986b4676ea8ecb1e7b12c7e29e83460a)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Change-Id: I9d78e356d39ecb15bef886c19870b029d9badd65
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Martin Jansa
9852a5caf5 glib-2.0: show an error about --cross-file only when such file exists
(From OE-Core rev: 6bd44129a76bdae1320f76035b23568a9c2b4e57)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Martin Jansa
57077fa931 glib-2.0: call os.path.normpath on THISDIR
* some build environments have relative paths in THISDIR, e.g. from OEROOT set in:
  1e3345c26c/conf/bblayers.conf (L4)
  and then the paths in filename normalized in:
  filename = os.path.normpath(os.path.join(path, meson.cross.d, element))
  don't match.

* COREBASE used here before didn't have this issue because the value is already
  normalized when set in:
  meta/conf/layer.conf:COREBASE = '${@os.path.normpath("${LAYERDIR}/../")}'

(From OE-Core rev: 7977ff07d181d269bd52f98852d1076b268db614)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Ulrich ?lmann
80e46c7fb8 gstreamer1.0: add support for coretracers
As can be seen in [1] a requirement for enabling 'coretracers' is to have
'tracer-hooks' enabled, as well.

[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/1.18.3/plugins/tracers/meson.build#L1

(From OE-Core rev: 60dab210a9a2cc101f41ca5e46eed7e5e83ff89f)

Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Vivien Didelot
85cc3aa328 systemd-container: recommends StartExecPre modules
The systemd-nspawn@.service file uses the following line to try
loading the tun, loop and dm-mod kernel modules, in a non fatal way:

    ExecStartPre=-/sbin/modprobe -abq tun loop dm-mod

A non-zero return code from modprobe will not stop the service from
starting, but it would be convenient to inform the user about this
optional support, so add these modules to RRECOMMENDS.

(From OE-Core rev: 9644285dc8a7e7c52b5f7554ef06d9ff53167832)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Vivien Didelot
67763ccd1c systemd-container: recommend tar
If systemd is configured with importd, "machinectl import-*" can be
used to add container trees under /var/lib/machines.

But "machinectl import-tar" makes use of "tar --numeric-owner" which
is not supported by the busybox binary, as shown below:

    # machinectl import-tar /tmp/container.tar.xz
    Enqueued transfer job 1. Press C-c to continue download in background.
    Importing '/tmp/container.tar.xz', saving as 'container'.
    Imported 0%.
    tar: unrecognized option '--numeric-owner'
    BusyBox v1.31.1 () multi-call binary.
    Usage: tar c|x|t [-ZzJjahmvokO] [-f TARFILE] [-C DIR] [-T FILE] [-X FILE] [FILE]...
    Failed to decode and write: Broken pipe
    Exiting.

To fix this, recommend the standard tar package.

Cc: Chen Qi <Qi.Chen@windriver.com>
(From OE-Core rev: 801658f0161270c76829a123a4f531ca5a1f73db)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Vivien Didelot
530babd3f8 systemd-container: sort RRECOMMENDS alphabetically
Sort packages in RRECOMMENDS_${PN}-container alphabetically to avoid
subjective sorting and ease future additions.

(From OE-Core rev: 636c048b9d49b0f0bf083add688b4de80f3e37cd)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:39:03 +00:00
Richard Purdie
001003eaad ltp: Fix another determinism issue
After the other fixes there remained occasional problems. Fix another makefile
sorting problem affecting the disktest binary.

(From OE-Core rev: 636f4d1f6ed8a95e3a583abc5904ab8dbc6184af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06 22:34:20 +00:00
Meh Mbeh Ida Delphine
c8075ed8f1 recipes-support: Add missing HOMEPAGE and DESCRIPTION for recipes
Fixes: [YOCTO #13471]

(From OE-Core rev: 6db24928d62aeb093a0e6da6619713eaca57a96f)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:36 +00:00
Meh Mbeh Ida Delphine
e03ad3ff5a recipes-sato: Add missing HOMEPAGE and DESCRIPTION for recipes
Fixes: [YOCTO #13471]

(From OE-Core rev: dad63dcd37948388a7a1ffe7f9af187306295d5a)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:36 +00:00
Meh Mbeh Ida Delphine
0020bef146 recipes-multimedia: Add missing HOMEPAGE and DESCRIPTION for recipes.
Fixes: [YOCTO #13471]

(From OE-Core rev: 312994268bb68a012a61c99e1c3697e8de60a2ce)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:36 +00:00
zhengruoqin
aafc18758d python3-magic: upgrade 0.4.20 -> 0.4.22
(From OE-Core rev: fabe66090d9046c66282b8e6152ae8fa0cfcad23)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
zhengruoqin
239556c7c1 sysvinit: upgrade 2.98 -> 2.99
(From OE-Core rev: d096fa4c412e6e562846282a9160dd5c38731aed)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
zhengruoqin
457299872e python3-git: upgrade 3.1.13 -> 3.1.14
(From OE-Core rev: efd9d653b76a8887643aa2361a25682039286579)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
zhengruoqin
eea3b37f8d python3-cython: upgrade 0.29.21 -> 0.29.22
(From OE-Core rev: 850624d39ff5a2fe35efa6719b4139c8f934d924)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
zhengruoqin
a5974098fa log4cplus: upgrade 2.0.5 -> 2.0.6
(From OE-Core rev: 386ea5ad5a78fce87fad4677575ad26f9cc09e30)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
zhengruoqin
cef6db96d9 libxcrypt-compat: upgrade 4.4.17 -> 4.4.18
When the libxcrypt version is updated, libxcrypt-compat is omitted.

(From OE-Core rev: a353882899da414b109acbb3b7882239265fe248)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Martin Jansa
7d55321118 coreutils: use u-a for base32
* busybox 1.33.0 added base32 applet and now do_rootfs for read-only images is failing with:
  do_rootfs: busybox.postinst returned 1, marking as unpacked only, configuration required on target.
  ERROR: image-devel-1.0-r2 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
         then please place them into pkg_postinst_ontarget_${PN} ().
         Deferring to first boot via 'exit 1' is no longer supported.
         Details of the failure are in image-devel/1.0-r2/temp/log.do_rootfs.

  and log.do_rootfs shows:
  update-alternatives: Error: not linking image-devel/1.0-r2/rootfs/usr/bin/base32 to /usr/bin/busybox.nosuid since image-devel/1.0-r2/rootfs/usr/bin/base32 exists and is not a link

(From OE-Core rev: d2365442568c206a13165f8c71a7b7a5d0c6ff4e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Colin Finck
aaef86ad03 dosfstools: Build --without-iconv
The new version has an internal CP850 conversion table, hence it doesn't
need iconv anymore (and currently errors when trying).

(From OE-Core rev: 647cd1134a543406f0f741d3f83d5f5ce78bcd0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Richard Purdie
a91010ba3e python3-cython: Remove build paths from debug sources
There are build paths which are in generated sources injected
into ${PN}-src. These are in generated files and don't influence the
binary output. As such we can correct them at do_package time by
tweaking in an appropriately injected function. This fixes
the reproducbility of the recipe.

(From OE-Core rev: cc1de818247c9ae329fdc0536658b3968a4caea2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Richard Purdie
e2bf02e7bd ltp: Fixing determinism issues
Add a patch adding sorting to a couple of points in the Makefiles
which removes most of the determinism issues in ltp.

Build swapon before the main build to ensure libswapon.o is built
deterministically as it races with swapoff.

All issues reported on the upstream mailing list.

(From OE-Core rev: 0f51f9a37e5d058bce28cfe7b9a32a895f83c091)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Jan-Simon Moeller
8784e75a71 Add core-image-weston to reproducible build tests
This change adds core-image-weston to the reproducible build test.
For this we also need to update the static-group and static-passwd.

Besides the world package build which includes the wayland package,
this adds a wayland/weston-based image to the reproducible build test.

(From OE-Core rev: ffc4de47988ccf7568eecc8a27e8964beeaaacfb)

Signed-off-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Dorinda
5643598a63 binutils: add PACKAGECONFIG for debuginfod
Added PACKAGECONFIG for debuginfod

(From OE-Core rev: 418c3a5c90d5d0bef67e5fba04a19952dbb308b4)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Dorinda
5fc2c2ea51 scripts/oe-debuginfod: script that fetches package manager directory
Added a script that fetches the package manager directory and runs the elfutils-native debuginfod on DEPLOY_DIR
Added a check to ensure that PACKAGECONFIG options is set in local.conf

(From OE-Core rev: 410083f93e2c986247cf3a2ff5050847e10cf359)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Meh Mbeh Ida Delphine
3ca5157080 recipes-kernel: Add missing HOMEPAGE and DESCRIPTION for recipes.
Fixes: [YOCTO #13471]

(From OE-Core rev: 16409694f19e4d3b7bdc10a7f71c67938ce5f3ff)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Meh Mbeh Ida Delphine
1f0b83c5eb recipes-graphics: Add missing HOMEPAGE and DESCRIPTION for recipes.
Fixes: [YOCTO #13471]

(From OE-Core rev: 24eac1fef8892484cc3dede1853d180e0c235120)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Meh Mbeh Ida Delphine
30f694fec7 recipes-gnome: Add missing HOMEPAGE and DESCRIPTION for recipes
Fixes: [YOCTO #13471]

(From OE-Core rev: e501e87b847d915e97b11d966b5781059daaf362)

Signed-off-by: Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Alexander Kanavin
d53dddd7ca scripts/lib/wic/partition.py: do not set FAT size
Modern dosfstools automatically determines the appropriate size
and will error out if something that doesn't make sense is
supplied on the command line.

(From OE-Core rev: b85a09ea450a5e8f49418f4a930805fbb88dc83b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 20:39:35 +00:00
Richard Purdie
4215e728a7 lttng: Fix reproducibility issues
Add a hack to hardcode in specific rpaths which we then remove,
allowing the build to be reproducible.

Strip build patches out of one of the test scripts too.

(From OE-Core rev: 18299a114c66280ba2d00becc3fae235d3a6cbd7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Richard Purdie
0dee498104 qemu: Determinism fixes
Add a patch to address two determinism issues and allow reproducible
builds.

Also strip full paths we don't need out of some ptest files,
we can use the installed binaries.

(From OE-Core rev: 14e7cc6c6040b983024bec56fbd32d9101507ff0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Jate Sujjavanich
e3ef99a911 iputils: Fix cap_net_raw for installed binaries
Add libcap-native to libcap PACKAGECONFIG  making native setcap available
during the build. This assures its availability during install and prevents
meson from searching absolute paths and the resulting possible host
contamination.

Move -DNO_SETCAP_OR_SUID=true to the libcap PACKAGECONFIG negative case
This will prevent possible non-determinism for the setuid case.

(From OE-Core rev: 6b31f6b9a6a12a12d1d10b8634012e50ef778ec4)

Signed-off-by: Jate Sujjavanich <jatedev@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
He Zhe
3f7a2ca81b glibc: Disable CPU ISA level requirement check
We experience the following error and fail to boot on qemu64 machine

/lib64/libc.so.6: CPU ISA level is lower than required
Kernel panic - not syncing: Attempted to kill init! exitcode=0x00007f00

As stated in [1],

Passing -march= causes glibc to add annotations not compatible to run
result on -march= as too high ISA level is inferred.

ISA level is a new feature of 2.33 release.

Until it's fixed let's disable ISA level inference with
    libc_cv_include_x86_isa_level=no
(no better configure option yet).

[1] https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dbd6a821ff753e3b41324c4fb7c58cf65eeea33

(From OE-Core rev: 91264e14a088013b138e82520744f79fa7c8d585)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Mike Crowe
b81b46ea48 gcc-sanitizers: Move content from gcclibdir into libdir
In e9e5744ba8b0d43c8b874d365f83071ce20bf0a1, Khem Raj wrote:
> OE does not use the traditional /usr/lib/gcc prefix to store
> gcc-runtime it basically is moved into libdir, however some newer
> files were installed by newer versions of gcc especially libgomp (
> omp.h openacc.h ) into gcclibdir, so we have content in both
> directories, this confuses other tools which are trying to guess the
> gcc installation and its runtime location, since now we have two
> directories, the tools either choose one or other and we get
> inconsistent behavior, e.g. clang for aarch64 uses /usr/lib but same
> clang for riscv64 chose /usr/lib/gcc

> This change ensures that OE ends up with single valid location for gcc
> runtime files

I think that the same thing needs to happen in gcc-sanitizers.inc,
otherwise I get errors like:

| .../recipe-sysroot/usr/include/gpg-error-64.h:884:11: fatal error: sanitizer/lsan_interface.h: No such file or directory

when attempting to compile with sanitizers enabled.

FILES_${PN} needs updating to match too.

(From OE-Core rev: 862b4fac3ee7d951758c8c93462331ad52bf0190)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Alexander Kanavin
132d7f5541 libbsd: udpate 0.10.0 -> 0.11.3
License-Update: copyright years, file lists

(From OE-Core rev: e4604b40075c56a610068179c401537551c93569)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Alexander Kanavin
7eec30de9f libmd: add a recipe
This is required by new versions of libbsd.

(From OE-Core rev: 4d727d36c50da0c07e3f2991eda7bbac6c042180)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:34 +00:00
Alexander Kanavin
1ad1e4f159 pinentry: update 1.1.0 -> 1.1.1
Refresh xxx-config->pkg-config patches.

(From OE-Core rev: 0995cd6083a42469aa2913c4d696b0b46e336854)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
31421cc447 libgcrypt: update 1.8.7 -> 1.9.2
Drop backports.

Add a patch that inserts missing spaces in Makefiles.

Drop determinism.patch: upstream has moved the git
stuff to an external script, which has a guard that
checkes for presence of .git/ in source tree.

License-Update: additional source file listed

(From OE-Core rev: ad2eae801c7809db3f4830f19efdad78d1a62d59)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
de8475d206 webkitgtk: update 2.30.4 -> 2.30.5
(From OE-Core rev: 192a3308cc0bd7f200e2f9aef759c90f54dd090b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
a0c3cf90f4 vulkan-samples: update to latest revision
(From OE-Core rev: a2a0c60b0c41e4f9b72d402447d90d98fc2456bc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
c9dcdd0b7a pango: update 1.48.0 -> 1.48.2
Drop a patch; issue fixed upstream:
fcda7d6f9b

(From OE-Core rev: 02dd8059d47a5fd5d3c0724073aa42cd9bcba0e2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
6d0c0d7442 ptest-perl/run-ptest: address failures caused by perl 5.32.1
Particulary, . needs to be explicitly specified so that perl
looks there when loading items in 'require'.

(From OE-Core rev: 324d74c7e541b44b9c4240056b006f4c59ef34af)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
4d1f48f6d9 openssl: address ptest failures caused by perl 5.32.1
For some reason the new perl no longer has . in list of
directories searched in 'require', and so the file
needs to be copied where perl can find it.

(From OE-Core rev: 2ae879ddb72bd316e49a8200e99887dadb02b3dc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
c621b08c82 perl: update 5.32.0 -> 5.32.1
Drop perl-cross-makefile.patch as it is merged upstream.

(From OE-Core rev: 7459853328d3e8a43d04a75181a46bd42b8fb076)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
02f2ecabc3 meson: update 0.56.2 -> 0.57.1
Replace hacky 0001-gnome.py-prefix-g-i-paths-with-PKG_CONFIG_SYSROOT_DI.patch
with entries in meson.cross.

Rest of the patches are refreshed.

(From OE-Core rev: 85b4aea551ac4a0f47f916957dd9707c81813a2b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
ecabf7386f elfutils: update 0.182 -> 0.183
Drop 0001-ppc_initreg.c-Incliude-asm-ptrace.h-for-pt_regs-defi.patch
Drop 0001-musl-obstack-fts.patch
(upstream has fixed the issues).

Drop a few other chunks where upstream has fixed the issues
or removed the code being patched.

Adjust ptests to pass again.

(From OE-Core rev: d358212bb557c99b266a0022ce973782c8c4d260)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
f33d697fa6 e2fsprogs: update 1.45.7 -> 1.46.1
Drop gettext patches; upstream has fixed the issues.

(From OE-Core rev: 36fabe2bec023afec9fc704c7f242e6f1ca554c5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Alexander Kanavin
b522f24723 dosfstools: update 4.1 -> 4.2
udev support had been dropped upstream.

The tools now have internal locale support so the glibc locale
dependencies can be dropped.

(From OE-Core rev: 01bb6e133e9b06c848d864b0581efc50020625bf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Richard Purdie
2f6d6b9eca selftest/reproducible: Add ability to pull some objects from sstate
When debugging why a single recipe doesn't reproduce, its a pain
to wait for the world to rebuild from scratch. Update the selftest
to allow this to be configured, for example you could set
targets as ['perf'] and sstate_targets as ['virtual/kernel']
and then it should only be rebuilding perf in the test rather than
things like the toolchain (parts of the kernel may be unavoiable
as they're not in sstate).

Can be run as:

OEQA_DEBUGGING_SAVED_OUTPUT=/tmp/perf-diffoscope oe-selftest -r reproducible.ReproducibleTests.test_reproducible_builds

to save diffoscope output.

(From OE-Core rev: 132a17d02f29711572e14a2f38a841323fbb6df6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-02 14:15:33 +00:00
Richard Purdie
ed7151f985 systemd-bootchart: Disable LTO to fix reproducibility
LTO likely doesn't buy us much here, disable it to allow the binaries
to be reproducible.

(From OE-Core rev: b4b5e52b5bd98deb0855700e4aae6228d52e5a83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Richard Purdie
9b7971fcc5 efivar: Fix reproducibility issue
Add sorting to the globbing within the Makefile to make the output
reproducible.

(From OE-Core rev: c43ae151f572786818fe048233b4bbfd6b0ba2cf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Richard Purdie
abfe88ca97 swig: Fix reproducibility issue
Remove hardcoding the build configuration into the help/version output
from swig to make the binaries reproducible.

(From OE-Core rev: 7ed28ae9717ea9dad4e131012186d5f08e8f0bec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Richard Purdie
ab9e43134b syslinux: Fix reproducibility issues
Add sorting to wildcard expansion in the makefile to make builds
reproducible.

(From OE-Core rev: 5541ba76ccc0c416f315bc0dc14a20a33059bd5f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Alexander Kanavin
00dcf14b36 syslinux: use NO_INLINE_FUNCS in CFLAGS
This is required with latest versions of e2fsprogs.

(From OE-Core rev: d35fd000a85b220cd1a7ea195d8c9111ddf7749b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Alexander Kanavin
f9c33cf551 webkit/wpe: only check even versions
(From OE-Core rev: 3c23b97d52e054ce20f94b2a5716c425a4f9fa2c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
605dcc2ad8 kea: Fix configure test error with gcc11
Since the test program fails to compile, configure thinks compiler is
not having thread support and bails out

(From OE-Core rev: 232f97405a3e69cf9e54d4de0a8f1593da747603)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
b7fdc5b4d9 igt-gpu-tools: Fix warnings with gcc 11
(From OE-Core rev: 5537ad961e5d0663c2d293abe8312bd2b614d9ff)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
671beb4de7 puzzles: Fix stringop-overflow warning
gcc11 is pedantic about it and finds a case where this
maybe used uninitialized

(From OE-Core rev: 06f298e6d1777093b61baef3873813a809b010bd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
e7dc30cefd dtc: Fix array-bounds error
Fixes
| libfdt/libfdt.h:251:28: error: array subscript 'struct fdt_header[0]' is partly outside array bounds of 'unsigned char[4]' [-Werror=array-bounds]
|   251 |                 fdth->name = cpu_to_fdt32(val); \
|       |                 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~

(From OE-Core rev: cd4fe4ec658ce4861fc970149f78b0ca7fda8fe0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
42c9988492 llvm: Fix build with c++17
Fixes
/benchmark_register.h:17:30: error: 'numeric_limits' is not a member of 'std'
|   static const T kmax = std::numeric_limits<T>::max();
|                              ^~~~~~~~~~~~~~

(From OE-Core rev: e093eff9d94c02939ca398d59d66d1b1dbc8a12e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Khem Raj
c5992b47e8 rxvt-unicode: Do not use throw specifications
Fixes build with -std=c++17

| ../../rxvt-unicode-9.22/src/../libev/ev++.h:379:46: error: ISO C++17 does not allow dynamic exception specifications
|   379 |     default_loop (unsigned int flags = AUTO) throw (bad_loop)
|       |                                              ^~~~~

(From OE-Core rev: f437b226aac498240bc1e3a02eb0257a7deeedea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Wang Mingyu
d3ad65ca4f iproute2: upgrade 5.10.0 -> 5.11.0
(From OE-Core rev: a3ce10f29c5c76da82d09e7bfe3d1a25d5230adf)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Wang Mingyu
e9c8a6ec9a glslang: upgrade 11.1.0 -> 11.2.0
(From OE-Core rev: 21e853a6c6d6629567f88d4ad9f12b76a876d3cb)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Wang Mingyu
5fc23a1df8 eudev: upgrade 3.2.9 -> 3.2.10
(From OE-Core rev: 9c36b944502c146e4160fb9363ec8dfeac608cc2)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Wang Mingyu
954a89df70 ccache: upgrade 4.1 -> 4.2
0001-Improve-SIMD-detection-735.patch
0001-blake3-Remove-asm-checks-for-sse-avx.patch
0002-Always-use-64bit-to-print-time_t.patch
removed since they'are included in 4.2

-License-Update: Copyright year updated to 2021.

(From OE-Core rev: 45a0b1f7dc48955d9e9a476bd26239ef360fd0fc)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 11:12:16 +00:00
Richard Purdie
fc222345f0 diffoscope: Upgrade 167 -> 168
This includes a fix for the 'hang' on larger diffs with html output
as seen on the autobuilder.

(From OE-Core rev: cac4ed44b302a3effd0ed6729cbf65817824604e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 00:17:46 +00:00
Richard Purdie
09301e3051 gstreamer1.0-python: Set internal python library path correcty
The library hardcodes paths to the python library internally and currently
these are build paths. Fix this to use the correct target path and
fix reproducibility in the process.

(From OE-Core rev: 4c190e8c9a2b53de3def1065fb6e479b72d040dc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 00:17:46 +00:00
Richard Purdie
a73f94d9bf apr-util: Fix CFLAGS used in build
We need to use CFLAGS with the correct WORKDIR in them, replace those
in the sysroot file with the ones appropriate to the current recipe.

(From OE-Core rev: 45edf189961aff1858be9bb7b63116073c0a0c10)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-01 00:17:46 +00:00
Richard Purdie
8ab7d766a1 libid3tag: Fix reproducibility issue
Configure was swallowing our cflags meaning the resulting binaries were
not reproducible. Tweak configure not to do that and fix reproducibility.

(From OE-Core rev: 1395269a6fae5cec01d721e2ad52bd7cb8fc38ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:42 +00:00
Richard Purdie
12e6dac3bf igt-gpu-tools: Fix reproducibility issue
Add a configuration option to pass in srcdir, removing hard coded
build paths from the binaries.

(From OE-Core rev: d7e92e3a22f0c87aff4f452b51f50ec417d2949b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:42 +00:00
Richard Purdie
8b145a898a bootchart2: Fix manpage reproducibility issue
The compressed docs contained a timestamp of the original file which
meant the SDE clamping during package creation didn't work. The
benefits of compression are minor, decompress the files to avoid
the reproducibility issues.

(From OE-Core rev: a3b59a67bea16899b57a0d187120c988495da4d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:42 +00:00
Khem Raj
43ca8ad614 glibc: Fix rawmemchr
This is to help gcc bug upstream
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98512

(From OE-Core rev: ae9cad4e0554c8fe91d64030ad5c7e6d67b713d6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Martin Jansa
45c2a8fcee glib-2.0: replace THISDIR instead of COREBASE in find_meson_cross_files --cross-file paths
* COREBASE works correctly only as long as this recipe is inside of
  COREBASE directory and leaves the full absolute paths if you copy
  this recipe into your own layer (e.g. to backport newer version)

* use THISDIR as all FILESPATH should be relative to that, unless
  there is a .bbappend not only extending FILESPATH, but also adding
  meson.cross.d files there (at which point it also didn't work with
  COREBASE replacements as well already) - show an ERROR in such case,
  I don't think it's common scenario to spend more time to support that.

(From OE-Core rev: 314cfc7d6a8f9b00db7da5424890ff955a5ce971)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Diego Santa Cruz
a6a8ab7595 createrepo-c: set path to magic database for native and nativesdk
The modifyrepo_c tool can use the magic database for input files
(e.g., if the file has no recognized extension) and fails if none
can be found.

This adds a wrapper that sets MAGIC to point to the proper place,
it also sets up MAGIC in the createrepo_c wrapper since that tool
also takes input files.

(From OE-Core rev: ea666fbc74163e7ef27a52a072b75fd1f5ac5c25)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Yi Fan Yu
40d9466b8c valgrind: Increase timeout duration 30 -> 90 s
Attempt to fix intermittent failure of `drd/tests/std_list`
Locally tested to take around 45 s on qemuarm64

[YOCTO #14228]

(From OE-Core rev: aac00b1c8042e41cd6bb1aea8e3033a1c6dd2b05)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Khem Raj
b8f706224f oeqa/pam: Need shadow installed for the tests
Distros may not use shadow for login manager
secondly login --help returns 1 only with shadow provided login
utility, with busybox it returns normal 0, the testcase clearly
assumes shadow being part of image, therefore add needed
checks to ensure the pre-requisites are met

(From OE-Core rev: 0820aeba74869bf6e85b200f39bc610a43ab9a7a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Richard Purdie
3cd3e95aee bitbake.conf: Split PSEUDO_IGNORE_PATHS to be more readable
We've had a lot of concern about the readability of diffs of this
path setting, refactor to avoid long line length.

(From OE-Core rev: f3930cba16ccbc4b76ed14187d5586d6479bc59e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Richard Purdie
83b7f9f959 bitbake.conf/image: Move image specific PSEUDO_IGNORE_PATHS to image class
This path is image specific so we can move to the image class
definition of PSEUDO_IGNORE_PATHS.

(From OE-Core rev: 66a8ca0f206434e0b301a8fdc90f062750d6d118)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Richard Purdie
9ba9f879e1 populate_sdk: Add directories to PSEUDO_IGNORE_PATHS
Some paths used in sdk construction shouldn't be tracked under pseudo
so list these.

(From OE-Core rev: 21621e09162ff9e8014a1cfba78d0f2c3746202a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Richard Purdie
6066d67c21 image: Add directories to PSEUDO_IGNORE_PATHS
Some paths used in image construction shouldn't be tracked under pseudo
so list these.

(From OE-Core rev: 9463be2292b942a1072eea88881b9644e55aadb9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-27 22:40:41 +00:00
Michael Halstead
41ee3602ed releases: update to include 3.1.6
(From yocto-docs rev: 05580e574e78039f577d58648b4ee3817c0f09cc)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 22:36:56 +00:00
Richard Purdie
df9382e380 selftest/reproducible: Don't call sync between each file compare
Calling sync between each file compare is horrible performance wise
as we compare thousands of files. We don't care about IO latency here
so disable.

(From OE-Core rev: 25f78abd8bbeb201fd9452e7983e015027954948)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 17:47:56 +00:00
Alejandro Hernandez Samaniego
255fdb9f74 bitbake: fetch2/wget: Avoid crashing when connection drops mid checkstatus
If an exception is raised when running host python code, the fetcher
    immediately crashes, this might be temporary depending on the servers
    reliability.

    Catch the exception when the connection was reset and try once again
    to fetch the data.

    File: '/usr/lib/python3.8/socket.py', lineno: 669, function: readinto
         0665:        if self._timeout_occurred:
         0666:            raise OSError("cannot read from timed out object")
         0667:        while True:
         0668:            try:
     *** 0669:                return self._sock.recv_into(b)
         0670:            except timeout:
         0671:                self._timeout_occurred = True
         0672:                raise
         0673:            except error as e:
    Exception: ConnectionResetError: [Errno 104] Connection reset by peer

(Bitbake rev: d0f5c5905bc664e415a05e3130dfe0ae541d8b3e)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 17:47:56 +00:00
Michael Halstead
5f69bf12e5 releases: update to include 3.2.2
(From yocto-docs rev: 1770c9c1e1ce9d28f6d211061010c4a802522c16)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
7f1db8ead8 libhandy: Fix reproducibility issue
(From OE-Core rev: ba559d5e07cbe92ee22308a1b5b8afc558c662dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
574f981fd8 libsecret: Improve determimism
(From OE-Core rev: 28175c44e7402397a24a00a4b056eef39b0a03fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
dd371100bd parted: Fix reproducibility issue
We don't use tbe BUILDINFO line of host information in the Makefile
so remove it for reproducibility.

(From OE-Core rev: a9742595fa90d4977fdd8129a4fe4932ddb96a18)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
c0b95cdc91 gst-devtools: Fix reproducibility issue
(From OE-Core rev: d221abc411b49b219b89cb38a56b2901d0bd5529)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
38f513bfc7 epiphany: Fix distributor contamination from /etc/os-release
Set our own distro string rather than using the value from
/etc/os-release.

(From OE-Core rev: 77f23ece471e8855bfd8be06951f21cabce25545)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
b351f54b9f epiphany: Fix reproducibility issue
We don't want to encide BUILD_ROOT into target packages. This is used
for build time tests but in our case those would be on target anyway
do use the target paths.

(From OE-Core rev: 2818dc90bd62487879e7da2c68357b39282415b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
22960625af gtk-doc: Fix reproducibility issue
config_data was including a build system path to pkg-config, fix
this.

(From OE-Core rev: 7b8f56224c12a40f4f0aca3f612198deb933af4d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
6d3b755183 rsync: Update patch status
Mark the path as submitted and effectively a backport as a different fix
was added upstream addressing the issue.

(From OE-Core rev: 6e82c6e1543f1e863b22d94652c90ee46b40f68a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Diego Santa Cruz
910b09c4bc sysklogd: do not open any network sockets by default
The default in sysklogd 2.x is to open listening network sockets,
unlike sysklogd 1.5 where the default was the opposite.

This is contrary to a "secure by default" design, so set up the
init script to pass the -ss option to prevent syslogd from opening
any network sockets. It can be overridden in /etc/default/syslogd.

(From OE-Core rev: 103688fd349338520c147d5bde07429951925141)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Diego Santa Cruz
53f118af39 packagegroup-base: do not force hdparm and e2fsprogs
The hdparm and (base) e2fsprogs are not always useful in all machines
having ext2 in MACHINE_FEATURES, so do not force them to b installed,
make them recommendations instead.

(From OE-Core rev: 17ec69be55a6b7572947704c07d8693d47d7f1d1)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Diego Santa Cruz
360d367136 packagegroup-base: use amixer instead of alsamixer
Including alsamixer, which is an ncurses based interactive program,
does not seem to make sense as a base package in embedded systems,
replace it by the command line mixer utility amixer instead; it is
scriptable and has no ncurses dependencies.

(From OE-Core rev: 5e80b093a893600ed402701251fe0bdc9c10bb45)

Signed-off-by: Diego Santa Cruz <Diego.SantaCruz@spinetix.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Florian Bezdeka
a334cbb12d wic: Warn if an ext filesystem affected by the Y2038 problem is used
We are getting closer and closer to the year 2038 where the 32 bit
time_t overflow will happen. While products (= embedded systems) with an
expected life time of 15 years are still save the situation may change
if your system has to survive the next 20 years.

ext2 and ext3 filesystems are always affected by the time overflow, so
let's warn the user if these filesystems are still being used.

If ext4 is affected depends on the inode size chosen during filesystem
creation. At least 256 bytes are necessary to be safe. As ext4 is
used very often (and partitions may be created small first and extended
later) this might be an issue for many users.

Some filesystems created during CI runs were already affected by the Y2038
problem. By using `--mkfs-extraopts "-T default"` we tell mke2fs not to
auto-detect the usage type based on the filesystem size. mke2fs will use
the default values for tuning parameters instead. The inode size is one
of these parameters.

(From OE-Core rev: eecbe625558406680121d2a7e84917fea45ea9dc)

Signed-off-by: Florian Bezdeka <florian.bezdeka@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Dorinda
a7854ce174 meta/recipes-core: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: be8d3d0fa6bbc2924ffbdbaa66e9ffaef2b96de6)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Dorinda
8e4567bd5f meta/recipes-devtools: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: bb05814335e7101bfd8df0a11dc18a044e867bed)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Dorinda
6e5b6535f7 meta/recipes-connectivity: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: ecf8922e6bb12a2facc59bbe794b575101fce1dc)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Dorinda
e63aad9015 meta/recipes-bsp: Add HOMEPAGE / DESCRIPTION
Added HOMEPAGE and DESCRIPTION for recipes with missing decriptions or homepage

[YOCTO #13471]

(From OE-Core rev: 1ce7e76551b3b2f4477f780e67cf894f760529e5)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Mike Crowe
0098ef07d9 externalsrc: Pass through npmsw URIs in SRC_URI
NPM shrinkwrap files need to stay in SRC_URI even when using
externalsrc so that npm_do_fetch can run to fetch the required
dependencies.

(From OE-Core rev: e889cbecf9a1731b199e57d79a14e574398586bb)

Signed-off-by: Mike Crowe <mac@mcrowe.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Dorinda
7c9c24330c gdb-common.inc: add PACKAGECONFIG for debuginfod
Added PACKAGECONFIG for debuginfod

(From OE-Core rev: 0bebcfcebccf6d746c1d77c15cf7b5b263a9b606)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Yi Fan Yu
319edf8ca1 gdb: Remove "ALLOW_EMPTY_gdbserver" on riscv
Revert 21e748d620022a75c0c2d0ab4a763a5992e8f154 "riscv32"
Revert 111f65528e3c0b147c1713cfc684958f94c41cd6 "riscv64"

Reason:

The following commit present in binutils-2_35

commit bf84f7066626c78884436e1c39fb60f04c665f21
Author: Maciej W. Rozycki <macro@wdc.com>
Date:   Wed Feb 19 01:24:37 2020 +0000

    gdbserver: Add RISC-V/Linux support

(From OE-Core rev: 8f018212d16d43bd9c716248dfea195a3b46df3a)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Richard Purdie
f8871d842a gcr: Fix reproducibility issue
(From OE-Core rev: b53133572de9e5bdf77dd44831a86ec34bf41b2c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:21 +00:00
Stefan Ghinea
39a67849e9 cups: fix CVE-2020-10001
A buffer (read) overflow in the ippReadIO function.

References:
https://nvd.nist.gov/vuln/detail/CVE-2020-10001

Upstream patches:
efbea1742b

(From OE-Core rev: 90eba79bf6f623aa3021eafd0141dad1c3059001)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
a23b63bd71 cups: Fix reproducibility issues
configure inspects the host's /etc/group for these configuration
options, fix this to the correct values by using configure options.

(From OE-Core rev: f16f9c727569414cd52862dcba18d8e423f4e961)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
3fdb6e1b77 llvm: Upgrade to 11.1.0 release
(From OE-Core rev: ca82b695bd885be05b90083e15ddb4bff47a07de)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
7bf45fa0ed binutils: Upgrade to 2.36.1 release
(From OE-Core rev: 76e2f0754349703d29e2942e03be3a2c7f0153be)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Oleksandr Kravchuk
a3da46b2a4 busybox: update 1.33.0
Removed upstreamed patch.

(From OE-Core rev: 79708b961b310a77b4b2e71fedf6dad4acd47507)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Wang Mingyu
406dd5fbf3 nfs-utils: upgrade 2.5.2 -> 2.5.3
(From OE-Core rev: 6c943b114e31fad7c08645ba60ae80723fb5fe8d)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Wang Mingyu
2485c879fc libxcrypt: upgrade 4.4.17 -> 4.4.18
file LICENSING updated: directory of files changed from m4 to build-aux

(From OE-Core rev: 6d9f47e5303d8d223419d85554e14491e9fb3421)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Wang Mingyu
addd3f5e2a bluez5: upgrade 5.55 -> 5.56
-License-Update:
remove the description of license from src/main.c

(From OE-Core rev: 6d2fae223ff31e006423dfb1bce1f6d23cc1001b)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Peter Kjellerstedt
7fe4e6be80 asciidoc: Switch to using the main branch
Upstream has renamed the "master" branch to "main".

(From OE-Core rev: 05637733cf89a81fd5d787402f5a917f279a1a0d)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
eb0f2fcd3e maintainers: add entries libssh2 libgit2
(From OE-Core rev: f1e866515857e5c187590b76bc0b281f3f58398c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Randy MacLeod
53f26a4587 libgit2: pull in updates from meta-oe
d62613046 libgit2: update to 1.1.0
ce47a064d libgit2: upgrade 1.0.0 -> 1.0.1
7d137c5b2 libgit2: Enable pcre2 regexp backend
14894a4c4 libgit2: Update to v1.0.0
7b39ea059 libgit2: Upgrade to 0.28.4
da358cf1f libgit2: Don't pass parameters with their default values to cmake
bcd89f7cd libgit2: Upgrade 0.27.9 -> 0.28.3
87c9da253 libgit2: Upgrade 0.27.8 -> 0.27.9

(From OE-Core rev: 41704717860c96ba91e19853e77df1f8100ed2ea)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Randy MacLeod
fcf428cdb5 libssh2: pull in additional commits from meta-oe
b24ef04ae libssh2: Fix build with autoconf 2.70+
d7aa71734 libssh2: enhance ptest
b3e9b51c9 libssh2: fix ptest
f5df715e2 libssh2: enable ptest
c1d1697c5 libssh2: add nativesdk support
3a6cbf246 libssh2: Security Advisory - libssh2 - CVE-2019-17498
40ea4c939 libssh2: upgrade 1.8.2 -> 1.9.0
5a7e65cbf libssh2: Clarify BSD license variant

(From OE-Core rev: 57df134b1be56a688f41851e5ff014dd859c0bc3)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Randy MacLeod
53615dae3e Add libgit2, libssh2 from meta-oe for rust
(From OE-Core rev: a6e49314f64b65b3a165d33ae581b6761ded0e82)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Martin Jansa
3cffbb7261 sstatesig.py: show an error instead of warning when sstate manifest isn't found
* not sure if there are some valid use-cases for missing manifest, but
  recently I'm seeing increasing number of build failures where something
  from native recipe is missing (seen it with pseudo, autoconf, nodejs
  recently) and the only indication that something is wrong (before showing
  sometimes misleading error like:
  recipe-sysroot-native/usr/bin/node: No such file or directory
  is this warning:
  NOTE: Running task 7844 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_prepare_recipe_sysroot)
  NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Started
  WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
  NOTE: Running task 7845 of 12431 (/meta-oe/meta-oe/recipes-devtools/nodejs/nodejs_12.20.2.bb:do_unpack)
  NOTE: recipe nodejs-12.20.2-r0: task do_unpack: Started
  WARNING: nodejs-12.20.2-r0 do_prepare_recipe_sysroot: Manifest /BUILD/sstate-control/manifest-x86_64_ubuntu-18.04-nodejs-native.populate_sysroot not found in x86_64 x86_64_ubuntu-18.04 (variant '')?
  NOTE: recipe nodejs-12.20.2-r0: task do_prepare_recipe_sysroot: Succeeded

  if I rebuild that native dependency, then it gets fixed and I don't
  see these failures in clean builds (as without sstate and with empty
  TMPDIR), only in incremental builds

* but if there isn't valid reason for missing manifest file, then I think
  it would be better to error early (or even bb.fatal())

(From OE-Core rev: 95607a26854d873399d2b9d7e5fcbffc0cbdba4c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Stefan Ghinea
eceb7357a6 wpa-supplicant: fix CVE-2021-0326
In p2p_copy_client_info of p2p.c, there is a possible out of bounds write
due to a missing bounds check. This could lead to remote code execution
if the target device is performing a Wi-Fi Direct search, with no
additional execution privileges needed. User interaction is not needed
for exploitation.Product: AndroidVersions: Android-10 Android-11
Android-8.1 Android-9 Android ID: A-172937525

References:
https://nvd.nist.gov/vuln/detail/CVE-2021-0326

Upstream patches:
https://w1.fi/cgit/hostap/commit/?id=947272febe24a8f0ea828b5b2f35f13c3821901e<links_for_CVE_patches>

(From OE-Core rev: b7940edabe100512e8f558cc37f9da836feae74d)

Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Jan-Simon Möller
730ea923ac oe-selftests: add rpm to reproducible build selftest
rpm packaging has shown good numbers wrt reproducible builds as well
when testing core-image-minimal locally:

 Reproducibility summary for rpm: same=4671 different=0 missing=0 total=4671

Thus enable it in the autobuilder to be more widely tested.

(From OE-Core rev: 84d3a90557444d8cd83d780b1c3f2b278ab07af2)

(From OE-Core rev: 85b9dd01f2e1d5429f8da0c48a25ec034acebf67)

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
17ccaab9a5 reproduce: Fix exclusion list for rpm
rpm uses "XXX-VERSION" compared to deb/ipk which use "XXX_VERSION"
which breaks the go package exclusion. Work around with both go_
and go- for now.

(From OE-Core rev: 2af535282833dddb58f24ec5b360230c47e6f6b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
983d1b70e7 fonts: Bump HASHEQUIV_HASH_VERSION after rpmdeps change
After the rpmdeps change, the output didn't change in the correct
case and hence hashes were cross-linked. We bump the hashequiv
version to avoid problems from this.

Also bump PR to force a rebuild.

(From OE-Core rev: cd1e4f9957c57bebcc8f16ebc200a1ab2e4fd2ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
61d9c0b77b package/package_rpm: Disable font_provides configuration for reproducibilty
The host may or may not have fc-cache which is used for find provides
information by rpmdeps. This lead to non-deterministic build output.
Disable the font provides code so we have deterministic builds,
we have nothing using/relying on it at this point.

Need to disable this in both the rpmdeps code and in package_rpm
itself although the latter shouldn't be being used.

(From OE-Core rev: 1c0cd8012a96fd4d9caf33c6de5fd39cea6db55d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
07176f2609 go-helloworld: Turn into a go module enabled build
(From OE-Core rev: 86aacbc889830846150ff2d0f1cd7ba00a2c10f6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
b1eea8178a go: Enable CGO and pie buildmode on rv64
go1.16 has added CGO support for riscv64 arch

(From OE-Core rev: 8e078238312948e8c7b09c66ba7a186512e995d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
cedb3aa817 go: Upgrade compiler to 1.16 major release
Revert a CC/CXX check [1] which wont work with OE settings
Forward port needed patches forward

Details releaase notes are here [2]

[1] https://go-review.googlesource.com/c/go/+/228517/
[2] https://golang.org/doc/go1.16

(From OE-Core rev: 5c41c6ed4e2e70d18b32c460b8c8e1aadd54584f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
510406ddf5 goarch: Use softfloat instead of 387 for 386 goarch
387 has been removed from go 1.16 see [1]

[1] https://github.com/golang/go/issues/40255

(From OE-Core rev: fd549c139f534f28974c86a4e4c7acf6f5c40a79)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Khem Raj
f9ddc0efa8 selftest: Replace building dep tool with direnv
dep tool is now deprecated and its replaced with go modules so using
this as sample for testing is also getting arcane. Replace it with
another project direnv[1] which is quite active and uptodate

[1] https://github.com/direnv/direnv

(From OE-Core rev: bb510037beaaaa723b9158d1f4e11a3547f6fb73)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-26 15:21:20 +00:00
Richard Purdie
1fe4a25f22 diffoscope: Ensure rpm is configured correctly
diffoscope was failing as rpm wasn't configured correctly. Fix this.

(From OE-Core rev: 93ad1ab49be03dd082a98f80464cfee9d98a3a33)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 12:42:49 +00:00
Richard Purdie
368bd5b5ee selftest/reproducible: Remove exclusions for recipes which now reproduce
git, libproxy, libcap-ng(-python), babeltrace2, rsync and groff
have their reproducibility issues fixed, remove from the exclusion
list. Also fix whitespace.

(From OE-Core rev: 044eda9c70ddda195b1c0ce1d228904392431582)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 00:19:38 +00:00
Tomasz Dziendzielski
4d16e59a52 bitbake.conf: Introduce FAKEROOTLOGS variable used by bitbake to print pseudo.log
Bitbake depends on this variable while looking for pseudo.log file in
case of fakeroot task failure.

(From OE-Core rev: e8e9e5f62b144828387e20eec2e66fcd61edd0d3)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 00:19:38 +00:00
Joshua Watt
a809420449 diffoscope: Add python3-rpm as dependency
The python3-rpm package is required for diffoscope to diff RPM packages

(From OE-Core rev: 5331d9c63022c5434b4c70d404c7546316a6f9f1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 00:19:38 +00:00
Richard Purdie
c4baddc0d0 reproducible: Improve SOURCE_DATE_EPOCH_FALLBACK handling
Ensure the fallback value if used is written to the SDE file
and hence stored in sstate, reducing any confusion within the
code over '0' values.

Bump the HASHEQUIV_VERSION since we've had a ton of trouble
with ensuring this rolls out correctly on the autobuilder so
others may too, take a clean slate for it.

(From OE-Core rev: 53ffffa32b76330835287dfc05d4e4796841af08)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 00:19:38 +00:00
Jan-Simon Möller
7e9c2f33d4 reproducible_builds: SOURCE_DATE_EPOCH should not be 0
A SOURCE_DATE_EPOCH of 0 might be misinterpreted by namely rpm as no SDE.

 e.g.:
 char *srcdate = getenv(SOURCE_DATE_EPOCH);
 if (srcdate && rpmExpandNumeric(%{?clamp_mtime_to_source_date_epoch}))

Solve this by:
- providing a SOURCE_DATE_EPOCH_FALLBACK variable != 0
- changing defaults to use it
- using SOURCE_DATE_EPOCH_FALLBACK also when reading 0 out of sstate-cache

(From OE-Core rev: 9a1dde74e794362399193dc3f81c9685a83d0776)

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-24 00:19:38 +00:00
Richard Purdie
e9e23ec77e babeltrace2: Fix reproducibility
babeltrace2-ptest was referencing the host's python version in it's
makefiles. Whilst this could be fixed, its easier to correct the
python version being found to the target one which works much
more effectively and solves the issue.

(From OE-Core rev: 559f16d2fef4f8b04a9db1104b4a5b63f7876c68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
116743ecc2 diffoscope: Ensure the correct magic file is used
diffoscope uses libmagic and it was searching in file-native's sysroot
for the magic file. Wrap it and set MAGIC in the environment to
ensure the file is found correctly and avoid build failures.

(From OE-Core rev: 3488a8316891829892bd41a1caacaeeef73da7ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Milan Shah
8b299a62c5 report-error.bbclass: Add layer and bitbake version info to error report
Instead of just providing local.conf info, add layer names and their
revisions with bitbake version information into error report
makes it easier to understand and reproduce failed build.

[YOCTO #9700]

(From OE-Core rev: a5afd7b1857c0012ab6e3d8bbafa67a96ff9e9e0)

Signed-off-by: Milan Shah <mshah@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Klaus Heinrich Kiwi
cfc0e21b10 kernel-fitimage: Don't use unit addresses on FIT
Das U-Boot 2021.4-rc1 has the following commit:

    commit 3f04db891a353f4b127ed57279279f851c6b4917
    Author: Simon Glass <sjg@chromium.org>
    Date:   Mon Feb 15 17:08:12 2021 -0700

        image: Check for unit addresses in FITs

        Using unit addresses in a FIT is a security risk. Add a check for
        this and disallow it.

        CVE-2021-27138

Adjust the kernel-fitimage.bbclass accordingly to not use unit
addresses. This changte is required before we can bump U-Boot to 2021.4.

(From OE-Core rev: 6047be9f8f0f5d616fda11d83b682c1b8aeaa0ae)

Signed-off-by: Klaus Heinrich Kiwi <klaus@linux.vnet.ibm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Ross Burton
b2d8e3cf62 grub: shuffle packaging for aarch64 builds
Even in grub-efi platforms we need to build grub for the the common
tools. On x86 this isn't a problem because grub builds legacy boot and
grub-efi builds EFI, but on aarch64 there is no legacy boot supported by
grub.

To ensure that the common tools are built the grub recipe also builds
EFI binaries, but this now means that grub and grub-efi ship the same
binaries.

oe-core 933286 fixed this conflict by deleting the binaries from
grub-efi and putting the aarch64 modules into grub-common (relying on
dependencies to pull grub-common in).  This seems backwards: grub-efi no
longer contains the binaries and they're in different packages on arm or
x86.  Also, SDK generation is broken as the grub package itself is now
empty as the binaries are in grub-common.

Resolve all of these issues by reversing the logic:  grub-efi is the
package which holds the EFI binaries on all platforms. grub only builds
for EFI on aarch64 as a way to build the common binaries, so delete them
in that recipe to avoid conflicts.  And finally as the grub recipe is
empty on aarch64 but needed by dependencies, set ALLOW_EMPTY.

(From OE-Core rev: 801c10b33eb2074677d46b361e46f47b693b573a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Mingli Yu
05fd93ca14 python3: Fix python interpreter line length for nativesdk
Make sure the python interpreter is "#!/usr/bin/env python3" for
nativesdk to avoid the shebang path exceeding the limit when install
the sdk under the directory with long path.

Before:
 $ cd ${target_sdk_dir}
 $ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
 #!${target_sdk_dir}/sysroots/${SDK_SYS}/usr/bin/python3.9
 [snip]

After:
 $ cd ${target_sdk_dir}
 $ vi ./sysroots/x86_64-oesdk-linux/usr/bin/2to3
 #!/usr/bin/env python3
 [snip]

(From OE-Core rev: a748e6098fa7d2ff594319937c7e0cf97700e83a)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Scott Murray
2c6604b9a1 screen: fix CVE-2021-26937
Apply patch from Debian to fix CVE-2021-26937.

(From OE-Core rev: 6d688cc8672b1830ba10966492ab3f8a12d32e17)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Joel Stanley
4d570546fd conf/machine-sdk: Add ppc64le SDK machine
Previously SDKMACHINE would default to x86_64. Commit 539cd4a5fbb9
("bitbake.conf: default SDKMACHINE to the build host architecture")
changed it to default to the build machine, causing the build to
fail on a ppc64le host.

Reported-by: Andrew Geissler <geissonator@yahoo.com>
Link: https://www.mail-archive.com/yocto@lists.yoctoproject.org/msg04364.html
(From OE-Core rev: c915619b78e0c3e0d73d9de0b85c658c563ed5ba)

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
1229097db5 libpcre: Drop old/stale patch
According to my tests this incorrect symbols resolution at runtime no
longer happens. Ubuntu is still carrying the patch but also probably
doesn't need to, they are also on a much older version. It sounds
like there was once a linkage bug somewhere which has likely been
resolved since.

Drop the patch as it doesn't seem needed anymore. If it were a real
issue it should be submitted upstream too, the status is incorrect.

(From OE-Core rev: 02f36ed515afed550dfcd986977ce2106dee556a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
c79cc7dcbe ca-certificates: Clean up two patches and submit upstream
(From OE-Core rev: f3eabbb5c15fb55ae3d46b2377c09bb58226d965)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
3fbe42a5f2 libevdev: Update patch status to backport
The patch was submitted and merged upstream.

(From OE-Core rev: 871bce0703ca9d14e5c44f6ee0b66fcb13cfb630)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
b567f5f59e libcap-ng: Replace python patch with a better fix
By using the python3targetconfig class we can drop the existing python
patch and the extra make parameters.

(From OE-Core rev: 3bbebc39235f50af4d66e3284b67c1491d2c93f2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
e1767e1287 libcap-ng: Fix python bindings determinism issue
(From OE-Core rev: e4ff283d8ae7f77b523a648e7c0dbbb1781008fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
c907ea3246 rsync: Fix group name determinism issue
configure falls back to inspecting the host#s /etc/group for the
nobody/nogroup naming. Pass the correct value to configure to
ensure host differences don't sneak in.

(From OE-Core rev: e5f809068b32df32e506f3067cd6086195e03f12)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
2d2f017240 rsync: Fix a file sorting determinism issue
(From OE-Core rev: f6b7f395ae2d98363e365d31f5e95ce41a12e5b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Richard Purdie
b28a214f2e libproxy: Avoid /etc/sysconfig determinism issue
(From OE-Core rev: bf004ccd77b2ac49bec69aa0507efee694f57c37)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Khem Raj
555d098706 tune-power9: Enable qemu-usermode
With latest qemu it works ok

(From OE-Core rev: 0d4fa837bb55be799132cae84f0efb0bfbabd9e2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Khem Raj
60c65379f1 glibc: Build for power9 cpu when using powerpc64le tunes
This makes sure that we can compile glibc for powerp9 based machines
irrespective of endianness or bitness

(From OE-Core rev: 6201018650fe8966b99860bbda24c5903e7d7a60)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Khem Raj
74c6f625c6 bitbake.conf: Do not use lib64 for baselib on musl/ppc64
musl is configured to use /lib and /usr/lib for ppc64 unlike glibc where
it is expected to have libs in /lib64 and /usr/lib64

(From OE-Core rev: 998d15a86282d9cf57fbd0a4eb76a56b9938a348)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Khem Raj
47a2fffca4 goarch.bbclass: Fix ppc64le detection
ppc64le should go above ppc64 in checks otherwise it gets subsumed
wrongly with ppc64 check

(From OE-Core rev: 126ecfe0d2ce65b2d2cf5598612e60bad7b3302e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:01 +00:00
Khem Raj
b7d18a2fa7 musl: Install /lib directory
loader is installed into /lib and ${base_libdir} may not be always
pointing to /lib, while here we want to create the directory where ldso
will reside

(From OE-Core rev: 76795b5a4452b531c342df2c8a3bbb264cc8a8d2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Khem Raj
1963444d58 linuxloader: Deal with little-endian ppc64 ldso name
On ppc64le 'le' should be appended to ldso name

(From OE-Core rev: dd221cdc8630a5adba1f87ff7a237021e9a95548)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Khem Raj
acfa0e0dce runqemu: Add new option to disable vga emulation
When using nographic, explicitly disabling vga is needed some cases
since some qemu firmware (OpenFirmware ) defaults to std vga, and
when vga is enabled then it disables output to serial and redirects
that to vga which is by design, hwoever we expect the console output
to go to serial when using nographic, therefore its important to
disable vga with nographic especially on qemu based ppc platforms

(From OE-Core rev: eabbdb3c4f78ab23348a6b988f59d9d98b5e2c7c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Vivien Didelot
fa35f3ef9c systemd: Fix importd requirements comment
The comment above the importd config states curl, which does not
exist in PACKAGECONFIG. Adding it results in the following error
(and then misleading compilation failures):

    WARNING: systemd-1_244.5-r0 do_configure: QA Issue: systemd: invalid PACKAGECONFIG: curl [invalid-packageconfig]

Support for curl is currently enabled through journal-upload:

    PACKAGECONFIG[journal-upload] = "-Dlibcurl=true,-Dlibcurl=false,curl"

While it might be more appropriate to deprecate "journal-upload"
in favor of a "curl" PACKAGECONFIG entry, simply fix the importd
comment for now by stating upload-journal instead of curl.

(From OE-Core rev: e6a0bced605da58ff43ff06ea6a1d67e84c98d91)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
4700737f9a python3-magic: upgrade 0.4.18 -> 0.4.20
License changed as there was additional copyright information added
but the underlying license did not change.

(From OE-Core rev: 97f5846586076c20289a2a43c7ddfa610a6aa5d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
bb10e0c726 apt: Upgrade 1.8.2.1 -> 1.8.2.2
(From OE-Core rev: 9c04f9dca26eabdf71a432492d4b718805fda8f0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
fdcdd64edd python3-pycryptodome/pycryptodomex: upgrade 3.9.9 -> 3.10.1
The license file dropped the APL-2 pieces but this wasn't in LICENSE
in the first place, no code seemed to refer to it so no change was
needed.

(From OE-Core rev: f31d3d8999ce314832012324ce8bebf42dcfb372)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Khem Raj
3c202cd8ce nettle: Upgrade to 3.7.1
bugfix release [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2021-02/msg00011.html

(From OE-Core rev: 28156e43673288ecfb9d43b1aecfd01256c71585)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
3c2f8b750a linux-firmware: upgrade 20201218 -> 20210208
License file had a number of new additions for new firmware but no
new licenses that didn't already exist.

(From OE-Core rev: eab46e65feae24311f0ee0cd05b7ebb2e3b07363)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
6ec9508caf diffoscope: Upgrade 166 -> 167
(From OE-Core rev: 56dd9ba4d0cd211ba4aacf565d85bda45df1ccee)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Wang Mingyu
b120603e2e openssl: upgrade 1.1.1i -> 1.1.1j
(From OE-Core rev: a67635ca2c7a016efcf450e4011f2032883e995d)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Wang Mingyu
e09d99e1aa lttng-ust: upgrade 2.12.0 -> 2.12.1
(From OE-Core rev: 5fad57044fb0d092ed166fe2e252570aa8cfc155)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Wang Mingyu
d537e84a42 liburcu: upgrade 0.12.1 -> 0.12.2
(From OE-Core rev: a1cf5a1b139fe92aa4473594c083c116bbff27e5)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Oleksandr Kravchuk
6c930438f1 net-tools: update to 2.10
Removed upstreamed patches.

Added new package configs.

(From OE-Core rev: 179756f647c2a2e63b3bbcc53e7c0ff3c5df4e39)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Oleksandr Kravchuk
34ed0d107b ell: update to 0.38
Changelog:
- Fix issue with DHCP v6 Rapid Commit option check.
- Fix issue with handling RFC8018/RFC1423 padding.

(From OE-Core rev: f9c01ad1fc86706c76b0ef708d049267342bb5ec)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Oleksandr Kravchuk
9f1e8ced83 python3: update to 3.9.2
Removed CVE patch was upstreamed.

License-Update: copyright years.

(From OE-Core rev: fafb8a88cd0365ff4327a1d6062d9f48b2927910)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-23 22:35:00 +00:00
Richard Purdie
6a320c849c gma500-gfx-check: Update licence to match changes in OE-Core
Match SPDX licence name changes in OE-Core.

(From meta-yocto rev: 4acb5d2a9e77b8f426fa2370a9a71b9df8c7c3e7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:02:48 +00:00
Joshua Watt
40f5a289d5 bitbake: event: Fix broken builds when multiconfig has a hyphen in the name
5f7fdf7b2d ("bitbake: event: Prevent bitbake from executing event
handler for wrong multiconfig target") broke multiconfig builds contain
a hyphen, since it's attempt to use the multiconfig as part of a
function name and python functions are not allowed to contain a hyphen.

Rework the bitbake multiconfig test to test a multiconfig with a hyphen
and one with an underscore to validate this doesn't break in the future.

(Bitbake rev: c3168df330a4563cbd03ba74de55a22217d823ed)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:02:01 +00:00
Jan Brzezanski
90e5cce0e3 bitbake: Force parser shutdown after catching an exception
Commit bebef58b21bdff7a3ee1fa2449b7df19144f26fd introduced forcing
parser shutdown as default in case of build abort.

In this case bitbake sometimes hangs after facing error during parsing,
waiting for child processes to finish. Killing it then will spawn zombie
processes.

Thus we force the shutdown after catching an exception.

(Bitbake rev: 915330e1dbae1ee8fd9a0358decf2c294f771961)

Signed-off-by: Jan Brzezanski <jan.brzezanski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:56 +00:00
Charlie Davies
4952dcbd51 bitbake: bitbake: providers: use pythonic empty list check
(Bitbake rev: 591542734988856afa53b99e5eef6e5ca15630b8)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:56 +00:00
Charlie Davies
d47f455389 bitbake: bitbake: providers: fix incorrect return type bug
If no eligible providers are found then an integer zero is returned.
This causes the following error, in two possible places in taskdata.py,
when the return value is used in a list comprehension:

[snip]
    eligible = [p for p in eligible if not p in self.failed_fns]
TypeError: 'int' object is not iterable
[\snip]

Fix by returning the variable eligible itself, of type list.

(Bitbake rev: 217c4b436b588a6a47aeaddf61531711ad3fca67)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:56 +00:00
Wang Mingyu
a927a0d0b7 xkeyboard-config: upgrade 2.31 -> 2.32
(From OE-Core rev: 65e36f3f95ccc0b0902c7943df3db39917717a1e)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Wang Mingyu
65176caf81 util-linux: upgrade 2.36.1 -> 2.36.2
0001-build-sys-do-not-build-plymouth-ctrl.c-w-disabled-pl.patch
0001-hwclock-do-not-assume-__NR_settimeofday_time32.patch
removed since they are included in 2.36.2

(From OE-Core rev: 4db0babf6a69a90df14363103f5f6b643f208b12)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
zhengruoqin
10629a04bc glibc: Unify wordsize.h with arm multilibs
wordsize.h should be the same under arm and aarch64, othersise the
following error happens:

"file /usr/include/bits/wordsize.h conflicts between attempted installs of lib32-libc6-dev-2.33-r0.armv7ahf_neon and libc6-dev-2.33-r0.aarch64"

(From OE-Core rev: cf487df7d58ea89fcef5c4bc30c2ca1ceded9508)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
zhengruoqin
48a789c4e0 glibc-package.inc: Fix arm multlib header issue with struct_stat.h
Fix build error under multilib as following:

"file /usr/include/bits/struct_stat.h conflicts between attempted installs of lib32-libc6-dev-2.33-r0.armv7ahf_neon and libc6-dev-2.33-r0.aarch64"

(From OE-Core rev: 163ec51715e939fe9ff3f87c2af46a77e1a8edea)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Yi Fan Yu
d920e8cb33 libnl: add ptest support
All tests are installed, but only what `make check`
runs is run, so currently that's 1 test named `check-all`

`libcheck` needs to be present for ./configure to generate
the check* tests.

An issue asking about upstream testing strategy is opened at
https://github.com/thom311/libnl/issues/270

(From OE-Core rev: 23a785a373f76a24f4f7dd867522ce296cbf30f3)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
d54cada062 selftest/incompatible_lic: Update the tests after the 'or-later' license handling changes
With the separate of the "-only" and "-or-later" licenses, we need to
update the tests to match the messages now given in the output.

Also use a mix of canonicalised and non-canonlised names in the
reference recipes to help test those cases and ensure coverage.

(From OE-Core rev: b7f38af7ac9449178c603c5349808b8c0dd84d35)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
3266d1ee1c license_image: Don't canonicalise INCOMPATIBLE_LICENSE
The code internally correctly handles canonicalisation of these license
fields, we shouldn't call it manually. The issue is that the fields can
contain wildcards and GPLv3* means something quite different to GPLv3-only*.

(From OE-Core rev: 957f48ce78ad1865653e8b8f25909a65ba8fc535)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
55a3da9c0d licenses: Update INCOMPATIBLE_LICENSE for 'or-later' handling
Where a user adds "GPLv3" to INCOMPATIBLE_LICENSE they almost certainly
mean both GPLv3-only and GPLv3-or-later. Update the code to handle this
correctly.

(From OE-Core rev: 08cbf17485b6443a6118acfac8200eb6c61445a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
6638a7289e licenses: Fix canonical license for 'or-later' handling
GPLv2 and GPLv2+ are two difference licenses with different meanings
and we can't just pretend they're the same thing. Change the code
to treat them separately.

(From OE-Core rev: d1baf74ac92fe0c8c32dff101fd77d77f70fd583)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
1e599c15d8 licenses.conf: Add missing 'or-later' mappings
If we handle the or-later licences separately (which we should),
we need to add in the missing name mappings for the code to
function correctly.

(From OE-Core rev: ccc785f9d428b279c8aa9a1ca00dc685342fdb1e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
87ed5dab07 recipes: Update common-licenses references to match new names
The licenses were renamed to match their SPDX names, fix the
references in LIC_FILES_CHKSUM in OE-Core.

(From OE-Core rev: 9af48917cfe583d2db9e1e088c7e396fcf638949)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Meh Mbeh Ida Delphine
2456f523cf licenses: Update license file to match current SPDX names
* Updated mappings of license fields of meta/conf/licenses.conf to match
  latest SPDX naming.

* Add mappings to the old names

* Renamed license files to match the new preferred names.

* Added "or later" versions of license mappings

* Added "or later" versions of common license files eg GPL-2.0-or-later

Fixes: [YOCTO #13320]

(From OE-Core rev: 5ecf139a31fa7bd813855f1235ea9f434fbcb2e0)

Signed-off-by: Meh Mbeh Ida Delphine <idadelm@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-21 22:01:28 +00:00
Richard Purdie
a425e01da8 figures/yp-how-it-works-new-diagram.png: Fix spelling error underline
(From yocto-docs rev: 16c598c123cf197ddd547458fc34dd72f1eee878)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-20 09:28:46 +00:00
Richard Purdie
29c293aa69 maintainers: Update email address for Victor
(From OE-Core rev: 5b509fe1c5ff86a0397fa98d7bcd0199da32bf14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-20 09:28:46 +00:00
Anuj Mittal
488e39b623 linux-yocto: update genericx86* to v5.4.94
(From meta-yocto rev: b05a89a04002ddce2d82a22874def608e7748871)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:48 +00:00
Jan-Simon Möller
0ccf53d8e1 package_rpm: Enable use_source_date_epoch_as_buildtime in package_rpm class
Adding --define 'use_source_date_epoch_as_buildtime 1' to rpmbuild
ensure that the rpm header does have a consistent BUILDTIME tag.

This allows the rpms to be built reproducibly.

(From OE-Core rev: f16721df6b3d0d3e681d9a1b3393417bd62b6275)

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Yi Fan Yu
b98fc88f63 valgrind: Remove reference to non-existent ptests
exp-dhat:
commit 441bfc5f5 promoted exp-dhat to dhat

exp-sgcheck:
commit 40187fcd6 removed the exp-sgcheck tool.

(From OE-Core rev: f7b32e0d5bb9c80f6b37ed8b7f0bd29c562d3f70)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Andrei Gherzan
cbb794f9dd oe/recipeutils: Fix copying patches when BBLAYERS entries are not normalised
`devtool` uses `copy_recipe_files` for the upgrade operation when
creating the new, workspace recipe. Before handling the copy operations,
the function checks the entry in `SRC_URI` against `FILE` while in turn
uses absolute paths. When BBLAYERS contains entries that are not
normalised, this check will fail resulting in having the recipe in the
workspace without the initial patches.

Signef-off-by: Robert Drab <robert.drab@huawei.com>
(From OE-Core rev: 777fc24ab2c332954b56dac28cd9b3032808828c)

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Konrad Weihmann
c640057eda cmake: set CMAKE_EXPORT_NO_PACKAGE_REGISTRY
if a cmake file uses export(PACKAGE) command it creates a
folder ~/.cmake/package/<name> in the current user's
home-dir.
fix this host contermination by setting CMAKE_EXPORT_NO_PACKAGE_REGISTRY
to ON by default, which makes the export() command do nothing

(From OE-Core rev: fc7bd81cfe52c35fe26d146c1def8a7493bd2e25)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Luca Boccassi
3dc37c12c1 systemd: add hostname fallback when polkit is not available
When polkit is not available, networkd will not have permissions
to call hostnamed's dbus methods, as it runs without privileges.
To solve this, when building without polkit, make a new PACKAGECONFIG
'polkit_hostnamed_fallback' available which changes hostnamed so that
it runs as the 'systemd-network' user, the same as networkd, so that
the authorization works (and also with CAP_SYS_ADMIN since it loses
root).
Also run it with a separate 'systemd-hostname' group which also owns
the bus, to avoid giving the 'systemd-network' additional privileges.

(From OE-Core rev: 07a8f1629662d4d66d056d95be3cb9e749242274)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Richard Purdie
1827be4a19 groff: Fix determinism issue
Sometimes bison would regenerate source files and sometimes it would not
This is likely related to the patching of generated files by on of the
patches.

Drop those changes and force the files to regenerate in all cases since
we depend on bison-native anyway. This ensures the results are always
consistent.

(From OE-Core rev: 4449fa226e94f7124215c5ead43aadda7967f3af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anthony Bagwell
7cf4daf53e kernel-fitimage: fix dtbo support for fit images
8a2f4e143 added support for u-boot boot script but missed adding the
extra parameter to fitimage_emit_section_config on the dtbo branch

(From OE-Core rev: 22bac8aea0d5d28cc5a3bf20edf638225cce2f88)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Khem Raj
a9ad53c81a libunwind: Disable for riscv
riscv port does not exist yet

(From OE-Core rev: 4855f36af757c800e18fab00b3f4122501e6c127)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Alejandro Hernandez Samaniego
cc0e18a7f7 sstate.bbclass: Split sstate summary into locally and network found artifacts
Modify sstate class to add extra output, differentiating
between artifacts found locally and those found over the network.

(From OE-Core rev: f017a2f677fa289c36b0e56ce480f69d7674ca11)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Wes Lindauer
b20dd9b0a3 df.py: Add feature check for read-only-rootfs
If the target is using a read-only rootfs, the available space on '/'
will be zero. This will cause the test to incorrectly fail and skipping
seems appropriate in this case.

(From OE-Core rev: af1dbea3c9b9b42a3e6803b231e425423d70e210)

Signed-off-by: Wes Lindauer <wesley.lindauer@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Teoh Jay Shen
39c90869ab oeqa/runlevel : add test for runlevels
This test mimic the boot_from_runlevel_3 and boot_from_runlevel_5 test cases from oeqa/manual/bsp-hw.json.
The boot_from_runlevel_3 and boot_from_runlevel_5 manual test cases should be remove from oeqa/manual/bsp-hw.json if this patch get merged.

(From OE-Core rev: 6effd30f0e3726bc1f2eb7768c57c6b95eddb079)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
50ed28be5a asciidoc: fix upstream check
Detect versions with numbers only and ignore the pre-release versions.

(From OE-Core rev: e632b97d2411bc4510c54f6ac32ffa9042f69034)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
0c4c9d8d0e man-db: upgrade 2.9.3 -> 2.9.4
(From OE-Core rev: 25e247f386b8d2370e9835a3ca99cae41da2577f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
256c0ccc2e btrfs-tools: upgrade 5.10 -> 5.10.1
(From OE-Core rev: 88209e278d89e88aaed39e759621711ab9dafd07)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
1dd4f5ece1 kmscube: upgrade to latest revision
(From OE-Core rev: 043ff0562695b9f2d450528ed71b988d1b4aa195)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
621a031023 mesa: upgrade 20.3.2 -> 20.3.4
(From OE-Core rev: d9c368dcfe6476454aef33592f676b28537af2d9)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
caa43d0173 json-glib: upgrade 1.6.0 -> 1.6.2
(From OE-Core rev: eae6582575c5b1853b247820c0e354191fb44d4e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
3ad8461f6a pcmanfm: upgrade 1.3.1 -> 1.3.2
(From OE-Core rev: 88f9c7b328e9ac70d2af6500c86b317244e80b0c)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
c0292bc2fb libfm-extra: upgrade 1.3.1 -> 1.3.2
(From OE-Core rev: 6c8ac67f1d0e2e38656a3eb3c2d88dc2ed250564)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
6517a4dbb3 diffoscope: upgrade 164 -> 166
(From OE-Core rev: e75c13b5e7ddf52b06e2d5b89790c8571e7b4ea0)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:11 +00:00
Anuj Mittal
31fe53e42a curl: upgrade 7.74.0 -> 7.75.0
License-Update: copyright years changed

(From OE-Core rev: c1e278cbcf193fc647557018b8d7ee7997817219)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:10 +00:00
Anuj Mittal
c4a9d4682d cmake: upgrade 3.19.3 -> 3.19.5
Drop a patch which is no longer required as the issue has been fixed
upstream.

(From OE-Core rev: 5a6456bc0ded09d184987a70764ecb3c94be4ddd)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-19 11:17:10 +00:00
Bruce Ashfield
d654085025 linux-yocto-dev: bump version to v5.11+
We'll have the full v5.11 upstream kernel in linux-yocto-dev at
the time of release, so lets drop the -rc from the PV.

(From OE-Core rev: ee8f778252d1c741b45aca419867ef29d3398890)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Bruce Ashfield
b8bfeaef06 linux-yocto/5.4: update to v5.4.98
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    5b9a4104c902 Linux 5.4.98
    3654a0ed0bdc squashfs: add more sanity checks in xattr id lookup
    d78a70667738 squashfs: add more sanity checks in inode lookup
    a814355e7057 squashfs: add more sanity checks in id lookup
    848bcb0a1d96 Fix unsynchronized access to sev members through svm_register_enc_region
    78e2f71b89b2 bpf: Fix 32 bit src register truncation on div/mod
    8589eda99cb1 regulator: Fix lockdep warning resolving supplies
    513fee2aee13 blk-cgroup: Use cond_resched() when destroy blkgs
    d1eb41833408 i2c: mediatek: Move suspend and resume handling to NOIRQ phase
    618b65dbde7a SUNRPC: Handle 0 length opaque XDR object data properly
    19b56e8433e7 SUNRPC: Move simple_get_bytes and simple_get_netobj into private header
    fa758032a546 iwlwifi: mvm: guard against device removal in reprobe
    2fa76f19dc15 iwlwifi: mvm: invalidate IDs of internal stations at mvm start
    c82793ef4f3b iwlwifi: pcie: fix context info memory leak
    b301eaf27f86 iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap
    01742ade9286 iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time()
    8f630ed7e98e iwlwifi: mvm: skip power command when unbinding vif during CSA
    589cf152fe47 ASoC: ak4458: correct reset polarity
    e96d10250227 pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process()
    a5c70e57c4c1 chtls: Fix potential resource leak
    8b6d5013cd70 ASoC: Intel: Skylake: Zero snd_ctl_elem_value
    db272cd2bc9e mac80211: 160MHz with extended NSS BW in CSA
    26548561cb92 regulator: core: avoid regulator_resolve_supply() race condition
    03d76df5f164 af_key: relax availability checks for skb size calculation
    968b1b034136 tracing/kprobe: Fix to support kretprobe events on unloaded modules
    5e1942063dc3 Linux 5.4.97
    40af962eb1d4 usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720
    76ab33055fbc net: sched: replaced invalid qdisc tree flush helper in qdisc_replace
    e65d331755de net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add
    5d3007b6cc7b net: ip_tunnel: fix mtu calculation
    90d7459d24b8 neighbour: Prevent a dead entry from updating gc_list
    271ea7072901 igc: Report speed and duplex as unknown when device is runtime suspended
    7018edb19a92 md: Set prev_flush_start and flush_bio in an atomic way
    e857e21eb200 iommu/vt-d: Do not use flush-queue when caching-mode is on
    5fdf672759e9 Input: xpad - sync supported devices with fork on GitHub
    03d56dab56ae iwlwifi: mvm: don't send RFH_QUEUE_CONFIG_CMD with no queues
    2d5705150707 x86/apic: Add extra serialization for non-serializing MSRs
    bc1a3aeeff0f x86/build: Disable CET instrumentation in the kernel
    40d0fff29761 mm: thp: fix MADV_REMOVE deadlock on shmem THP
    56d61cd652dd mm, compaction: move high_pfn to the for loop scope
    90ef21e5806f mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active
    af5508b1e862 mm: hugetlb: fix a race between isolating and freeing page
    3264a763174f mm: hugetlb: fix a race between freeing and dissolving the page
    108f56ed354f mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page
    75be4852490f ARM: footbridge: fix dc21285 PCI configuration accessors
    b2640b08c43c KVM: x86: Update emulator context mode if SYSENTER xfers to 64-bit mode
    6d3201c77be5 KVM: SVM: Treat SVM as unsupported when running as an SEV guest
    f9be9445e494 nvme-pci: avoid the deepest sleep state on Kingston A2000 SSDs
    f9034fcb27c0 drm/amd/display: Revert "Fix EDID parsing after resume from suspend"
    6844143e2198 mmc: core: Limit retries when analyse of SDIO tuples fails
    68c825bd2726 smb3: fix crediting for compounding when only one request in flight
    eaf2f835b52c smb3: Fix out-of-bounds bug in SMB2_negotiate()
    00f581964b66 cifs: report error instead of invalid when revalidating a dentry fails
    fd6dc98f66ef xhci: fix bounce buffer usage for non-sg list case
    f6a47f2ce090 genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set
    c9654bbe52b5 libnvdimm/dimm: Avoid race between probe and available_slots_show()
    d0f36951ead4 kretprobe: Avoid re-registration of the same kretprobe earlier
    e80f9021d5be fgraph: Initialize tracing_graph_pause at task creation
    efa17285b338 mac80211: fix station rate table updates on assoc
    ecdd962c4b9b ovl: fix dentry leak in ovl_get_redirect
    6b9a2e5c0c42 usb: host: xhci-plat: add priv quirk for skip PHY initialization
    ddc682d33024 usb: xhci-mtk: break loop when find the endpoint to drop
    32410786279f usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints
    f4e4f067f94c usb: xhci-mtk: fix unreleased bandwidth data
    1f9e9c1048b8 usb: dwc3: fix clock issue during resume in OTG mode
    9d058a06149b usb: dwc2: Fix endpoint direction check in ep_from_windex
    2a968ab0d2dd usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop()
    4d1d959348c1 USB: usblp: don't call usb_set_interface if there's a single alt
    522567fe540d USB: gadget: legacy: fix an error code in eth_bind()
    e57d70c59bb7 memblock: do not start bottom-up allocations with kernel_end
    7e6dcaeadc0e nvmet-tcp: fix out-of-bounds access when receiving multiple h2cdata PDUs
    f1c87b4b2c7b ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode
    d97a821b2e9c r8169: fix WoL on shutdown if CONFIG_DEBUG_SHIRQ is set
    c545879e8080 net: mvpp2: TCAM entry enable should be written after SRAM data
    bf0507fb2073 net: lapb: Copy the skb before sending a packet
    1cef1d46add8 net/mlx5: Fix leak upon failure of rule creation
    67b7f73bbe3f i40e: Revert "i40e: don't report link up for a VF who hasn't enabled queues"
    6380ef64b9eb igc: check return value of ret_val in igc_config_fc_after_link_up
    ec68581f7479 igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr
    5ce999efcaa7 arm64: dts: ls1046a: fix dcfg address range
    68e798fa3c0e rxrpc: Fix deadlock around release of dst cached on udp tunnel
    98650c3d0e33 um: virtio: free vu_dev only with the contained struct device
    02531b5549eb bpf, cgroup: Fix problematic bounds check
    9146fffc5d2a bpf, cgroup: Fix optlen WARN_ON_ONCE toctou
    4921f81ce65a arm64: dts: rockchip: fix vopl iommu irq on px30
    831132b13f0d arm64: dts: amlogic: meson-g12: Set FL-adj property value
    829bf438cb39 Input: i8042 - unbreak Pegatron C15B
    0d6e0a192e2e arm64: dts: qcom: c630: keep both touchpad devices enabled
    96dcfabef504 USB: serial: option: Adding support for Cinterion MV31
    5ad95c521fd5 USB: serial: cp210x: add new VID/PID for supporting Teraoka AD2000
    dfa820563c67 USB: serial: cp210x: add pid/vid for WSDA-200-USB

(From OE-Core rev: 98bb6a3cb528abe02b6edc291d05e240985ca80e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Bruce Ashfield
ae08f7bd29 linux-yocto/5.10: update to v5.10.16
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    de53befa79cf Linux 5.10.16
    bddcce15cd1f squashfs: add more sanity checks in xattr id lookup
    5e22b39b377e squashfs: add more sanity checks in inode lookup
    6634147f5128 squashfs: add more sanity checks in id lookup
    ff3a75bda722 squashfs: avoid out of bounds writes in decompressors
    dd0a41bc17bb Revert "mm: memcontrol: avoid workload stalls when lowering memory.high"
    237ee28818a9 nilfs2: make splice write available again
    4e78c33874e5 drm/i915: Skip vswing programming for TBT
    43f39b85e9bd drm/i915: Fix ICL MG PHY vswing handling
    67afdc7d95b9 bpf: Fix verifier jsgt branch analysis on max bound
    1d16cc210fab bpf: Fix 32 bit src register truncation on div/mod
    569033c0825e bpf: Fix verifier jmp32 pruning decision logic
    bf9e4307920f regulator: Fix lockdep warning resolving supplies
    fb8f9b2f7d22 blk-cgroup: Use cond_resched() when destroy blkgs
    4d00f1bade78 i2c: mediatek: Move suspend and resume handling to NOIRQ phase
    518416a75c22 SUNRPC: Handle 0 length opaque XDR object data properly
    eda725f8cfe0 SUNRPC: Move simple_get_bytes and simple_get_netobj into private header
    6fb6d5410e41 iwlwifi: queue: bail out on invalid freeing
    38da9b033bec iwlwifi: mvm: guard against device removal in reprobe
    2262294d4258 iwlwifi: pcie: add rules to match Qu with Hr2
    492f762b9c16 iwlwifi: mvm: invalidate IDs of internal stations at mvm start
    05132a72cc1d iwlwifi: pcie: fix context info memory leak
    fbdf0bf97cb0 iwlwifi: pcie: add a NULL check in iwl_pcie_txq_unmap
    cc1d805aa544 iwlwifi: mvm: take mutex for calling iwl_mvm_get_sync_time()
    a90e8588f7eb iwlwifi: mvm: skip power command when unbinding vif during CSA
    428831e8e9aa ASoC: Intel: sof_sdw: set proper flags for Dell TGL-H SKU 0A5E
    b579c572d4cf ASoC: ak4458: correct reset polarity
    f0e3c36a5244 ALSA: hda: intel-dsp-config: add PCI id for TGL-H
    ff557bf971ad pNFS/NFSv4: Improve rejection of out-of-order layouts
    386b142945d3 pNFS/NFSv4: Try to return invalid layout in pnfs_layout_process()
    8007199fe372 chtls: Fix potential resource leak
    439ac48a33c5 ASoC: Intel: Skylake: Zero snd_ctl_elem_value
    4618aea34448 mac80211: 160MHz with extended NSS BW in CSA
    676575b93ddf drm/nouveau/nvif: fix method count when pushing an array
    4b877845e388 ASoC: wm_adsp: Fix control name parsing for multi-fw
    61e97f32fded regulator: core: avoid regulator_resolve_supply() race condition
    1c19d6ae581b af_key: relax availability checks for skb size calculation
    7f546959b378 powerpc/64/signal: Fix regression in __kernel_sigtramp_rt64() semantics
    3cb8393c4143 gpiolib: cdev: clear debounce period if line set to output
    5592eae7846c io_uring: drop mm/files between task_work_submit
    88dbd085a51e io_uring: reinforce cancel on flush during exit
    aa435155d396 io_uring: fix sqo ownership false positive warning
    8c7febfc919a io_uring: fix list corruption for splice file_get
    7250f333ce03 io_uring: fix flush cqring overflow list while TASK_INTERRUPTIBLE
    d300d03a93a2 io_uring: fix cancellation taking mutex while TASK_UNINTERRUPTIBLE
    52382df81d29 io_uring: replace inflight_wait with tctx->wait
    b462a7beab3f io_uring: fix __io_uring_files_cancel() with TASK_UNINTERRUPTIBLE
    f0ff1a95bfa8 io_uring: if we see flush on exit, cancel related tasks
    d16692a34e8e io_uring: account io_uring internal files as REQ_F_INFLIGHT
    1e7eb063a0f0 io_uring: fix files cancellation
    dbdcde4422df io_uring: always batch cancel in *cancel_files()
    f8fbdbb60793 io_uring: pass files into kill timeouts/poll
    49250f33bb43 io_uring: don't iterate io_uring_cancel_files()
    f6d93f855553 io_uring: add a {task,files} pair matching helper
    fe9334186a50 io_uring: simplify io_task_match()
    2d18b3ee633e Linux 5.10.15
    0414bde77968 net: sched: replaced invalid qdisc tree flush helper in qdisc_replace
    836f791aba58 net: dsa: mv88e6xxx: override existent unicast portvec in port_fdb_add
    3d6df63a5cbe udp: ipv4: manipulate network header of NATed UDP GRO fraglist
    f2b30f9f0889 net: ip_tunnel: fix mtu calculation
    6e4583ad6df0 neighbour: Prevent a dead entry from updating gc_list
    0a8a25d56a63 igc: Report speed and duplex as unknown when device is runtime suspended
    fe272570d003 md: Set prev_flush_start and flush_bio in an atomic way
    3a492e4403ee Input: ili210x - implement pressure reporting for ILI251x
    1841be8d0bc6 Input: xpad - sync supported devices with fork on GitHub
    b442912f678a Input: goodix - add support for Goodix GT9286 chip
    2ce5be67d134 x86/apic: Add extra serialization for non-serializing MSRs
    3dcf233b5845 x86/debug: Prevent data breakpoints on cpu_dr7
    b796770c6db3 x86/debug: Prevent data breakpoints on __per_cpu_offset
    c000dcfb3aed x86/debug: Fix DR6 handling
    2a2dfe6a319a x86/build: Disable CET instrumentation in the kernel
    032f8e04c035 mm/filemap: add missing mem_cgroup_uncharge() to __add_to_page_cache_locked()
    0a249ac189fc mm: thp: fix MADV_REMOVE deadlock on shmem THP
    9abdd2c05b59 mm/vmalloc: separate put pages and flush VM flags
    76303d3fab9f mm, compaction: move high_pfn to the for loop scope
    eca84ebef17f mm: hugetlb: remove VM_BUG_ON_PAGE from page_huge_active
    5b9631cb6f34 mm: hugetlb: fix a race between isolating and freeing page
    e334b1fec6f4 mm: hugetlb: fix a race between freeing and dissolving the page
    afe6c31b84f6 mm: hugetlbfs: fix cannot migrate the fallocated HugeTLB page
    2de0745463e3 ARM: 9043/1: tegra: Fix misplaced tegra_uart_config in decompressor
    384cddbee46f ARM: footbridge: fix dc21285 PCI configuration accessors
    cc7b2fc90916 ARM: dts; gta04: SPI panel chip select is active low
    160237c192c4 DTS: ARM: gta04: remove legacy spi-cs-high to make display work again
    7159239d2de1 KVM: x86: Set so called 'reserved CR3 bits in LM mask' at vCPU reset
    d73af5ae22d4 KVM: x86: Update emulator context mode if SYSENTER xfers to 64-bit mode
    46add0349ba3 KVM: x86: fix CPUID entries returned by KVM_GET_CPUID2 ioctl
    6c0e069ac6e8 KVM: x86: Allow guests to see MSR_IA32_TSX_CTRL even if tsx=off
    dd7f10523b19 KVM: x86/mmu: Fix TDP MMU zap collapsible SPTEs
    ff0c437a0e02 KVM: SVM: Treat SVM as unsupported when running as an SEV guest
    720639ef01f5 nvme-pci: avoid the deepest sleep state on Kingston A2000 SSDs
    4f25d448d947 io_uring: don't modify identity's files uncess identity is cowed
    2fd938741a79 drm/amd/display: Revert "Fix EDID parsing after resume from suspend"
    09c6d51b16ef drm/i915: Power up combo PHY lanes for for HDMI as well
    24946da51ce7 drm/i915: Extract intel_ddi_power_up_lanes()
    1f27c7362e2b drm/i915/display: Prevent double YUV range correction on HDR planes
    2545b18b9834 drm/i915/gt: Close race between enable_breadcrumbs and cancel_breadcrumbs
    1cd8e3ef7f68 drm/i915/gem: Drop lru bumping on display unpinning
    0fe98e455784 drm/i915: Fix the MST PBN divider calculation
    8ef4cf6abaa7 drm/dp/mst: Export drm_dp_get_vc_payload_bw()
    4f627ecde732 Fix unsynchronized access to sev members through svm_register_enc_region
    a03a8693b1a2 mmc: core: Limit retries when analyse of SDIO tuples fails
    57b452c5ab1e mmc: sdhci-pltfm: Fix linking err for sdhci-brcmstb
    2502610927ee smb3: fix crediting for compounding when only one request in flight
    b793e9fca633 smb3: Fix out-of-bounds bug in SMB2_negotiate()
    e2bb221a16ac iommu: Check dev->iommu in dev_iommu_priv_get() before dereferencing it
    7a3361e5ecf1 cifs: report error instead of invalid when revalidating a dentry fails
    c026844c6156 RISC-V: Define MAXPHYSMEM_1GB only for RV32
    57ea7b257a1a xhci: fix bounce buffer usage for non-sg list case
    ee23b9329ec2 scripts: use pkg-config to locate libcrypto
    0fe48a40ac63 genirq/msi: Activate Multi-MSI early when MSI_FLAG_ACTIVATE_EARLY is set
    d2415fde8cad genirq: Prevent [devm_]irq_alloc_desc from returning irq 0
    a80e9eee5003 libnvdimm/dimm: Avoid race between probe and available_slots_show()
    a2560f88e1c3 libnvdimm/namespace: Fix visibility of namespace resource attribute
    059e68da31b0 tracepoint: Fix race between tracing and removing tracepoint
    9e4a668f4f0a tracing: Use pause-on-trace with the latency tracers
    8ce84b8e8eb3 kretprobe: Avoid re-registration of the same kretprobe earlier
    fb03f14cc148 tracing/kprobe: Fix to support kretprobe events on unloaded modules
    43b5bdbf9644 fgraph: Initialize tracing_graph_pause at task creation
    8847a756e1df gpiolib: free device name on error path to fix kmemleak
    2ca1ddc32b88 mac80211: fix station rate table updates on assoc
    8ccf963c6227 ovl: implement volatile-specific fsync error behaviour
    a66f82a1de02 ovl: avoid deadlock on directory ioctl
    fb8caef7c020 ovl: fix dentry leak in ovl_get_redirect
    0e5cb872fbbb thunderbolt: Fix possible NULL pointer dereference in tb_acpi_add_link()
    19155473f3ba kbuild: fix duplicated flags in DEBUG_CFLAGS
    1897a8f0ef20 memblock: do not start bottom-up allocations with kernel_end
    346ea7cc27b7 vdpa/mlx5: Restore the hardware used index after change map
    c1debbaf158d nvmet-tcp: fix out-of-bounds access when receiving multiple h2cdata PDUs
    b9464c5f4663 ARM: dts: sun7i: a20: bananapro: Fix ethernet phy-mode
    38b83bcec904 net: ipa: pass correct dma_handle to dma_free_coherent()
    714c19bc1315 r8169: fix WoL on shutdown if CONFIG_DEBUG_SHIRQ is set
    397ae1a24502 net: mvpp2: TCAM entry enable should be written after SRAM data
    dec629e97261 net: lapb: Copy the skb before sending a packet
    6a5c3bac8054 net/mlx5e: Release skb in case of failure in tc update skb
    c2b2c4d24b40 net/mlx5e: Update max_opened_tc also when channels are closed
    11c2c8fb889d net/mlx5: Fix leak upon failure of rule creation
    ada342012b2d net/mlx5: Fix function calculation for page trees
    b5802b747596 ibmvnic: device remove has higher precedence over reset
    cd77dccc122f i40e: Revert "i40e: don't report link up for a VF who hasn't enabled queues"
    1ac8bec2205e igc: check return value of ret_val in igc_config_fc_after_link_up
    0cda16041858 igc: set the default return value to -IGC_ERR_NVM in igc_write_nvm_srwr
    8e081627f3a7 SUNRPC: Fix NFS READs that start at non-page-aligned offsets
    ceca8baed5d8 arm64: dts: ls1046a: fix dcfg address range
    e5ed4e08d850 rxrpc: Fix deadlock around release of dst cached on udp tunnel
    7fc1a5a50e6e r8169: work around RTL8125 UDP hw bug
    ee1709a311cd arm64: dts: meson: switch TFLASH_VDD_EN pin to open drain on Odroid-C4
    6f5ee57a68c7 bpf, preload: Fix build when $(O) points to a relative path
    72c8389fc7ff um: virtio: free vu_dev only with the contained struct device
    571fe1ba22c2 bpf, inode_storage: Put file handler if no storage was found
    9447d0f8a621 bpf, cgroup: Fix problematic bounds check
    ee3844e61706 bpf, cgroup: Fix optlen WARN_ON_ONCE toctou
    28ad17a5e936 vdpa/mlx5: Fix memory key MTT population
    636ef657eedf ARM: dts: stm32: Fix GPIO hog flags on DHCOM DRC02
    6ec543da64e1 ARM: dts: stm32: Disable optional TSC2004 on DRC02 board
    43019f6f8884 ARM: dts: stm32: Disable WP on DHCOM uSD slot
    f7a74822c6eb ARM: dts: stm32: Connect card-detect signal on DHCOM
    29aebc79169c ARM: dts: stm32: Fix polarity of the DH DRC02 uSD card detect
    25af99f88d3e arm64: dts: rockchip: Use only supported PCIe link speed on Pinebook Pro
    c2947904fbba arm64: dts: rockchip: fix vopl iommu irq on px30
    9b1996ae3a27 arm64: dts: amlogic: meson-g12: Set FL-adj property value
    4fcaf04963e2 Input: i8042 - unbreak Pegatron C15B
    bd508a509c2a arm64: dts: qcom: c630: keep both touchpad devices enabled
    4bcb395a7f67 ARM: OMAP1: OSK: fix ohci-omap breakage
    f808da6bc6e4 usb: xhci-mtk: break loop when find the endpoint to drop
    85f0409e9ce3 usb: xhci-mtk: skip dropping bandwidth of unchecked endpoints
    5139bf6a3455 usb: xhci-mtk: fix unreleased bandwidth data
    b6609c0a537b usb: dwc3: fix clock issue during resume in OTG mode
    750829e1931a usb: dwc2: Fix endpoint direction check in ep_from_windex
    039656997da3 usb: renesas_usbhs: Clear pipe running flag in usbhs_pkt_pop()
    75582ceb723e USB: usblp: don't call usb_set_interface if there's a single alt
    4025244544b8 usb: gadget: aspeed: add missing of_node_put
    c8e1dabc1e05 USB: gadget: legacy: fix an error code in eth_bind()
    d56e0ac9a1fc usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720
    73b1de6b5ea3 USB: serial: option: Adding support for Cinterion MV31
    c43cb08791a2 USB: serial: cp210x: add new VID/PID for supporting Teraoka AD2000
    17fb12b4a756 USB: serial: cp210x: add pid/vid for WSDA-200-USB

(From OE-Core rev: 09b907df68f903d2626ab2bc1621a65275a56e8e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Bruce Ashfield
b64529149f linux-yocto/5.4: update to v5.4.96
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    d4716ee8751b Linux 5.4.96
    b1a1c262e4b0 workqueue: Restrict affinity change to rescuer
    5b1e4fc2984e kthread: Extract KTHREAD_IS_PER_CPU
    2d7ca4a84b58 objtool: Don't fail on missing symbol table
    88240f7ac221 drm/amd/display: Change function decide_dp_link_settings to avoid infinite looping
    53c10bbf9186 drm/amd/display: Update dram_clock_change_latency for DCN2.1
    c6eb3dfdac44 selftests/powerpc: Only test lwm/stmw on big endian
    805e9cdb5793 nvme: check the PRINFO bit before deciding the host buffer length
    8e59209d53c9 udf: fix the problem that the disc content is not displayed
    2d1593543418 ALSA: hda: Add Cometlake-R PCI ID
    c03ecc192c8e scsi: ibmvfc: Set default timeout to avoid crash during migration
    02cc1ee3e8d1 mac80211: fix fast-rx encryption check
    efd061fc77f3 ASoC: SOF: Intel: hda: Resume codec to do jack detection
    e0f1ba38f788 scsi: fnic: Fix memleak in vnic_dev_init_devcmd2
    935fa0d5a5c5 scsi: libfc: Avoid invoking response handler twice if ep is already completed
    335bbffdd90c scsi: scsi_transport_srp: Don't block target in failfast state
    b1f680ffc25b x86: __always_inline __{rd,wr}msr()
    d1aed452c05f platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352
    c99ac7213638 platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet
    6f705e80fb87 phy: cpcap-usb: Fix warning for missing regulator_disable
    fd4c12f31209 net_sched: gen_estimator: support large ewma log
    27afc7128345 btrfs: backref, use correct count to resolve normal data refs
    66bcf5f6f989 btrfs: backref, only search backref entries from leaves of the same root
    c3089b06d6fe btrfs: backref, don't add refs from shared block when resolving normal backref
    21a0c97fb27c btrfs: backref, only collect file extent items matching backref offset
    1960c3d40b69 tcp: make TCP_USER_TIMEOUT accurate for zero window probes
    55cb8e232f9a arm64: Do not pass tagged addresses to __is_lm_address()
    b28387cf8f1c arm64: Fix kernel address detection of __is_lm_address()
    11084836e5fb ACPI: thermal: Do not call acpi_thermal_check() directly
    1410d2b68207 Revert "Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT""
    5e8776df14fa ibmvnic: Ensure that CRQ entry read are correctly ordered
    bc4e7277cc93 net: switchdev: don't set port_obj_info->handled true when -EOPNOTSUPP
    9edebe46010c net: dsa: bcm_sf2: put device node before return
    e89428970c23 Linux 5.4.95
    e7aeca61cb9b tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN
    3e93b9efc3bb team: protect features update by RCU to avoid deadlock
    489e35c6829a ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values()
    9a4d367b2783 NFC: fix possible resource leak
    c929c76e98b0 NFC: fix resource leak when target index is invalid
    b2f4a59a2216 rxrpc: Fix memory leak in rxrpc_lookup_local
    6d25d788efa4 iommu/vt-d: Don't dereference iommu_device if IOMMU_API is not built
    66f4f98ee363 iommu/vt-d: Gracefully handle DMAR units with no supported address widths
    0551a2fd456c selftests: forwarding: Specify interface when invoking mausezahn
    e4405451dd6e nvme-multipath: Early exit if no path is available
    64a4ec1850f7 can: dev: prevent potential information leak in can_fill_info()
    4dc2395d8f14 net/mlx5e: Reduce tc unsupported key print level
    a66705277baf net/mlx5e: E-switch, Fix rate calculation for overflow
    dbc13deeec6a net/mlx5: Fix memory leak on flow table creation error flow
    02ef126a002d igc: fix link speed advertising
    873d1a4740d6 i40e: acquire VSI pointer only after VF is initialized
    cf9276211563 mac80211: pause TX while changing interface type
    46c67a4c1a76 iwlwifi: pcie: reschedule in long-running memory reads
    563daf7c0f4a iwlwifi: pcie: use jiffies for memory read spin time limit
    f39fce916a7b pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process()
    a3c5fec1e09f ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete
    748c2cd57615 RDMA/cxgb4: Fix the reported max_recv_sge value
    72797bfc5f77 firmware: imx: select SOC_BUS to fix firmware build
    347feca03881 ARM: dts: imx6qdl-kontron-samx6i: fix i2c_lcd/cam default status
    f7c6e6c9b62c arm64: dts: ls1028a: fix the offset of the reset register
    78fc9ef35d18 xfrm: Fix wraparound in xfrm_policy_addr_delta()
    f5e7db4fcd38 selftests: xfrm: fix test return value override issue in xfrm_policy.sh
    dac256de1fe2 xfrm: fix disable_xfrm sysctl when used on xfrm interfaces
    a7edea0fe85a xfrm: Fix oops in xfrm_replay_advance_bmp
    deb8d5dfeb63 netfilter: nft_dynset: add timeout extension to template
    347a1a20b195 ARM: imx: build suspend-imx6.S with arm instruction set
    61bdab3d770b xen-blkfront: allow discard-* nodes to be optional
    65543408f257 tee: optee: replace might_sleep with cond_resched
    ad3d896ef55c drm/i915: Check for all subplatform bits
    59546420c51b drm/nouveau/svm: fail NOUVEAU_SVM_INIT ioctl on unsupported devices
    37ef9b59f479 mt7601u: fix rx buffer refcounting
    77771158182f mt7601u: fix kernel crash unplugging the device
    2c4f52b9cddf arm64: dts: broadcom: Fix USB DMA address translation for Stingray
    6aceac245059 leds: trigger: fix potential deadlock with libata
    2c7b4b25293a xen: Fix XenStore initialisation for XS_LOCAL
    632a7728da9b KVM: Forbid the use of tagged userspace addresses for memslots
    ba668a507788 KVM: x86: get smi pending status correctly
    ff5f6de29faf KVM: nVMX: Sync unsync'd vmcs02 state to vmcs12 on migration
    2fc14cafefb3 KVM: x86/pmu: Fix UBSAN shift-out-of-bounds warning in intel_pmu_refresh()
    c547d39feb65 KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[]
    e1ae9aab8029 btrfs: fix possible free space tree corruption with online conversion
    d30cb3d348b8 drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[]
    082dc611fdc8 drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs
    53fd4e4003a6 PM: hibernate: flush swap writer after marking
    7f9a267c67af s390/vfio-ap: No need to disable IRQ after queue reset
    9077bc37d2d1 net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family
    8aba60ebcfc3 wext: fix NULL-ptr-dereference with cfg80211's lack of commit()
    720032d3dc84 ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming
    b24dc0aa7e9b media: rc: ensure that uevent can be read directly after rc device register
    5d6fd0357057 ALSA: hda/via: Apply the workaround generically for Clevo machines
    f78803928481 ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256
    8de2109f4670 kernel: kexec: remove the lock operation of system_transition_mutex
    93603a27fc31 ACPI: sysfs: Prefer "compatible" modalias
    587c6b75d7fd nbd: freeze the queue while we're adding connections
    b8fcb8f53995 IPv6: reply ICMP error if the first fragment don't include all headers
    1f58e378a17e ICMPv6: Add ICMPv6 Parameter Problem, code 3 definition

(From OE-Core rev: b39a6de2c1175e4554c688a44c905c24367fa57a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Bruce Ashfield
aaf70b2912 linux-yocto/5.10: update to v5.10.14
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    b0c8835fc649 Linux 5.10.14
    b80df6517d35 workqueue: Restrict affinity change to rescuer
    b20475a80b4b kthread: Extract KTHREAD_IS_PER_CPU
    d8649eb8e352 x86/cpu: Add another Alder Lake CPU to the Intel family
    9c8bb3eac07d objtool: Don't fail the kernel build on fatal errors
    4587cb6f27a6 habanalabs: disable FW events on device removal
    90981a2171b9 habanalabs: fix backward compatibility of idle check
    4439d22c3758 habanalabs: zero pci counters packet before submit to FW
    e8911b02ccb6 drm/amd/display: Fixed corruptions on HPDRX link loss restore
    932ab13b8af3 drm/amd/display: Use hardware sequencer functions for PG control
    95850b9d0b23 drm/amd/display: Change function decide_dp_link_settings to avoid infinite looping
    a2245a995563 drm/amd/display: Allow PSTATE chnage when no displays are enabled
    af2fc0f4acb6 drm/amd/display: Update dram_clock_change_latency for DCN2.1
    89ca15b71b91 selftests/powerpc: Only test lwm/stmw on big endian
    713373080c7e platform/x86: thinkpad_acpi: Add P53/73 firmware to fan_quirk_table for dual fan control
    f243b5dd9837 nvmet: set right status on error in id-ns handler
    3e554aa3d08a nvme-pci: allow use of cmb on v1.4 controllers
    82ae0714c344 nvme-tcp: avoid request double completion for concurrent nvme_tcp_timeout
    3b87f9b06245 nvme-rdma: avoid request double completion for concurrent nvme_rdma_timeout
    57f26d9d09d6 nvme: check the PRINFO bit before deciding the host buffer length
    a9fd4ef6e50c udf: fix the problem that the disc content is not displayed
    40545c4dd90c i2c: tegra: Create i2c_writesl_vi() to use with VI I2C for filling TX FIFO
    6826f0b4a159 ALSA: hda: Add Cometlake-R PCI ID
    b45a47e9adfc scsi: ibmvfc: Set default timeout to avoid crash during migration
    cedc60fbd7a1 mac80211: fix encryption key selection for 802.3 xmit
    20790b2534f2 mac80211: fix fast-rx encryption check
    c2601c9c2a96 mac80211: fix incorrect strlen of .write in debugfs
    9d6dbf4e3721 objtool: Don't add empty symbols to the rbtree
    91a585783dff ALSA: hda: Add AlderLake-P PCI ID and HDMI codec vid
    1fe0ce2f9afd ASoC: SOF: Intel: hda: Resume codec to do jack detection
    946d15aa09d3 scsi: fnic: Fix memleak in vnic_dev_init_devcmd2
    47daa439c389 scsi: libfc: Avoid invoking response handler twice if ep is already completed
    28693cc0fc0d scsi: scsi_transport_srp: Don't block target in failfast state
    5929bcb4a49d x86: __always_inline __{rd,wr}msr()
    d2c880ed2cff locking/lockdep: Avoid noinstr warning for DEBUG_LOCKDEP
    2f2a4c04b889 habanalabs: fix dma_addr passed to dma_mmap_coherent
    a55c4bf2c8f0 platform/x86: intel-vbtn: Support for tablet mode on Dell Inspiron 7352
    a8f69a32ee91 platform/x86: touchscreen_dmi: Add swap-x-y quirk for Goodix touchscreen on Estar Beauty HD tablet
    4d06445ad762 tools/power/x86/intel-speed-select: Set higher of cpuinfo_max_freq or base_frequency
    f667433cb379 tools/power/x86/intel-speed-select: Set scaling_max_freq to base_frequency
    0c1a24a098a8 phy: cpcap-usb: Fix warning for missing regulator_disable
    c4e8fa21a30b iommu/vt-d: Do not use flush-queue when caching-mode is on
    c7cd7a3b5076 ARM: 9025/1: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD
    d9655c6854a6 Revert "x86/setup: don't remove E820_TYPE_RAM for pfn 0"
    a2c7d0667cf3 arm64: Do not pass tagged addresses to __is_lm_address()
    25fd5f8f8a23 arm64: Fix kernel address detection of __is_lm_address()
    beba2ac6b120 arm64: dts: meson: Describe G12b GPU as coherent
    9e96f711171c drm/panfrost: Support cache-coherent integrations
    b58486200402 iommu/io-pgtable-arm: Support coherency for Mali LPAE
    3766a00d765d ibmvnic: Ensure that CRQ entry read are correctly ordered
    c71bfc5f13c3 net: switchdev: don't set port_obj_info->handled true when -EOPNOTSUPP
    370ce41d2e58 net: dsa: bcm_sf2: put device node before return
    a555c2faf02e mlxsw: spectrum_span: Do not overwrite policer configuration
    3c564a9f9e43 stmmac: intel: Configure EHL PSE0 GbE and PSE1 GbE to 32 bits DMA addressing
    fb8e6a0b3c66 net: octeontx2: Make sure the buffer is 128 byte aligned
    d51f7ff5413b net: fec: put child node on error path
    cedbfddf4dab net: stmmac: dwmac-intel-plat: remove config data on error
    1aa4ee0ec7fe net: dsa: microchip: Adjust reset release timing to match reference reset circuit
    0c245c5fe93f Linux 5.10.13
    55d900415b81 vsock: fix the race conditions in multi-transport support
    a9cd144eb745 tcp: fix TLP timer not set when CA_STATE changes from DISORDER to OPEN
    011c3d9427da tcp: make TCP_USER_TIMEOUT accurate for zero window probes
    bcc83b43e1ed team: protect features update by RCU to avoid deadlock
    01de4bc09d38 scsi: qla2xxx: Fix description for parameter ql2xenforce_iocb_limit
    1e3a8d94dd6b ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values()
    4a97f42a6690 ASoC: topology: Properly unregister DAI on removal
    52a2895f122d ASoC: mediatek: mt8183-mt6358: ignore TDM DAI link by default
    8cd91442d9a2 ASoC: mediatek: mt8183-da7219: ignore TDM DAI link by default
    5a48918811c8 NFC: fix possible resource leak
    e10a1aad5f7c NFC: fix resource leak when target index is invalid
    2e83a57a23a6 rxrpc: Fix memory leak in rxrpc_lookup_local
    99bacbcd5621 selftests: forwarding: Specify interface when invoking mausezahn
    c9e668a196db nvme-multipath: Early exit if no path is available
    cf7ed01e02c0 iommu/vt-d: Correctly check addr alignment in qi_flush_dev_iotlb_pasid()
    974b6289e8da iommu/amd: Use IVHD EFR for early initialization of IOMMU features
    57e2393f5de0 of/device: Update dma_range_map only when dev has valid dma-ranges
    aa8604fe63d1 ACPI/IORT: Do not blindly trust DMA masks from firmware
    f3d8e20e11ae can: dev: prevent potential information leak in can_fill_info()
    17dbec01beb9 net/mlx5: CT: Fix incorrect removal of tuple_nat_node from nat rhashtable
    f5430661f2f7 net/mlx5e: Revert parameters on errors when changing MTU and LRO state without reset
    f24b493eba50 net/mlx5e: Revert parameters on errors when changing trust state without reset
    890f413ae524 net/mlx5e: Correctly handle changing the number of queues when the interface is down
    e1e71f1eb74c net/mlx5e: Fix CT rule + encap slow path offload and deletion
    bf1864854ab2 net/mlx5e: Disable hw-tc-offload when MLX5_CLS_ACT config is disabled
    1a06120d6ff2 net/mlx5: Maintain separate page trees for ECPF and PF functions
    034bd75f619f net/mlx5e: Reduce tc unsupported key print level
    a1b500010f09 net/mlx5e: free page before return
    2778913fb080 net/mlx5e: E-switch, Fix rate calculation for overflow
    d62665cac603 net/mlx5: Fix memory leak on flow table creation error flow
    4c919b215bb3 igc: fix link speed advertising
    d11a1402ec16 i40e: acquire VSI pointer only after VF is initialized
    b2a76ea0479e ice: Fix MSI-X vector fallback logic
    04cd96db6f88 ice: Don't allow more channels than LAN MSI-X available
    55717a10a6b8 ice: update dev_addr in ice_set_mac_address even if HW filter exists
    35c50e69af15 ice: Implement flow for IPv6 next header (extension header)
    bdcd8b9d8249 ice: fix FDir IPv6 flexbyte
    1c3b27b05a43 mac80211: pause TX while changing interface type
    a59a7b96dc13 iwlwifi: pcie: reschedule in long-running memory reads
    bcb9c4009618 iwlwifi: pcie: use jiffies for memory read spin time limit
    05bb42538d90 iwlwifi: pcie: set LTR on more devices
    92044488a8d3 iwlwifi: pnvm: don't try to load after failures
    fb1e501d8a69 iwlwifi: pnvm: don't skip everything when not reloading
    c00b0b65b3b3 iwlwifi: pcie: avoid potential PNVM leaks
    fd8c453d53f8 ASoC: qcom: lpass: Fix out-of-bounds DAI ID lookup
    b030ba7f1294 ASoC: SOF: Intel: soundwire: fix select/depend unmet dependencies
    d46c0d64dbcd pNFS/NFSv4: Update the layout barrier when we schedule a layoutreturn
    dba0d4b1508b pNFS/NFSv4: Fix a layout segment leak in pnfs_layout_process()
    ae02c0008c27 powerpc/64s: prevent recursive replay_soft_interrupts causing superfluous interrupt
    5f78c6ce1f6f ASoC: Intel: Skylake: skl-topology: Fix OOPs ib skl_tplg_complete
    cea3d7cd951a spi: altera: Fix memory leak on error path
    2bfc7e605aaf ASoC: qcom: lpass-ipq806x: fix bitwidth regmap field
    02e5a1ee97a1 ASoC: qcom: Fix broken support to MI2S TERTIARY and QUATERNARY
    c74d671e7154 ASoC: qcom: Fix incorrect volatile registers
    52178bea2cf5 ASoC: dt-bindings: lpass: Fix and common up lpass dai ids
    571a2dd89818 RDMA/cxgb4: Fix the reported max_recv_sge value
    0fade2af3eae firmware: imx: select SOC_BUS to fix firmware build
    bd10eba71351 arm64: dts: imx8mp: Correct the gpio ranges of gpio3
    50c701d94f64 ARM: dts: imx6qdl-sr-som: fix some cubox-i platforms
    fd59c86ac9b0 ARM: dts: imx6qdl-kontron-samx6i: fix i2c_lcd/cam default status
    d871650a7d06 ARM: imx: fix imx8m dependencies
    9f87dd2fe3f2 arm64: dts: ls1028a: fix the offset of the reset register
    6daa52884c3f xfrm: Fix wraparound in xfrm_policy_addr_delta()
    8ea899803bb5 selftests: xfrm: fix test return value override issue in xfrm_policy.sh
    2f7ecc841daa xfrm: fix disable_xfrm sysctl when used on xfrm interfaces
    f632d34091e6 xfrm: Fix oops in xfrm_replay_advance_bmp
    f39005edf513 Revert "block: simplify set_init_blocksize" to regain lost performance
    34b0c04c884c Revert "RDMA/mlx5: Fix devlink deadlock on net namespace deletion"
    28adabf8cdd2 netfilter: nft_dynset: add timeout extension to template
    fec7ae28d905 ARM: zImage: atags_to_fdt: Fix node names on added root nodes
    69da790360f3 ARM: imx: build suspend-imx6.S with arm instruction set
    d095985e1ce1 clk: qcom: gcc-sm250: Use floor ops for sdcc clks
    cee27fcc8ccf clk: mmp2: fix build without CONFIG_PM
    c143ab555679 clk: imx: fix Kconfig warning for i.MX SCU clk
    20786fdd2fb0 blk-mq: test QUEUE_FLAG_HCTX_ACTIVE for sbitmap_shared in hctx_may_queue
    7d6e01e27560 xen-blkfront: allow discard-* nodes to be optional
    a164789b86c6 tee: optee: replace might_sleep with cond_resched
    d1fd90bf5554 KVM: Documentation: Fix spec for KVM_CAP_ENABLE_CAP_VM
    c48f69093e5e uapi: fix big endian definition of ipv6_rpl_sr_hdr
    921f48afdd3a drm/i915/selftest: Fix potential memory leak
    7306177c9ed3 drm/i915: Check for all subplatform bits
    e4d2a196fdc5 drm/nouveau/dispnv50: Restore pushing of all data.
    e50b0cb7da81 drm/vc4: Correct POS1_SCL for hvs5
    21e3ad805486 drm/vc4: Correct lbm size and calculation
    112821f254b6 drm/nouveau/svm: fail NOUVEAU_SVM_INIT ioctl on unsupported devices
    1310c7a48279 ARM: dts: imx6qdl-kontron-samx6i: fix pwms for lcd-backlight
    99bb37ab284c net/mlx5e: Fix IPSEC stats
    37ef64511f31 drm/i915/pmu: Don't grab wakeref when enabling events
    520d05a77b28 drm/i915/gt: Clear CACHE_MODE prior to clearing residuals
    800ca7687c87 iwlwifi: Fix IWL_SUBDEVICE_NO_160 macro to use the correct bit.
    621f05288c3d mt7601u: fix rx buffer refcounting
    cfe3425c5acd mt76: mt7663s: fix rx buffer refcounting
    083274407a8e mt7601u: fix kernel crash unplugging the device
    b04c1c534b66 arm64: dts: broadcom: Fix USB DMA address translation for Stingray
    736924801c1d leds: trigger: fix potential deadlock with libata
    5f3d54c00f1f xen: Fix XenStore initialisation for XS_LOCAL
    bc79ff0b1a19 io_uring: fix wqe->lock/completion_lock deadlock
    256a0040c6c9 KVM: Forbid the use of tagged userspace addresses for memslots
    e895a39a2bcd KVM: x86: get smi pending status correctly
    427adbb3be8a KVM: nVMX: Sync unsync'd vmcs02 state to vmcs12 on migration
    cffcb5e0fe2c KVM: x86: allow KVM_REQ_GET_NESTED_STATE_PAGES outside guest mode for VMX
    0faceb7d6dda KVM: nSVM: cancel KVM_REQ_GET_NESTED_STATE_PAGES on nested vmexit
    dca38d7f33bf KVM: arm64: Filter out v8.1+ events on v8.0 HW
    a519d9804456 KVM: x86/pmu: Fix UBSAN shift-out-of-bounds warning in intel_pmu_refresh()
    0517693dcc41 KVM: x86/pmu: Fix HW_REF_CPU_CYCLES event pseudo-encoding in intel_arch_events[]
    2175bf57dc95 btrfs: fix possible free space tree corruption with online conversion
    f343bf1aaf55 btrfs: fix lockdep warning due to seqcount_mutex on 32bit arch
    767c8777ce9c drivers: soc: atmel: add null entry at the end of at91_soc_allowed_list[]
    6975f470ca5d drivers: soc: atmel: Avoid calling at91_soc_init on non AT91 SoCs
    326644a0ede0 crypto: marvel/cesa - Fix tdma descriptor on 64-bit
    c6da54164497 efi/apple-properties: Reinstate support for boolean properties
    4c973f75074a x86/entry: Emit a symbol for register restoring thunk
    c95981ecd985 PM: hibernate: flush swap writer after marking
    e6e9ded8ffa4 s390/vfio-ap: No need to disable IRQ after queue reset
    9218a6b031a1 s390: uv: Fix sysfs max number of VCPUs reporting
    6c6bd9dd1c8d net: usb: qmi_wwan: added support for Thales Cinterion PLSx3 modem family
    1a39162bac95 bcache: only check feature sets when sb->version >= BCACHE_SB_VERSION_CDEV_WITH_FEATURES
    cc11bd18d4a3 drivers/nouveau/kms/nv50-: Reject format modifiers for cursor planes
    29d35b73ead4 drm/i915/gt: Always try to reserve GGTT address 0x0
    aa39818d9256 drm/i915: Always flush the active worker before returning from the wait
    5ebb1cbe463f drm/nouveau/kms/gk104-gp1xx: Fix > 64x64 cursors
    0634449e9977 Revert "drm/amdgpu/swsmu: drop set_fan_speed_percent (v2)"
    39714b66a8b1 ASoC: AMD Renoir - refine DMI entries for some Lenovo products
    b444b86e37b2 x86/xen: avoid warning in Xen pv guest with CONFIG_AMD_MEM_ENCRYPT enabled
    d16c5dfe93ef wext: fix NULL-ptr-dereference with cfg80211's lack of commit()
    442278e4928e ARM: dts: imx6qdl-gw52xx: fix duplicate regulator naming
    a9079d8d3b02 ARM: dts: ux500: Reserve memory carveouts
    14e3388f2f95 ARM: dts: tbs2910: rename MMC node aliases
    b3b75f8cd187 media: rc: ensure that uevent can be read directly after rc device register
    ce9e154a8bcb media: rc: ite-cir: fix min_timeout calculation
    8429fee29143 media: rc: fix timeout handling after switch to microsecond durations
    4b5a88b3f45c media: hantro: Fix reset_raw_fmt initialization
    ae584fbbb658 media: cedrus: Fix H264 decoding
    e76b40d8e9ad media: cec: add stm32 driver
    6141f82fd5ee parisc: Enable -mlong-calls gcc option by default when !CONFIG_MODULES
    d56e3b6a6b14 ALSA: hda/via: Apply the workaround generically for Clevo machines
    eacb5d4e6b64 ALSA: hda/realtek: Enable headset of ASUS B1400CEPE with ALC256
    aa9a6dc62611 kernel: kexec: remove the lock operation of system_transition_mutex
    2aa7eab3e7f0 ACPI: thermal: Do not call acpi_thermal_check() directly
    d6f80e01fade ACPI: sysfs: Prefer "compatible" modalias
    8fe07159fc53 tty: avoid using vfs_iocb_iter_write() for redirected console writes
    41f6f4a31435 nbd: freeze the queue while we're adding connections
    51f58c4882ec iwlwifi: provide gso_type to GSO packets

(From OE-Core rev: a973a4b1eec5ac37b7b7952192d0b0ccf03162ac)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Bruce Ashfield
a63903d7ef linux-yocto-rt/5.10: update to -rt25
Integrating the following commit(s) to linux-yocto-rt/5.10:

    631d91f7275e v5.10.12-rt25
    d810e40efb07 v5.10.8-rt24
    6cc43a603fc0 tracing: Update "Merge irqflags + preemt counter, add RT bits"
    832154acfabe v5.10.8-rt23
    bc910fd5c9b3 v5.10.4-rt22
    6f35bf425de2 tracing: Merge irqflags + preemt counter, add RT bits (update)
    bc15d321859f powerpc/pseries/iommu: Use the local lock properly.
    4a341a1cd188 powerpc: Avoid recursive header includes
    b0764f800b54 v5.10.4-rt21
    c0c5ed1cb29f v5.10.1-rt20
    f26ecd8047bf printk: Update John Ogness' printk series
    c4c153ce68dd tracing: Merge irqflags + preemt counter, add RT bits (update)
    7d90c658b18c z3fold: remove preempt disabled sections for RT

(From OE-Core rev: 3d9c750513204428df1c95bedacad0d64b6fc6cd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Yi Fan Yu
905e5e4b68 valgrind: Disable ptest nlcontrolc for x86-64
Test hangs after glibc 2.33 uprev.

Using gdb `p t[0]` to modify the timeout
argument no longer affects how long `select` wait.

https://bugs.kde.org/show_bug.cgi?id=432870
[YOCTO #14223]

(From OE-Core rev: bb991a24952ebf02cf0092c194d2b3a54a8b2e5b)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Richard Purdie
8f5577c6f7 git: Fix determinism issue
(From OE-Core rev: 9ae740939f8315c64fe7571f912404127a29dc89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Richard Purdie
9113bc1170 xorg-minimal-fonts: Really fix determinism
My previous fix wasn't correct as the file timestamps do vary by git checkout
or modification time and aren't correct here. Instead use a specific
date/time for the files to be deterministic.

(From OE-Core rev: 725a30a30052540a4b7fc2933396fe9eb946eeac)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Khem Raj
52ebb82d53 ruby: Do not use ucontext implementation for coroutines on musl/riscv
The coroutine implementation in ruby has either arch specific
implementations or it falls back to slower ucontext API based
implementation assuming libc will provide the needed APIs, however musl
does not implement ucontext APIs like glibc, therefore fallback is to
use libucontext library on musl. However, libucontext is not ported to
riscv yet. which means on musl/riscv ruby is unbuildable, however a
third option is to use copy implementation for coroutines, which will be
not as good performance-wise, but it will do the job, therefore for now
use copy implementation for rv32/rv64 when using musl

(From OE-Core rev: 3b2b401dbbb8d3aa14a5fd864178f702af3c8115)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Ross Burton
27e9c6871a rootfs_deb: handle aarch64 SDK_ARCH
This class maps from OE architectures to dpkg architectures, but wasn't
handling aarch64 correctly.

(From OE-Core rev: 315fe8ab3b5bb8a709be98cd8998d4525fbe8725)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
fe787318de sysklogd: upgrade 2.1.2 -> 2.2.1
Merge inc and bb files too.

(From OE-Core rev: 76d1af4fe73fee0696067dfc4dd1bc9a9015416a)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
40320137b0 libxt: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: 0669adb95177c8d65f4bb0a43b11e7dfdc49ec50)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
25be88aeee libcap: upgrade 2.47 -> 2.48
(From OE-Core rev: 229ef13d5a6d2dc168c44a32789cbaa2d67773af)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
cba95045a5 libwebp: upgrade 1.1.0 -> 1.2.0
(From OE-Core rev: 82a15fe797cf32c93e2e678463e3341fc7fe5a0e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
fbb9084e73 lighttpd: upgrade 1.4.58 -> 1.4.59
(From OE-Core rev: 95fb3526f71e03e946209df039f84b7e7a2a91dc)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
d9adbc055a gtk+3: upgrade 3.24.24 -> 3.24.25
(From OE-Core rev: 74c559a09b024eca34d0d7b0519618209b064d80)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
3d0e66cf4e psmisc: upgrade 23.3 -> 23.4
(From OE-Core rev: 514a0b78c00296314f601b1e7175756d253b42b1)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
92c65029a2 python3-setuptools: upgrade 52.0.0 -> 53.0.0
(From OE-Core rev: 875fd5cdece20e713c87c0c6a56b7162c735a55b)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
0ab03ba1b5 python3-pytest: upgrade 6.2.1 -> 6.2.2
(From OE-Core rev: 3c46f173b1862beb0df054b300374d531a80654c)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:01 +00:00
Anuj Mittal
3623a6a344 python3-pygments: upgrade 2.7.4 -> 2.8.0
(From OE-Core rev: 1314897614ba2764d2abcf1f44a68a3b0283e2a5)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
5c142018f0 python3-numpy: upgrade 1.20.0 -> 1.20.1
License-Update: change in copyright years

(From OE-Core rev: 62021582bec5c4aa503fb554d9bf67343b5c57c0)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
184de46110 python3-more-itertools: upgrade 8.6.0 -> 8.7.0
(From OE-Core rev: eebc2694c9b591a3cd5f7c4870d5138ccebed748)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
be9633b4d4 python3-hypothesis: upgrade 6.0.2 -> 6.2.0
(From OE-Core rev: f741a3321a08b639073d0ee4a7c6942bc37068bf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
8ef4ca3297 sysstat: upgrade 12.4.2 -> 12.4.3
(From OE-Core rev: d8ad03cb38881e8cd42ab372d7dd730c5decc432)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
b9c0f5ab01 python3-git: upgrade 3.1.12 -> 3.1.13
(From OE-Core rev: a0a0f55701f72c9fcdfde3c8b27d4f6f30cb7e2d)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
4306943760 pigz: upgrade 2.4 -> 2.6
(From OE-Core rev: 2df01c9fd4d4add863938a6f7679a5af4c5917a6)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
5976efcd4d piglit: upgrade to latest revision
(From OE-Core rev: 5144d515fe69916b1a98c45411fe574de2851772)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
4822c33f36 libuv: upgrade 1.40.0 -> 1.41.0
(From OE-Core rev: e7ceb8264292038005c865d83eaba0ad7de39e75)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
376092aa4b createrepo-c: upgrade 0.16.2 -> 0.17.0
(From OE-Core rev: 024cd3e83ccd0e73d99d6ab2a572fe2151069aed)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
91bfafed36 x264: upgrade to latest revision
(From OE-Core rev: 9ab20450c912d5b3b803e6d9d9d0d8b1c5861e2e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
3bd98cc1d5 vte: upgrade 0.62.1 -> 0.62.2
(From OE-Core rev: eb6c354733d659e6bd4c5ccf322de70ccc4c0b88)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
ff8ecb469a stress-ng: upgrade 0.12.02 -> 0.12.03
(From OE-Core rev: 01c99bb02e99feae3a1378d0b40b4bf3c51d6bac)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
e9f8aa570c libevdev: upgrade 1.10.1 -> 1.11.0
License-Update: change to MIT.

See:
https://lists.freedesktop.org/archives/input-tools/2021-February/001557.html

(From OE-Core rev: 63208a5f880e6fdfb2d117d7d0574604c426bf88)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
cce4696546 help2man: upgrade 1.47.16 -> 1.48.1
(From OE-Core rev: d83c65e44c87970ab017a945873fca7d09645352)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
990c93dfff glib-2.0: upgrade 2.66.4 -> 2.66.7
(From OE-Core rev: 846d9c710a78af7602fbfe7f1f24d2f791087202)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Anuj Mittal
7ab4d41ff6 git: upgrade 2.30.0 -> 2.30.1
(From OE-Core rev: 35cad7ae4f4346d3965243e286f5ac4d43bcfe67)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:40:00 +00:00
Richard Purdie
9671321b67 local.conf.sample.extended: Bring back into sync with OE-Core
(From meta-yocto rev: ea6e777cac72f22b56b2c8be0ba05ba164efe5de)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:33:44 +00:00
Vivien Didelot
240f7c3018 local.conf.sample.extended: prefer INIT_MANAGER
Since the INIT_MANAGER variable has been introduced, there is no need
to append the distro features and set the init manager manually.

Replace the busybox/mdev and systemd examples with the 4 values
currently supported for the INIT_MANAGER variable.

(From meta-yocto rev: 2433a0f78a7fdb8450ef9ec64fa044274ac7a9e1)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-18 23:33:44 +00:00
Richard Purdie
a9fe2ccbbb Revert "oe-selftests: add rpm to reproducible build selftest"
This reverts commit 84d3a90557444d8cd83d780b1c3f2b278ab07af2.

This shouldn't have been merged, its not ready yet.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:20:24 +00:00
Richard Purdie
2e4eaa5701 qemu: Refresh mmap fixes patch status/content
One mmap patch was merged upstream, the other is in progress but after
discussion has been amended and resent. Update the patches as such.

(From OE-Core rev: c68349a3334542e51f6c1c23f4f4342e4fce2b81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Jan-Simon Möller
35fb71f38f oe-selftests: add rpm to reproducible build selftest
rpm packaging has shown good numbers wrt reproducible builds as well
when testing core-image-minimal locally:

 Reproducibility summary for rpm: same=4671 different=0 missing=0 total=4671

Thus enable it in the autobuilder to be more widely tested.

(From OE-Core rev: 84d3a90557444d8cd83d780b1c3f2b278ab07af2)

Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Richard Purdie
f45877b208 systemd: Drop unneeded musl patches
These two header fixes are not needed with the current source as the
headers are there through other header files. Drop the patches.

(From OE-Core rev: ece3efe43b6b9de5426c23f29db15dd709bcd749)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Joshua Watt
b6018a1625 acpica: Fix reproducibility issues
Fixes reproducibility when build acpica yacc sources by instructing
bison on how to do the file prefix mapping

(From OE-Core rev: d13a1df7bd173fca3fc2cdf889d5eb487e35d6fd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Joshua Watt
d01e2b5c14 bison: Fix up file name mapping
File name mapping was added to bison, but needs to be applied in more
cases. Add a patch to enable file name mapping for symbols

(From OE-Core rev: 5a213506377b0db4e88ca094215eadf08c21a2e1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Richard Purdie
60d317796a python3-jinja2: upgrade 2.11.2 -> 2.11.3
(From OE-Core rev: d6d469b73703fc8f0b30aa7f71525306a911a85c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Richard Purdie
dabae8722b subversion: upgrade 1.14.0 -> 1.14.1
(From OE-Core rev: ee8414fa2bef13a64e71e941c3df8e7a0cd9e2d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Richard Purdie
2c0511b2a1 distutils3-base: Fix after native packaging changes
Now that native recipes have PACKAGES, this DEPENDS construct doesn't
work. It applies to target and nativesdk recipes so adjust accordingly.

(From OE-Core rev: 5d459ba1c13c89b246a0f8d743027e1de93da910)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-17 11:01:17 +00:00
Vivien Didelot
9cd171b77b local.conf.sample.extended: fix double 'of' typo
Remove the redundant 'of' word in the INITRAMFS_IMAGE comment.

(From meta-yocto rev: 200b05182c74f3f4f778907d5ee92831adb3d77e)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 19:00:51 +00:00
Joshua Watt
f5f6504e57 bitbake: contrib: Add Dockerfile for building hash server
Adds a Dockerfile for build the reference hash equivalence server in a
container

(Bitbake rev: d9a0a88db5888039bfbb6ce5129b43350f79b1c1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:53:25 +00:00
Richard Purdie
e26e2bf78e selftest/reproducible: Update exclusions
Add ruby-ri-docs and meson back as not reproducible, remove watchdog,
xorg-minimal-fonts and xmlto as issues fixed.

(From OE-Core rev: 5e209a7455a231342cded99985b4a6caff424e4f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
b47421e745 xmlto: Fix reproducibility
Don't hardcode the host's grep path into xmlto.

(From OE-Core rev: a7d78971df193c321c309481749fc30cae77788c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
86b462068c xorg-fonts-minimal: Fix reproducibility
When installing the font files, preserve their timestamp rather than using
the current time which fixes reproducibility issues.

(From OE-Core rev: a0c4f4b0182a995f0eb2709cc9b3c852527ab936)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
f5c35a5918 watchdog: Avoid reproducibility failures after fixing build
Add some temporary bumps to versions to change the output hash so
the fix applies correctly. Can be dropped next time we update the
recipe and the output changes.

(From OE-Core rev: 69205edcdff865048e55a6b7feaf82064ebc10c5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
d27686b325 watchdog: Fix determinism issue from sendmail host path
The build was injecting the path of the host's sendmail binary. Set
this deterministically to match OE's path for it.

(From OE-Core rev: 476328b91ea4417160580d28df4fcc1147d85ae2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Joshua Watt
6b08be31ff oeqa: reproducible: Add more logging
The reproducible build tests can take a long time, so having more
logging messages at various points in the build can help debug where the
build is taking a long time.

(From OE-Core rev: 6b792afe8759d62af8e713b86dad8f6721961a05)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Joshua Watt
aeab16e89a oeqa: reproducible: Fix SSTATE_MIRRORS variable
The SSTATE_MIRRORS variable was misspelled, which allowed the "clean"
test build to pull from the mirror.

(From OE-Core rev: e42497bd84d0bb370a9f7b0448bff29f01fd1b0c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
2e65550498 buildtools-extended-tarball: Add glibc-gconvs needed for build
When building vim it tries to rebuild files using iconv. If this fails
the build continues anyway but the output is not determnistic as builds
using a hosttools tarball are different from builds where there isn't a
hosttools tarball. Add the needed gconvs to the tarball when iconv is
present to become determistic and generate vim locales consistently.

(From OE-Core rev: b945652a088f430a2adec6b968cd00c5928d4272)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
b08bc75f22 quilt: Be determnistic about column presence
I've seen local differences in the quilt output depending on whether the column
binary was available in the sysroot. Fix determinism issues by being specific
about configuration.

(From OE-Core rev: 0cd5fba8634bcc679518f98cc25be66a51081372)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
06e6505abf package_manager/deb: Fix image generation with package removal
When building SDKs with the deb backend you could see errors like:

Setting up nativesdk-python3-ndg-httpsclient (0.5.1-r0) ...
mkdir: cannot create directory ‘/usr/lib/opkg’: Permission denied
dpkg: error processing package nativesdk-python3-ndg-httpsclient (--configure):

which is due to environment misconfiguration when removing packages.

Fix this by setting the same environment variables as used for installation.

(From OE-Core rev: f23c7e319a192ada14bb9a82822ef2967309aaea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
d290013d91 vim: Fix a race over creation of the desktop files
The LINGUAS file can be written by two different Makefile targets
and if they race, the desktop file contents isn't deterministic.

Fix the makfile to avoid this.

(From OE-Core rev: 416bc7b697764075fbf73683cd8bddf36d839244)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
4d73ac2bd6 vim: Improve determinism
Add a couple of configure options to avoid determism issues in the vim build.
This can happen due to the addition of glib-2.0 to the native sysroot through
later task additions to the sysroot through indirect dependencies.

(From OE-Core rev: 914f86054f5ea0a115767c1b3d9cdb4c4ef9545b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Marek Vasut
d2cc09b32f weston-init: Fix weston-keyboard path in weston.ini
The weston-keyboard executable is installed into /usr/libexec
instead of /usr/lib/weston , correct the path in weston.ini .

(From OE-Core rev: 56dee47a5ddb1da66d30f894a282d0658dcc930c)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
3b34804a0b cwautomacros: Ensure version is set deterministically
The makefile injects the current date into the version file. Do this
deterministically with SOURCE_DATE_EPOCH.

(From OE-Core rev: 31f2ad739ea776a1e11b5cef5434df188007c7bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
522607e704 classes: Drop now unneeded umask flags
Now that 022 is the default in BB_DEFAULT_UMASK in bitbake.conf, we
don't need any of these task flags, clean up.

(From OE-Core rev: 816fca781943a7dbf40391d9db34c7bf12711962)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:17 +00:00
Richard Purdie
c4ecf7c112 bitbake.conf: Set as default task umask of 022
Rather than trying to set the umask of every task to the correct
value for determinism, set one value globally. This uses a new
bitbake variable so bump the minimum version to match.

This fixes strange determinism issues in at least quilt-ptest,
valgrind-ptest and kernel-devsrc.

(From OE-Core rev: b07b7deeae3d519d9998d583592f3e4f8f2802b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Khem Raj
707b62f130 go: Update to 1.15.8
(From OE-Core rev: 2b724599e29808014f5d9c1fdc70d20abab9b3e5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Khem Raj
108e21b629 musl: Update to latest master
Brings in following changes

* e5d28236 riscv64: define ELF_NFPREG
* 964104f9 math: fix expm1f overflow threshold
* c4c38e63 math: fix acoshf for negative inputs
* 074932c8 fix possible fd leak via missing O_CLOEXEC in pthread_setname_np
* 9b77aaca oldmalloc: preserve errno across free
* 98b9df99 fix build regression in oldmalloc
* 2010df0d preserve errno across free
* 9afed99c fix inconsistent signature of __libc_start_main
* dd5b6384 fail posix_spawn file_actions operations with negative fds

(From OE-Core rev: 9e71e44db51c73cae2d493bee2f43c37025befbb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Oleksandr Kravchuk
607dccffbc tar: update to 1.34
(From OE-Core rev: 6dd51b6d2f2c7110d8c2755dadcdb04f60db7d83)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Thomas Viehweger
2e32affc98 mtd-utils: Remove duplicate assignments to alternative link names
The two duplicate lines are not needed. The existence is confusing.

(From OE-Core rev: 36bdb4faa90dc18bc020481eba82ee570b968c39)

Signed-off-by: Thomas Viehweger <patchesThomas.Vie@web.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Khem Raj
425c005cfa gdb: Drop SIGRTMIN definition patch
This has been already fixed in gdb via
https://sourceware.org/pipermail/gdb-patches/2015-October/128532.html

and W_STOPCODE is fixed by including gdbsupport/gdb_wait.h in nat/linux-nat.h

(From OE-Core rev: b5bafde095fedb2c6f6a526c647dd08f07444f6f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Richard Purdie
4e585ef52b systemd: Simplify mount error patch
As mentioned during review, this patch can be less invasive and hence easier
to maintain. Improve as such.

(From OE-Core rev: 3a1bd768e62a493aa73e82f5c443ca28b108af51)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:28:16 +00:00
Richard Purdie
c8d4f2e401 bitbake: bitbake: Bump version to 1.49.2
This allows metadata to rely upon BB_DEFAULT_UMASK.

(Bitbake rev: 969ac64adab236ce2d5196bcc294005a497913ae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:26:11 +00:00
Richard Purdie
f4fb744657 bitbake: bitbake-worker/runqueue: Add support for BB_DEFAULT_UMASK
Currently each task has to have a umask specified individually. This
is leading to determinism issues since it is easy to miss specifying
this for an extra task.

Add support for specifing the default task umask globally which
simplifies the problem.

(Bitbake rev: 3e664599fd54a8a37ce587022fcbce5ca26f2ed3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:26:11 +00:00
Tomasz Dziendzielski
8b792d4f75 bitbake: event: Prevent bitbake from executing event handler for wrong multiconfig target
When multiconfig is used bitbake might try to run events that don't
exist for specific mc target. In cooker.py we pass
`self.databuilder.mcdata[mc]` data that contains names of events'
handlers per mc target, but fire_class_handlers uses global _handlers
variable that is created during parsing of all the targets.

This leads to a problem where bitbake runs event handler that don't
exist for a target or even overrides them - if multiple targets use
event handler with the same name but different code then only one
version will be executed for all targets.

See [YOCTO #13071] for detailed bug information.

Add mc target name as a prefix to event handler name so there won't be
two different handlers with the same name. Add internal __BBHANDLERS_MC
variable to have the handlers lists per machine.

(Bitbake rev: 5f7fdf7b2d8c59805c8ef4dae84f536baa5e172b)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-16 11:26:11 +00:00
Richard Purdie
f162c34fdb pseudo: Update to include fixes for glibc 2.33
Pull in the changes:
makewrappers: Fix glibc 2.33 fstatat usage issues
ports/linux: Add wrapper for fstatat/fstatat64 in glibc 2.33

(From OE-Core rev: dfcb1c5eb2690046f96c2bb6724e091028ddc3ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-15 20:54:38 +00:00
Michael Halstead
6b24d3fc58 yocto-uninative.inc: version 3.0 incorporate seccomp filter workaround
(From OE-Core rev: 317f8bf320383e81085f5740e202a7edb12932c7)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Jose Quaresma
49c0f7deec shaderc: remove the receipe configure hack and use a patch for that
[Yocto #14226]

[RP: Small patch filename fixup to allow to build]
(From OE-Core rev: 1de7a3fe68080759c5fc52c8bfe7dcf4a860a2ac)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Jose Quaresma
a93bb94d74 glslang: add comment about unversioned libraries
(From OE-Core rev: bbd158a123e070f1b1cc92436da64bc64e87b298)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Jose Quaresma
1fdc54910d glslang: generate glslang pkg-config
- it will be useful for shaderc

(From OE-Core rev: 49972f91d434303e4744a608b2e8c00fcbcc5397)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Jose Quaresma
f36e16564e spirv-tools: build all libaries as shared
(From OE-Core rev: 817197e69a6b3945ffa5ba52ba5577b45e497fb3)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Jose Quaresma
acf109c1a1 spirv-tools: disable tests
(From OE-Core rev: 3341601d6ef7e16f2e296a58d3b6b28d099aa1a3)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Oleksandr Kravchuk
81c152bac2 cryptodev: upgrade to 1.12
(From OE-Core rev: fc4a42442a31f094ef20d9d2f97b4e2e1a9bbead)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Suji Velupillai
b6e67e3d28 ffmpeg: move ffmpeg config into packageconfig
Move ffmpeg configuration options to Yocto PACKAGECONFIG options.

(From OE-Core rev: 30b68fa0386fa525df92ebce4d63e501598e65fe)

Signed-off-by: Suji Velupillai <suji.velupillai@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:13 +00:00
Richard Purdie
fcdd03a1e7 selftest/reproducible: Remove no longer needed exclusions
It appears these exclusions are no longer needed with master, drop
them and improve our reproducibilty metrics.

(From OE-Core rev: c71c984a9cd6d130ece08153d7d92bb33c7ec444)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Richard Purdie
cb0c95dedb selftest/reproducible: Sort the unused exclusion list
This makes comparisions between lists easier.

(From OE-Core rev: d2c52125d1cdc06c7e08d507ca68f3e4612a4314)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Alexander Kanavin
84c37fad4c selftest/reproducible: track unusued entries in the exclusion list
This helps with trimming down the list, and towards 100% reproducibility :)

(From OE-Core rev: da7a173d7a01524229c8515326465968a845e96f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Joshua Watt
900c8abe1c weston: remoting backend requires GStreamer base plugins
The remoting backend of weston requires the GStreamer base plugins, so
add them to the PACAKGECONFIG depends list.

(From OE-Core rev: 0b45994656fee7c4b7bdb5bd8571f0c61217a182)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Joshua Watt
7f70eedc13 libomxil: Fix up commercial license flag
The commercial license flag on libomxil is set because it may include
the Adaptive Multi-Rate audio codec (AMR) using FFmepg, which is patent
encumbered.

It turns out this component is disabled by default in the recipe; add a
PACKAGECONFIG to enable it and trigger the "commercial" LICENSE_FLAGS on
it. This make the default build configuration clean unless a user
specifically asks for AMR support, and prevents them from marking the
recipe with the "commerical" flag unnecessarily which could hide
potential problems later on.

(From OE-Core rev: 5f61e20002c2af93e2d6810574e23606925526ee)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Richard Purdie
973d2a35ef nativesdk-buildtools-perl-dummy: Add new autoconf dependencies
When used in SDKs we need to provide the perl modules used by autoconf.
Add new ones needed by recent changes.

(From OE-Core rev: b548c2f4d1d88f80d713551a408064d4f5ff3d7f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Khem Raj
71ea678a7c autoconf: Add missing perl modules to rdeps
Calling autoreconf with on-device sdk fails due to missing perl modules
which are required for it to work with autoconf 2.71+

Fixes
Can't locate File/Temp.pm in @INC (you may need to install the File::Temp module) (@INC contains: /usr/share/autoconf /usr/lib/perl5/site_perl/5.32.0/riscv32-linux /usr/lib/perl5/site_perl/5.32.0 /usr/lib/per
l5/vendor_perl/5.32.0/riscv32-linux /usr/lib/perl5/vendor_perl/5.32.0 /usr/lib/perl5/5.32.0/riscv32-linux /usr/lib/perl5/5.32.0 .) at /usr/bin/autoreconf line 50.
BEGIN failed--compilation aborted at /usr/bin/autoreconf line 50.

(From OE-Core rev: fa047cc649ceaa5f65569179b3c372d246d4ba0c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-13 17:01:12 +00:00
Ross Burton
0ba0a534a3 glibc: add workaround for faccessat2 being blocked by seccomp filters
Older seccomp-based filters used in container frameworks will block faccessat2
calls as it's a relatively new syscall.  This isn't a big problem with
glibc <2.33 but 2.33 will call faccessat2 itself, get EPERM, and thenn be confused
about what to do as EPERM isn't an expected error code.

(From OE-Core rev: 4d6ad6d611834c2648d6bf9791cb8140967e2529)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-12 23:32:16 +00:00
Yoann Congal
f13c22358a npm.bbclass: avoid building target nodejs for native npm recipes
The current recipe unconditionally RDEPENDS on nodejs (the target one).
When building on the "-native recipe" of "BBCLASSEXTEND native" recipe,
the target nodejs is unnecessarily built.

This patch fixes this by only RDEPENDS on nodejs when building for the target.

(From OE-Core rev: 92a9a86df9e3bcffb13d2f8b5dcbe7822170f734)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-12 23:32:16 +00:00
Khem Raj
fa7db24367 security_flags.inc: Add same O<level> as in SELECTED_OPTIMIZATION
Adding -O can be troublesome in some packages where it may override the
O<n> specified by CFLAGS, this can be due to configure processing of
CFLAGS and munging them into new values in Makefiles, which is
contructed from CC and CFLAGS passed by bitbake environment. Problem
arises if the sequence is altered, which seems to be the case in some
packages e.g. ncurses, where the value from CC variable is added last
and thus overrides -O<n> coming from CFLAGS,

Therefore grok the value from SELECTED_OPTIMIZATION and append the
appropriate -O<level> flag to lcl_maybe_fortify so the level does not
change inaderdantly.

Since we do not use -O0 anymore there is no point of checking for
DEBUG_BUILD since it uses -Og now which works fine with
-D_FORTIFY_SOURCE=2, so check for optlevel O0 instead

(From OE-Core rev: 9571a18f7d15b3bffafc2e277ab90a21d6763697)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-12 23:32:16 +00:00
Khem Raj
3c0919821b tcf-agent: Fix build on riscv32
LCL_STOP_SERVICES needs tcf/cpudefs-mdep.h ported

(From OE-Core rev: ed5e0de938469a7fa4e6cd725d9e0c8325d890d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-12 23:32:16 +00:00
akuster
d41e3e7d4c connman: update to 1.39
Bug fix only and includes two security fixes:

CVE-2021-26675
CVE-2021-26676

Changelog:
- Fix issue with scanning state synchronization and iwd.
- Fix issue with invalid key with 4-way handshake offloading.
- Fix issue with DNS proxy length checks to prevent buffer overflow.
- Fix issue with DHCP leaking stack data via uninitialized variable.

[Yocto #14231]

(From OE-Core rev: eb20fd47d738f469f7bbeb4b8d85040f9163722b)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-12 23:32:16 +00:00
Richard Purdie
064e203987 pseudo: Update for rename and faccessat fixes
Pull in:

  ports/rename/renameat: Avoid race when renaming files
  ports/unix: Add faccessat and faccessat2
  ports/access.c: Use EACCES, not EPERM

which includes a fix for rename race issues causing pseudo aborts.

(From OE-Core rev: 330c232e4f756296331f9026e91ac26fd45f0315)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-12 23:29:51 +00:00
Dorinda
9294bc4bb4 oe-pkgdata-util: Check if environment script is initialized
Tinfoil doesn't behave well if environment is not initialized, this check ensures a proper error log if environment is not initialized.

[YOCTO #12096]

(From OE-Core rev: e88073e16f1b4cfd0f97c81a988640a84adad674)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:55 +00:00
Robert Rosengren
c2580d3a78 mpg123: Add support for FPU-less targets
Support added to configure mpg123 for FPU-less targets. Building for
fixed-point arithmetic increases performance on such devices.

(From OE-Core rev: 55a65571d19407befd3c2d152680573d7318c279)

Signed-off-by: Robert Rosengren <robert.rosengren@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:55 +00:00
Richard Purdie
4094b0bd50 opkg: Fix patch glitches
The original patch contained some text which shouldn't have been there
and used brackets in configure which isn't a great idea. Tweak the patch
to resolve this.

(From OE-Core rev: 63cbf187fe189c99645fe3afee8a6361a9a32cdc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:55 +00:00
Wang Mingyu
7a89d2d2ed parted: upgrade 3.3 -> 3.4
0001-Move-python-helper-scripts-used-only-in-tests-to-Pyt.patch
0001-libparted-fs-add-sourcedir-lib-to-include-paths.patch
0002-tests-use-skip_-rather-than-skip_test_-which-is-unde.patch
removed since they are included in 3.4

Add python3-core to RDEPENDS_parted-ptest
since /usr/lib/parted/ptest/tests/msdos-overlap contained in package parted-ptest requires /usr/bin/python3

(From OE-Core rev: c7d7e5f8177cdebd580ca7ff8f4412596567aff1)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:55 +00:00
akuster
ede47ac147 documentation.conf: add both CVE_CHECK_LAYER_*
(From OE-Core rev: cac7f890f6b223006c1c290e76b9d575b729d87d)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:55 +00:00
Richard Purdie
0b9711efcb Fix up bitbake logging compatibility
Bitbake changed the debug() logging call to make it compatible with
standard python logging by no longer including a debug level as the
first argument. Fix up the few places this was being used.

Tweaked version of a patch from Joshua Watt.

(From OE-Core rev: 5aecb6df67b876aa12eec54998f209d084579599)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:55 +00:00
Richard Purdie
7f4d057585 sanity.conf: Increase minimum bitbake version due to logging function change
(From OE-Core rev: 8ddfab7b185dbba171afce80260e5638eb06a769)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:55 +00:00
Richard Purdie
e1691ae855 bitbake: bitbake: Bump release to 1.49.1
(Bitbake rev: 9f23fa605c542a705d00c6c263491899d55bb0d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
Joshua Watt
75f87db413 bitbake: logging: Make bitbake logger compatible with python logger
The bitbake logger overrode the definition of the debug() logging call
to include a debug level, but this causes problems with code that may
be using standard python logging, since the extra argument is
interpreted differently.

Instead, change the bitbake loggers debug() call to match the python
logger call and add a debug2() and debug3() API to replace calls that
were logging to a different debug level.

[RP: Small fix to ensure bb.debug calls bbdebug()]
(Bitbake rev: f68682a79d83e6399eb403f30a1f113516575f51)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
Richard Purdie
7283a0b3b6 bitbake: bblayers/action: When adding layers, catch BBHandledException
When adding a layer, parse error can occur, raising BBHandledException.
Catch this and error, aborting the layer add to meet user expectations.

[YOCTO #14054]

(Bitbake rev: ceddb5b3d229b83c172656053cd29aeb521fcce0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
Richard Purdie
df90345d33 bitbake: cooker: Ensure reparsing is handled correctly
From tinfoil, if you edit bblayers.conf and break it, then call
parseConfiguration (e.g. by adding a bad layer with bitbake-layers),
the system doens't show any parse error yet it should.

Add in a call to the updateCache function so that things really
are reparsed when requested.

Partially fixes [YOCTO #14054]

(Bitbake rev: e655f9361b9c3b77906b8e06b5cc76bc5180640e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
Tomasz Dziendzielski
a30a06d9c1 bitbake: BBHandler: Don't classify shell functions that names start with "python*" as python function
If shell function name starts with 'python' or 'fakeroot' parser wrongly
assumes it's python/fakeroot function.

[YOCTO #14204]

Use regex lookahead assertions to check if 'python' expression is
followed by whitespace or '(' and if 'fakeroot' is followed by
whitespace.

(Bitbake rev: b07b226d5d1b3acd3f76d8365bc8002293365999)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
Paul Barker
40ecec326e bitbake: hashserv: Add get-outhash message
The get-outhash message can be sent via the get_outhash client method.
This works in a similar way to the get message but looks up a db entry
by outhash rather than by taskhash. It is intended to be used as a
read-only form of the report message.

As both handle_get_outhash and handle_report use the same query string
we can factor this out.

(Bitbake rev: dc19606ada29a4d8afde4fcecd8ec986b47b867e)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
Paul Barker
73160aac06 bitbake: hashserv: server: Support searching upstream for outhash
Use the new get-outhash message to perform a read-only query against an
upstream server (if present) when a reported taskhash/outhash
combination is not found in the current database. If a matching entry is
found upstream it is copied into the current database so it can be found
by future queries.

(Bitbake rev: 2be4f7f0d2ccb09917398289e8140e1467e84bb2)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
Paul Barker
94f34b951b bitbake: hashserv: Add short forms of remaining command line arguments
Short form arguments are added for convenience.

(Bitbake rev: 921199a4923ce383b27e23c9b7e34eb785c8bae3)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
Paul Barker
44176bd385 bitbake: hashserv: Support upstream command line argument
The hashserv server already implements support for pulling hash data
from another "upstream" server. Add the -u/--upstream argument to the
bitbake-hashserv app to expose this functionality to users.

(Bitbake rev: 8de510f1de35e581bcd5858edf23619c6a4cf923)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
Paul Barker
3b559bb16d bitbake: hashserv: Support read-only server
The -r/--readonly argument is added to the bitbake-hashserv app. If this
argument is given then clients may only perform read operations against
the server. The read-only mode is implemented by simply not installing
handlers for write operations, this keeps the permission model simple
and reduces the risk of accidentally allowing write operations.

As a sqlite database can be safely opened by multiple processes in
parallel, it's possible to start two hashserv instances against a single
database if you wish to export both a read-only port and a read-write
port.

(Bitbake rev: 492bb02eb0e071c792407ac3113f92492da1a9cc)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-10 23:48:16 +00:00
Alexander Kanavin
f5188da2f1 u-boot: upgrade 2020.10 -> 2021.01
tools/binman/binman needs python3-setuptools now.

(From OE-Core rev: cb896051a7e7b25c02fb40aa8a422d3e5580dd34)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 11:22:54 +00:00
Lee Chee Yang
34ea1433fc wic: debug mode to keep tmp directory
files in wic tmp directory can be usefull for debugging, so do not remove
tmp directory when wic create run with debugging mode (-D or --debug).

also update wic.Wic.test_debug_short and wic.Wic.test_debug_long to
check for tmp directory.

[YOCTO#14216]

(From OE-Core rev: a122e2418b67d38f691edcf8dd846c167d6b4fa9)

Signed-off-by: Lee Chee Yang <Chee.Yang.Lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:11 +00:00
Khem Raj
7747c98bf2 autoconf: Fix typo for prefuncs
(From OE-Core rev: c64b06296b378e99cde489583c97b7d7edba4f88)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:11 +00:00
Chee Yang Lee
d6b4d57e62 initrdscripts: init-install-efi.sh install extra files for ESP
Currently the install script copy only few hard coded item while
setting up target ESP, kernel artifacts, all .efi in EFI/BOOT,
grub & boot cfg and loader.conf.
While ESP can be much complex, eg: contain multiple initrd.

Add a ESP folder to carry any other files to setup onto ESP.

(From OE-Core rev: 6eaca9cf20c42501fba27dea3a6446bad948e859)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:11 +00:00
akuster
73befa8f41 cve-check: add include/exclude layers
There are times when exluding or including a layer
may be desired. This provide the framwork for that via
two variables. The default is all layers in bblayers.

CVE_CHECK_LAYER_INCLUDELIST
CVE_CHECK_LAYER_EXCLUDELIST

(From OE-Core rev: 5fdde65ef58b4c1048839e4f9462b34bab36fc22)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
akuster
29e280f7ee cve-check.bbclass: add layer to cve log
Lets include whcih layer a package belongs to and
add it to the cve logs

(From OE-Core rev: 00d965bb42dc427749a4c3985af56ceffff80457)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
zhengruoqin
93775123c5 python3-packaging: upgrade 20.8 -> 20.9
20.9 - 2021-01-29
~~~~~~~~~~~~~~~~~

* Run [isort](https://pypi.org/project/isort/) over the code base (:issue:`377`)
* Add support for the ``macosx_10_*_universal2`` platform tags (:issue:`379`)
* Introduce ``packaging.utils.parse_wheel_filename()`` and ``parse_sdist_filename()``
  (:issue:`387` and :issue:`389`)

(From OE-Core rev: 6199c71030d527c57a1cb8496a377afb503d7670)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Wang Mingyu
11d23de584 libdrm: upgrade 2.4.103 -> 2.4.104
Add 0001-meson-Also-search-for-rst2man.py.patch to fix bug of program rst2man cannot be found.

Add dependency python3-docutils-native to manpages.

(From OE-Core rev: 600b75cef2807ccb3f89f24c77d02cd6e0a99e1f)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Wang Mingyu
485af44c14 bind: upgrade 9.16.10 -> 9.16.11
rename directory of patches
-License-Update: Copyright year updated to 2021.

(From OE-Core rev: 316f9602c633fdf52009b4567ccf598d1c716acd)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Alexander Kanavin
c1335d558f spirv-tools: correct version check
(From OE-Core rev: e4ef9eaea1e05975bd09b838e6ba35cc56da37d6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Alexander Kanavin
2f82cf5a42 shaderc: correct version check
(From OE-Core rev: 4e22a84e0482d8c56942acd0243c94f20484ffef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Alexander Kanavin
9b106a2f0b at: correct upstream version check
(From OE-Core rev: 0e2dfa9f7904db32a14c09b1d451382a4c91f85d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Alexander Kanavin
b85d2a236c tar: update 1.32 -> 1.33
Drop musl fix as upstream fixed the issue.

(From OE-Core rev: 9ac95af964876752e7dae819f5b678ae4b510064)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Alexander Kanavin
95204ac052 libhandy: upgrade 1.0.2 -> 1.0.3
(From OE-Core rev: 97acf2c86b7496385eabf57d5e21dae835a45e6b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Alexander Kanavin
bf34676143 dpkg: update 1.20.5 -> 1.20.7.1
(From OE-Core rev: b13ebb89b63a8a7d1c5d688c72c4aa4f54088963)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Alexander Kanavin
d8fe22e05f vulkan-samples: update to latest revision
Drop patch merged upstream.

(From OE-Core rev: 4ca7c5435a379160fb9ac2d2d9d7aa5550632f65)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Alexander Kanavin
e789354511 ruby: update 2.7.2 -> 3.0.0
Drop 0001-Modify-shebang-of-libexec-y2racc-and-libexec-racc2y.patch
as files removed upstream.

License-Update: formatting

Drop autoconf270.patch, as no longer needed with 3.0.0
(I verified against master-next which has the new autoconf).

(From OE-Core rev: 8fbf04053845aac24e0c0f1395051b60294e02a3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Alexander Kanavin
612c8b8b12 python3-setuptools: update 51.0.0 -> 52.0.0
easy_install script removed upstream:
https://github.com/pypa/setuptools/blob/v52.0.0/CHANGES.rst

Tarballs are now provided instead of zip files.

License-Update: formatting

(From OE-Core rev: 131105f94c8de1f087e8bd6e3e76a5c38962ae7d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Alexander Kanavin
cdd670b3cf gptfdisk: update 1.0.5 -> 1.0.6
(From OE-Core rev: 124416ee6ff3228101f7b4423b6a5581a096cae1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
Alexander Kanavin
35c4fbe550 distcc: update 3.3.3 -> 3.3.5
(From OE-Core rev: e7521584b4acfc1ffa612f0167cef53eab967bcc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-09 08:56:10 +00:00
zhengruoqin
6131fb0e1b sqlite3: upgrade 3.34.0 -> 3.34.1
(From OE-Core rev: d26f5601d0cfe15cf9ef953e33e5e36e1b58e915)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-08 14:47:16 +00:00
Khem Raj
9c7f1052f0 systemd: Fix build on musl
include "missing_stdlib.h" is needed for strndupa()

(From OE-Core rev: 87c9ed35fce8c9358d8a5dda20ece0a46cbff325)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-08 14:47:16 +00:00
Oleksandr Kravchuk
c43b253bc5 ell: update to 0.37
Changelog:
- Fix issue with D-Bus filter messages with no interfaces set.
- Add support for PKCS#12 certification loading.

(From OE-Core rev: a522b528170291264a1dd5293840bec7cdfa7311)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-08 14:47:16 +00:00
Oleksandr Kravchuk
bf64a62bfd inetutils: update to 2.0
Removed upstreamed patches and refreshed q few other.

(From OE-Core rev: a21e8fdf1b66961ddae5929d393daa08800bb748)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-08 14:47:16 +00:00
Jose Quaresma
c5d80f154d selftest/reproducible: remove spirv-tools-dev from exclusion list
(From OE-Core rev: ecb156fa391b29c6b317abb7bb126a36d709be6a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-08 14:47:16 +00:00
Jose Quaresma
f5ef0e12d0 spirv-tools: fix reproducible
- remove build host path in cmake dev file to fix spirv-tools-dev reproducible
  https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210125-8161_obd/packages/diff-html/

(From OE-Core rev: 7795a919f127b5fde5eb2049ec4e1e22f16bfee7)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-08 14:47:16 +00:00
Khem Raj
525493e3ef security_flags.inc: Use -O with -D_FORTIFY_SOURCE
compiler can only use fortify options when some level of optimization is
on, otherwise it ends up sending some warnings.

warning: _FORTIFY_SOURCE requires compiling with optimization (-O) [-W#warnings]

this is usually OK, since -O<level> would be added via CFLAGS to
compiler cmdline in normal compile stages, however during configure
there are problems when CC,CPP,CXX are probed alone in configure tests
which results in above warning, which confuses the configure results and
autotools 2.70+ detects it as error e.g.

configure:17292: error: C preprocessor "riscv32-yoe-linux-clang -target riscv32-yoe-linux      -mlittle-endian -mno-relax -Qunused-arguments -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/mnt/b/yoe/master/build/tmp/work/riscv32-yoe-linux/ndpi/3.4-r0/recipe-sysroot -E" fails sanity check
See `config.log' for more details

therefore adding a -O ( which actually is -O1 ) to lcl_maybe_fortify
means we can properly test these configure tests and real -O<level> will
still override -O added here, so overrall behavior improves

(From OE-Core rev: b6113dd68caa46d56cf3c8293119f2b9d8b137fd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-08 14:47:16 +00:00
Michael Halstead
88cb39cc3c yocto-uninative.inc: version 2.11 updates glibc to 2.33
Support glibc 2.33.

(From OE-Core rev: 5c7f963d395aa4a94d78c37883488baac471ea43)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Ross Burton
20f926f086 autotools: no need to depend on gnu-config
autoconf 2.70 onwards installs its own copies of config.guess/config.sub
which we keep up to date when autoconf builds, so there's no need to
depend on gnu-config for those files.

(From OE-Core rev: 332145c34b4aac2e74a713070af25414e1fd8c9c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Ross Burton
bea9c8b988 autotools: remove intltoolize logic
autoconf 2.70 now invokes intltoolize, so there's no need to do it again
in this class.

(From OE-Core rev: e24ac6605aeaae42475d3f753dc9452093af5a14)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Ross Burton
66dab7e17b autotools: disable gtkdocize for now
This breaks kmod, so for now we can continue to do it ourselves.

(From OE-Core rev: 628e0263e3bb768ea771d0e0260fdb18e16c871e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Ross Burton
bdad4025c7 autoconf: upgrade to 2.71
After too many years, autoconf has made a new release.  On the whole it
is compatible with previous releases, but some macros are more specific
about what they expose so minor tweaks to configure.ac may be required.

autoconf also now invokes intltoolize, gtkdocize, and copies
config.sub/guess, so there is less work for autotools.bbclass to do.

- AC_HEADER_MAJOR-port-to-glibc-2.25.patch
- add_musl_config.patch
- autoconf-replace-w-option-in-shebangs-with-modern-use-warnings.patch
- autoreconf-gnuconfigize.patch
- check-automake-cross-warning.patch
- config_site.patch
- fix_path_xtra.patch
- performance.patch
Drop a number of patches which have been integrated upstream.

- man-host-perl.patch
Don't use the target perl path when building documentation at build time:

- no-man.patch
Don't build documentation in native builds to avoid further build
dependencies.

(From OE-Core rev: f5dd2e0acbb0aa4079c51aaeab8c26e743a4c714)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Ross Burton
1dbef3ce98 autotools: don't warn about obsolete usage
New autoconf warns about obsolete macro usage, but there is quite
a lot of obsolete usage in the wild which isn't really in our problem.

(From OE-Core rev: a152b5a37aec247b0540b82ad6c9bdc20c532d21)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Ross Burton
c9299cea83 autoconf: merge .bb and .inc files
These files are split for historical reasons, so merge them to make
maintaining them easier.

The bb and inc had differing LICENSE assignments.  Current autoconf is
GPLv3+.

(From OE-Core rev: 192f635fa6964213e771c0b1443b2c15863b3d57)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Ross Burton
915a6afc3c gnu-config: update to latest commit
Update gnu-config to the latest upstream commit.

(From OE-Core rev: 37c088759218909acbd06a3a935c7ff99ff2fcd5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Richard Purdie
1729dcf527 apr: Fix to work with autoconf 2.70
Fix an issue with autoconf 2.70 where duplicate macro includes
caused configure failures.

(From OE-Core rev: 4e5d7c86a8a5e752df451d988861a86236e8c8ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Ross Burton
e1ab06f14b unfs3: fix build with new autoconf
(From OE-Core rev: d6327189d2e86f0647a2cf11bc3dc3effa51a55d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Ross Burton
43421f57bc Revert "lrzsz: Fix to work with autoconf 2.70"
This change was only needed with 2.70, it is not needed with 2.71.

This reverts commit 36aef08dcd.

(From OE-Core rev: 37362d8bdbec17a676af41b13683efd17c0cef50)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Michael Halstead
987aa92017 uninative: Upgrade to 2.10
Final glibc 2.32 based uninative.

(From OE-Core rev: 8b5d932a42ce9e3e801837bea9cf319c455d9ae5)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-07 22:26:42 +00:00
Richard Purdie
2ffbb020fe bitbake: bitbake-worker: Try and avoid potential short write events issues
We're seeing occasional issues where builds fail as events were written from the
worker children in the form <event>partial data<event>full event</event>.

This causes failures as bitbake server can't parse that and exits. This could
be due to short writes to the worker event pipe which we weren't checking. Check
this and loop accordingly. Also add some asserts to detect other potential causes.

Thanks to Joshua Watt for help in spotting the issue.

[YOCTO #14181]

(Bitbake rev: a9451746a4bd7ccedf4c72cd03ad4ff0ab0143aa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:12:00 +00:00
Paul Barker
adcd9608a7 bitbake: hashserv: client: Fix handling of null responses
If the server returns an empty response ("null" in json), this cannot
be iterated to check for the presence of the "chunk-stream" key.

(Bitbake rev: bf75370bcd6d02ed08cd959eec6190196b792515)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:12:00 +00:00
Paul Barker
a8a468efac bitbake: bitbake-hashclient: Remove obsolete call to client.connect
The connect function was previously removed from the hashserv Client
class but the bitbake-hashclient app was not updated. The client is
connected during hashserv.create_client() anyway so not separate connect
call is needed.

(Bitbake rev: 99bdb236bceeffa0083a0fa529280b217c1d310d)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:12:00 +00:00
Tomasz Dziendzielski
1d2fe91db5 bitbake: lib/bb: Don't treat mc recipe (Midnight Commander) as a multiconfig target
When we run `devtool build mc` recipe's task dependencies are expanded
to "mc:do_populate_sysroot" where "mc" name is treated as multiconfig
and "do_package_sysroot" as multiconfigname.

| ERROR: Multiconfig dependency mc:do_populate_sysroot depends on
| nonexistent multiconfig configuration named do_populate_sysroot

(Bitbake rev: 3ce4b2caccfe608a54dff159459f3687ea610597)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:12:00 +00:00
Mike Looijmans
2fcbd0f115 license_image.bbclass: Don't attempt to symlink to the same file
Sometimes (that is, in all my builds) the lic_manifest_dir and
lic_manifest_symlink_dir end up pointing to the same file, resulting
in an error like this:
  Exception: FileExistsError: [Errno 17] File exists: '/.../tmp-glibc/deploy/licenses/my-image-tdkz15' -> '/.../tmp-glibc/deploy/licenses/my-image-tdkz15'

First check to see if this is the case before attempting to create
the link.

(From OE-Core rev: 50f83fb542065eaf7a20ac07b63ae06441ada180)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:03:00 +00:00
Martin Jansa
c0ec68956c image_types.bbclass: tar: use posix format instead of gnu
* gnu isn't compatible with  --xattrs used e.g. here:
d3a832f66e/classes/image_types_ostree.bbclass (L16)
causing do_image_tar failing with:

| tar: --xattrs can be used only on POSIX archives
| Try 'tar --help' or 'tar --usage' for more information.

* https://www.gnu.org/software/tar/manual/html_chapter/tar_8.html
  says about posix format:

  This is the most flexible and feature-rich format.
  It does not impose any restrictions on file sizes or file name lengths.
  This format is quite recent, so not all tar implementations are able to handle it properly.
  However, this format is designed in such a way that any tar implementation able to read `ustar'
  archives will be able to read most `posix' archives as well, with the only exception that any
  additional information (such as long file names etc.) will in such case be extracted as plain
  text files along with the files it refers to.

  This archive format will be the default format for future versions of GNU tar.

  and:

  The default format for GNU tar is defined at compilation time.
  You may check it by running tar --help, and examining the last lines of its output.
  Usually, GNU tar is configured to create archives in `gnu' format, however, future version will switch to `posix'.

* I've compared tar on centos7 and ubuntu-18.04:

bash-4.2$ cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)

bash-4.2$ tar --version
tar (GNU tar) 1.26
...

bash-4.2$ tar --help | tail -n 5
*This* tar defaults to:
--format=gnu -f- -b20 --quoting-style=escape --rmt-command=/etc/rmt
--rsh-command=/usr/bin/ssh
...

bitbake@e0ee76f81c2f:/$ grep VERSION /etc/os-release
VERSION="18.04.5 LTS (Bionic Beaver)"
VERSION_ID="18.04"
VERSION_CODENAME=bionic

bitbake@e0ee76f81c2f:/$ tar --version
tar (GNU tar) 1.29
...

bitbake@e0ee76f81c2f:/$ tar --help | tail -n 5
...
*This* tar defaults to:
--format=gnu -f- -b20 --quoting-style=escape --rmt-command=/usr/lib/tar/rmt
--rsh-command=/usr/bin/rsh

Both support posix format (as pax POSIX 1003.1-2001). But centos7 version is
already too old anyway, because it doesn't support --sort=name used since:
https://git.openembedded.org/openembedded-core/commit/?id=4fa68626bbcfd9795577e1426c27d00f4d9d1c17
and
https://git.openembedded.org/openembedded-core/commit/?id=f19e43dec63a86c200e04ba14393583588550380
says that 1.28 is the minium version now and
https://git.openembedded.org/openembedded-core/commit/?id=7a66434cf11b7f051699b774e4fccd6738351368
recommends to use install-buildtools for hosts with tar < 1.28

On the other side latest tumbleweed from:
https://hub.docker.com/r/opensuse/tumbleweed
with tar-1.33 alredy defaults to posix format:

b99dbb3d86dd:/ # head -n 3 /etc/os-release
NAME="openSUSE Tumbleweed"
ID="opensuse-tumbleweed"

b99dbb3d86dd:/ # tar --version
tar (GNU tar) 1.33
...

b99dbb3d86dd:/ # tar --help | tail -n 3
*This* tar defaults to:
--format=posix -f- -b20 --quoting-style=escape --rmt-command=/usr/bin/rmt
--rsh-command=/usr/bin/ssh

I've packaged some sample rootfs directory with both tars and the result is
identical (with --format=gnu as well as --format=posix).

with ubuntu:
tar --sort=name --format=gnu --numeric-owner -cf rootfs.ubuntu.gnu.tar -C rootfs .
tar --xattrs --xattrs-include=* --sort=name --format=posix --numeric-owner -cf rootfs.ubuntu.posix.tar -C rootfs .
tumbleweed:
tar --sort=name --format=gnu --numeric-owner -cf rootfs.tumbleweed.gnu.tar -C rootfs .
tar --xattrs --xattrs-include=* --sort=name --format=posix --numeric-owner -cf rootfs.tumbleweed.posix.tar -C rootfs .
centos7 (without --sort=name):
tar --format=gnu --numeric-owner -cf rootfs.centos7.gnu.tar -C rootfs .
tar --xattrs --xattrs-include=* --format=posix --numeric-owner -cf rootfs.centos7.posix.tar -C rootfs .

size is identical:
-rw-r--r-- 1 mjansa mjansa 2487480320 Feb  5 09:19 rootfs.ubuntu.gnu.tar
-rw-r--r-- 1 mjansa mjansa 2487480320 Feb  5 10:17 rootfs.centos7.gnu.tar
-rw-r--r-- 1 mjansa mjansa 2487480320 Feb  5 10:26 rootfs.tumbleweed.gnu.tar
-rw-r--r-- 1 mjansa mjansa 2579875840 Feb  5 10:15 rootfs.ubuntu.posix.tar
-rw-r--r-- 1 mjansa mjansa 2579875840 Feb  5 10:16 rootfs.centos7.posix.tar
-rw-r--r-- 1 mjansa mjansa 2579875840 Feb  5 10:26 rootfs.tumbleweed.posix.tar

but md5s aren't:
5e3880283379dd773ac054e20562fdea  rootfs.centos7.gnu.tar
abeaf992c780aa780a27be01365d26f5  rootfs.centos7.posix.tar
0c6ee59d87ab56583293262de110bca4  rootfs.tumbleweed.gnu.tar
1555bc7276eaba924bf82a13a010fd6d  rootfs.tumbleweed.posix.tar
553d802bba351e273191bd5b2a621b66  rootfs.ubuntu.gnu.tar
b6d7b43b30174686f6625ba3c7aefdc6  rootfs.ubuntu.posix.tar

diffoscope shows some differences when using gnu format:

$ diffoscope rootfs.tumbleweed.gnu.tar rootfs.ubuntu.gnu.tar
...
-00239890: 3030 3000 3030 3737 3637 0020 4b00 0000  000.007767. K...
+00239890: 3030 3000 3031 3135 3737 0020 4b00 0000  000.011577. K...
...
-00239900: 0075 7374 6172 2020 0000 0000 0000 0000  .ustar  ........
+00239900: 0075 7374 6172 2020 0072 6f6f 7400 0000  .ustar  .root...
...
-00239920: 0000 0000 0000 0000 0000 0000 0000 0000  ................
+00239920: 0000 0000 0000 0000 0072 6f6f 7400 0000  .........root...

with posix format there are also some differences shown by diffoscope:

$ diffoscope rootfs.tumbleweed.posix.tar rootfs.ubuntu.posix.tar
 016a4c00: 2e2f 7573 722f 6269 6e2f 5061 7848 6561  ./usr/bin/PaxHea
-016a4c10: 6465 7273 2f63 6861 7474 722e 6532 6673  ders/chattr.e2fs
-016a4c20: 7072 6f67 7300 0000 0000 0000 0000 0000  progs...........
+016a4c10: 6465 7273 2e32 322f 6368 6174 7472 2e65  ders.22/chattr.e
+016a4c20: 3266 7370 726f 6773 0000 0000 0000 0000  2fsprogs........
...
 03937000: 2e2f 7573 722f 6269 6e2f 5061 7848 6561  ./usr/bin/PaxHea
-03937010: 6465 7273 2f63 6f6e 7461 696e 6572 642d  ders/containerd-
-03937020: 6374 7200 0000 0000 0000 0000 0000 0000  ctr.............
+03937010: 6465 7273 2e32 322f 636f 6e74 6169 6e65  ders.22/containe
+03937020: 7264 2d63 7472 0000 0000 0000 0000 0000  rd-ctr..........

so cannot really say which format is better for reproducible tar
archives from different distros, but posix at least supports xattrs
and it's the format for future.

(From OE-Core rev: 3ecea58f2a3382d9f4b410d6ad7089111334cb6f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:03:00 +00:00
saloni
b74de5d19a libcroco: Added CVE
Added below CVE:
CVE-2020-12825
Link: CVE-2020-12825 [6eb257e5c7]
Link: https://gitlab.gnome.org/Archive/libcroco/-/issues/8

(From OE-Core rev: f8cee7386c556e1c5adb07a0aee385642b7a5568)

Signed-off-by: Saloni Jain <Saloni.Jain@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:03:00 +00:00
saloni
51b95cf1e7 libgcrypt: Whitelisted CVEs
Whitelisted below CVEs:

1. CVE-2018-12433
Link: https://security-tracker.debian.org/tracker/CVE-2018-12433
Link: https://nvd.nist.gov/vuln/detail/CVE-2018-12433
CVE-2018-12433 is marked disputed and ignored by NVD as it does
not impact crypt libraries for any distros and hence, can be safely
marked whitelisted.

2. CVE-2018-12438
Link: https://security-tracker.debian.org/tracker/CVE-2018-12438
Link: https://ubuntu.com/security/CVE-2018-12438
CVE-2018-12438 was reported for affecting openjdk crypt libraries
but there are no details available on which openjdk versions are
affected and does not directly affect libgcrypt or any specific
yocto distributions, hence, can be whitelisted.

(From OE-Core rev: 2943efe3f56d394308f9364b439c25f6a7613288)

Signed-off-by: Saloni Jain <Saloni.Jain@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:03:00 +00:00
Wang Mingyu
b535616586 e2fsprogs: upgrade 1.45.6 -> 1.45.7
0001-fix-up-check-for-hardlinks-always-false-if-inode-0xF.patch
removed since it is included in 1.45.7

(From OE-Core rev: f51835e022731d1c0e8e18209e48f1a718048977)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:03:00 +00:00
Joshua Watt
071f23ad79 bash: Disable bracketed input by default
Bash 5.1 enabled bracketed input mode by default, but this causes a lot
of problems with automated testing as it can inject a lot of control
sequences into non-interactive output. Disable it to cleanup the output
an preserve the pre-5.1 behavior

(From OE-Core rev: 6c1cb7e274050f1ccb817b8ee34d0f61f34c95e3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:03:00 +00:00
Chen Qi
e6be41a204 systemd: change /bin/nologin to /sbin/nologin
Our nologin path is /sbin/nologin instead of /bin/nologin.

(From OE-Core rev: cd7f55e960e759d946d8b619b0a306e610f66356)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:03:00 +00:00
zhengruoqin
9000f80336 mc: upgrade 4.8.25 -> 4.8.26
Fix the do_compile error:
| ../../../mc-4.8.26/lib/tty/tty-ncurses.c: In function 'tty_colorize_area':
| ../../../mc-4.8.26/lib/tty/tty-ncurses.c:557:5: error: unknown type name 'cchar_t'; did you mean 'wchar_t'?
add -DNCURSES_WIDECHAR=1 when musl.

(From OE-Core rev: 5be29caca3d06dd3d2bab4c76588f509f1268199)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:03:00 +00:00
Andreas Müller
7ee0c2c8cb openssl: re-enable whirlpool
* it breaks KDE's qca and dependencies
* it is not deprecated. Openssl 3.0 (currently alpha) will deprecate whirlpool

[1] https://www.openssl.org/news/changelog.html#openssl-30

(From OE-Core rev: bc02baadeee477b10eceae62985af4f4c323506e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-06 09:03:00 +00:00
Khem Raj
8e3b42f442 glibc: Require full ISA support for x86-64 level marker
(From OE-Core rev: 7f40096fabd4d8a1b67e96aabca6a15637501222)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 12:00:54 +00:00
Khem Raj
51cf448849 glibc: Enable cet
Enable Intel Control-flow Enforcement Technology (CET) instrumentation
support

helps with overcoming
/lib/libc.so.6: CPU ISA level is lower than required

(From OE-Core rev: c864e0e496ab1a4176d7a1673d8fc5b300ae68cf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 12:00:54 +00:00
Khem Raj
7b8df042d0 glibc: Upgrade to 2.33
Drop backported patches

(From OE-Core rev: aa87638cf4f2bef66df92f961c7814f6b482fd3d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 12:00:54 +00:00
Richard Purdie
77d9b5f02a pseudo: Update to work with glibc 2.33
Update to a pseudo version which contains some heqader fixes for
glibc 2.33.

(From OE-Core rev: c897ac317926b132547578b1f6bd347fe5677dfc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 12:00:54 +00:00
Richard Purdie
fa905948e5 openssh: Backport a fix to fix with glibc 2.33 on some platforms
This fixes openssh failing to work on qemux86 with glibc 2.33 due to
seccomp and the fact new syscalls are used. Also likely fixes issues
on other platforms.

(From OE-Core rev: 22f8ce6e6d998c0539a40b2776b1a2abb4f44bb3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 12:00:54 +00:00
Mingli Yu
03bf6b3ec0 qemu: make ptest rework
After qemu upgrades to 5.2.0 in commit [1], if also switches
to meson and the previous logic which introduces the testsuites
changes in [2] and results in below error when run ptest test:
 # ./run-ptest
 for f in ; do \
     nf=$(echo $f | sed 's/tests\//\.\//g'); \
     $nf; \
 done

So refactor the ptest part code to make it work again.

[1] https://git.openembedded.org/openembedded-core/commit/?id=181c635567aafb9b4787d8d6d0bcd4a615ceae80
[2] https://git.qemu.org/?p=qemu.git;a=commitdiff;h=279588d4deea2694ebe9ceb29dfdc5c08a7c4e27

(From OE-Core rev: a5c1290e8a24b844f0ba62df270f976096394d87)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 08:16:32 +00:00
Lee Chee Yang
c05385c887 wic/selftest: test_permissions also test bitbake image
existing test case test_permissions use Wic command as standalone
tools to create wic image and check that wic image for permissions.

add extra steps to the test case to also check against image build
using bitbake do_image_wic.

(From OE-Core rev: 551ce73a90757ba43501fe5cf9ac84a7b77de549)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 08:16:32 +00:00
Yi Fan Yu
4b5b18c369 glib-2.0: add workaround to fix codegen.py.test failing
Adding a patch to remove an unecessary print statement
in test-codegen.py that cause the ptest-runner to fail.

Root cause is suspected to be in ptest-runner.

[YOCTO #14170]

Uptream-Status: Inappropriate [other]
this is a workaround.

(From OE-Core rev: afc9ba7d546f3f2e60fb6f46f740dc925542df16)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 08:16:32 +00:00
Steve Sakoman
ab012b3b94 glibc: update to latest release/2.32/master branch
Remove patches for CVE-2019-25013 and CVE-2020-27618 since they are
present in the branch now. Add both CVEs to CVE_CHECK_WHITELIST.

760e1d28782 gconv: Fix assertion failure in ISO-2022-JP-3 module (bug 27256)
d3cb8f6222a aarch64: fix static PIE start code for BTI [BZ #27068]
082798622d8 __vfscanf_internal: fix aliasing violation (bug 26690)
33dc30bc838 aarch64: Use mmap to add PROT_BTI instead of mprotect [BZ #26831]
46e1e64fe3e elf: Pass the fd to note processing
b6eae83717d elf: Move note processing after l_phdr is updated
c6090dcebd1 aarch64: align address for BTI protection [BZ #26988]
610e2c51504 aarch64: Fix missing BTI protection from dependencies [BZ #26926]
4c619b3eed5 x86: Check IFUNC definition in unrelocated executable [BZ #20019]
87450ecf8a8 x86: Set header.feature_1 in TCB for always-on CET [BZ #27177]
2b4f67c2b33 Update for [BZ #27130] fix
1a24bbd43e4 x86-64: Avoid rep movsb with short distance [BZ #27130]
0d9793e82a1 Fix buffer overrun in EUC-KR conversion module (bz #24973)
1d49bede4d8 tests-mcheck: New variable to run tests with MALLOC_CHECK_=3
050022910be iconv: Accept redundant shift sequences in IBM1364 [BZ #26224]
ac0a6929c5d sh: Add sh4 fpu Implies folder
3ea24955bff struct _Unwind_Exception alignment should not depend on compiler flags
5c36293f067 resolv: Serialize processing in resolv/tst-resolv-txnid-collision
2dfa659a66f resolv: Handle transaction ID collisions in parallel queries (bug 26600)
05c025abca1 support: Provide a way to clear the RA bit in DNS server responses
f688bcd83de support: Provide a way to reorder responses within the DNS test server
eba0ce60588 Remove __warndecl
5337b2af4b8 Remove __warn_memset_zero_len [BZ #25399]
c6e794640c3 aarch64: Add unwind information to _start (bug 26853)
70ee5e8b573 aarch64: Fix DT_AARCH64_VARIANT_PCS handling [BZ #26798]
8813b2682e4 x86: Optimizing memcpy for AMD Zen architecture.
e61a8fd8fad Reversing calculation of __x86_shared_non_temporal_threshold
0b9460d22e2 sysvipc: Fix IPC_INFO and SHM_INFO handling [BZ #26636]
c4aeedea598 sysvipc: Fix IPC_INFO and MSG_INFO handling [BZ #26639]
9b139b6b81a sysvipc: Fix SEM_STAT_ANY kernel argument pass [BZ #26637]
81c5484d93a AArch64: Use __memcpy_simd on Neoverse N2/V1
0f8f0ed25c1 AArch64: Improve backwards memmove performance
23482f78866 Set version.h RELEASE to "stable" (Bug 26700)
69beb5cbf85 string: Fix strerrorname_np return value [BZ #26555]
fe62c4d173f intl: Handle translation output codesets with suffixes [BZ #26383]
386543bc449 NEWS: Update for [BZ #26534] fix
cebc01cbfd6 x86-64: Fix FMA4 detection in ifunc [BZ #26534]

(From OE-Core rev: 8d05c277c5350c4d968eb488788eac7978968ef7)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 08:16:32 +00:00
Yann Dirson
9449f22764 libsdl2: upgrade to 2.0.14
This version does not support tslib any more, as can be seen by the
failed AUH run.

Originally-by: Romain Roffé <romain.roffe@blade-group.com>
(From OE-Core rev: 5b54e97594ab021a73d3225ed42dac0dfaf3fc15)

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 08:16:32 +00:00
Luca Boccassi
4cb93cd028 systemd: update to v247.3
(From OE-Core rev: e39d388f510f56c3dfe6871070ce1d24f296f405)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 08:16:32 +00:00
Changhyeok Bae
b4965a4d71 python3-importlib-metadata: Add toml dependency
ERROR: Do not try to fetch 'toml' for building. Please add its native
recipe to DEPENDS.

(From OE-Core rev: 9adc8edccbd7b3f7c05d6e17a8ebde4e65bf6c81)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 08:16:32 +00:00
Oleksandr Kravchuk
c88bb1364c python3-numpy: update to 0.20.0
License file diff:

+ Files: doc/sphinxext/numpydoc/*
+ License: BSD-2-Clause
+   For details, see doc/sphinxext/LICENSE.txt
+
+ Name: scipy-sphinx-theme
+ Files: doc/scipy-sphinx-theme/*
+ License: BSD-3-Clause AND PSF-2.0 AND Apache-2.0
+   For details, see doc/scipy-sphinx-theme/LICENSE.txt

(From OE-Core rev: b1225ccc90db7ccddb8021ff8c9fe1bdb36dd041)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 08:16:32 +00:00
Oleksandr Kravchuk
2d878b92dc python3-smmap: update to 4.0.0
(From OE-Core rev: 8f6025ed514a5114b7ec71edb8b1684e85fd29f4)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-05 08:16:32 +00:00
Bruce Ashfield
22ca8d204c yocto-bsp: linux-yocto: update to v5.10.12
Updating linux-yocto 5.10 bbapends to the latest korg -stable release

(From meta-yocto rev: 85fdb1c61e1c5f3c625b5bab964c13dfb35663fa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:50 +00:00
Richard Purdie
c2f2963623 package: Ensure do_packagedata is cleaned correctly
In an earlier commit, libprocps was split into a separate package leaving
no shlibs in the main package. A bug was seen where igt-gpu-tools wouldn't
build correctly in some cases as it thought the librbary was still in the
main package, throwing qa errors as a result.

The issue was due to an extra file being left in the sstate output of
the do_packagedata task in the shlibs2/ folder which contained the bad
shlibs information.

The reason for this was that the temporary directory used in this
task wasn't being cleaned so files which were deleted were not handled
correctly. Add a missing cleandirs entry to fix this.

(From OE-Core rev: 50f17d0a655a3a2556f9fcad67259101c2814a36)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Khem Raj
ff21f42cf0 glibc: Drop adding .file directive in asm files
it was a workaround for binutils issue which is fixed in 2.36 with

https://sourceware.org/bugzilla/show_bug.cgi?id=26822

(From OE-Core rev: 5dfba8c373de858badd8944f7ad9932549238045)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Khem Raj
22cfb4693a musl: Drop adding .file directive in asm files
it was a workaround for binutils issue which is fixed in 2.36 with

https://sourceware.org/bugzilla/show_bug.cgi?id=26822

(From OE-Core rev: 628668acdd897d79154ebc304edef8a95ff54ac5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Khem Raj
b9b33e32e6 binutils: Disable parallel install for target/nativesdk binutils
2.36 has a build race between libctf and libbfd

(From OE-Core rev: b1f44d9f1f4090ec2c6fd58aa4321da9a22ba9a0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Khem Raj
42eb97fb13 binutils: Package libdep linker plugins
this is new plugin added in binutils 2.36

(From OE-Core rev: dddd261bab4b371ae97bcf4b954359297d615f83)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Khem Raj
b7daba6738 binutils: Upgrade to 2.36 release
Drop backported patches which are already present in 2.36 release

(From OE-Core rev: 897afa95ba340f1124decac5753e1d1e1283b515)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Richard Purdie
39c454a1df grub: Backport fix to work with new binutils
New versions of binutils caused object files to be 128MB in size,
backporting this fix reduced them back to a sensible size, e.g.
1024 bytes. This avoids initramfix size issues!

(From OE-Core rev: b72b9e81268719436e4bad5062cb0e1781da0395)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Bruce Ashfield
5d248cfc91 linux-yocto/5.10: binutils 2.36 fixes
Integrating the following commit(s) to linux-yocto/5.10:

    cdca78778415 objtool: Fix seg fault with Clang non-section symbols
    d3287798bd88 x86/entry: Emit a symbol for register restoring thunk

With these, build issues with binutils 2.36 are resolved

(From OE-Core rev: faace9b72adb17593323b7f39fa95e89d361ef57)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Bruce Ashfield
2e3f481ef9 linux-yocto/5.4: update to v5.4.94
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    0fbca6ce4174 Linux 5.4.94
    315cd8fc2ad2 fs: fix lazytime expiration handling in __writeback_single_inode()
    5f8b8fccdfbc writeback: Drop I_DIRTY_TIME_EXPIRE
    2d8848edc96b dm integrity: conditionally disable "recalculate" feature
    43546b74ce6c tools: Factor HOSTCC, HOSTLD, HOSTAR definitions
    ab85b382dcf7 SMB3.1.1: do not log warning message if server doesn't populate salt
    0edc78af73d0 arm64: mm: use single quantity to represent the PA to VA translation
    b899d5b2a42a tracing: Fix race in trace_open and buffer resize call
    c4a23c852e80 io_uring: Fix current->fs handling in io_sq_wq_submit_work()
    336bb7dc5a1c HID: wacom: Correct NULL dereference on AES pen proximity
    ecd62d2e9ab4 futex: Handle faults correctly for PI futexes
    55ea172ce3eb futex: Simplify fixup_pi_state_owner()
    a3155c362ca0 futex: Use pi_state_update_owner() in put_pi_state()
    ceb83cf9ed67 rtmutex: Remove unused argument from rt_mutex_proxy_unlock()
    015b6a4c2564 futex: Provide and use pi_state_update_owner()
    65aad57cac8d futex: Replace pointless printk in fixup_owner()
    0dae88a92596 futex: Ensure the correct return value from futex_lock_pi()
    c27a2a1ecf69 Revert "mm/slub: fix a memory leak in sysfs_slab_add()"
    4afd772371d9 gpio: mvebu: fix pwm .get_state period calculation
    131f8d8a889a Linux 5.4.93
    f7020c437e13 tcp: fix TCP_USER_TIMEOUT with zero window
    945d182a046f tcp: do not mess with cloned skbs in tcp_add_backlog()
    ccc248b6444a net: dsa: b53: fix an off by one in checking "vlan->vid"
    ff64094dc718 net: Disable NETIF_F_HW_TLS_RX when RXCSUM is disabled
    3e5b335a55e9 net: mscc: ocelot: allow offloading of bridge on top of LAG
    b47a3c32c4c2 ipv6: set multicast flag on the multicast route
    b778940f2ab9 net_sched: reject silly cell_log in qdisc_get_rtab()
    4ed347901f08 net_sched: avoid shift-out-of-bounds in tcindex_set_parms()
    bc757ba6dc75 ipv6: create multicast route with RTPROT_KERNEL
    60fb547a3d5d udp: mask TOS bits in udp_v4_early_demux()
    da3711f42c68 kasan: fix incorrect arguments passing in kasan_add_zero_shadow
    0d190f53fa2f kasan: fix unaligned address is unhandled in kasan_remove_zero_shadow
    5a3890bad3a4 skbuff: back tiny skbs with kmalloc() in __netdev_alloc_skb() too
    49aaf012c478 lightnvm: fix memory leak when submit fails
    0ff55fc4d6a1 sh_eth: Fix power down vs. is_opened flag ordering
    fd2f5130ae98 net: dsa: mv88e6xxx: also read STU state in mv88e6250_g1_vtu_getnext
    4e1d17a1f73b sh: dma: fix kconfig dependency for G2_DMA
    8a0b8e26f79f netfilter: rpfilter: mask ecn bits before fib lookup
    99328b4b4408 x86/cpu/amd: Set __max_die_per_package on AMD
    6f8ba0ada139 pinctrl: ingenic: Fix JZ4760 support
    382ffe786647 driver core: Extend device_is_dependent()
    4e749a28c909 xhci: tegra: Delay for disabling LFPS detector
    a6a5d08170c2 xhci: make sure TRB is fully written before giving it to the controller
    7f3cfc7e378d usb: bdc: Make bdc pci driver depend on BROKEN
    f764f90b0c77 usb: udc: core: Use lock when write to soft_connect
    564f3c532642 usb: gadget: aspeed: fix stop dma register setting.
    f89a193fd9d3 USB: ehci: fix an interrupt calltrace error
    9a660760299b ehci: fix EHCI host controller initialization sequence
    5eda5db39e28 serial: mvebu-uart: fix tx lost characters at power off
    a8fade59466c stm class: Fix module init return on allocation failure
    5e4bacea58ca intel_th: pci: Add Alder Lake-P support
    c5885886c72c x86/mmx: Use KFPU_387 for MMX string operations
    d1a9cd1dc53c x86/topology: Make __max_die_per_package available unconditionally
    cdb4ce96fdd2 x86/fpu: Add kernel_fpu_begin_mask() to selectively initialize state
    cd1c4882ab43 irqchip/mips-cpu: Set IPI domain parent chip
    9a2f6007a228 cifs: do not fail __smb_send_rqst if non-fatal signals are pending
    745229c90301 iio: ad5504: Fix setting power-down state
    ddd1416f4413 can: peak_usb: fix use after free bugs
    a24476b37167 can: vxcan: vxcan_xmit: fix use after free bug
    ac48ef15826e can: dev: can_restart: fix use after free bug
    391187744436 selftests: net: fib_tests: remove duplicate log test
    237375005739 platform/x86: intel-vbtn: Drop HP Stream x360 Convertible PC 11 from allow-list
    57f0f0ddf9e4 i2c: octeon: check correct size of maximum RECV_LEN packet
    485e0255c19e powerpc: Fix alignment bug within the init sections
    cfea5cddeb71 scsi: megaraid_sas: Fix MEGASAS_IOC_FIRMWARE regression
    da3324ec5497 pinctrl: aspeed: g6: Fix PWMG0 pinctrl setting
    5625c3da7167 powerpc: Use the common INIT_DATA_SECTION macro in vmlinux.lds.S
    73a229119983 drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0
    af91a2e7fb5e drm/nouveau/mmu: fix vram heap sizing
    ee2c9e58f430 drm/nouveau/i2c/gm200: increase width of aux semaphore owner fields
    38f35023fd30 drm/nouveau/privring: ack interrupts the same way as RM
    8c3d3b385ed8 drm/nouveau/bios: fix issue shadowing expansion ROMs
    f5dc9627ac04 drm/amd/display: Fix to be able to stop crc calculation
    9f6d85e20125 drm/amdgpu/psp: fix psp gfx ctrl cmds
    5b2266d62b54 riscv: defconfig: enable gpio support for HiFive Unleashed
    7eef73685871 dts: phy: fix missing mdio device and probe failure of vsc8541-01 device
    5fa6987258a7 x86/xen: Add xen_no_vector_callback option to test PCI INTX delivery
    a09d4e7acdbf xen: Fix event channel callback via INTX/GSI
    acc402fa5bf5 arm64: make atomic helpers __always_inline
    8ab3478335ad clk: tegra30: Add hda clock default rates to clock driver
    c074680653e2 HID: Ignore battery for Elan touchscreen on ASUS UX550
    9cec63a3aacb HID: logitech-dj: add the G602 receiver
    b1b943f5b65e riscv: Fix sifive serial driver
    cd0c46821aa5 riscv: Fix kernel time_init()
    5a1d7bb7d333 scsi: sd: Suppress spurious errors when WRITE SAME is being disabled
    68f99105752d scsi: qedi: Correct max length of CHAP secret
    97853a7eae80 scsi: ufs: Correct the LUN used in eh_device_reset_handler() callback
    b477f4371045 dm integrity: select CRYPTO_SKCIPHER
    8ebe26a1e236 HID: multitouch: Enable multi-input for Synaptics pointstick/touchpad device
    6af49167440a ASoC: Intel: haswell: Add missing pm_ops
    ad1df24b37d9 drm/i915/gt: Prevent use of engine->wa_ctx after error
    6b59bd9eea08 drm/syncobj: Fix use-after-free
    559c0ffedbe0 drm/atomic: put state on error path
    42d855f06d12 dm integrity: fix a crash if "recalculate" used without "internal_hash"
    a03ce9cc4bb8 dm: avoid filesystem lookup in dm_get_dev_t()
    cd3aa1495d8a mmc: sdhci-xenon: fix 1.8v regulator stabilization
    6acdefd0bd34 mmc: core: don't initialize block size from ext_csd if not present
    d8a487e673ab btrfs: send: fix invalid clone operations when cloning from the same file and root
    4d1cf8eeda5b btrfs: don't clear ret in btrfs_start_dirty_block_groups
    e1065331b730 btrfs: fix lockdep splat in btrfs_recover_relocation
    68718453159e btrfs: don't get an EINTR during drop_snapshot for reloc
    a826af1dea4a ACPI: scan: Make acpi_bus_get_device() clear return pointer on error
    08fa4ae93e95 ALSA: hda/via: Add minimum mute flag
    1607adf1ac41 ALSA: seq: oss: Fix missing error check in snd_seq_oss_synth_make_info()
    9c301133beda platform/x86: ideapad-laptop: Disable touchpad_switch for ELAN0634
    ea8d3c71313f platform/x86: i2c-multi-instantiate: Don't create platform device for INT3515 ACPI nodes
    60066d5181be i2c: bpmp-tegra: Ignore unknown I2C_M flags
    09f983f0c7fc Linux 5.4.92
    e2d69319b713 spi: cadence: cache reference clock rate during probe
    d04c7938d0f8 mac80211: check if atf has been disabled in __ieee80211_schedule_txq
    d46996cb4b16 mac80211: do not drop tx nulldata packets on encrypted links
    56e8947bcf81 tipc: fix NULL deref in tipc_link_xmit()
    55bac51762c3 net, sctp, filter: remap copy_from_user failure error
    52e0b20c8c57 rxrpc: Fix handling of an unsupported token type in rxrpc_read()
    5c466480d7d4 net: avoid 32 x truesize under-estimation for tiny skbs
    f6499a78e581 net: sit: unregister_netdevice on newlink's error path
    a3870cf8a7a2 net: stmmac: Fixed mtu channged by cache aligned
    c213d85cae39 rxrpc: Call state should be read with READ_ONCE() under some circumstances
    6d57b582fb35 net: dcb: Accept RTM_GETDCB messages carrying set-like DCB commands
    d52f5929d997 net: dcb: Validate netlink message in DCB handler
    814e04776211 esp: avoid unneeded kmap_atomic call
    0ff06dd1b949 rndis_host: set proper input size for OID_GEN_PHYSICAL_MEDIUM request
    c897c10e4334 net: mvpp2: Remove Pause and Asym_Pause support
    18c29e175e30 mlxsw: core: Increase critical threshold for ASIC thermal zone
    7680783452ce mlxsw: core: Add validation of transceiver temperature thresholds
    ff6d4e8da7c6 net: ipv6: Validate GSO SKB before finish IPv6 processing
    b41352a93c16 net: skbuff: disambiguate argument and member for skb_list_walk_safe helper
    aa350dbe3a1e net: introduce skb_list_walk_safe for skb segment walking
    760e9fd4f7ab netxen_nic: fix MSI/MSI-x interrupts
    982e763ea3c3 udp: Prevent reuseport_select_sock from reading uninitialized socks
    bd4793843c85 bpf: Fix helper bpf_map_peek_elem_proto pointing to wrong callback
    79ce12cfa56a bpf: Don't leak memory in bpf getsockopt when optlen == 0
    4aef760c28e8 nfsd4: readdirplus shouldn't return parent of export
    9b72d5ba50f1 spi: npcm-fiu: Disable clock in probe error path
    6ef67f59263e spi: npcm-fiu: simplify the return expression of npcm_fiu_probe()
    fa6de8d82d9c scsi: lpfc: Make lpfc_defer_acc_rsp static
    e82b58aa6471 scsi: lpfc: Make function lpfc_defer_pt2pt_acc static
    5e6b88828526 elfcore: fix building with clang
    ac29c052654f xen/privcmd: allow fetching resource sizes
    dd113b79ee7e compiler.h: Raise minimum version of GCC to 5.1 for arm64
    24cea7d70516 usb: ohci: Make distrust_firmware param default to false
    d26b3110041a Linux 5.4.91
    516bd00e5ac1 netfilter: nft_compat: remove flush counter optimization
    935114863364 netfilter: nf_nat: Fix memleak in nf_nat_init
    49fc6d92b484 netfilter: conntrack: fix reading nf_conntrack_buckets
    548e4168e68d ALSA: firewire-tascam: Fix integer overflow in midi_port_work()
    68e67535e26b ALSA: fireface: Fix integer overflow in transmit_midi_msg()
    2c3d03cdbd39 dm: eliminate potential source of excessive kernel log noise
    a34294774a32 net: sunrpc: interpret the return value of kstrtou32 correctly
    8b5107a74db3 iommu/vt-d: Fix unaligned addresses for intel_flush_svm_range_dev()
    c2226680343d mm, slub: consider rest of partial list if acquire_slab() fails
    cd9e901fe2fc drm/i915/dsi: Use unconditional msleep for the panel_on_delay when there is no reset-deassert MIPI-sequence
    9269296721b5 IB/mlx5: Fix error unwinding when set_has_smi_cap fails
    40a782293545 RDMA/mlx5: Fix wrong free of blue flame register on error
    e8c8d2319bd7 bnxt_en: Improve stats context resource accounting with RDMA driver loaded.
    3bcf35a7c05f RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp
    da834a9bdc23 RDMA/restrack: Don't treat as an error allocation ID wrapping
    986fdc7685fa ext4: fix superblock checksum failure when setting password salt
    38992092b54e NFS: nfs_igrab_and_active must first reference the superblock
    6b3ae2030db9 NFS/pNFS: Fix a leak of the layout 'plh_outstanding' counter
    aa2399f55eff pNFS: Stricter ordering of layoutget and layoutreturn
    78c2ab7f5265 pNFS: Mark layout for return if return-on-close was not sent
    7d1241ae1dce pNFS: We want return-on-close to complete when evicting the inode
    69d121ca892c NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock
    c70f6e0ac9f9 nvme-tcp: fix possible data corruption with bio merges
    55a102004376 ASoC: Intel: fix error code cnl_set_dsp_D0()
    2392a54de8ba ASoC: meson: axg-tdmin: fix axg skew offset
    973900cd4614 ASoC: meson: axg-tdm-interface: fix loopback
    08eb8a735c11 dump_common_audit_data(): fix racy accesses to ->d_name
    d443cefd9f73 perf intel-pt: Fix 'CPU too large' error
    221dee1d0d4e ARM: picoxcell: fix missing interrupt-parent properties
    ba74e0f222c7 drm/msm: Call msm_init_vram before binding the gpu
    0251d3eb4480 ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI
    bfdd0a3b86c3 usb: typec: Fix copy paste error for NVIDIA alt-mode description
    644baa95db2b drm/amdgpu: fix a GPU hang issue when remove device
    596b3423fddc nvmet-rdma: Fix list_del corruption on queue establishment failure
    4cb77b877fcc nvme-pci: mark Samsung PM1725a as IGNORE_DEV_SUBNQN
    242793c7ef2f selftests: fix the return value for UDP GRO test
    5fc06b706432 net: ethernet: fs_enet: Add missing MODULE_LICENSE
    15a8491cdcd4 misdn: dsp: select CONFIG_BITREVERSE
    635a658de303 arch/arc: add copy_user_page() to <asm/page.h> to fix build error on ARC
    bc68af1fdcac bfq: Fix computation of shallow depth
    2abc54579d1b lib/raid6: Let $(UNROLL) rules work with macOS userland
    1d05b91ab72e hwmon: (pwm-fan) Ensure that calculation doesn't discard big period values
    1229d433960c habanalabs: Fix memleak in hl_device_reset
    93aef8e6cc08 habanalabs: register to pci shutdown callback
    79df21218d63 ethernet: ucc_geth: fix definition and size of ucc_geth_tx_global_pram
    331a6438ebfd regulator: bd718x7: Add enable times
    d5f996bea464 btrfs: fix transaction leak and crash after RO remount caused by qgroup rescan
    c8dd8af4b35f netfilter: ipset: fixes possible oops in mtype_resize
    ca2fc0dc1cec ARC: build: move symlink creation to arch/arc/Makefile to avoid race
    6265a0f2410f ARC: build: add boot_targets to PHONY
    217d8ba22bce ARC: build: add uImage.lzma to the top-level target
    b9128252b9ee ARC: build: remove non-existing bootpImage from KBUILD_IMAGE
    5349b17c3df5 dm integrity: fix flush with external metadata device
    c553300f1453 cifs: fix interrupted close commands
    d17a9571e392 smb3: remove unused flag passed into close functions
    55a4dff288af ext4: don't leak old mountpoint samples
    2003c669df4c ext4: fix bug for rename with RENAME_WHITEOUT
    425faacff213 drm/i915/backlight: fix CPU mode backlight takeover on LPT
    72eb9fc82aea btrfs: tree-checker: check if chunk item end overflows
    82a948fc67ea r8152: Add Lenovo Powered USB-C Travel Hub
    ad5f19c7e9ce dm integrity: fix the maximum number of arguments
    5caac6317daf dm snapshot: flush merged data before committing metadata
    2017b99ec205 dm raid: fix discard limits for raid1
    4335af6c62fc mm/hugetlb: fix potential missing huge page size info
    c64366620d91 ACPI: scan: Harden acpi_device_add() against device ID overflows
    bc0b70f1d28c RDMA/ocrdma: Fix use after free in ocrdma_dealloc_ucontext_pd()
    f7a97dc302be MIPS: relocatable: fix possible boot hangup with KASLR enabled
    f5c2f7970683 MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB
    a650107de374 mips: lib: uncached: fix non-standard usage of variable 'sp'
    bda45bbc8e03 mips: fix Section mismatch in reference
    aeb64ef1f429 tracing/kprobes: Do the notrace functions check without kprobes on ftrace
    984f57e4258c x86/hyperv: check cpu mask after interrupt has been disabled
    1a202b9b9d23 ASoC: dapm: remove widget from dirty list on free
    82d1a5f6f2e5 btrfs: prevent NULL pointer dereference in extent_io_tree_panic
    bb562e6e0358 kbuild: enforce -Werror=return-type

(From OE-Core rev: 80d066f627225e9eefba84c799e9b27bc17526fc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Bruce Ashfield
6cb63902c5 linux-yocto/5.10: update to v5.10.12
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    05f6d2aa7e2f Linux 5.10.12
    d5ac8304e180 printk: fix string termination for record_print_text()
    861c2e349a36 printk: fix buffer overflow potential for print_text()
    cb14bbbb7bbf tools: Factor HOSTCC, HOSTLD, HOSTAR definitions
    f472a59aa182 mm: fix a race on nr_swap_pages
    c11f7749f1fc mm/page_alloc: add a missing mm_page_alloc_zone_locked() tracepoint
    c6fd968f5843 objtool: Don't fail on missing symbol table
    d92d00861e98 io_uring: fix sleeping under spin in __io_clean_op
    7bccd1c19128 io_uring: dont kill fasync under completion_lock
    186725a80c4e io_uring: fix skipping disabling sqo on exec
    54b4c4f9aba9 io_uring: fix uring_flush in exit_files() warning
    0682759126bc io_uring: fix false positive sqo warning on flush
    8cb6f4da831b io_uring: do sqo disable on install_fd error
    0e3562e3b2ae io_uring: fix null-deref in io_disable_sqo_submit
    a63d9157571b io_uring: stop SQPOLL submit on creator's death
    da67631a33c3 io_uring: add warn_once for io_uring_flush()
    18f31594ee52 io_uring: inline io_uring_attempt_task_drop()
    7bf3fb6243a3 kernel/io_uring: cancel io_uring before task works
    08a922a6fdf8 iwlwifi: dbg: Don't touch the tlv data
    1fa2fa7932f9 RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC
    77727dfda786 media: v4l2-subdev.h: BIT() is not available in userspace
    94fb5ff34544 media: Revert "media: videobuf2: Fix length check for single plane dmabuf queueing"
    0fa0a05b4089 HID: multitouch: Apply MT_QUIRK_CONFIDENCE quirk for multi-input devices
    a7f6d4ab4434 HID: wacom: Correct NULL dereference on AES pen proximity
    e843e4f78258 futex: Handle faults correctly for PI futexes
    abc4dd792f8d futex: Simplify fixup_pi_state_owner()
    a597f12e971c futex: Use pi_state_update_owner() in put_pi_state()
    6d28ac502f9a rtmutex: Remove unused argument from rt_mutex_proxy_unlock()
    5b2c5a9561c2 futex: Provide and use pi_state_update_owner()
    5ede8ee2cb16 futex: Replace pointless printk in fixup_owner()
    ab5e9a320e44 futex: Ensure the correct return value from futex_lock_pi()
    bf5eb7d21ab0 Revert "mm/slub: fix a memory leak in sysfs_slab_add()"
    43f2e6077f44 gpio: mvebu: fix pwm .get_state period calculation
    b97134d15127 Linux 5.10.11
    1daa298a0418 Revert "mm: fix initialization of struct page for holes in memory layout"
    f2a79851c776 mm: fix initialization of struct page for holes in memory layout
    5405cb30db87 Commit 9bb48c82aced ("tty: implement write_iter") converted the tty layer to use write_iter. Fix the redirected_tty_write declaration also in n_tty and change the comparisons to use write_iter instead of write. also in n_tty and change the comparisons to use write_iter instead of write.
    e8572713897e fs/pipe: allow sendfile() to pipe again
    eb5381efaf36 interconnect: imx8mq: Use icc_sync_state
    0b6672fd778c kernfs: wire up ->splice_read and ->splice_write
    11167454e9cb kernfs: implement ->write_iter
    6ce10b6481cd kernfs: implement ->read_iter
    436bc4c45a58 bpf: Local storage helpers should check nullness of owner ptr passed
    b379dfbc1edd drm/i915/hdcp: Get conn while content_type changed
    9e9ae646eb80 ASoC: SOF: Intel: hda: Avoid checking jack on system suspend
    e9c4068fb0f6 tcp: Fix potential use-after-free due to double kfree()
    5cc760632083 x86/sev-es: Handle string port IO to kernel memory properly
    6c19578d4634 net: systemport: free dev before on error path
    e018e57fd5c0 tty: fix up hung_up_tty_write() conversion
    875f1b4bf890 tty: implement write_iter
    f5bbf7f47570 x86/sev: Fix nonistr violation
    39afef8a282b pinctrl: qcom: Don't clear pending interrupts when enabling
    f8a622d21295 pinctrl: qcom: Properly clear "intr_ack_high" interrupts when unmasking
    022dac5bcde9 pinctrl: qcom: No need to read-modify-write the interrupt status
    49aec69ee40c pinctrl: qcom: Allow SoCs to specify a GPIO function that's not 0
    22c3cb558a4b net: core: devlink: use right genl user_ptr when handling port param get/set
    6a791693a013 net: mscc: ocelot: Fix multicast to the CPU port
    70746a4779ad tcp: fix TCP_USER_TIMEOUT with zero window
    981e1807748a tcp: do not mess with cloned skbs in tcp_add_backlog()
    013ed7c845df net: dsa: b53: fix an off by one in checking "vlan->vid"
    f0f3d3e6e938 net: Disable NETIF_F_HW_TLS_RX when RXCSUM is disabled
    261b8f617d2a net: mscc: ocelot: allow offloading of bridge on top of LAG
    9898801780ed ipv6: set multicast flag on the multicast route
    0083dc292ee4 net_sched: reject silly cell_log in qdisc_get_rtab()
    56ef551205e4 net_sched: avoid shift-out-of-bounds in tcindex_set_parms()
    3cb2de5242ec ipv6: create multicast route with RTPROT_KERNEL
    e5f323b7aba3 udp: mask TOS bits in udp_v4_early_demux()
    03ca5c229a49 net_sched: gen_estimator: support large ewma log
    a6fc8314dc40 tcp: fix TCP socket rehash stats mis-accounting
    fee5a83dfc4a kasan: fix incorrect arguments passing in kasan_add_zero_shadow
    ecd63f04e728 kasan: fix unaligned address is unhandled in kasan_remove_zero_shadow
    b65578cec113 skbuff: back tiny skbs with kmalloc() in __netdev_alloc_skb() too
    73171b677fc4 lightnvm: fix memory leak when submit fails
    76e2b0b65d47 cachefiles: Drop superfluous readpages aops NULL check
    20fa3a744279 nvme-pci: fix error unwind in nvme_map_data
    88072260f3ca nvme-pci: refactor nvme_unmap_data
    13bcd09b2f50 sh_eth: Fix power down vs. is_opened flag ordering
    7e2bf98d534f selftests/powerpc: Fix exit status of pkey tests
    55c869b1324f net: dsa: mv88e6xxx: also read STU state in mv88e6250_g1_vtu_getnext
    2fc06bfa701d octeontx2-af: Fix missing check bugs in rvu_cgx.c
    19187877057d ASoC: SOF: Intel: fix page fault at probe if i915 init fails
    ba548335c8e8 locking/lockdep: Cure noinstr fail
    8c262be154ff sh: Remove unused HAVE_COPY_THREAD_TLS macro
    233900505617 sh: dma: fix kconfig dependency for G2_DMA
    e929068ad5b3 drm/i915/hdcp: Update CP property in update_pipe
    5897a78fd13f tools: gpio: fix %llu warning in gpio-watch.c
    3fa4a03fd01e tools: gpio: fix %llu warning in gpio-event-mon.c
    83d7403b2e3e netfilter: rpfilter: mask ecn bits before fib lookup
    238b5ebdb6a6 cls_flower: call nla_ok() before nla_next()
    23d02ee1d455 x86/cpu/amd: Set __max_die_per_package on AMD
    0b3efe55e583 x86/entry: Fix noinstr fail
    a2989acadc8b drm/i915: Only enable DFP 4:4:4->4:2:0 conversion when outputting YCbCr 4:4:4
    75b944403000 drm/i915: s/intel_dp_sink_dpms/intel_dp_set_power/
    881363cbddb1 driver core: Extend device_is_dependent()
    b3bc56e3f503 driver core: Fix device link device name collision
    8cd3c48c1baf drivers core: Free dma_range_map when driver probe failed
    3a9eb1141390 xhci: tegra: Delay for disabling LFPS detector
    9e7d7c034708 xhci: make sure TRB is fully written before giving it to the controller
    6b81e926bb98 usb: cdns3: imx: fix can't create core device the second time issue
    cc7f1a32424e usb: cdns3: imx: fix writing read-only memory issue
    eb87dd389e0f usb: bdc: Make bdc pci driver depend on BROKEN
    9bbf039671dc usb: udc: core: Use lock when write to soft_connect
    43e2ae5a7493 USB: gadget: dummy-hcd: Fix errors in port-reset handling
    ea0dd2da3ac7 usb: gadget: aspeed: fix stop dma register setting.
    c6e50ff9363c USB: ehci: fix an interrupt calltrace error
    f270d1d75563 ehci: fix EHCI host controller initialization sequence
    ee3a62cb263b serial: mvebu-uart: fix tx lost characters at power off
    225c87b40a78 stm class: Fix module init return on allocation failure
    f583ccebacdf intel_th: pci: Add Alder Lake-P support
    2df15ef2a9cc io_uring: fix short read retries for non-reg files
    f3ac7a5996d7 io_uring: fix SQPOLL IORING_OP_CLOSE cancelation state
    ca75872dd9f3 io_uring: iopoll requests should also wake task ->in_idle state
    371f3fbf4ff1 mm: fix numa stats for thp migration
    0dc3a130cc37 mm: memcg: fix memcg file_dirty numa stat
    26f54dac1564 mm: memcg/slab: optimize objcg stock draining
    cb5fe25c8220 proc_sysctl: fix oops caused by incorrect command parameters
    c351dc4d774e x86/setup: don't remove E820_TYPE_RAM for pfn 0
    bd08075c8640 x86/mmx: Use KFPU_387 for MMX string operations
    f19c54317e1b x86/topology: Make __max_die_per_package available unconditionally
    f5ee8afc1971 x86/fpu: Add kernel_fpu_begin_mask() to selectively initialize state
    c530b17272d1 irqchip/mips-cpu: Set IPI domain parent chip
    2edf2c9f3e5e cifs: do not fail __smb_send_rqst if non-fatal signals are pending
    062dea906be1 powerpc/64s: fix scv entry fallback flush vs interrupt
    1bac5333d47e counter:ti-eqep: remove floor
    855b115749d8 iio: adc: ti_am335x_adc: remove omitted iio_kfifo_free()
    dbecf6631344 drivers: iio: temperature: Add delay after the addressed reset command in mlx90632.c
    5b136903db0e iio: ad5504: Fix setting power-down state
    c9894c169ec6 iio: common: st_sensors: fix possible infinite loop in st_sensors_irq_thread
    61aad39e2e13 i2c: sprd: depend on COMMON_CLK to fix compile tests
    3b56eecdc7da perf evlist: Fix id index for heterogeneous systems
    ec939c13c3ff can: peak_usb: fix use after free bugs
    e771a8740761 can: vxcan: vxcan_xmit: fix use after free bug
    593c072b7b3c can: dev: can_restart: fix use after free bug
    66ee6d91d327 selftests: net: fib_tests: remove duplicate log test
    636868a52d33 xsk: Clear pool even for inactive queues
    517732c1b52b ALSA: hda: Balance runtime/system PM if direct-complete is disabled
    ca431352900a gpio: sifive: select IRQ_DOMAIN_HIERARCHY rather than depend on it
    bc183873967e platform/x86: hp-wmi: Don't log a warning on HPWMI_RET_UNKNOWN_COMMAND errors
    d77bc052c438 platform/x86: intel-vbtn: Drop HP Stream x360 Convertible PC 11 from allow-list
    3e21c4dbc3ae drm/vc4: Unify PCM card's driver_name
    adc0cb3adf8b i2c: octeon: check correct size of maximum RECV_LEN packet
    37d4f78ae274 iov_iter: fix the uaccess area in copy_compat_iovec_from_user
    ce4d02da78a3 printk: fix kmsg_dump_get_buffer length calulations
    cf3cca5f1580 printk: ringbuffer: fix line counting
    2cd90971a2c9 RDMA/cma: Fix error flow in default_roce_mode_store
    56c1362981b3 RDMA/umem: Avoid undefined behavior of rounddown_pow_of_two()
    eb8ca93e4929 drm/amdkfd: Fix out-of-bounds read in kdf_create_vcrat_image_cpu()
    ef9eb913c050 bpf: Reject too big ctx_size_in for raw_tp test run
    93f8cc947b13 arm64: entry: remove redundant IRQ flag tracing
    29c95dc43fde powerpc: Fix alignment bug within the init sections
    3f46eda5dff4 powerpc: Use the common INIT_DATA_SECTION macro in vmlinux.lds.S
    7c7b2b560583 bpf: Prevent double bpf_prog_put call from bpf_tracing_prog_attach
    cfaa40727152 crypto: omap-sham - Fix link error without crypto-engine
    f733c696e74a scsi: ufs: Fix tm request when non-fatal error happens
    1ef1c2e25a4a scsi: ufs: ufshcd-pltfrm depends on HAS_IOMEM
    20758d0493c3 scsi: megaraid_sas: Fix MEGASAS_IOC_FIRMWARE regression
    dbba7a38b007 btrfs: print the actual offset in btrfs_root_name
    1f54a26bdb60 RDMA/ucma: Do not miss ctx destruction steps in some cases
    1e00ef8a5d22 pinctrl: mediatek: Fix fallback call path
    9eea5cc5f641 pinctrl: aspeed: g6: Fix PWMG0 pinctrl setting
    73ad8d0c7b05 gpiolib: cdev: fix frame size warning in gpio_ioctl()
    653368189090 nfsd: Don't set eof on a truncated READ_PLUS
    de82ec8e5e8c nfsd: Fixes for nfsd4_encode_read_plus_data()
    8478091a1bd5 x86/xen: fix 'nopvspin' build error
    434f246733e7 RISC-V: Fix maximum allowed phsyical memory for RV32
    e1b2ecb562fa RISC-V: Set current memblock limit
    90ab323edfcd libperf tests: Fail when failing to get a tracepoint id
    680559480c95 libperf tests: If a test fails return non-zero
    2ca824c79376 io_uring: flush timeouts that should already have expired
    f3f906bb36cc drm/nouveau/kms/nv50-: fix case where notifier buffer is at offset 0
    bb2ee33ec396 drm/nouveau/mmu: fix vram heap sizing
    685a45858bf9 drm/nouveau/i2c/gm200: increase width of aux semaphore owner fields
    2249a3f0aed9 drm/nouveau/privring: ack interrupts the same way as RM
    c2cd3e1d69f8 drm/nouveau/bios: fix issue shadowing expansion ROMs
    3970a9851fe9 drm/amd/display: Fix to be able to stop crc calculation
    0a3be22a90ac HID: logitech-hidpp: Add product ID for MX Ergo in Bluetooth mode
    17c9b5100056 drm/amd/display: disable dcn10 pipe split by default
    285a86df680c drm/amdgpu/psp: fix psp gfx ctrl cmds
    9e82f2aa5912 riscv: defconfig: enable gpio support for HiFive Unleashed
    a416b33e8b78 dts: phy: add GPIO number and active state used for phy reset
    4685e186ab85 dts: phy: fix missing mdio device and probe failure of vsc8541-01 device
    99e301aca69c x86/xen: Fix xen_hvm_smp_init() when vector callback not available
    a8fddd4192f8 x86/xen: Add xen_no_vector_callback option to test PCI INTX delivery
    fa5f2e04daa4 xen: Fix event channel callback via INTX/GSI
    95379fec8264 arm64: make atomic helpers __always_inline
    64de608c9899 riscv: cacheinfo: Fix using smp_processor_id() in preemptible
    cec20e26750c ALSA: hda/tegra: fix tegra-hda on tegra30 soc
    a8749dfcb892 clk: tegra30: Add hda clock default rates to clock driver
    4301e3448aeb HID: Ignore battery for Elan touchscreen on ASUS UX550
    1e6fc9768ed2 HID: logitech-dj: add the G602 receiver
    6bc83cce3e7f riscv: Enable interrupts during syscalls with M-Mode
    094a4af043bc riscv: Fix sifive serial driver
    c47d249af1bd riscv: Fix kernel time_init()
    de88bcba6611 scsi: sd: Suppress spurious errors when WRITE SAME is being disabled
    fb84da3a6882 scsi: scsi_debug: Fix memleak in scsi_debug_init()
    c419b747ee5a scsi: qedi: Correct max length of CHAP secret
    2536194bb3b0 scsi: ufs: Correct the LUN used in eh_device_reset_handler() callback
    62985a33c6a2 scsi: ufs: Relax the condition of UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL
    55807e7cb0bc x86/hyperv: Fix kexec panic/hang issues
    246ab9b9ed63 dm integrity: select CRYPTO_SKCIPHER
    e03bbc55b149 HID: sony: select CONFIG_CRC32
    eacac9a92183 HID: multitouch: Enable multi-input for Synaptics pointstick/touchpad device
    00ee972739fb SUNRPC: Handle TCP socket sends with kernel_sendpage() again
    ae3e2f34b30d ASoC: rt711: mutex between calibration and power state changes
    14fe083fd052 ASoC: Intel: haswell: Add missing pm_ops
    142c6a6040de drm/i915: Check for rq->hwsp validity after acquiring RCU lock
    bdab6bdaa0e6 drm/i915/gt: Prevent use of engine->wa_ctx after error
    7f8049df7c50 drm/amd/display: DCN2X Find Secondary Pipe properly in MPO + ODM Case
    09846950a1b6 drm/amdgpu: remove gpu info firmware of green sardine
    eab4b3e27413 drm/syncobj: Fix use-after-free
    931bc41c59e3 drm/atomic: put state on error path
    9cb683c3c471 dm integrity: conditionally disable "recalculate" feature
    de4fabc02a58 dm integrity: fix a crash if "recalculate" used without "internal_hash"
    5a5095ac9e0b dm: avoid filesystem lookup in dm_get_dev_t()
    4749ffd9c432 mmc: sdhci-brcmstb: Fix mmc timeout errors on S5 suspend
    b97c26cfe1e6 mmc: sdhci-xenon: fix 1.8v regulator stabilization
    728d8ab4d6ac mmc: sdhci-of-dwcmshc: fix rpmb access
    ec302409d0a8 mmc: core: don't initialize block size from ext_csd if not present
    6b873acfb82a pinctrl: ingenic: Fix JZ4760 support
    13ef6bccab39 fs: fix lazytime expiration handling in __writeback_single_inode()
    adc11110d1e5 btrfs: send: fix invalid clone operations when cloning from the same file and root
    018abb50891e btrfs: don't clear ret in btrfs_start_dirty_block_groups
    14e17e90bfaa btrfs: fix lockdep splat in btrfs_recover_relocation
    5169a289fc8c btrfs: do not double free backref nodes on error
    9e2fc8f10c91 btrfs: don't get an EINTR during drop_snapshot for reloc
    d9deb4ccd026 ACPI: scan: Make acpi_bus_get_device() clear return pointer on error
    c5f23645ab51 dm crypt: fix copy and paste bug in crypt_alloc_req_aead
    367733db7a10 crypto: xor - Fix divide error in do_xor_speed()
    fba2b0d2e171 ALSA: hda/via: Add minimum mute flag
    d9984b976c65 ALSA: hda/realtek - Limit int mic boost on Acer Aspire E5-575T
    a03241a22a07 ALSA: seq: oss: Fix missing error check in snd_seq_oss_synth_make_info()
    de45a93792ea platform/x86: ideapad-laptop: Disable touchpad_switch for ELAN0634
    4d33a2e557da platform/x86: i2c-multi-instantiate: Don't create platform device for INT3515 ACPI nodes
    c47951346c3c i2c: bpmp-tegra: Ignore unknown I2C_M flags
    e633c0879be3 i2c: tegra: Wait for config load atomically while in ISR
    48481056537e mtd: rawnand: nandsim: Fix the logic when selecting Hamming soft ECC engine
    deffd59b8101 mtd: rawnand: gpmi: fix dst bit offset when extracting raw payload
    e65d6887fc16 scsi: target: tcmu: Fix use-after-free of se_cmd->priv

(From OE-Core rev: 4ae13220b07030c314ca8666af54362b460647f5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Bruce Ashfield
c6c9fa61b4 linux-yocto/5.10: update to v5.10.10
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    8dc0fcbcfa97 Linux 5.10.10
    3fe603666360 spi: cadence: cache reference clock rate during probe
    da02e4ca8a29 spi: fsl: Fix driver breakage when SPI_CS_HIGH is not set in spi->mode
    04ed7f1da638 cxgb4/chtls: Fix tid stuck due to wrong update of qid
    d0b97c8cd63e net: dsa: unbind all switches from tree when DSA master unbinds
    6423b2193794 mac80211: check if atf has been disabled in __ieee80211_schedule_txq
    a00432fa4cb9 mac80211: do not drop tx nulldata packets on encrypted links
    a6d508c63573 drm/panel: otm8009a: allow using non-continuous dsi clock
    fd21e00c5e0b can: mcp251xfd: mcp251xfd_handle_rxif_one(): fix wrong NULL pointer check
    65accf0324bf net: stmmac: use __napi_schedule() for PREEMPT_RT
    6f3fe96a6956 rxrpc: Fix handling of an unsupported token type in rxrpc_read()
    2bfb953aeebf net: dsa: clear devlink port type before unregistering slave netdevs
    c469b23d1b54 net: phy: smsc: fix clk error handling
    ad2175c9fb27 dt-bindings: net: renesas,etheravb: RZ/G2H needs tx-internal-delay-ps
    024158d3b571 net: avoid 32 x truesize under-estimation for tiny skbs
    72cfe5b07e85 net: stmmac: fix taprio configuration when base_time is in the past
    34f782b9d0dc net: stmmac: fix taprio schedule configuration
    00442a962152 net: sit: unregister_netdevice on newlink's error path
    5ae772504325 net: stmmac: Fixed mtu channged by cache aligned
    741690db7a35 i40e: fix potential NULL pointer dereferencing
    7c85d8e7ebd2 rxrpc: Call state should be read with READ_ONCE() under some circumstances
    1e5a4c74b555 net: dcb: Accept RTM_GETDCB messages carrying set-like DCB commands
    dbdca9d9b7ca net: dcb: Validate netlink message in DCB handler
    26413630f4f6 esp: avoid unneeded kmap_atomic call
    3c64191cad98 rndis_host: set proper input size for OID_GEN_PHYSICAL_MEDIUM request
    f999ca8c5fc5 net: mvpp2: Remove Pause and Asym_Pause support
    82f72e41b797 mlxsw: core: Increase critical threshold for ASIC thermal zone
    d2bfbfcc5505 mlxsw: core: Add validation of transceiver temperature thresholds
    60b8b4e6310b tipc: fix NULL deref in tipc_link_xmit()
    bbcb4746a6a3 net: ipv6: Validate GSO SKB before finish IPv6 processing
    5a61d9f573da netxen_nic: fix MSI/MSI-x interrupts
    4b97ce051ffe udp: Prevent reuseport_select_sock from reading uninitialized socks
    24cd33174189 net: fix use-after-free when UDP GRO with shared fraglist
    7d5c38974219 net: ipa: modem: add missing SET_NETDEV_DEV() for proper sysfs links
    31ad07292553 bpf: Fix helper bpf_map_peek_elem_proto pointing to wrong callback
    de661caaee07 bpf: Support PTR_TO_MEM{,_OR_NULL} register spilling
    3ed29995c281 bpf: Don't leak memory in bpf getsockopt when optlen == 0
    fdcaa4af5e70 nfsd4: readdirplus shouldn't return parent of export
    90bd4a0cf5dd X.509: Fix crash caused by NULL pointer
    5f52a8a71b62 bpf: Fix signed_{sub,add32}_overflows type handling
    99ea120383b1 drm/amdgpu/display: drop DCN support for aarch64
    4473923b6674 x86/hyperv: Initialize clockevents after LAPIC is initialized
    1200a5bc6871 bpf: Fix selftest compilation on clang 11
    57dc19a9d60d Revert "kconfig: remove 'kvmconfig' and 'xenconfig' shorthands"
    e2d133180bbc Linux 5.10.9
    88a5c90f39b0 netfilter: nf_nat: Fix memleak in nf_nat_init
    f14e31c169dc netfilter: conntrack: fix reading nf_conntrack_buckets
    5b984e538bdf ALSA: firewire-tascam: Fix integer overflow in midi_port_work()
    c0e1ac275f1f ALSA: fireface: Fix integer overflow in transmit_midi_msg()
    0eb56457d239 dm: eliminate potential source of excessive kernel log noise
    26865769ed8f selftests: netfilter: Pass family parameter "-f" to conntrack tool
    f0cd3fba4eae net: sunrpc: interpret the return value of kstrtou32 correctly
    a9bc9c9320ac iommu/vt-d: Fix unaligned addresses for intel_flush_svm_range_dev()
    ff2ca5439c50 riscv: Trace irq on only interrupt is enabled
    c8c01da728ef mm, slub: consider rest of partial list if acquire_slab() fails
    ecca0c675bde drm/i915/gt: Restore clear-residual mitigations for Ivybridge, Baytrail
    de3f572607c2 drm/i915/icl: Fix initing the DSI DSC power refcount during HW readout
    54c9246a47fa drm/i915/dsi: Use unconditional msleep for the panel_on_delay when there is no reset-deassert MIPI-sequence
    f6de06406411 dm zoned: select CONFIG_CRC32
    c6dc4f8e617b umount(2): move the flag validity checks first
    5cd483a7e788 IB/mlx5: Fix error unwinding when set_has_smi_cap fails
    bc296e43233a RDMA/mlx5: Fix wrong free of blue flame register on error
    44693384c324 bnxt_en: Improve stats context resource accounting with RDMA driver loaded.
    3090af5d1fb2 RDMA/usnic: Fix memleak in find_free_vf_and_create_qp_grp
    35694924a60a RDMA/restrack: Don't treat as an error allocation ID wrapping
    cd223237e792 ext4: fix superblock checksum failure when setting password salt
    4351cf25cb52 scsi: ufs: Fix possible power drain during system suspend
    51121ea1d1e8 NFS: nfs_igrab_and_active must first reference the superblock
    b4689562fa95 NFS: nfs_delegation_find_inode_server must first reference the superblock
    01a12a24f923 NFS/pNFS: Fix a leak of the layout 'plh_outstanding' counter
    b666f394d6b8 NFS/pNFS: Don't leak DS commits in pnfs_generic_retry_commit()
    067aefcdfc1e NFS/pNFS: Don't call pnfs_free_bucket_lseg() before removing the request
    e6ae16467af1 NFS: Adjust fs_context error logging
    06f58dbc49a2 pNFS: Stricter ordering of layoutget and layoutreturn
    ecaaad180133 pNFS: Mark layout for return if return-on-close was not sent
    f128de17c8d4 pNFS: We want return-on-close to complete when evicting the inode
    1b42712e43e5 NFS4: Fix use-after-free in trace_event_raw_event_nfs4_set_lock
    76600f633bb9 nvme-tcp: Fix warning with CONFIG_DEBUG_PREEMPT
    b1e9f635a5e3 nvme-tcp: fix possible data corruption with bio merges
    c09af1ee7c23 nvme: don't intialize hwmon for discovery controllers
    a60c7aaaccf6 nvmet-rdma: Fix NULL deref when setting pi_enable and traddr INADDR_ANY
    a835cff329a5 ASoC: Intel: fix error code cnl_set_dsp_D0()
    95e5df536757 ASoC: meson: axg-tdmin: fix axg skew offset
    d11f18351ee6 ASoC: meson: axg-tdm-interface: fix loopback
    a3fddad7af2c dump_common_audit_data(): fix racy accesses to ->d_name
    09b3e0bc8e9a perf intel-pt: Fix 'CPU too large' error
    72c5ce89427f mm: don't put pinned pages into the swap cache
    1eea108995a2 mm: don't play games with pinned pages in clear_page_refs
    41b0b0c09e97 mm: fix clear_refs_write locking
    847c76518c41 blk-mq-debugfs: Add decode for BLK_MQ_F_TAG_HCTX_SHARED
    9812b54310ad net/mlx5: E-Switch, fix changing vf VLANID
    96d77cf22dd7 net/mlx5: Fix passing zero to 'PTR_ERR'
    452e34d6635c net/mlx5e: CT: Use per flow counter when CT flow accounting is enabled
    518606a84a0f iommu/vt-d: Update domain geometry in iommu_ops.at(de)tach_dev
    f1cd8c40936f nvme-fc: avoid calling _nvme_fc_abort_outstanding_ios from interrupt context
    4ac5d20182c7 cfg80211: select CONFIG_CRC32
    e558b38b5e11 x86/sev-es: Fix SEV-ES OUT/IN immediate opcode vc handling
    1f63b3393bac bpf: Save correct stopping point in file seq iteration
    a3a51c69c1a9 bpf: Simplify task_file_seq_get_next()
    30b491e2b6cc rcu-tasks: Move RCU-tasks initialization to before early_initcall()
    bc880f2040e0 poll: fix performance regression due to out-of-line __put_user()
    e30f6e1ac3ce ARM: picoxcell: fix missing interrupt-parent properties
    d565c626b4e1 drm/msm: Call msm_init_vram before binding the gpu
    45f7e133f9e8 ACPI: scan: add stub acpi_create_platform_device() for !CONFIG_ACPI
    a4c84cd83c15 iommu/vt-d: Fix lockdep splat in sva bind()/unbind()
    2c7b7660c611 usb: typec: Fix copy paste error for NVIDIA alt-mode description
    279af879c3df drm/amdgpu: fix potential memory leak during navi12 deinitialization
    9910f52b4cb4 drm/amd/pm: fix the failure when change power profile for renoir
    a973bc7d8ab5 drm/amdgpu: fix a GPU hang issue when remove device
    26f0adb0b4c8 drm/amd/display: fix sysfs amdgpu_current_backlight_pwm NULL pointer issue
    8e57baf3cdb3 nvmet-rdma: Fix list_del corruption on queue establishment failure
    74310d40e0a4 nvme: avoid possible double fetch in handling CQE
    afc0002f6396 nvme-pci: mark Samsung PM1725a as IGNORE_DEV_SUBNQN
    1151161dd029 selftests: fix the return value for UDP GRO test
    2e1939396c77 net: ethernet: fs_enet: Add missing MODULE_LICENSE
    8bd59057edf5 misdn: dsp: select CONFIG_BITREVERSE
    bb3700925c19 arch/arc: add copy_user_page() to <asm/page.h> to fix build error on ARC
    7fdaca86fc9b bfq: Fix computation of shallow depth
    94dbb87fc0b2 io_uring: drop file refs after task cancel
    501e1875da32 spi: fix the divide by 0 error when calculating xfer waiting time
    17a08680ab6a kconfig: remove 'kvmconfig' and 'xenconfig' shorthands
    2aa134d9abca lib/raid6: Let $(UNROLL) rules work with macOS userland
    3163d7c1fbd3 hwmon: (pwm-fan) Ensure that calculation doesn't discard big period values
    8c3520e21f6b habanalabs: Fix memleak in hl_device_reset
    78755373aa48 spi: altera: fix return value for altera_spi_txrx()
    560e9b900e12 staging: spmi: hisi-spmi-controller: Fix some error handling paths
    c78cff56baad habanalabs: register to pci shutdown callback
    68a9abf536ff habanalabs/gaudi: retry loading TPC f/w on -EINTR
    8d0522d9688c habanalabs: adjust pci controller init to new firmware
    06b0d83b33b5 ARM: dts: ux500/golden: Set display max brightness
    d5285a5eb3da ethernet: ucc_geth: fix definition and size of ucc_geth_tx_global_pram
    36afeaad7671 regulator: bd718x7: Add enable times
    29543864c8b8 btrfs: fix transaction leak and crash after RO remount caused by qgroup rescan
    f89d84b35af3 btrfs: merge critical sections of discard lock in workfn
    33061bd104cb btrfs: fix async discard stall
    d18e04ce283a ath11k: qmi: try to allocate a big block of DMA memory first
    cc77e4a020aa netfilter: ipset: fixes possible oops in mtype_resize
    c871060d3eaa ath11k: fix crash caused by NULL rx_channel
    54cfdd65070e ARM: omap2: pmic-cpcap: fix maximum voltage to be consistent with defaults on xt875
    6169a5cfaacc ARC: build: move symlink creation to arch/arc/Makefile to avoid race
    443fb88d6dea ARC: build: add boot_targets to PHONY
    e1c4b5ff9655 ARC: build: add uImage.lzma to the top-level target
    cf4592a2d740 ARC: build: remove non-existing bootpImage from KBUILD_IMAGE
    f7f32822a44a io_uring: drop mm and files after task_work_run
    a3647cddfee6 io_uring: don't take files/mm for a dead task
    85958f60ebba ext4: don't leak old mountpoint samples
    41b5ec745ccf btrfs: tree-checker: check if chunk item end overflows
    85905240bf79 r8152: Add Lenovo Powered USB-C Travel Hub
    53e976bb0708 stmmac: intel: change all EHL/TGL to auto detect phy addr
    7c5b2049caad dm crypt: defer decryption to a tasklet if interrupts disabled
    fe40f6a6309f dm crypt: do not call bio_endio() from the dm-crypt tasklet
    8727884b7f80 dm crypt: do not wait for backlogged crypto request completion in softirq
    93edb8db94cf dm crypt: use GFP_ATOMIC when allocating crypto requests from softirq
    9bf4fbaf7dad dm integrity: fix the maximum number of arguments
    6bba7eff6b33 dm integrity: fix flush with external metadata device
    1ac4156de549 dm snapshot: flush merged data before committing metadata
    5de4f3a301f1 dm raid: fix discard limits for raid1
    ccd903e26750 mm/process_vm_access.c: include compat.h
    d3e43af7c61f mm/hugetlb: fix potential missing huge page size info
    b4ecc259657c mm/vmalloc.c: fix potential memory leak
    33dbd5422c88 compiler.h: Raise minimum version of GCC to 5.1 for arm64
    047ea5a8feff xen/privcmd: allow fetching resource sizes
    3b9f7b0a19f7 ACPI: scan: Harden acpi_device_add() against device ID overflows
    0dbfad171b9c RDMA/ocrdma: Fix use after free in ocrdma_dealloc_ucontext_pd()
    c8c2b27ab34d MIPS: relocatable: fix possible boot hangup with KASLR enabled
    652daca07f4f MIPS: Fix malformed NT_FILE and NT_SIGINFO in 32bit coredumps
    9e2413f41aa2 MIPS: boot: Fix unaligned access with CONFIG_MIPS_RAW_APPENDED_DTB
    974f19621f19 mips: lib: uncached: fix non-standard usage of variable 'sp'
    5ca873f92b4f mips: fix Section mismatch in reference
    4b0a0655da7f riscv: Fix KASAN memory mapping.
    ab7594f63926 riscv: Fixup CONFIG_GENERIC_TIME_VSYSCALL
    7c4ced368204 riscv: return -ENOSYS for syscall -1
    eae7b19b32aa riscv: Drop a duplicated PAGE_KERNEL_EXEC
    531c88c9fe56 cifs: fix interrupted close commands
    0e4c42cb4a5f cifs: check pointer before freeing
    2207c3ce7075 ext4: fix bug for rename with RENAME_WHITEOUT
    15a062c79d49 ext4: fix wrong list_splice in ext4_fc_cleanup
    6c557cb1f9d7 ext4: use IS_ERR instead of IS_ERR_OR_NULL and set inode null when IS_ERR
    fcae2beac981 tools/bootconfig: Add tracing_on support to helper scripts
    75942370699b tracing/kprobes: Do the notrace functions check without kprobes on ftrace
    47319c4b81a3 drm/bridge: sii902x: Enable I/O and core VCC supplies if present
    af402f64ca08 dt-bindings: display: sii902x: Add supply bindings
    c0c34c5ab715 drm/bridge: sii902x: Refactor init code into separate function
    0a34addcdbd9 drm/i915/backlight: fix CPU mode backlight takeover on LPT
    48b8c6689efa drm/i915/gt: Limit VFE threads based on GT
    481e27f05073 drm/i915: Allow the sysadmin to override security mitigations
    586a42de0bae drm/amdgpu: add new device id for Renior
    989a0f6791ff Revert "drm/amd/display: Fixed Intermittent blue screen on OLED panel"
    7fe745881255 drm/amdgpu: fix DRM_INFO flood if display core is not supported (bug 210921)
    9c6524bba523 drm/amdgpu: add green_sardine device id (v2)
    ad8ca24ba879 x86/hyperv: check cpu mask after interrupt has been disabled
    0351fbe00a23 ASoC: dapm: remove widget from dirty list on free
    55eb1867a5b3 ASoC: AMD Renoir - add DMI entry for Lenovo ThinkPad X395
    69b84d87fd59 ALSA: doc: Fix reference to mixart.rst
    617b1bae7ee9 ALSA: hda/realtek: fix right sounds and mute/micmute LEDs for HP machines
    f37fba66a437 btrfs: prevent NULL pointer dereference in extent_io_tree_panic
    e883eb5d1567 btrfs: reloc: fix wrong file extent type check to avoid false ENOENT

(From OE-Core rev: c1d6bd068478b5414e11ac7402de69e6a7b14356)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Bruce Ashfield
3c9f78f6d7 linux-yocto-rt/5.4: fix 5.4-stable caused build breakage
5.4-stable included a backport of:

   Author: Eric W. Biederman <ebiederm@xmission.com>
   Date:   Thu Dec 3 14:11:13 2020 -0600

     rwsem: Implement down_read_interruptible

     [ Upstream commit 31784cff7ee073b34d6eddabb95e3be2880a425c ]

     In preparation for converting exec_update_mutex to a rwsem so that
     multiple readers can execute in parallel and not deadlock, add
     down_read_interruptible.  This is needed for perf_event_open to be
     converted (with no semantic changes) from working on a mutex to
     wroking on a rwsem.

     Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
     Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
     Link: https://lkml.kernel.org/r/87k0tybqfy.fsf@x220.int.ebiederm.org
     Signed-off-by: Sasha Levin <sashal@kernel.org>

We implement a -rt variant to fix the build issues.

(From OE-Core rev: e610fb7cc22447441f18a9b1bffe58aadb6aaab6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Bruce Ashfield
1db7f2a8c6 linux-yocto-rt/5.10: fix 5.10-rt build breakage
5.10-stable included a backport of:

  Author: Eric W. Biederman <ebiederm@xmission.com>
  Date:   Thu Dec 3 14:11:13 2020 -0600

    rwsem: Implement down_read_interruptible

    [ Upstream commit 31784cff7ee073b34d6eddabb95e3be2880a425c ]

    In preparation for converting exec_update_mutex to a rwsem so that
    multiple readers can execute in parallel and not deadlock, add
    down_read_interruptible.  This is needed for perf_event_open to be
    converted (with no semantic changes) from working on a mutex to
    wroking on a rwsem.

    Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
    Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
    Link: https://lkml.kernel.org/r/87k0tybqfy.fsf@x220.int.ebiederm.org
    Signed-off-by: Sasha Levin <sashal@kernel.org>

We implement a -rt variant to fix the build issues.

(From OE-Core rev: 448e2210cbe66d52b175d29df16edc4aeda4c961)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Bruce Ashfield
d4a587c6f8 linux-yocto/5.4: update to v5.4.90
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    ceed81a883dc Linux 5.4.90
    6f484096196b regmap: debugfs: Fix a reversed if statement in regmap_debugfs_init()
    bbb2fee395e9 net: drop bogus skb with CHECKSUM_PARTIAL and offset beyond end of trimmed packet
    bd0051a5cb05 block: fix use-after-free in disk_part_iter_next
    c5fe50e18fcb KVM: arm64: Don't access PMCR_EL0 when no PMU is available
    f595e44b161a net: mvpp2: disable force link UP during port init procedure
    5b8d3c3a9fcb regulator: qcom-rpmh-regulator: correct hfsmps515 definition
    3582406b9c04 wan: ds26522: select CONFIG_BITREVERSE
    480c5e9c7e4c regmap: debugfs: Fix a memory leak when calling regmap_attach_dev
    c3c774886790 net/mlx5e: Fix two double free cases
    ce74b5a0689d net/mlx5e: Fix memleak in mlx5e_create_l2_table_groups
    a2b2ae3812e5 bpftool: Fix compilation failure for net.o with older glibc
    2992e3371a3a iommu/intel: Fix memleak in intel_irq_remapping_alloc
    006319327d21 lightnvm: select CONFIG_CRC32
    46c15eeb0a8a block: rsxx: select CONFIG_CRC32
    4834a984e456 wil6210: select CONFIG_CRC32
    b28378bc91d0 qed: select CONFIG_CRC32
    cc196d4604c9 dmaengine: xilinx_dma: fix mixed_enum_type coverity warning
    d0eaf8a8eff8 dmaengine: xilinx_dma: fix incompatible param warning in _child_probe()
    e6f247a5f927 dmaengine: xilinx_dma: check dma_async_device_register return value
    c15556cb344a dmaengine: mediatek: mtk-hsdma: Fix a resource leak in the error handling path of the probe function
    55503711adff i2c: i801: Fix the i2c-mux gpiod_lookup_table not being properly terminated
    12e8bcaef61a spi: stm32: FIFO threshold level - fix align packet size
    9ff4796e6fd9 cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get()
    4dd15f9bc881 can: kvaser_pciefd: select CONFIG_CRC32
    82adac5ad13b can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop()
    3b68980596fb can: tcan4x5x: fix bittiming const, use common bittiming from m_can driver
    b77e0283efdc dmaengine: dw-edma: Fix use after free in dw_edma_alloc_chunk()
    f6dd8c259ab8 i2c: sprd: use a specific timeout to avoid system hang up issue
    8d0cadc2ea64 ARM: OMAP2+: omap_device: fix idling of devices during probe
    003280bd8845 HID: wacom: Fix memory leakage caused by kfifo_alloc
    6f367fb1b7ee iio: imu: st_lsm6dsx: fix edge-trigger interrupts
    87ea51c90280 vmlinux.lds.h: Add PGO and AutoFDO input sections
    099340d3e758 exfat: Month timestamp metadata accidentally incremented
    bb039d45ebc5 x86/resctrl: Don't move a task to the same resource group
    628af07fc5cd x86/resctrl: Use an IPI instead of task_work_add() to update PQR_ASSOC MSR
    96fb3d28c885 chtls: Fix chtls resources release sequence
    fac9b53cfacb chtls: Added a check to avoid NULL pointer dereference
    38768ea1127d chtls: Replace skb_dequeue with skb_peek
    dcce456b2843 chtls: Fix panic when route to peer not configured
    44bed66b2be9 chtls: Remove invalid set_tcb call
    266ee00f402b chtls: Fix hardware tid leak
    ed62af62da41 net/mlx5e: ethtool, Fix restriction of autoneg with 56G
    cf59803ce4b3 net/mlx5: Use port_num 1 instead of 0 when delete a RoCE address
    3008c639c081 net: dsa: lantiq_gswip: Exclude RMII from modes that report 1 GbE
    fc1c907da5a1 s390/qeth: fix L2 header access in qeth_l3_osa_features_check()
    e6931e3eb084 nexthop: Unlink nexthop group entry in error path
    3cecab93f271 nexthop: Fix off-by-one error in error path
    f03b81e61ef5 octeontx2-af: fix memory leak of lmac and lmac->name
    12e10b12124c net: ip: always refragment ip defragmented packets
    41bfd4111257 net: fix pmtu check in nopmtudisc mode
    98fc9692ac3d tools: selftests: add test for changing routes with PTMU exceptions
    7694654168bb net: ipv6: fib: flush exceptions when purging route
    1cba7e270b16 net/sonic: Fix some resource leaks in error handling paths
    37e6368a8de6 net: vlan: avoid leaks on register_vlan_dev() failures
    4ff0737ebc76 net: stmmac: dwmac-sun8i: Balance internal PHY power
    5698f0921c9b net: stmmac: dwmac-sun8i: Balance internal PHY resource references
    fa020a28896c net: hns3: fix a phy loopback fail issue
    bddaf51d116c net: hns3: fix the number of queues actually used by ARQ
    d73f7e757526 net: cdc_ncm: correct overhead in delayed_ndp_size
    5597557244d4 vfio iommu: Add dma available capability
    335104082c21 x86/asm/32: Add ENDs to some functions and relabel with SYM_CODE_*
    a829146c3fdc Linux 5.4.89
    485e21729b1e scsi: target: Fix XCOPY NAA identifier lookup
    7795afa0d7a9 KVM: x86: fix shift out of bounds reported by UBSAN
    a9d49da7edf8 x86/mtrr: Correct the range check before performing MTRR type lookups
    a798b367a066 netfilter: nft_dynset: report EOPNOTSUPP on missing set feature
    5e401ea71676 netfilter: xt_RATEEST: reject non-null terminated string from userspace
    1dd6a790c220 netfilter: ipset: fix shift-out-of-bounds in htable_bits()
    e0281bb5a82d netfilter: x_tables: Update remaining dereference to RCU
    828f2a20f946 drm/i915: clear the gpu reloc batch
    ef8133b1b47e dmabuf: fix use-after-free of dmabuf's file->f_inode
    284be2b993ca Revert "device property: Keep secondary firmware node secondary by type"
    64d06c7f2fa2 btrfs: send: fix wrong file path when there is an inode with a pending rmdir
    0cb0b876f17f ALSA: hda/realtek: Add two "Intel Reference board" SSID in the ALC256.
    02e59692a6b1 ALSA: hda/realtek: Enable mute and micmute LED on HP EliteBook 850 G7
    d63a96f45c4f ALSA: hda/realtek - Fix speaker volume control on Lenovo C940
    30fd9778cf8f ALSA: hda/conexant: add a new hda codec CX11970
    121944484cc4 ALSA: hda/via: Fix runtime PM for Clevo W35xSS
    a5c7a456680f kvm: check tlbs_dirty directly
    10dcb79ec79e x86/mm: Fix leak of pmd ptlock
    d3e5db486fd8 USB: serial: keyspan_pda: remove unused variable
    bcffe2de9dde usb: gadget: configfs: Fix use-after-free issue with udc_name
    276828221852 usb: gadget: configfs: Preserve function ordering after bind failure
    b2bd36f54495 usb: gadget: Fix spinlock lockup on usb_function_deactivate
    ce507b55db29 USB: gadget: legacy: fix return error code in acm_ms_bind()
    7f875ea9883c usb: gadget: u_ether: Fix MTU size mismatch with RX packet size
    b89a5f39c2b5 usb: gadget: function: printer: Fix a memory leak for interface descriptor
    692ab0726460 usb: gadget: f_uac2: reset wMaxPacketSize
    7ac84fa85ba2 usb: gadget: select CONFIG_CRC32
    77a804dd6b46 ALSA: usb-audio: Fix UBSAN warnings for MIDI jacks
    5c263f16822f USB: usblp: fix DMA to stack
    41f15da2abd9 USB: yurex: fix control-URB timeout handling
    175f7a5fa7e6 USB: serial: option: add Quectel EM160R-GL
    1a59feb52dc4 USB: serial: option: add LongSung M5710 module support
    ac48b1dacb07 USB: serial: iuu_phoenix: fix DMA from stack
    8a051eaae708 usb: uas: Add PNY USB Portable SSD to unusual_uas
    a7b81d0d2e07 usb: usbip: vhci_hcd: protect shift size
    f7cc27eb358d USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set
    ea472d839133 usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data()
    a37a0667e1e0 usb: dwc3: ulpi: Use VStsDone to detect PHY regs access completion
    5b8e1be9e0c1 USB: cdc-wdm: Fix use after free in service_outstanding_interrupt().
    5445502a344b USB: cdc-acm: blacklist another IR Droid device
    eeae1d95ce4e usb: gadget: enable super speed plus
    70cf59b8ffb4 staging: mt7621-dma: Fix a resource leak in an error handling path
    c511f27e130e powerpc: Handle .text.{hot,unlikely}.* in linker script
    867c10a03f84 crypto: asym_tpm: correct zero out potential secrets
    ff7397add935 crypto: ecdh - avoid buffer overflow in ecdh_set_secret()
    9e60056b1f53 video: hyperv_fb: Fix the mmap() regression for v5.4.y and older
    84d488719b27 Bluetooth: revert: hci_h5: close serdev device and free hu in h5_close
    3417067b3111 kbuild: don't hardcode depmod path
    3f2a28930a7e net/sched: sch_taprio: ensure to reset/destroy all child qdiscs
    c41ea30c3839 ionic: account for vlan tag len in rx buffer len
    5c6eb887e192 vhost_net: fix ubuf refcount incorrectly when sendmsg fails
    8f64957fda12 net: usb: qmi_wwan: add Quectel EM160R-GL
    12ab7b627d43 CDC-NCM: remove "connected" log message
    171a2bce9d6c net: dsa: lantiq_gswip: Fix GSWIP_MII_CFG(p) register access
    c0883010d3b3 net: dsa: lantiq_gswip: Enable GSWIP_MII_CFG_EN also for internal PHYs
    07f26fc52b45 r8169: work around power-saving bug on some chip versions
    106ca9ca9acc net: hdlc_ppp: Fix issues when mod_timer is called while timer is running
    2b8aa896b151 erspan: fix version 1 check in gre_parse_header()
    606f5412ad86 net: hns: fix return value check in __lb_other_process()
    e40b5fc79110 net: sched: prevent invalid Scell_log shift count
    b16f883e71f3 ipv4: Ignore ECN bits for fib lookups in fib_compute_spec_dst()
    a018c071de14 net: mvpp2: fix pkt coalescing int-threshold configuration
    443a71031e49 tun: fix return value when the number of iovs exceeds MAX_SKB_FRAGS
    c076e1198554 net: ethernet: ti: cpts: fix ethtool output when no ptp_clock registered
    8602c20a9160 net-sysfs: take the rtnl lock when accessing xps_rxqs_map and num_tc
    1f6b04a2b282 net-sysfs: take the rtnl lock when storing xps_rxqs
    67ed54a63f43 net-sysfs: take the rtnl lock when accessing xps_cpus_map and num_tc
    fb14db9508c0 net-sysfs: take the rtnl lock when storing xps_cpus
    e43ec45d45af net: ethernet: Fix memleak in ethoc_probe
    56dc7908ed85 net/ncsi: Use real net-device for response handler
    dffef999e484 virtio_net: Fix recursive call to cpus_read_lock()
    5404192a8721 qede: fix offload for IPIP tunnel packets
    8009f6bb13a3 net: ethernet: mvneta: Fix error handling in mvneta_probe
    6d003fe7fe87 ibmvnic: continue fatal error reset after passive init
    3d16088a9668 net: mvpp2: Fix GoP port 3 Networking Complex Control configurations
    8548c9679939 atm: idt77252: call pci_disable_device() on error path
    2a006b4fa5cc ethernet: ucc_geth: set dev->max_mtu to 1518
    c2ca14cc6f55 ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()
    af99cae96fdc net: systemport: set dev->max_mtu to UMAC_MAX_MTU_SIZE
    8dd98d5d2ba4 net: mvpp2: prs: fix PPPoE with ipv6 packet parse
    73445f29575a net: mvpp2: Add TCAM entry to drop flow control pause frames
    a5a6dc4dc293 iavf: fix double-release of rtnl_lock
    6aba31a7c72e i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs
    9ea03f6890ce proc: fix lookup in /proc/net subdirectories after setns(2)
    d2942e958f26 proc: change ->nlink under proc_subdir_lock
    59b10c8a59a1 depmod: handle the case of /sbin/depmod without /sbin in PATH
    663a0bcb3fa5 lib/genalloc: fix the overflow when size is too big
    19e0cf8fc481 scsi: scsi_transport_spi: Set RQF_PM for domain validation commands
    eb3e975ac2a3 scsi: ide: Do not set the RQF_PREEMPT flag for sense requests
    4ae3573c571e scsi: ufs-pci: Ensure UFS device is in PowerDown mode for suspend-to-disk ->poweroff()
    5f9c3d640505 scsi: ufs: Fix wrong print message in dev_err()
    515dc635eb76 workqueue: Kick a worker based on the actual activation of delayed works
    f3a4c8d50145 Linux 5.4.88
    0a49aaf4df29 mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start
    117433236ae2 exec: Transform exec_update_mutex into a rw_semaphore
    d390fc97df62 rwsem: Implement down_read_interruptible
    1b75a263fbd9 rwsem: Implement down_read_killable_nested
    71b8355ba667 perf: Break deadlock involving exec_update_mutex
    732251cabeb3 fuse: fix bad inode
    06c672dd61b5 iio:imu:bmi160: Fix alignment and data leak issues
    7a736f41013e kdev_t: always inline major/minor helper functions
    61a0d8e437bb dmaengine: at_hdmac: add missing kfree() call in at_dma_xlate()
    20d5ee563bfd dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate()
    f2a0b7677444 dmaengine: at_hdmac: Substitute kzalloc with kmalloc
    4d3ba541bede Revert "mtd: spinand: Fix OOB read"
    da5b4cf021b9 Revert "drm/amd/display: Fix memory leaks in S3 resume"

(From OE-Core rev: 5dcc8a5977725a9fe11ac13ebd16a7acc1eef37d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Bruce Ashfield
f7f4a53ca5 linux-yocto/5.10: update to v5.10.8
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    7a1519a74f3d Linux 5.10.8
    b77681d400f4 tools headers UAPI: Sync linux/fscrypt.h with the kernel sources
    27c6968cfb76 drm/panfrost: Remove unused variables in panfrost_job_close()
    75e5e51acf59 regmap: debugfs: Fix a reversed if statement in regmap_debugfs_init()
    43f6ea41408b net: drop bogus skb with CHECKSUM_PARTIAL and offset beyond end of trimmed packet
    481097d66174 block: fix use-after-free in disk_part_iter_next
    61e8c02ae6d6 can: isotp: isotp_getname(): fix kernel information leak
    6f7a362e1c6f block/rnbd-clt: avoid module unload race with close confirmation
    be665727363f xsk: Rollback reservation at NETDEV_TX_BUSY
    9ad0375ed292 xsk: Fix race in SKB mode transmit with shared cq
    610e2c5699f8 KVM: arm64: Don't access PMCR_EL0 when no PMU is available
    c5c22948f235 selftests: fib_nexthops: Fix wrong mausezahn invocation
    e336a772cdcb net: mvneta: fix error message when MTU too large for XDP
    729319e4f177 drm/i915/dp: Track pm_qos per connector
    e7f0992529b2 net: mvpp2: disable force link UP during port init procedure
    734bd3f8256b regulator: qcom-rpmh-regulator: correct hfsmps515 definition
    ae4db0bc5cde arm64: cpufeature: remove non-exist CONFIG_KVM_ARM_HOST
    344f59a93151 wan: ds26522: select CONFIG_BITREVERSE
    c9698380b01a regmap: debugfs: Fix a memory leak when calling regmap_attach_dev
    6defee43fe54 net/mlx5e: Fix two double free cases
    699804e07641 net/mlx5e: Fix memleak in mlx5e_create_l2_table_groups
    b23accd11a89 nvme-tcp: Fix possible race of io_work and direct send
    31a3520409ff bpftool: Fix compilation failure for net.o with older glibc
    2a21faa9c596 iommu/intel: Fix memleak in intel_irq_remapping_alloc
    39b3204e54c1 iommu/vt-d: Fix misuse of ALIGN in qi_flush_piotlb()
    2bbe923d7a84 zonefs: select CONFIG_CRC32
    771865dc5a6e lightnvm: select CONFIG_CRC32
    432071f6af70 block: rsxx: select CONFIG_CRC32
    0d813da1bde0 wil6210: select CONFIG_CRC32
    e208085c82f7 phy: dp83640: select CONFIG_CRC32
    f03e2257df3c qed: select CONFIG_CRC32
    41dcfc0cb955 arm64: mm: Fix ARCH_LOW_ADDRESS_LIMIT when !CONFIG_ZONE_DMA
    d4a7eb9fbfcc dmaengine: xilinx_dma: fix mixed_enum_type coverity warning
    c16e7cfc1baf dmaengine: xilinx_dma: fix incompatible param warning in _child_probe()
    e72371fab4ea dmaengine: xilinx_dma: check dma_async_device_register return value
    41f95d84fcf5 dmaengine: milbeaut-xdmac: Fix a resource leak in the error handling path of the probe function
    ceb97fbe4816 dmaengine: mediatek: mtk-hsdma: Fix a resource leak in the error handling path of the probe function
    fcd04aa9b52c interconnect: qcom: fix rpmh link failures
    6a0e580ded88 interconnect: imx: Add a missing of_node_put after of_device_is_available
    e5689d84ebd8 bcache: set bcache device into read-only mode for BCH_FEATURE_INCOMPAT_OBSO_LARGE_BUCKET
    8f243682e5ed i2c: mediatek: Fix apdma and i2c hand-shake timeout
    d908dd5c1064 i2c: i801: Fix the i2c-mux gpiod_lookup_table not being properly terminated
    7a30d664c949 spi: stm32: FIFO threshold level - fix align packet size
    c75a66726d7e spi: spi-geni-qcom: Fix geni_spi_isr() NULL dereference in timeout case
    932e130e3dc8 cpufreq: powernow-k8: pass policy rather than use cpufreq_cpu_get()
    a885713b0c03 spi: spi-geni-qcom: Fail new xfers if xfer/cancel/abort pending
    175465cb6d87 can: kvaser_pciefd: select CONFIG_CRC32
    9fc286ed3926 can: m_can: m_can_class_unregister(): remove erroneous m_can_clk_stop()
    9b990788d84d can: tcan4x5x: fix bittiming const, use common bittiming from m_can driver
    4abc2dbd8822 selftests/bpf: Clarify build error if no vmlinux
    e095ac6bc3ea dmaengine: dw-edma: Fix use after free in dw_edma_alloc_chunk()
    75dfd242b46a i2c: sprd: use a specific timeout to avoid system hang up issue
    0a27398d8969 ARM: OMAP2+: omap_device: fix idling of devices during probe
    797335659e58 fanotify: Fix sys_fanotify_mark() on native x86-32
    797c128d3c7d HID: wacom: Fix memory leakage caused by kfifo_alloc
    bca9046c36d3 ionic: start queues before announcing link up
    6aebfdacad97 scsi: lpfc: Fix variable 'vport' set but not used in lpfc_sli4_abts_err_handler()
    8543acf02563 net/mlx5: Check if lag is supported before creating one
    1e5b0a2300bb net/mlx5e: In skb build skip setting mark in switchdev mode
    dd7cce96dd37 net/mlx5e: ethtool, Fix restriction of autoneg with 56G
    39e86d3ca489 net/mlx5: Use port_num 1 instead of 0 when delete a RoCE address
    d6d3f9de7a06 net: dsa: lantiq_gswip: Exclude RMII from modes that report 1 GbE
    af9b4ab6ee6d s390/qeth: fix L2 header access in qeth_l3_osa_features_check()
    af0c184ea106 s390/qeth: fix locking for discipline setup / removal
    1214d69a2bfc s390/qeth: fix deadlock during recovery
    5fb8a3116cd0 nexthop: Bounce NHA_GATEWAY in FDB nexthop groups
    eaa7a6c39d10 nexthop: Unlink nexthop group entry in error path
    6486bc0a3400 nexthop: Fix off-by-one error in error path
    2e7635299fbf octeontx2-af: fix memory leak of lmac and lmac->name
    ab8e7a1af3f2 chtls: Fix chtls resources release sequence
    23e696e2f382 chtls: Added a check to avoid NULL pointer dereference
    5a1af38e06b6 chtls: Replace skb_dequeue with skb_peek
    d9297487df15 chtls: Avoid unnecessary freeing of oreq pointer
    523cea39aab2 chtls: Fix panic when route to peer not configured
    2702758d42a4 chtls: Remove invalid set_tcb call
    694635a7b8cb chtls: Fix hardware tid leak
    b0ff6d00edac net: ip: always refragment ip defragmented packets
    d5fc41ebe260 net: fix pmtu check in nopmtudisc mode
    541c22aad368 tools: selftests: add test for changing routes with PTMU exceptions
    69363e37d470 net: ipv6: fib: flush exceptions when purging route
    6d233d9501af ptp: ptp_ines: prevent build when HAS_IOMEM is not set
    210b9cdb3d5b net: bareudp: add missing error handling for bareudp_link_config()
    2a432be9ba44 net/sonic: Fix some resource leaks in error handling paths
    9591f32a630f net: vlan: avoid leaks on register_vlan_dev() failures
    60de77165d0b net: stmmac: dwmac-sun8i: Balance syscon (de)initialization
    35526a9c46b4 net: stmmac: dwmac-sun8i: Balance internal PHY power
    22e1ed2abc66 net: stmmac: dwmac-sun8i: Balance internal PHY resource references
    413a79ccb98e net: stmmac: dwmac-sun8i: Fix probe error handling
    8d12c062ca99 net: hns3: fix a phy loopback fail issue
    ed59d391ee5e net: hns3: fix the number of queues actually used by ARQ
    799d8080f903 net: hns3: fix incorrect handling of sctp6 rss tuple
    b044a949a5c5 net: cdc_ncm: correct overhead in delayed_ndp_size
    e3b5252b5cdb btrfs: shrink delalloc pages instead of full inodes
    17243f73ad74 btrfs: fix deadlock when cloning inline extent and low on free metadata space
    87738164592f btrfs: skip unnecessary searches for xattrs when logging an inode
    e28ace868c1e scsi: ufs: Fix -Wsometimes-uninitialized warning
    458b40598dc0 io_uring: Fix return value from alloc_fixed_file_ref_node
    51495b719515 drm/panfrost: Don't corrupt the queue mutex on open/close
    9d7751a39a19 iommu/arm-smmu-qcom: Initialize SCTLR of the bypass context
    85bbe2e64ab4 RDMA/hns: Avoid filling sl in high 3 bits of vlan_id
    85e25e2370a2 io_uring: patch up IOPOLL overflow_flush sync
    bc924dd21ecf io_uring: limit {io|sq}poll submit locking scope
    1d5e50da5cc7 io_uring: synchronise IOPOLL on task_submit fail
    bca9ca5a603f powerpc/32s: Fix RTAS machine check with VMAP stack
    659361086d8b Linux 5.10.7
    6f1e88527c18 scsi: target: Fix XCOPY NAA identifier lookup
    513729aecb53 rtlwifi: rise completion at the last step of firmware callback
    0fae7d269ef7 xsk: Fix memory leak for failed bind
    563135ec664f KVM: x86: fix shift out of bounds reported by UBSAN
    02ccda90ef7e x86/mtrr: Correct the range check before performing MTRR type lookups
    6e3c67976eda dmaengine: idxd: off by one in cleanup code
    8b109f4cd1dc netfilter: nft_dynset: report EOPNOTSUPP on missing set feature
    810bc977f8a4 netfilter: xt_RATEEST: reject non-null terminated string from userspace
    d17f2ccf6f99 netfilter: ipset: fix shift-out-of-bounds in htable_bits()
    27bc60d9678a netfilter: x_tables: Update remaining dereference to RCU
    56429ddfd59c ARM: dts: OMAP3: disable AES on N950/N9
    00a6b090d5c9 net/mlx5e: Fix SWP offsets when vlan inserted by driver
    a3601005de8f bcache: introduce BCH_FEATURE_INCOMPAT_LOG_LARGE_BUCKET_SIZE for large bucket
    a9c413cd0cdf bcache: check unsupported feature sets for bcache register
    fbb23cd18755 bcache: fix typo from SUUP to SUPP in features.h
    36d366ace154 drm/i915: clear the gpu reloc batch
    13738d7d5a24 drm/i915: clear the shadow batch
    1cd7e30a6db6 arm64: link with -z norelro for LLD or aarch64-elf
    a19dae4254c4 dmabuf: fix use-after-free of dmabuf's file->f_inode
    6844bc38c9fe Revert "device property: Keep secondary firmware node secondary by type"
    5e84c99055eb btrfs: send: fix wrong file path when there is an inode with a pending rmdir
    1888e5df8449 btrfs: qgroup: don't try to wait flushing if we're already holding a transaction
    1c31964eca13 iommu/vt-d: Move intel_iommu info from struct intel_svm to struct intel_svm_dev
    a07c54917aad ALSA: hda/realtek: Add two "Intel Reference board" SSID in the ALC256.
    41af04d3037a ALSA: hda/realtek: Enable mute and micmute LED on HP EliteBook 850 G7
    3e1bcaebe8b1 ALSA: hda/realtek: Add mute LED quirk for more HP laptops
    582de98b59fd ALSA: hda/realtek - Fix speaker volume control on Lenovo C940
    2eda063db992 ALSA: hda/conexant: add a new hda codec CX11970
    c03f37d52934 ALSA: hda/via: Fix runtime PM for Clevo W35xSS
    cafc6e70a63c blk-iocost: fix NULL iocg deref from racing against initialization
    397e352ca96f x86/resctrl: Don't move a task to the same resource group
    34e4ae4dca72 x86/resctrl: Use an IPI instead of task_work_add() to update PQR_ASSOC MSR
    c3cf9ffe8d9c KVM: x86/mmu: Ensure TDP MMU roots are freed after yield
    ffee6772c489 kvm: check tlbs_dirty directly
    f4064ef40c5c KVM: x86/mmu: Get root level from walkers when retrieving MMIO SPTE
    afd621673f03 KVM: x86/mmu: Use -1 to flag an undefined spte in get_mmio_spte()
    23220e87c91f x86/mm: Fix leak of pmd ptlock
    876195e1c8c6 mm: make wait_on_page_writeback() wait for multiple pending writebacks
    96e6724310f2 hwmon: (amd_energy) fix allocation of hwmon_channel_info config
    3f47b182241f USB: serial: keyspan_pda: remove unused variable
    a4b202cba3ab usb: gadget: configfs: Fix use-after-free issue with udc_name
    ed57b762f51b usb: gadget: configfs: Preserve function ordering after bind failure
    8ca9626a819c usb: gadget: Fix spinlock lockup on usb_function_deactivate
    c92e6831dc90 USB: gadget: legacy: fix return error code in acm_ms_bind()
    9cc6bf99c64d usb: gadget: u_ether: Fix MTU size mismatch with RX packet size
    e698e1478be7 usb: gadget: function: printer: Fix a memory leak for interface descriptor
    c4aa893e2e0d usb: gadget: f_uac2: reset wMaxPacketSize
    e7f2c25aa88e USB: Gadget: dummy-hcd: Fix shift-out-of-bounds bug
    2cd6988fbfa5 usb: gadget: select CONFIG_CRC32
    88eaa6c077f8 ALSA: usb-audio: Fix UBSAN warnings for MIDI jacks
    0a5b28c99dc4 USB: usblp: fix DMA to stack
    4f7e97ffb4eb USB: yurex: fix control-URB timeout handling
    008689576a4e USB: serial: option: add Quectel EM160R-GL
    3013ff766dad USB: serial: option: add LongSung M5710 module support
    5410726d7def USB: serial: iuu_phoenix: fix DMA from stack
    677503c72765 usb: uas: Add PNY USB Portable SSD to unusual_uas
    91a6375b1836 usb: usbip: vhci_hcd: protect shift size
    cee536f1a5c7 USB: xhci: fix U1/U2 handling for hardware with XHCI_INTEL_HOST quirk set
    4485bdb99624 usb: chipidea: ci_hdrc_imx: add missing put_device() call in usbmisc_get_init_data()
    150a9c163c3d usb: dwc3: ulpi: Fix USB2.0 HS/FS/LS PHY suspend regression
    97abe6663fa3 usb: dwc3: ulpi: Replace CPU-based busyloop with Protocol-based one
    b51963e9f562 usb: dwc3: ulpi: Use VStsDone to detect PHY regs access completion
    8907a10c8ffa usb: dwc3: gadget: Clear wait flag on dequeue
    dd8363fbca50 usb: dwc3: gadget: Restart DWC3 gadget when enabling pullup
    906b0510dde5 usb: dwc3: meson-g12a: disable clk on error handling path in probe
    5a5ce1e75c77 usb: typec: intel_pmc_mux: Configure HPD first for HPD+IRQ request
    340db7c0a6c0 USB: cdc-wdm: Fix use after free in service_outstanding_interrupt().
    1452fefc4c29 USB: cdc-acm: blacklist another IR Droid device
    b55debd08b8f usb: gadget: enable super speed plus
    22f56c63d50e staging: mt7621-dma: Fix a resource leak in an error handling path
    b8c9bb139331 Staging: comedi: Return -EFAULT if copy_to_user() fails
    cb5a170e979e powerpc: Handle .text.{hot,unlikely}.* in linker script
    80a364421c95 crypto: asym_tpm: correct zero out potential secrets
    3f20005ab271 crypto: ecdh - avoid buffer overflow in ecdh_set_secret()
    d55d15a332ec scsi: block: Do not accept any requests while suspended
    782c9ef2ac05 scsi: block: Remove RQF_PREEMPT and BLK_MQ_REQ_PREEMPT
    faa613d033f3 Bluetooth: revert: hci_h5: close serdev device and free hu in h5_close
    3ca425885bb7 kbuild: don't hardcode depmod path
    e5383432d92c scsi: ufs: Clear UAC for FFU and RPMB LUNs
    43dee885bead depmod: handle the case of /sbin/depmod without /sbin in PATH
    8532d3ec57e5 lib/genalloc: fix the overflow when size is too big
    2179bae04b12 local64.h: make <asm/local64.h> mandatory
    271822bbf9fe scsi: core: Only process PM requests if rpm_status != RPM_ACTIVE
    a97d55de10aa scsi: scsi_transport_spi: Set RQF_PM for domain validation commands
    60fb6a8d782b scsi: ide: Mark power management requests with RQF_PM instead of RQF_PREEMPT
    2d8b9f991de7 scsi: ide: Do not set the RQF_PREEMPT flag for sense requests
    8ed46b329d4e scsi: block: Introduce BLK_MQ_REQ_PM
    4bdd912c724e scsi: ufs-pci: Enable UFSHCD_CAP_RPM_AUTOSUSPEND for Intel controllers
    3a1be8e3806e scsi: ufs-pci: Fix recovery from hibernate exit errors for Intel controllers
    46e435583610 scsi: ufs-pci: Ensure UFS device is in PowerDown mode for suspend-to-disk ->poweroff()
    20e1aec964ea scsi: ufs-pci: Fix restore from S4 for Intel controllers
    42b464fb10ff scsi: ufs: Fix wrong print message in dev_err()
    dfec7dc891d7 workqueue: Kick a worker based on the actual activation of delayed works
    bfb39e6d67a5 block: add debugfs stanza for QUEUE_FLAG_NOWAIT
    2dc3447a043b selftests/vm: fix building protection keys test
    952264ac96ef stmmac: intel: Add PCI IDs for TGL-H platform
    22c0b151bca4 selftests: mlxsw: Set headroom size of correct port
    7b81c2f8ad8f net: usb: qmi_wwan: add Quectel EM160R-GL
    063608092aa5 ibmvnic: fix: NULL pointer dereference.
    57dde18a1e60 CDC-NCM: remove "connected" log message
    143143feae03 net: dsa: lantiq_gswip: Fix GSWIP_MII_CFG(p) register access
    495442144c74 net: dsa: lantiq_gswip: Enable GSWIP_MII_CFG_EN also for internal PHYs
    f62153027b9a r8169: work around power-saving bug on some chip versions
    0ad31889c481 vhost_net: fix ubuf refcount incorrectly when sendmsg fails
    cf78c32ac7eb bareudp: Fix use of incorrect min_headroom size
    cfcd702d038e bareudp: set NETIF_F_LLTX flag
    8ca1d23e6ad3 net: hdlc_ppp: Fix issues when mod_timer is called while timer is running
    0d6eeee3b9d4 erspan: fix version 1 check in gre_parse_header()
    cd63471a4184 net: hns: fix return value check in __lb_other_process()
    7a20969b874e net: sched: prevent invalid Scell_log shift count
    5e87eabce7bc ipv4: Ignore ECN bits for fib lookups in fib_compute_spec_dst()
    042c7f35fa61 bnxt_en: Fix AER recovery.
    cdb02a7a9e8d net: mvpp2: fix pkt coalescing int-threshold configuration
    9b350728118e bnxt_en: Check TQM rings for maximum supported value.
    7c0681c2b681 e1000e: Export S0ix flags to ethtool
    d0cd009b052e Revert "e1000e: disable s0ix entry and exit flows for ME systems"
    4e7176129f4f e1000e: bump up timeout to wait when ME un-configures ULP mode
    35a44ba54587 e1000e: Only run S0ix flows if shutdown succeeded
    e3cbce80be89 tun: fix return value when the number of iovs exceeds MAX_SKB_FRAGS
    44dc29d44b84 net: ethernet: ti: cpts: fix ethtool output when no ptp_clock registered
    e4535dbb721d net-sysfs: take the rtnl lock when accessing xps_rxqs_map and num_tc
    90297553d870 net-sysfs: take the rtnl lock when storing xps_rxqs
    0ca897c1ec41 net-sysfs: take the rtnl lock when accessing xps_cpus_map and num_tc
    4da25d83b7cc net-sysfs: take the rtnl lock when storing xps_cpus
    7eab4e69cb01 net: ethernet: Fix memleak in ethoc_probe
    2cdf8c2747d3 net/ncsi: Use real net-device for response handler
    23f8bea3e9d9 virtio_net: Fix recursive call to cpus_read_lock()
    087cfc73598a qede: fix offload for IPIP tunnel packets
    c7d068a2d711 net: ethernet: mvneta: Fix error handling in mvneta_probe
    933b2ba7f9de ibmvnic: continue fatal error reset after passive init
    0583c8ed2d30 ibmvnic: fix login buffer memory leak
    cad75a6bdba6 net: stmmac: dwmac-meson8b: ignore the second clock input
    04f241fc7eb3 net: mvpp2: Fix GoP port 3 Networking Complex Control configurations
    8ece401fa3d6 atm: idt77252: call pci_disable_device() on error path
    0e2dee9a6b26 ionic: account for vlan tag len in rx buffer len
    15741c05a889 ethernet: ucc_geth: set dev->max_mtu to 1518
    116395a26d95 ethernet: ucc_geth: fix use-after-free in ucc_geth_remove()
    ca126e9e0345 net: systemport: set dev->max_mtu to UMAC_MAX_MTU_SIZE
    cf65734dee5f net: mvpp2: prs: fix PPPoE with ipv6 packet parse
    121164dc3314 net: mvpp2: Add TCAM entry to drop flow control pause frames
    db8895aa58c7 net/sched: sch_taprio: ensure to reset/destroy all child qdiscs
    e2572423ab92 iavf: fix double-release of rtnl_lock
    d9dea80af65e i40e: Fix Error I40E_AQ_RC_EINVAL when removing VFs
    5650152ddab1 Linux 5.10.6
    94cc73b27a25 mwifiex: Fix possible buffer overflows in mwifiex_cmd_802_11_ad_hoc_start
    ab7709b551de exec: Transform exec_update_mutex into a rw_semaphore
    933b7cc86068 rwsem: Implement down_read_interruptible
    27bae39e4fc4 rwsem: Implement down_read_killable_nested
    2cded5a3cc38 perf: Break deadlock involving exec_update_mutex
    36cf9ae54b0e fuse: fix bad inode
    e522a788eb91 RDMA/siw,rxe: Make emulated devices virtual in the device tree
    404fa093741e RDMA/core: remove use of dma_virt_ops
    2a54ad3066a8 scsi: ufs: Re-enable WriteBooster after device reset
    acbf7db67ae3 scsi: ufs: Allow an error return value from ->device_reset()
    8cba90399216 drm/i915/tgl: Fix Combo PHY DPLL fractional divider for 38.4MHz ref clock
    adee1c5126ef ALSA: hda/hdmi: Fix incorrect mutex unlock in silent_stream_disable()
    e235fd076eb7 ALSA: hda/realtek - Modify Dell platform name
    ce9163cf7a84 Bluetooth: Fix attempting to set RPA timeout when unsupported
    3e073508920a kdev_t: always inline major/minor helper functions
    fd3ec3b25137 dt-bindings: rtc: add reset-source property
    757cd94ac859 rtc: pcf2127: only use watchdog when explicitly available
    acb821425c8c rtc: pcf2127: move watchdog initialisation to a separate function
    b00195241186 Revert "mtd: spinand: Fix OOB read"
    261f4d03ad23 Revert "drm/amd/display: Fix memory leaks in S3 resume"

(From OE-Core rev: 16687a9e858dce980263d73e4b0f8050ad36c1b2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Richard Purdie
14efc6e698 Revert "msmtp: Fix to work with autoconf 2.70"
This reverts commit e8c0012ea036cb962db25a5941619c22e7218985.

No longer needed with autoconf 2.71

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Dorinda
785b5489ab sanity.bbclass: Check if PSEUDO_IGNORE_PATHS and paths under pseudo control overlap
Added a sanity check for when PSEUDO_IGNORE_PATHS and paths under pseudo control overlap to avoid random failures generated.

[YOCTO #14193]

(From OE-Core rev: 6e4bd8cabcdedf4b52345ef5eb421f71d0f19b1d)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Teoh Jay Shen
eedd8033e0 oeqa/usb_hid.py : add test to check the usb/human interface device status after suspend state
This test mimic the Test_if_usb_hid_device_works_well_after_resume_from_suspend_state manual test case from oeqa/manual/bsp-hw.json.

(From OE-Core rev: 23a3dc370a52907ee3261746405fb9b2af9e9a11)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Tomasz Dziendzielski
899514c477 sstatesig: Add descriptive error message to getpwuid/getgrgid "uid/gid not found" KeyError
If path is not owned by any user installed on target it gives
insufficient error "getpwuid(): uid not found" which may be misleading.
This exception occurs if uid/gid of path was not found in PSEUDO_PASSWD
files, which simply means the path is owned by host user and there is
host user contamination.

Add more information to the exception message to make it easier for user
to debug.

[YOCTO #14031]

(From OE-Core rev: 38540b59ed4ec8632e30a5fd6364b010d9da8470)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Anuj Mittal
90ae075867 python3: fix CVE-2021-3177
(From OE-Core rev: 2ed4f61e9d694fef8ff72b8eeb2163634e96c3bb)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Richard Purdie
0960f15dd8 opkg: Fix build reproducibility issue
A build date was leaking into the generated docs and makefile used for
ptests leading to reproducibility issues each time the month changed.

Add a patch to use SOURCE_DATE_EPOCH to derive it if available.

(From OE-Core rev: 6a9ca7aec4991eabd425e32fdf85f51bb1686b8b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Lee Chee Yang
77c56e8c78 openssl: set CVE_VERSION_SUFFIX
(From OE-Core rev: 17df664a32a74f17baaef8c31ac23adec2d6255f)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Tomasz Dziendzielski
a3cba800ef lib/oe/patch.py: Ignore scissors line on applying patch
The "devtool modify" could remove message body before scissors line, so
patches re-generated from git tree were incorrectly modified.
Adding --no-scissors to "git am" invocation to prevent this behaviour.

[YOCTO #12674]

(From OE-Core rev: 13ea33fbd197b9ee3cf913d9995617115f22798f)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Richard Purdie
b1e70354dd python3-setuptools: Add back accidentally dropped RDEPENDS
This was accidentally removed in a previous commit. Due to improvements
in the core, we can now just add it as a normal RDEPENDS along with the
others as the native case no longer causes issues.

(From OE-Core rev: 83d8b469750d7917376abb4d34f7797ee0f75267)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-02-03 21:45:49 +00:00
Richard Purdie
fe70db2c46 qemu.inc: Should depend on qemu-system-native, not qemu-native
This looks like it was from before the recipe was split, we'd expect
the system qemu mode for running the images so the dependency should be
updated.

(From OE-Core rev: 3a4fed4ae0e8a0d1bd62ea5fa1ef12925e1f20f5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-31 10:37:16 +00:00
Richard Purdie
9dbe0f69f8 image_types: Ensure tar archives are reproducible
The tar output seems to vary depending on the version of tar used and distro
configuration. Be explict about the output format to avoid this and be
determinstic.

(From OE-Core rev: c56f3c9febc1732aa1302524c6c4da36f16bd1f7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-31 10:37:16 +00:00
Richard Purdie
87cb7577db Revert "sanity.bbclass: check if PSEUDO_IGNORE_PATHS and ${S} overlap"
This reverts commit c5a6cc4146402620851e2a1f2b01d69989150ba2.

This was accientally added and shouldn't have been, it has a v2 and was then
determined not to be required.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:55:58 +00:00
Dorinda
4dd9b84991 elfutils: add support for ipk
debuginfod scanner 0.182 could only support/scan RPM and .debs, add
support to scan .ipk as well (they're effectively debs).

[YOCTO #13807]

(From OE-Core rev: d9913c3d7da01d5bbe84728e9cb7701669362e2b)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:45:55 +00:00
Dorinda
c900b345aa elfutils: add PACKAGECONFIG for debuginfod
Removed the config option that disabled debuginfod and
changed it to a PACKAGECONFIG.

[YOCTO #13807]

(From OE-Core rev: a970ba050db606ee646ca155031d47bcd9a9ab8c)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:45:55 +00:00
Dorinda
2da2405aec elfutils: split libdebuginfod into its own package
Added package options for libdebuginfod.
Added GPLv2+ | LGPLv3+ license for libdebuginfod with reference to
https://sourceware.org/git/?p=elfutils.git;a=blob;f=debuginfod/debuginfod-client.c;h=de26af5bb26e187b51d9ea00d5826e199a96d01a;hb=HEAD

[YOCTO #13807]

(From OE-Core rev: e679f44f99e1a14027780ebbe47d4f56c90bfca0)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:45:55 +00:00
Tomasz Dziendzielski
8ed8b81af6 python3: Use addtask statement instead of task dependencies
The externalsrc class deletes do_patch task which results with:
| ERROR: Task do_create_manifest in <PATH>/python3_3.8.2.bb depends upon
| non-existent task do_patch in <PATH>/python3_3.8.2.bb

Use addtask to define correct order to prevent this error, since addtask
mechanism accepts deleted tasks.

[YOCTO #14151]

(From OE-Core rev: a746d034fa7eaad4f4876fa61c5a8c3c15e211c8)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:04 +00:00
Awais Belal
44ecc935b2 kernel.bbclass: fix deployment for initramfs images
The do_bundle_initramfs() only processes kernel image
types that are found in KERNEL_IMAGETYPE_FOR_MAKE whereas
the build system can generate other types that are not
directly supported by the kernel build system. In which
case when we come to the deploy phase not all the images
mentioned in KERNEL_IMAGETYPES would have a respective
initramfs bundled image. An example is using vmlinux.gz
in KERNEL_IMAGETYPES and enabling initramfs and then we
see

install: cannot stat 'arch/arm64/boot/vmlinux.gz.initramfs': No such file or directory

So we align the deploy phase with bundle initramfs phase
and pick up relevant initramfs bundled images using
KERNEL_IMAGETYPE_FOR_MAKE instead of KERNEL_IMAGETYPES.

(From OE-Core rev: 526bdd88ccd758204452579333ba188e29270bde)

Signed-off-by: Awais Belal <awais_belal@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:04 +00:00
Tomasz Dziendzielski
5e2450731c lib/oe/patch.py: Don't return command stderr from runcmd function
If a function returns any stderr it will be passed to extractPatches and
used as path to patch.

For example subprocess command output can be:
| sh: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
| /tmp/oepatchhuqle8fj/0001-foo.patch
| /tmp/oepatchhuqle8fj/0002-bar.patch

that will result in:
| FileNotFoundError: [Errno 2] No such file or directory: 'sh:'

To fix this I separated output, made the function return stdout and
print stderr only in case of command error.

(From OE-Core rev: 482589e2cc7c3ddeefb0a0fb98d97a9cbb18c9ec)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:04 +00:00
Lee Chee Yang
86b42289bd cve_check: add CVE_VERSION_SUFFIX to indicate suffix in versioning
add CVE_VERSION_SUFFIX to indicate the version suffix type, currently
works in two value, "alphabetical" if the version string uses single
alphabetical character suffix as incremental release, blank to not
consider the unidentified suffixes. This can be expand when more suffix
pattern identified.

refactor cve_check.Version class to use functools and add parameter to
handle suffix condition.

Also update testcases to cover new changes.

(From OE-Core rev: 5dfd5ad5144708b474ef31eaa89a846c57be8ac0)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:04 +00:00
Dorinda
ef208aaf0f sanity.bbclass: check if PSEUDO_IGNORE_PATHS and ${S} overlap
added a sanity check for when PSEUDO_IGNORE_PATHS and ${S} overlap to avoid random failures generated.

[YOCTO #14193]

(From OE-Core rev: c5a6cc4146402620851e2a1f2b01d69989150ba2)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:04 +00:00
zhengruoqin
3f1c05e148 ca-certificates: upgrade 20200601 -> 20210119
0001-certdata2pem.py-use-python3.patch
removed since it is included in 20210119

(From OE-Core rev: afd86357e07f69090eaff4c5db2c517867dd4ccf)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:04 +00:00
zhengruoqin
84fdf259b4 bison: upgrade 3.7.4 -> 3.7.5
(From OE-Core rev: 77d41c0329290fb33319feffdc504c2b3b4c8568)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:04 +00:00
Wang Mingyu
3850c60b7b gtk-doc: upgrade 1.33.1 -> 1.33.2
(From OE-Core rev: 89506684baf82448136d4ca3e3fb62dc5d4cbba4)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:04 +00:00
Wang Mingyu
213a6978d2 util-macros: upgrade 1.19.2 -> 1.19.3
(From OE-Core rev: 00f136011312d9f42381fcbfa6a58e2675e1acce)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:04 +00:00
Wang Mingyu
f9be349d60 stress-ng: upgrade 0.12.01 -> 0.12.02
(From OE-Core rev: 3244bd2d48bfd993299125856113965056797dc9)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:04 +00:00
Wang Mingyu
9c68281f8d ltp: upgrade 20200930 -> 20210121
0001-ltp-pan-Use-long-long-int-to-print-time_t.patch
removed since it is included in 20210121

(From OE-Core rev: b6f49fc60a12ec6c4c1334ca3c266e99c03e81d4)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:04 +00:00
Wang Mingyu
b5bc306da0 libsolv: upgrade 0.7.16 -> 0.7.17
(From OE-Core rev: c51a6d1cad733da227ef4f97061238f3caa9f582)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:03 +00:00
Wang Mingyu
c174243f8e libjitterentropy: upgrade 3.0.0 -> 3.0.1
-License-Update: Copyright year updated to 2021.

(From OE-Core rev: bdd6c57497215aeb3c2cddca191a8d1a72e93c8e)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:03 +00:00
Wang Mingyu
41d8bce004 libcap: upgrade 2.46 -> 2.47
(From OE-Core rev: b214bc1a7fda43849895cccfff62dffec26ade0e)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:03 +00:00
Vyacheslav Yurkov
4bb1a003de npm.bbclass: use python3 for npm config
python2-native executable is not available in sysroot anymore, which
causes compilation of some nodejs modules to fail. Switch to python3 as a
default python version.

(From OE-Core rev: d21f50ecf8e8683a92b7d234fa8225c2c1470595)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:03 +00:00
Vinícius Ossanes Aquino
68009e4cda cmake: Upgrade 3.19.2 -> 3.19.3
(From OE-Core rev: d5d06fa31c81a9e0460edada18e6d3dbecd3d94a)

Signed-off-by: Vinícius Ossanes Aquino <voa.aquino@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:03 +00:00
Denys Dmytriyenko
46a95d9d5d wayland: upgrade 1.18.0 -> 1.19.0
This release mostly contains bug fixes and minor protocol updates.

Related patches were rebased and backported patches dropped.

(From OE-Core rev: 353382f6c7f3904a11e0a73a1b17eff4963bdcb9)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:03 +00:00
Yi Fan Yu
c679c1cac2 glibc: fix CVE-2020-27618
iconv: Accept redundant shift sequences in IBM1364

Reference:
https://bugzilla.redhat.com/show_bug.cgi?id=1893708

(From OE-Core rev: 78a381ec75e48283397a7fe9eaad2afbb070c235)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-30 10:41:03 +00:00
Richard Purdie
36aef08dcd lrzsz: Fix to work with autoconf 2.70
Add the missing gettext version needed for autoconf 2.70.

(From OE-Core rev: 6926b690fea5d0737634e39ade1a3555ab603e81)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:22:53 +00:00
Richard Purdie
4ef8f9920a ruby: Fix to work with autoconf 2.70
Drop a macro we don't need which was breaking with autoconf 2.70.

(From OE-Core rev: 995a0421ab39d62354e56f77eca10e2d176582d4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Richard Purdie
1cd82ae655 msmtp: Fix to work with autoconf 2.70
Add the required gettext version macro to work with the new autoconf
version.

(From OE-Core rev: e8c0012ea036cb962db25a5941619c22e7218985)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Richard Purdie
77493aa990 at: Upgrade 3.1.23 -> 3.2.1
This fixes flex issues with autoconf 2.70 rather than backporting patches.

Patches refreshed.

(From OE-Core rev: 3ca412ed7fc5a9d525d4ba7922e7e3e179904380)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Richard Purdie
e1caf4f305 pseudo: Update to include passwd and file renaming fixes
Pulls in:
  pseudo_client: Ensure renames update open fd file paths
  pseudo_client.c: Rebuild passwd paths after chroot

which should fix issues seen in apt package index creation, new
binutils and other autobuilder race issues in pseudo amongst other
issues.

(From OE-Core rev: 44d11b56001f40622c055069b0901cc4ae15c76c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Richard Purdie
dcaed52dde gtk-doc: Disable dependencies in native case
Ensure that dependencies like qemu-native aren't added in the native
case since we don't want docs generate for native recipes.

(From OE-Core rev: c5ee8ac6929d91f39ebf6dc6786440dc3dbd02ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Richard Purdie
71cc4c0c00 meta: Clean up various class-native* RDEPENDS overrides
With PACKAGES functioning more correctly for native recipes combined
with classextend improvements over the years, there are various overrides
of RDEPENDS which look unecessary now, clean them up.

There some some minor changes in dependencies, specifically:

"python3-numpy-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot"
"python3-mako-native.do_populate_sysroot" -> "python3-native.do_populate_sysroot"
"itstool-native.do_populate_sysroot" -> "libxml2-native.do_populate_sysroot"

however there are already:

XXX-native.do_prepare_recipe_ssysroot -> YYY-native.do_populate_sysroot

mappings from DEPENDS so this is effectively a null op.

(From OE-Core rev: 2edd826531d79744d7b2114c5f24296966d51781)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Richard Purdie
c4257ed8b1 native: Stop clearing PACKAGES
Native recipes have been special and they don't have packages generated
from them. The RDEPENDS/RPROVIDES and other runtime package specific
variables can contain important data about dependencies recipes need
though and currently it is required to write this information explicitly
in the native case.

We now delete the packaging tasks for native recipes which removes the
need to clear PACKAGES. The next step to improve the metadata is to
stop clearing it and ensure any entries in these variables are remapped
appropriately. The R* variables were already being processed by the class
extension code but the implementation was suboptimal.

This patch stops clearing PACKAGES and PACKAGES_DYNAMIC and fixes the places
where that caused issues in OE-Core, for example PACKAGES additions in anonymous
python without the "-native" suffix and a case where the included classes
caused a self reference in DEPENDS which would once have been removed by
the previous code.

The implementation uses datastore/parser parameters to ensure that the
variable overrides are not overwritten when calling setVar which is appropriate
for a function as close to the core as this one is.

Some now unneeded code in python3-setuptools is dropped, there are further
changes like this which can follow.

This change was verified with OE-Core by comparing task-depends.dot generated
by "bitbake world -g" before and after the change, the files were identical.

(From OE-Core rev: fd6a007efa7cb45101a66f294af81d9d33bb3fab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Richard Purdie
cff7db890c bitbake.conf/python: Drop setting RDEPENDS/RPROVIDES default
We never recommend setting RDEPENDS or RPROVIDES without a package name
against them. The default in bitbake.conf is legacy only, drop it.

The python recipe was trying to add to the empty variable in the native case
fix that too.

(From OE-Core rev: b8bbc1bbe282cce2ea4d0ff293f931f6caf6153b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Richard Purdie
b033409243 package_rpm: Clean up unset runtime package variable handling
If the R* runtime package variables are unset it could cause trackbacks. There
were some fallbacks already, clean this up to handle consistently.

The code was expecting strings but setting defaults of empty lists
which silently were converted to strings by the "or" statements which
was a nightmare to understand or alter.

(From OE-Core rev: 06bf68012302330c2b14f59541f78f48c7389c37)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Richard Purdie
f9d0bc709f nativesdk-buildtools-perl-dummy: Add missing entries for nativesdk-automake
This allows the hardcoded nativesdk dependency hacking in the
automake recipe to be dropped and matches what autoconf is doing.

(From OE-Core rev: c723866a6834b8fa89b036a627f619a0c391a662)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Richard Purdie
3a59f2abe2 gobject-introspection: Fix variable override order
The DEPENDS variable override ordering here was almostly certainly
incorrect and led to weird behaviour when making changes elsewhere.
Correct it.

(From OE-Core rev: c8f7e92244b3c52c275a457aced69086800351d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Peter Bergin
55ead1be58 buildhistory.bbclass: avoid exception for empty BUILDHISTORY_FEATURES variable
An exception is fired when a BuildStarted event is sent to buildhistory bbclass
and the variable BUILDHISTORY_FEATURES is not set.

    ERROR: Execution of event handler 'buildhistory_eventhandler' failed
    Traceback (most recent call last):
      File "<...>/meta/classes/buildhistory.bbclass", line 862, in buildhistory_eventhandler(e=<bb.event.BuildStarted object at 0x7f94c3810250>):
         python buildhistory_eventhandler() {
        >    if e.data.getVar('BUILDHISTORY_FEATURES').strip():
                 reset = e.data.getVar("BUILDHISTORY_RESET")
    AttributeError: 'NoneType' object has no attribute 'strip'

This can happen in a multiconfig build where the default configuration use the
buildhistory class but not the configuration in mc. It should be a rare case that
this happens and it was found in a missconfigured build.

(From OE-Core rev: a74e30a4de02c8efd3e7102ba7a4fe06df53cc34)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 21:21:53 +00:00
Jose Quaresma
e45227cb2c shaderc: add spirv-headers as dependencie
(From OE-Core rev: 32007e42f7174b9ab90ff2c5ae79933e2cb83137)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 15:59:40 +00:00
Jose Quaresma
ba50c39564 spirv-tools: cleanup
- spirv-headers is provived in a separete receipe, so add it as dependencie
- add a new package spirv-tools-lesspipe that needs bash
- remove unneeded external sources

(From OE-Core rev: 97cab6b9691497841b2ae894e25f83d893c2ee30)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 15:59:40 +00:00
Jose Quaresma
a2121683ba spirv-headers: Add receipe
(From OE-Core rev: 0f7aa28a254ab25e3c3f6322d750e765518fb8b5)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 15:59:40 +00:00
Jose Quaresma
73e83acb24 shaderc: fix the build with glslang 11.1.0
Drop patches:
    * 0001-Fix-the-link-order-of-libglslang-and-libHLSL.patch
      is rejected upstream and is not need when glslang as shared libs.

Update pacthes:
    * 0001-cmake-de-vendor-libs-and-disable-git-versioning.patch
      renamed and refreshed from 0003-cmake-de-vendor-libs-and-disable-git-versioning.patch.

(From OE-Core rev: 496c69d56806a2521bfc51b4de9575637db2ac02)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 15:59:40 +00:00
Jose Quaresma
e4d03c40f6 shaderc: avoid reproducible issues
(From OE-Core rev: 1fb9e706ba83df272ca924d8ea65460bb5675aa8)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 15:59:40 +00:00
Jose Quaresma
5fc62dd668 glslang: disable precompiled header
- precompiled headers have reproducible issues [1]

[1] https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210125-3iawhiyz/packages/diff-html

(From OE-Core rev: 94cea2b5f3091de0326c4d7322b45de2ce9fae3b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 15:59:40 +00:00
Jose Quaresma
23ff403243 glslang: enable shared libs
(From OE-Core rev: 3355367f339c36161aced3e9fcbc38bca7915ada)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 15:59:40 +00:00
Jose Quaresma
8cce2373f4 glslang: upgrade 8.13.3743 -> 11.1.0
License-Update: Add additional licenses

- [1] BSD-2-Clause & MIT & Apache-2.0
- [2] GPL-3-with-bison-exception

[1] 2962be40ba
[2] 14a2cfbc72

(From OE-Core rev: 6ddba144e1aa9288645ec4b7271fc4138ef945ba)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 15:59:40 +00:00
Denys Dmytriyenko
0874c1e710 maintainers: update own email address
(From OE-Core rev: 63e5f91d46d76800452ed8a0fade8dd3db1fc88e)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-29 15:59:40 +00:00
Tomasz Dziendzielski
24e95b9a0b insane: native-last: Only print classes inherited after native/nativesdk
For usability, only print the classes inherited after native/nativesdk
which makes it easier for the user to see where the problem is.

Realted to [YOCTO #5729].

(From OE-Core rev: 78f7cf59783faab6ef8d4f4fde774754db946519)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28 23:12:05 +00:00
Tomasz Dziendzielski
eb604952d5 insane: Add missing INSANE_SKIP mechanism for native-last QA check
Ensure that the native-last QA check can be controlled by the INSANE_SKIP
variable (realted to [YOCTO #5729]).

(From OE-Core rev: 2d95aee64766341bf81f610386bac222e329f1bb)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28 23:12:05 +00:00
Sakib Sajal
4e03f04139 linux-yocto*: add features/gpio/mockup.scc to KERNEL_FEATURES
add features/gpio/mockup.scc to KERNEL_FEATURES when ptest
is enabled as it is required for testing libgpiod.

(From OE-Core rev: 906cde06bee319e788c76abb8f8295ed9921ccb1)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28 23:12:05 +00:00
Richard Purdie
a89f77b92d staging: Clean up files installed into the sysroot
There are a variety of files being installed into $datadir which we
don't need. Pick the top "offenders" which amount of thousands of files
and simply don't install them. These include things like test data,
terminfo data, locale data for native tools and so on. This saves
copying these files into native and target sysroots and should improve
performance (smaller sstate, fewer files to copy around).

With this and the python recipe change, alsa-tools went from:

recipe-sysroot: 18357
recipe-sysroot-native: 14129

to

recipe-sysroot: 10809
recipe-sysroot-native: 8079

which is a decent improvement.

(From OE-Core rev: 366c72941fe1c24d0b1d96df46e13cb9eb4e79d6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28 23:12:05 +00:00
Richard Purdie
b5869bf29a python3: Avoid installing test data into recipe-sysroot
There are several thousand files in the test directory which we don't need.
Adding these for the native and target sysroots is a crazy amount of files
to be throwing around needlessly. Delete the files from the sysroot side
of things to tidy up the sysroots and improve performance.

(From OE-Core rev: f6bced03011ad1663d68b0322a2f8aeb4d836646)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28 23:12:05 +00:00
Richard Purdie
2599b4af5c ncurses: Don't put terminfo into the sysroot
This recudes the file count from ~2850 to ~100 which is a huge win
for reducing build directory clutter, its unlikely anything uses the
terminfo data or man pages in the sysroot. This is especially helpful
as we usually end up with two copies of these sets of files.

(From OE-Core rev: 443633dfc20177ef88a388d96745675817510c99)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28 23:12:05 +00:00
Tomasz Dziendzielski
9385670add externalsrc: Detect code changes in submodules
The srctree_hash was calculated only from main source directory ignoring
changes in submodules.

[YOCTO #13748]

Use submodule--helper to determine all submodules, and calculate hash
from all git tree objects names combined.

(From OE-Core rev: 50ff9afb3990bcf60b4fa1f937506cb84028c32d)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28 23:12:05 +00:00
Teoh Jay Shen
41f96b141e oeqa/ethernet_ip_connman : add test for network connections
This test mimic the ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP test case from oeqa/manual/bsp-hw.json.
The ethernet_static_ip_set_in_connman and ethernet_get_IP_in_connman_via_DHCP manual test case should be remove from oeqa/manual/bsp-hw.json if this patch get merged.

(From OE-Core rev: aaabc94dbe353b12297ba4a237f6817b2c6d4a31)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-28 23:12:05 +00:00
Yi Fan Yu
d1aee0c050 sudo: upgrade 1.9.5p1 -> 1.9.5p2
Notable fix: CVE-2021-3156

(From OE-Core rev: 1140ca0090eb235cad3bc1427703dea43429d9de)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Yi Fan Yu
8e03298201 strace: increase ptest timeout duration 120->240s
solve qual_fault-syscall.test and qual_fault.test
failing due to timeout.

Bug 14165

(From OE-Core rev: 5af9f32d9b12654793289f44366251f978f6378a)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Tomasz Dziendzielski
f22225a413 lib/oe/package_manager: Do not pass stderr to package manager as an argument
The cmd redirected stderr to stdout that was then assigned to variable
with pkgs to install. Then this variable was passed to package manager
that then tried to install it and generated confusing warnings.

For example this variable could contain:
| ['(en_US.UTF-8)', 'LC_ALL:', 'bash:', 'cannot', 'change', 'locale', 'setlocale:', 'warning:']

and the warning was:

| WARNING: addon-bci-1.0-r0 do_populate_sdk: Unable to install packages.
| Command 'PATH/usr/bin/opkg ... install (en_US.UTF-8) LC_ALL: bash:
| cannot change locale setlocale: warning:' returned 255:
| Collected errors:
|  * opkg_prepare_url_for_install: Couldn't find anything to satisfy '(en_US.UTF-8)'.

In this change I remove stderr redirection to stdout and pass it to
bb.note instead.

(From OE-Core rev: 70d8ced3d7f53f988c02ff03d8dfa448f088fdf1)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Jonathan Richardson
6bc8f8ac0f core-image-tiny-initramfs: Add compatiblity for aarch64
Update the host compatibility to include aarch64.

(From OE-Core rev: 6ff15e05755bec9207099b326a3a78aa3bf2b3b1)

Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Khem Raj
1b4801d13b musl: Update to 1.2.2 release
Detailed logs are here [1]

* 85e0e351 release 1.2.2
* 3953aecb fix VIDIOC_DQEVENT (v4l2) ioctl fallback for pre-5.6 kernels
* 30f55067 fix v4l2 buffer ioctl fallbacks for pre-5.6 kernels
* db981ffb sh: fix incorrect mcontext_t member naming

[1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=1e4204d522670a1d8b8ab85f1cfefa960547e8af..85e0e3519655220688e757b9d5bfd314923548bd

(From OE-Core rev: 73c2661a328b109a9fa69fbb4150c15622a5b506)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Dorinda
dbd80a923c sanity.bbclass: sanity check for if bitbake is present in PATH
If a user executes the environment script instead of sourcing it,
there's an error about an empty element in PATH. This is because
bitbake isn't present in environment variable PATH. Hence, this
patch adds a sanity check to verify if bitbake is present in
PATH and if bitbake isn't present issue a warning message.

[YOCTO #13822]

(From OE-Core rev: e08799913a7f207bc63e085eb98196fd61ed57bc)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Dorinda
bfeeaf9ff1 sanity: Verify that user isn't building in PSEUDO_IGNORE_PATHS
If a user builds in a path in PSEUDO_IGNORE_PATHS, random failures
are generated. Hence this patch adds a sanity check in sanity.bbclass
to ensure that a user isn't building in PSEUDO_IGNORE_PATHS.

[YOCTO #14179]

(From OE-Core rev: 7a681525e904914e938de25df5cc64209097d15d)

Signed-off-by: Dorinda Bassey <dorindabassey@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Ovidiu Panait
d647db7c30 timezone: upgrade to 2021a
Release 2021a - 2021-01-24 10:54:57 -0800

  Changes to future timestamps

    South Sudan changes from +03 to +02 on 2021-02-01 at 00:00.
    (Thanks to Steffen Thorsen.)

(From OE-Core rev: ed9114df2086c4ad0544cf99c9c1ff8fb7b830b9)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Alan Perry
70aac6cae8 iproute2: Add subpackage for rdma command
The rdma command is part of iproute2 and is used to query or set the RDMA
configuration where applicable. This patch adds options to build it
and include it.

(From OE-Core rev: a2d79159dd3fa583ae28fc138f68ad9c893f5de0)

Signed-off-by: Alan Perry <alanp@snowmoose.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
zhengruoqin
9f01875a9e libmodulemd: upgrade 2.11.2 -> 2.12.0
(From OE-Core rev: 2e25bea34fb144108cb020284a53369666318479)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
akuster
2d1610e801 openssl: Enable srp algorithm
This is still needed by libest in meta-security

(From OE-Core rev: 1242b04e97fbef3d926bcf706ac99a580109e58b)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Cc: Shachar Menashe <shachar@vdoo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Tomasz Dziendzielski
0f0c0df633 insane: Add test for native/nativesdk inherit order
Classes native/nativesdk should be inherited last to prevent unexpected
behaviour.

[YOCTO #5729]

(From OE-Core rev: 55a0197fe62577fd51d41d87822e6d64d85c7680)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Tomasz Dziendzielski
a2a34451c9 meta: Fix native inheritance order in recipes
Classes native/nativesdk should be inherited last to prevent unexpected
behaviour.

See [YOCTO #5729] for details.

(From OE-Core rev: 217a8974765693192cbead51ebd9845a383ef7cc)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Tomasz Dziendzielski
9fa87066bb selftest/devtool: Add modify_localfiles_only test checking symlink path
If recipe uses only file:// fetcher devtool unpacks sources under
oe-local-files/ and adds symlink in source root directory. We need to
verify if the symlink in subdirectory has correct path.

See [YOCTO #13738] for details.

(From OE-Core rev: 044c90d152bfd1b2a23272df39327ba4cd862dff)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Mingli Yu
065a23550e libpam: add ptest support
Add ptest support.

(From OE-Core rev: 016efb82e90a56707995d2a6addd34e6b28b6b99)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-27 10:17:45 +00:00
Matt Hoosier
45c02843d1 bitbake: fetch/git: download LFS content too during do_fetch
Insert an explicit pass to fetch all blobs needed by Git LFS, during the
fetch() function. This avoids the default behavior of Git LFS to wait
until 'git checkout' to begin downloading the blobs pointed to by LFS records.
Network access is not allowed at that point in the recipe's lifecycle.

[YOCTO #14191]

(Bitbake rev: 0efac66043662e7a2027192f50e92e982db2ba1c)

Signed-off-by: Matt Hoosier <matt.hoosier@garmin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:10:46 +00:00
Ross Burton
8e92ec7832 bitbake: tests/fetch: add test for empty query parameters
To exercise the previous patch, add a test case.

(Bitbake rev: efdf6d5c4cd8155bc54dc667346f58dccb138e07)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:09:26 +00:00
Ross Burton
5d81a91861 bitbake: fetch2: handle empty elements in _param_str_split
_param_str_split is used to split ?foo=1;bar=2 into a dictionary, but throws
an exception if a lone semicolon is used as the value doesn't split into two
items.

Fix by checking that the result of the first split has content.

(Bitbake rev: 7662f8c8676d87cb318f811423cc02fe8cb146f6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:09:26 +00:00
Richard Purdie
5920b3f129 bitbake: fetch2/perforce: Fix localfile to include ud.module
As reported by Katu Txakur, the output depends on the module path
set so this needs to be accounted for in localfile.

(Bitbake rev: 9861ed37bb1c5d09c3b4852d2a252e3f3c86ab14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:09:26 +00:00
Christophe Priouzeau
9f12323826 bitbake: fetch2/wget: Update user-agent
With the usage of enterprise proxy, the user-agent defined are
too old and refused by proxy configuration. Updating to something
more modern is desirable.

(Bitbake rev: 7001fdd7c4dca372cbebd8fd2c0b03c5d43f9400)

Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:09:26 +00:00
Ross Burton
db87aab8e2 ovmf-shell-image: image is only buildable on x86-64
This image is only buildable for x86-64, so add a COMPATIBLE assignment
to ensure it isn't attempted on others.

(From OE-Core rev: bdd8208675c8a0c0232c678804a8b62cd74f1d48)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Ross Burton
72b859aba8 core-image-sato-sdk-ptest: these images need ptest
As this image isn't buildable without ptest (the packages won't exist),
depend on the ptest DISTRO_FEATURE to ensure we don't try and build it.

(From OE-Core rev: 0fe856d726c6d9c35533e32e70fbe05ef2b88b17)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Ross Burton
bca05547e2 lib/oe/package_manager: ensure repodata is wiped
When building package indexes for RPM feeds, delete repodata first to
be absolutely sure that the indexes are up to date.

We've seen some mysterious failures where the repodata doesn't match
the repository, so hopefully this will stop that happening.

[ YOCTO #14190 ]

(From OE-Core rev: 88cd40c08109bf732934fa4c8d602c701c1eb2a0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Oleksiy Obitotskyy
21e70c8a72 dtc: improve reproducibility
Makefile override CFLAGS, so -fmacro/debug-prefix-map
optiions was omitted and binaries contains absolute
patch to sources.

(From OE-Core rev: b58e808a087bbc0a5abd78fd34bb6f1c0c93ba25)

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Wang Mingyu
d1fb52f6bc socat: upgrade 1.7.3.4 ->1.7.4.1
README updated:
    version updated
    add descrition of platform specifics - Debian

(From OE-Core rev: d2bd5a0df7d81e167b718d0f65b7426d62701f2e)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Lee Chee Yang
3807c6d9a7 cve-check: replace Looseversion with custom version class
The way distutils.version.LooseVersion compare version are tricky, it treat
all these ( "1.0-beta2", "1.0-rc1", "1.0A", "1.0p2" and "1.0pre1") as greater
version than "1.0". This might be right for "1.0A" and "1.0p1" but not for
the rest, also these version could be confusing, the "p" in "1.0p1" can be
"pre" or "patched" version or even other meaning.

Replace Looseversion with custom class, it uses regex to capture common
version format like "1.1.1" or tag format using date like "2020-12-12" as
release section, check for following known string/tags ( beta, rc, pre, dev,
alpha, preview) as pre-release section, any other trailing characters
are difficult to understand/define so ignore them. Compare release
section and pre-release section saperately.

included selftest for the version class.

[YOCTO#14127]

(From OE-Core rev: 6ced85e9ddd3569240f1e8b82130d1ac0fffbc40)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Jose Quaresma
2485beac68 common-licenses: Add GPL-3.0-with-bison-exception
(From OE-Core rev: 58f8debdd53c27cce17ae083dfeb0dab0bd54964)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Anuj Mittal
7b90027aac gstreamer1.0: fix failing ptest
Backport a patch to increase the timeout that might help with the
intermittent seek test failure.

[YOCTO #14194]

(From OE-Core rev: a7dc7a35334ad634926a1386f4a56b27aad3ce68)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Kai Kang
d485c68b9a adwaita-icon-theme: add version 3.34.3 back
Newer versions of adwaita-icon-theme can't work well with librsvg 2.40.
Boot up the core-image-sato image, and start "Media Player", most of the
icons are not showed properly.

The source code of librsvg has been adapted to rust, so it is impossible
to update librsvg in oe core for now. Then add adwaita-icon-theme 3.34.3
back and set as preferred version.

Duplicate one patch as well to fix patch fuzz issue.

Ref:
1. https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/84
2. https://people.gnome.org/~federico/blog/do-not-use-librsvg-2.40.x.html

(From OE-Core rev: e46e8d638440446d34744e6b816f2446029e4a34)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Ross Burton
02360c2e53 base: use URI instead of decodeurl when detecting unpack dependencies
decodeurl() has limitations, primarily that it doesn't handle query
parameters at all. If a SRC_URI looks like this:

  http://example.com/download.tar.gz?something

Then the returned path attribute is download.tar.gz?something.  This means
the filename extension detection fails and required tools are not added
to the dependencies.

(From OE-Core rev: 5cd396c099730b765fc6cd82e2d7748f99de7157)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Tomasz Dziendzielski
3a220f1e41 devtool: Fix file:// fetcher symlink directory structure
Add relative path if file is under directory.

[YOCTO #13738]

(From OE-Core rev: 19ddacc1b38f9ebb86a9359963ccc3c707f7125e)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Yi Fan Yu
1d803b70e5 oeqa/selftest/cases/tinfoil.py: increase timeout 10->60s test_wait_event
The test would timeout on autobuilders. This patch increases the
timeout to 60s

The test will now also exit as soon as we receive the 2 expected events
Expected runtime is around 1s if successful

Bug 14158

(From OE-Core rev: be02aa9283f805de718badd5ea12c4968da8774f)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Alistair Francis
63fb8bcf7c opensbi: Bump from 0.8 to 0.9
(From OE-Core rev: 083bf3c575c3800a2f82abc6ee8e5383d0883f3d)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Wang Mingyu
e261ab2d36 iptables: upgrade 1.8.6 -> 1.8.7
(From OE-Core rev: 7d5c46abf904de5c9770e466baef38705f46695e)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Wang Mingyu
80f38cff27 gpgme: upgrade 1.15.0 -> 1.15.1
refresh the followning patches:
0001-Revert-build-Make-gpgme.m4-use-gpgrt-config-with-.pc.patch

(From OE-Core rev: cabf519e6af08d590ba55a4b2680b198e90b9826)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:54 +00:00
Wang Mingyu
c5b1cb506b btrfs-tools: upgrade 5.9 -> 5.10
(From OE-Core rev: 50d484296c52b9b81c471052ffc43c76aec195fe)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:53 +00:00
Tomasz Dziendzielski
28bdfe0066 externalsrc: Fix parsing error with devtool non-git sources
If srcdir is under poky directory (e.g. devtool poky/build/workspace/sources)
and is not a git repository then ${@srctree_hash_files(d)} will run "git
rev-parse --git-dir" and detect poky directory as git-dir and run "'git', 'add',
'-A', '.'], cwd=s_dir" trying to add srcdir but build dir is in .gitignore and
latest git will fail with "The following paths are ignored by one of your
.gitignore files: build" which will end with "ExpansionError during parsing".

In this commit I added a check if git_dir is the same as git-dir from
TOPDIR (which will detect poky directory) and if yes, then treat srcdir
as non-git sources.

(From OE-Core rev: 95fbac8dcad6c93f4c9737e9fe13e92ab6befa09)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:53 +00:00
Wang Mingyu
c7c1e9e561 pulseaudio: upgrade 14.0 -> 14.2
refresh 0002-do-not-display-CLFAGS-to-improve-reproducibility-bui.patch

(From OE-Core rev: 1a6cb10fb1beb598fe40894ca32f432273db4504)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:53 +00:00
Alejandro Hernandez Samaniego
f926c41c89 newlib: Update licence
- libgloss:
  - (22) New tcl license for csky-* targets
  - (23) New license for csky-* targets, states itself as FreeBSD license
  but text matches GPL (648365e0)
  - (24) New BSD-2 license for risc-v targets

newlib:
  - New license for csky-* targets, states itself as FreeBSD license
  but text matches GPL (648365e0)
  - (53) arm targets FreeBSD
  - (54) arm targets BSD-2-Clause-FreeBSD

(From OE-Core rev: 97388b7da445c42ca9d425d37d2f369fc673b973)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:53 +00:00
Mingli Yu
137150c6df systemd: resolve executable path if it is relative
Backport a patch to fix the below systemd-analyze issue:
 # systemd-analyze --man=false verify /lib/systemd/system/initrd-cleanup.service
 initrd-cleanup.service: Command systemctl is not executable: No such file or directory

 # which systemctl
 /bin/systemctl

 # cat /lib/systemd/system/initrd-cleanup.service
 [snip]
 [Unit]
 Description=Cleaning Up and Shutting Down Daemons
 DefaultDependencies=no
 AssertPathExists=/etc/initrd-release
 OnFailure=emergency.target
 OnFailureJobMode=replace-irreversibly
 After=initrd-root-fs.target initrd-fs.target initrd.target

 [Service]
 Type=oneshot
 ExecStart=systemctl --no-block isolate initrd-switch-root.target

(From OE-Core rev: 2e0259931f71701147039bb8e60251892f67dbcd)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-23 17:08:53 +00:00
Michael Halstead
b5e634644b releases: conf: add link to 3.1.5, update to include 3.2.1 & 3.1.5
(From yocto-docs rev: 5c94f8183733bf266cd6153434b5eed22d1914c6)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:50:45 +00:00
Richard Purdie
782393e2c1 build-appliance-image: Update to master head revision
(From OE-Core rev: 79821d5a185e25384f5b6b5158b238bbee17c79e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:37 +00:00
Robert Yang
e56305dd70 oeqa/selftest: binutils-cross-x86_64 -> libgcc-initial
The binutils-cross-x86_64 is not avaliable for non x86-64 machines.

(From OE-Core rev: 02385b180bc4a1af7120e85a9998566bfcb85977)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
cc7fa85ad2 rt-tests/hwlatdetect: upgrade 1.9 -> 1.10
(From OE-Core rev: a831789158881bade4e431d88f54e4ec926d9fbe)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
2c1db1849e meson: upgrade 0.56.0 -> 0.56.2
(From OE-Core rev: 53a56bd497451552256fec335e9b241dcba16a1a)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
056c8c383b git: upgrade 2.29.2 -> 2.30.0
(From OE-Core rev: 34264c95e6489ee68d06e892aa5a7027b000dd93)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
f7aa854600 sudo: upgrade 1.9.4p1 -> 1.9.5p1
License-Update: copyright years changed

(From OE-Core rev: b72b3e04457928235843173981fd0a20ef1b00ae)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
f6126325fb resolvconf: upgrade 1.83 -> 1.87
(From OE-Core rev: 5240708714eaf7e6e769bc23809d85b18c94406d)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
edeedd9e98 python3-numpy: upgrade 1.19.4 -> 1.19.5
(From OE-Core rev: 35930079978923242025462496aa10cd36ec033f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
80b253e633 python3-hypothesis: upgrade 5.43.3 -> 6.0.2
(From OE-Core rev: c86ad19993b851a2c714eaf53330d83c28ad9cbd)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
0f77d9249e python3-dbusmock: upgrade 0.19 -> 0.22.0
(From OE-Core rev: 93777c3b4fd56aa50eceedb92c67446040f87837)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
11c6e7b73e diffstat: upgrade 1.63 -> 1.64
License-Update: copyright years changed

(From OE-Core rev: 503eb1a94a7455762faec8319aa9f7f25ad7126a)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
53776f76a5 acpica: upgrade 20201217 -> 20210105
License-Update: copyright years changed

(From OE-Core rev: b19a0aad639ce6aeb8f56860f230ff1e1b3e48de)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Alejandro Hernandez Samaniego
c15fd1dc45 newlib: Upgrade 3.3.0 -> 4.1.0
(From OE-Core rev: 48c7474a50181f8983c180693363b40833c3fe01)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Tomasz Dziendzielski
0ad1537642 devtool: Fix source extraction for gcc shared source
If do_patch task is disabled then prepare do_configure dependencies to
fetch external sources and create symlink to ${S} in devtool workspace.

[YOCTO #13036]

(From OE-Core rev: 9e47319bfe62d289b90f7545a64dbdc1cbde7f1d)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Oleksiy Obitotskyy yIEf0zt.mo
ed410b5dd8 toolchain-shar-relocate.sh: Fix handling files with colons
Files could contain colons in name and we should not use
colons (':') as field separator. E.g. perl/python man
pages packages.

(From OE-Core rev: 50d2ed0689f1aed6f33b4992d37e2e991c99eb07)

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Oleksiy Obitotskyy
d610e691d0 flex: Fix --noline option behavior
Option --noline or -L does not handled properly.
So generated code contains #line directives with
file absolute path and prevents to create
reproducible builds.

(From OE-Core rev: 0bf2cb7dc2123f220accf1542c2ae4c4b4b8275a)

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Paul Barker
da846838fc wic: Optimise fstab modification for ext2/3/4 and msdos partitions
The fix for [Yocto #13994] required the rootfs directory to be copied
(using hardlinks if possible) when modifying the fstab file under wic.

We can optimise this copy away for filesystems where we have the tools
to modify the contents of the partition image after it is created. For
ext2/3/4 filesystems we have the debugfs tool and for msdos/vfat
filesystems we have the mcopy tool. So for any of these filesystems we
skip the modification of the fstab file in the rootfs directory (and
skip the associated copy unless it is otherwise necessary) and update
the contents of fstab directly in the partition image.

(From OE-Core rev: 5fb8ae0e9159597d7eaa9307a3a8543800bf9405)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Paul Barker
36575a9493 wic: Copy rootfs dir if fstab needs updating
By default, wic updates the /etc/fstab in the rootfs to include details
of additional partitions described in the selected wks file. If this
modification is performed in place, other tasks which create an image
file from the rootfs directory (e.g. do_image_tar and do_image_ext4)
will pick up the modified fstab file which would not be appropriate for
those images as they do not include the additional partitions described
in the wks file. wic does undo modifications to the fstab file once it
has finished creating the filesystem image, however this leaves open a
race condition if one of the other tasks reads the contents of the fstab
file from the rootfs directory between the point where wic modifies the
fstab file and the point where wic restores the files original content.

This could be solved by adding a lockfile for tasks which use the rootfs
directory to ensure that no other such task is reading the rootfs
directory while do_image_wic is running. This would serialize several
do_image_* tasks and result in slower builds, especially for large
images. Another drawback of this solution is that it is hard to
selectively optimise - adding lockfiles to do_image_* tasks would result
in these tasks always being serialized even if no fstab modification
will take place.

An alternative solution is to copy the rootfs directory when fstab needs
to be modified. The code to do this in wic already exists as it is
needed when including or excluding content in the rootfs. This still
results in an impact on build times but the copy uses hardlinks if
possible (so little data is actually copied) and we can make selective
optimisations to improve things. The rootfs copy will only take place if
fstab modification is required (or if it was already needed to include
or exclude rootfs content). We can also follow up with further
optimisations after this commit. So this second solution is chosen.

Fixes [Yocto #13994]

(From OE-Core rev: ce682a73b7447652f898ce1d1d0416a456df5416)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Paul Barker
f85a4a1462 wic: Update pseudo db when excluding content from rootfs
To exclude content from the rootfs, wic makes a copy (using hardlinks if
possible) of the rootfs directory and associated pseudo db, then removes
files & directories as needed. However if these files and directories
are removed using the python functions os.remove and shutil.rmtree, the
copied pseudo db will not be updated correctly. For files copied from
the original rootfs, if hardlinks were used successfully when copying
the rootfs this should mean that the relevant inodes can't be reused and
so the risk of pseudo aborts should be avoided. However, this logic
doesn't apply for directories (as they can't be hardlinked) or for files
added via the '--include-path' argument (as they weren't present in the
original rootfs) and so there remains some risk of inodes being reused
and the pseudo db becoming corrupted.

To fix this, use the 'rm' command under pseudo when removing files &
directories from the copied rootfs to ensure that the copied pseudo db
is updated.

(From OE-Core rev: d5db7e268947f0392c2126137571a44acd29ccd6)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Paul Barker
7a2545013c image_types_wic: Move wic working directory
By default the wic working directory is placed under the output
directory. When invoking wic under bitbake, the wic output directory is
added to PSEUDO_PATHS_IGNORE to avoid issues with files being removed
from outside a pseudo environment (see oe-core commit ad8f5532ff).

However, wic will copy the rootfs directory into its working directory
if it needs to add or remove content before creating a filesystem image.
This copy of the rootfs directory must be tracked by pseudo in order to
keep the permissions correct in the resulting image. So we can't have
the wic working directory under a path in PSEUDO_PATHS_IGNORE unless
we like broken permissions.

To fix this the new '-w' argument to wic is used to move the working
directory away from the output directory.

Note that wic deletes the temporary working directory automatically
when it finishes creating an image so users won't normally see the
'tmp-wic' directory under WORKDIR.

Fixes [Yocto #14129]

(From OE-Core rev: 4d07169499c47fa9dc759e6f81843416a6dc25c5)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Paul Barker
4e6cb084f5 wic: Ensure internal workdir is not reused
If a path is specified for the internal wic working directory using
the -w/--workdir argument then it must not already exist. Re-using a
previous workdir could easily result in rootfs and intermediate files
from a previous build being added to the current image.

(From OE-Core rev: 2e40c8d4109024ff704c5ce40d98050ca7f34dd5)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
d710a8013e python3-git: upgrade 3.1.11 -> 3.1.12
(From OE-Core rev: 437f795cb1cb4d532ff90f82b819dee02ae0a0f7)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
56817ee5d7 python3-importlib-metadata: upgrade 3.3.0 -> 3.4.0
(From OE-Core rev: eae5da8c0b331d39c91b6af2f990365615e0c294)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
519558fed7 lighttpd: upgrade 1.4.57 -> 1.4.58
(From OE-Core rev: 4720e8f26f86a1d1fdc764309baa25b83d6d2483)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:18 +00:00
Anuj Mittal
94fcb8b59c wget: upgrade 1.20.3 -> 1.21.1
(From OE-Core rev: 589bf1c8de9273e8c4bbc6a4468fb699d4deb176)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
30a58427c5 python3-mako: upgrade 1.1.3 -> 1.1.4
(From OE-Core rev: e93e2dd8e79842cf2a4d6b43befab16013eaab57)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
4bcdfaca9e lzip: upgrade 1.21 -> 1.22
License-Update: copyright years, formatting changes

(From OE-Core rev: ef26799535f4ada60e35c7fe48cce959ba632c78)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
e2d2e65f81 logrotate: upgrade 3.17.0 -> 3.18.0
(From OE-Core rev: 4efc2586a43a399c0f91a26d66a33ac47b8778e2)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
3f5f9d7484 python3-pygments: upgrade 2.7.3 -> 2.7.4
License-Update: change in copyright years

(From OE-Core rev: a4c922785f658c5130ef60acd21f354050d20ea5)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
916312a698 gcr: upgrade 3.38.0 -> 3.38.1
(From OE-Core rev: 3e515429df3c1728ffa69b1aba8e5350f5430f44)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
cef60838d4 vala: upgrade 0.50.2 -> 0.50.3
(From OE-Core rev: 9fbbfdd84f3576cf275c4d046066511cf8c97b2d)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
1e97b8229e piglit: upgrade to latest revision
(From OE-Core rev: 8d23a0d498d14cdac0eb353c362527dd2faf93cc)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
aa76682d4c mpg123: upgrade 1.26.3 -> 1.26.4
License-Update: Change in copyright years

(From OE-Core rev: 3a070c2ebae0304818627be958fbecb60a3901a9)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
4be8cde677 harfbuzz: upgrade 2.7.2 -> 2.7.4
Remove backported patches and remove the introspection patch as that is
no longer needed.

(From OE-Core rev: 94bc7f8c2442f6627b001f1dd40c0023260b22e8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
7dab9f87dd vulkan-tools: upgrade 1.2.162.0 -> 1.2.162.1
(From OE-Core rev: c35f89f1f09a4c3aa0bcf91b63027c2d8bcd15fd)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
bebea468ed stress-ng: upgrade 0.12.00 -> 0.12.01
(From OE-Core rev: 6a5c1500889f1c13e8a66ab4524f7936a088f9ae)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
a6a49231bf libproxy: upgrade 0.4.15 -> 0.4.17
(From OE-Core rev: d7626175069ab113d23fb1cbb85e665984637972)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
464df4b87d libepoxy: upgrade 1.5.4 -> 1.5.5
(From OE-Core rev: ef24da0af6fe2eab618e01a70093efba26a12557)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
bd693ad8c5 gstreamer1.0-plugins-ugly: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: 43613b1f58a646a952d28bfb29962d3cf28c4d78)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
d7f6069f29 gst-devtools: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: 88ad4d3f5734db02b1da22f3c4a6025429698d7e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
8d8a0ae558 gst-examples: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: 9c53521b15b1795a0c959bc20b21ded7e526ae87)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
48682c34ae gstreamer1.0-vaapi: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: d7238bf3e5146f1caf573887c469bcb4e9a91a18)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
42ea517179 gstreamer1.0-python: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: fe871c8ab6d48493be9beeb9a452faa2bf439f4e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
9f5ec31511 gstreamer1.0-rtsp-server: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: 5e77be6647e4235d0993206ba7dd8a80cec57bbf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
b4d62709f9 gstreamer1.0-omx: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: 9ee2d60c36caff1ccd5ece858ad036fcd33e6da0)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
3f957482a1 gstreamer1.0-libav: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: 331318c9804e745f1379b4192c748673ae05c5a0)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
667dd8424f gstreamer1.0-plugins-bad: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: 9d74e4a471643e2c803e26296931e6827cae4660)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
540c645c5b gstreamer1.0-plugins-good: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: 880d0236a6ff2fed68edd54cb7c6235ce67143ec)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
cc91f8d3da gstreamer1.0-plugins-base: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: 2b676d165c798514008fdc159e346cfe0e228926)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
a037481a8f gstreamer1.0: upgrade 1.18.2 -> 1.18.3
(From OE-Core rev: 279d3837bc9c479523868ea1e6c75ecca04612ae)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Anuj Mittal
efa5f5ecb2 enchant2: upgrade 2.2.14 -> 2.2.15
(From OE-Core rev: a9a662c07026c18a3dbe0ca4050f1778cc9a741c)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Richard Purdie
21a045090d bash: Add makefile race workaround
There is a race between two make invocations in 5.1. It has been
reported upstream, in the meantime add a work around patch (which
upstream may yet even apply). The autobuilder found two instances
of this race in a single build.

(From OE-Core rev: 62b8580cea567f2d9b7a900fc4302d6bc5a785b2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Alexander Kanavin
f2467c6925 runtime_test.py: correct output check for bash 5.1
Bash 5.1 inserts escape sequences into its output (specifically
disabling bracketed paste mode via \x1b[?2004l). I am not sure
if somehow terminal detection isn't working correctly there,
but in any case the marker is still in the output, but needs to
be checked by 'in' rather than exact equivalence.

(From OE-Core rev: c25a1b16cc50e51ecf040c2c1db128e1dfceddec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Richard Purdie
0c738cad8e bash: Set HEREDOC_PIPESIZE deterministically
We had reproducibility issues where the pipe size appears to vary on some build
hosts between 65535 and 4096. It should be the former on Linux in general so
standarise on that. Easiest way is to pass in CFLAGS.

(From OE-Core rev: 6de2152693c31ee1181e9eacc32b90dd63d4e0a9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Alexander Kanavin
657bc00c4c bash: update 5.0 -> 5.1
[RP: Add aclocal support and patch m4 handling to adapt to OE]
(From OE-Core rev: ab4406dfdbd5e21f6fff0865228ebf5da1274505)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 22:46:17 +00:00
Joshua Watt
f236145ce4 ref-manual: Clarify recommended operator for PROVIDES
Updates the documentation for PROVIDES so that it recommends "+="
instead of "=".

(From yocto-docs rev: 39b2ca1e27592488d396d5f0d76965f0006515a1)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:53:53 +00:00
Yoann Congal
164db40a72 documentation: Prevent building documentation with an outdated version of sphinx
Building with a outdated version of Sphinx print warnings that does not
appear on up-to-date sphinx.

This patch prevent building the documentation with any version older
than 3.1 (First version to build without warnings in my tests)

See threads "documentation: Add a simple Sphinx extension to check its version"
    https://lists.yoctoproject.org/g/docs/topic/patch_documentation_add_a/79919516
and "toaster-manual: Fix a warning related to the code-block directive"
    https://lists.yoctoproject.org/g/docs/topic/patch_toaster_manual_fix_a/79656195

(From yocto-docs rev: 4de0f3dd4d5df0a0700f704a599bb41726d15a5f)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:53:53 +00:00
Abdellatif El Khlifi
d8698dc755 ref-manual/ref-classes: update kernel-fitimage with Initramfs bundle and boot script
This commit adds the description of the Initramfs bundle and boot script
new features implemented in the kernel-fitimage class.

Change-Id: Ifffa6b850308aa7ceadc4f117806cffad0137137
(From yocto-docs rev: a55c16555366c0adbf4a087b86574b07972cbc52)

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:53:53 +00:00
Quentin Schulz
e6a0be545d docs: fix missing & and ; surrounding references from poky.yaml
poky.yaml references are only replaced in files if they are prefixed by
& and suffixed by ;.

Let's fix the missing surrounding characters.

(From yocto-docs rev: 7ee4ba7a27acd87d8c728639d1b053d2e26c6e58)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:53:53 +00:00
Diego Sueiro
658499cacb dev-manual: Add usage of /sysroot-only in SYSROOT_DIRS
(From yocto-docs rev: adc59efc4a6c56cc3b4594a411ae618d256d6ba2)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:53:53 +00:00
Abdellatif El Khlifi
eef552d273 oeqa/selftest/imagefeatures: adding fitImage initramfs bundle testcase
This commit provides a testcase for the initramfs bundle support implemented
in kernel-fitimage.bbclass

The testcase verifies the content of the initramfs bundle node in the FIT
Image Tree Source (its).

The testcase is self-contained and the configurations are set by the test case itself.

To verify the initramfs bundle support, the testcase uses beaglebone-yocto machine.

This testcase can be run through the following command:

oe-selftest -r fitimage.FitImageTests.test_initramfs_bundle

Change-Id: I8ab8abf2c150ea515fd439784eb20c6b092bfbc5
(From OE-Core rev: 1119d577756b386507f33669fe29dafb5579a1a7)

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Abdellatif El Khlifi
af6ac32437 kernel: skip installing fitImage when using Initramfs bundles
When including an initramfs bundle inside a FIT image, the fitImage is created
after the install task by do_assemble_fitimage_initramfs.

This happens after the generation of the initramfs bundle
(done by do_bundle_initramfs).

So, at the level of the install task we should not try to install the fitImage.
The fitImage is still not generated yet.

After the generation of the fitImage, the deploy task copies the fitImage from
the build directory to the deploy folder.

Change-Id: I3eaa6bba1412f388f710fa0f389f66631c1c4826
(From OE-Core rev: 1b67fd9ac74935fa41e960478c54e45422339138)

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Abdellatif El Khlifi
8a2f4e143b kernel-fitimage: adding support for Initramfs bundle and u-boot script
This commit adds Initramfs bundle support to the FIT image in addition
to u-boot boot script capability.

These new features are selectable.

In case of Initramfs, the kernel is configured to be bundled with the rootfs
in the same binary (ie: zImage-initramfs-<machine>.bin). When the kernel is
copied to RAM and executed, it unpacks the Initramfs rootfs.

For more information about Initramfs please read:

https://www.kernel.org/doc/Documentation/filesystems/ramfs-rootfs-initramfs.txt

For more details about the Initramfs bundle and boot script implementation
please check the kernel-fitimage.bbclass paragraph in Yocto reference
or mega manual.

Current limitations:

- Initramfs bundle FIT support has been tested on ARM 32-bit
- The kernel image type in case of ARM 32-bit is zImage

Change-Id: I901bfd899e8d733c5b9a2b6645b1d4748f4b1fda
(From OE-Core rev: 19fa415c8769a67b52babd80f71d68bf36a21db2)

Signed-off-by: Abdellatif El Khlifi <abdellatif.elkhlifi@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Robert Yang
5875637ed2 apt: Fix do_compile error when enable ccache
Fixed:
apt-pkg/libapt-pkg.so.5.0.2: undefined reference to `ZSTD_endStream'
collect2: error: ld returned 1 exit status

This is because ccache-native depends on zstd-native which makes apt wronly
find it. Disable zstd for apt to fix the problem.

(From OE-Core rev: 0aa7d612b8b7e5f14b4ed38f2a32b3f7eefca31c)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Robert Yang
f13a95e17e ccache.bbclass: Use ccache-native and disable ccache for native recipes
Since host's ccache is not reliable, so disable ccache for native recipes and
use ccache-native for other types of recipes. We need disable ccache for native
recipes is because ccache-native now depends on cmake-native which causes
circular dependencies, and it's not easy to break the circular.

(From OE-Core rev: 631bbd4896882ba2acbe5bc85bc90ab7abc794ef)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Robert Yang
220a5fcb99 Revert "ccache.bbclass: use ccache from host distribution"
This reverts commit f5b29367af4d8e5daea5771264774aa49519f9a8.

Will use ccache-native which is more reliable.

(From OE-Core rev: 1b659623430e1a6e6dd266e65bab7ca8155a7138)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Nathan Rossi
496d849224 gcc: Backport patch to resolve i*86 tune configuration overrides
Upstream has merged a change to handle detection of target overrides so
that they are only applied as required. Backport this patch from
upstream and remove the OE specific patch.

(From OE-Core rev: d430f425e1a5725e93833a652e5c6988576f7347)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Sinan Kaya
b856d79582 appliance: Add VHD/VHDX generation
(From OE-Core rev: e21f0afbb8d88004aa33a181e09bb3e671983bb3)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Sinan Kaya
f407293a99 meta/classes: Add supprot for WIC<>VHD/VHDX conversion
(From OE-Core rev: b57b1615d965575deb0bf164b9873fe31a4d39b4)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Co-Developed-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Sinan Kaya
24cd090741 runqemu: Add support for VHD/VHDX rootfs
(From OE-Core rev: fafa2fe6d4d40ab6ba7d39b397d2bde9eb0d6b72)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Lee Chee Yang
59b07a71f3 p11-kit: upgrade 0.23.21 -> 0.23.22
https://github.com/p11-glue/p11-kit/releases/tag/0.23.22

Release notes:
Fix memory-safety issues that affect the RPC protocol (CVE-2020-29361, CVE-2020-29362, and CVE-2020-29363), discovered and fixed by David Cook
anchor: Prefer persistent format when storing anchor [#329]
common: Fix infloop in p11_path_build [#326, #327]
proxy: C_CloseAllSessions: Make sure that calloc args are non-zero [#325]
common: Check for a NULL locale before freeing it [#321]
Build and test fixes [#313, #315, #317, #318, #319, #323, #330, #333, #334, #335, #338, #339]

c4e75e1002
patch to fix trailing newline using custom_target() caused error
with DISTRO_FEATURES api-documentation due to meson bugs, enable
manpages PACKAGECONFIG should prevent this error.
| warning: failed to load external entity "../version.xml"
| ../p11-kit-docs.xml:11: parser error : Failure to process entity version
| 		<releaseinfo>for p11-kit &version;</releaseinfo>
| 		                                  ^
| ../p11-kit-docs.xml:11: parser error : Entity 'version' not defined
| 		<releaseinfo>for p11-kit &version;</releaseinfo>
| 		                                  ^
| unable to parse ../p11-kit-docs.xml

(From OE-Core rev: b112ba291835061640123c13784e2b33cc73f17d)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Alexander Kanavin
0955777d5f oeqa/ptest: print a warning if ptests failed
This allows spotting ptest regressions without having hard ptest failures
(for that full ptest stability should be achieved).

(From OE-Core rev: 79b54d902df2788b0822b6c9cc14705ab00e6a5b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-20 00:45:05 +00:00
Mans Rullgard
24a68ae82b boost: drop arm-intrinsics.patch
This patch makes gcc produce broken code.  It is unclear why it is there
in the first place.  Drop it.

(From OE-Core rev: 5f3cace37496fe1dc4fd045f688f7d441505c437)

Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-17 11:28:13 +00:00
Richard Purdie
fcfa2fc227 lttng-modules: Drop gcc7 related patch
We'd appear to be past the need for a gcc7 patch from 3 years ago now.

(From OE-Core rev: 1ff0eb404819d259c411937bd12c82e04a5837ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-17 11:28:13 +00:00
Richard Purdie
f925c8ed06 lttng-modules: Upgrade 2.12.3->2.12.4
Drop backported patches.

(From OE-Core rev: ae69c941cb95470783dc33bec5b1ca9053133666)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-17 11:28:13 +00:00
Andrey Mozzhuhin
fecba74915 toolchain-shar-extract.sh: Handle special characters in script path
Extracting SDK archive may fail if the script is run using a path with
special characters such as space or asterisk. This is because the shell
interprets such characters after expanding the $0 variable.

Added quotes to all uses of the shell variable $0 to fix this.

(From OE-Core rev: 0453acbbd45604537090ec7a3295b34309e6eecb)

Signed-off-by: Andrey Mozzhuhin <amozzhuhin@yandex.ru>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-17 11:28:13 +00:00
Sakib Sajal
d068fbcde2 buildstats.bbclass: add functionality to collect build system stats
There are a number of timeout and hang defects where
it would be useful to collect statistics about what
is running on a build host when that condition occurs.

This adds functionality to collect build system stats
on a regular interval and/or on task failure. Both
features are disabled by default.

To enable logging on a regular interval, set:
BB_HEARTBEAT_EVENT = "<interval>"
BB_LOG_HOST_STAT_ON_INTERVAL = <boolean>
Logs are stored in ${BUILDSTATS_BASE}/<build_name>/host_stats

To enable logging on a task failure, set:
BB_LOG_HOST_STAT_ON_FAILURE = "<boolean>"
Logs are stored in ${BUILDSTATS_BASE}/<build_name>/build_stats

The list of commands, along with the desired options, need
to be specified in the BB_LOG_HOST_STAT_CMDS variable
delimited by ; as such:
BB_LOG_HOST_STAT_CMDS = "command1 ; command2 ;... ;"

(From OE-Core rev: edb7098e9e0a8978568a45057c1c3ad2c6cacd67)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-17 11:28:13 +00:00
Bruce Ashfield
75c779b628 yocto-bsp: drop 5.8 bbappend
The 5.8 kernel is EOL upstream, oe-core has the replacement
5.10 kernel available, 5.8 will be removed and we've moved
all preferred versions to either 5.4 or 5.10.

(From meta-yocto rev: f43972daf703c0f5e4c2600f6e7f5a7a57f0e7db)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
Anuj Mittal
d4d1898664 linux-yocto: update genericx86 to v5.4.87
(From meta-yocto rev: 5b5498295bfbe3ca7b2adf9e23228262c3e38f2d)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
Khem Raj
d5b22b66ac musl/glibc: Document assembly file directive fix
It has been fixed in binutils so we want to drop it with binutils 2.36
upgrade when it happens

(From OE-Core rev: 89ba28933067b38ab1023aaf30951eb6969d50c6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
Bruce Ashfield
6b020ae4dc linux-yocto: remove 5.8 recipes
5.8 is EOL upstream, and we now have 5.10 available as the
latest -stable kernel.

We'll keep 5.4, 5.10 and -dev (5.11) as the active kernels
for the upcoming release.

(From OE-Core rev: 134445b7e54489288c887327dc0fcccab514757f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
Hongxu Jia
57706c0fb3 deb: do not insert feed uris if apt not installed
- The dir /etc/apt was created in package apt, if package apt was not
installed, there is no need to insert package feed. Otherwise, it
will fail with no such dir

- Output the result of apt install

- Explicitly trust the deb package repository from build
This could avoid apt install warning:
...
WARNING: The following packages cannot be authenticated!
...

- Also trust the inserted deb package repository from PACKAGE_FEED_URIS

(From OE-Core rev: 9ec65b77c9a4a0ba240117edee0e84208c58328e)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
hongxu
c0211ff9f0 dpkg: add nativesdk support
- Add nativesdk support and override EXTRA_OECONF and PROV for
nativesdk

- Replace ${bindir} with ${STAGING_BINDIR_NATIVE} for perl-native
shebang to fix QA error of shebang too long in nativesdk build

- Conditionally (except musl) add ldconfig to runtime depends to
fix the following issue on target
[snip]
...
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and/sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
[snip]

(From OE-Core rev: a69eee72b25411880146821fe4ec07be4704afee)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
hongxu
92a68c5ea4 apt: add nativesdk support
1. Add nativesdk support
- Apply the same patches of native
- Generate the same apt.conf.sample of native

2. Create user '_apt' to fix apt runtime warning
[snip]
$ apt update
...
W: No sandbox user '_apt' on the system, can not drop privileges
[snip]

RP: Add comment about need to user
RP: Add user to selftest static-passwd
(From OE-Core rev: be36b825ada573b2a7df9884eaab78664928594a)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
Yi Fan Yu
fef6ec93b5 binutils: Fix CVE-2020-35448
Fix related to a buffer overflow in bfd library

CVE Details https://nvd.nist.gov/vuln/detail/CVE-2020-35448

Upstream Tracking https://sourceware.org/bugzilla/show_bug.cgi?id=26574

Patch from Upstream
    https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;
    h=8642dafaef21aa6747cec01df1977e9c52eb4679

(From OE-Core rev: cb83312131f6c4f69d89d639085e07ea1f53167e)

Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
Mikko Rapeli
615cb60fd4 zip: whitelist CVE-2018-13410 and CVE-2018-13684
https://nvd.nist.gov/vuln/detail/CVE-2018-13410 is disputed and
also Debian considers it not a vulnerability:

https://security-tracker.debian.org/tracker/CVE-2018-13410

http://seclists.org/fulldisclosure/2018/Jul/24
"Negligible security impact, would involve that a untrusted party controls the -TT value."

https://nvd.nist.gov/vuln/detail/CVE-2018-13684 is not for zip, also Debian concludes this:

https://security-tracker.debian.org/tracker/CVE-2018-13684

"NOT-FOR-US: smart contract implementation for ZIP"

(From OE-Core rev: 06b72a91b6dcf63fed437fd2105c59e922ba6525)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
Kamel Bouhara
93543e9960 recipetool: create: only add npmsw url if required
Before adding a npmsw fetcher to a recipe we
should first check if the generated shrinkwrap file
contains dependencies.

(From OE-Core rev: ef153ad36d0299e83a03af8f207686d0d8a238b3)

Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
Kamel Bouhara
8b0884569f npm.bbclass: make shrinkwrap file optional
Some packages don't have shrinkwrap file which
means no npmsw uri is provided in the recipe.

(From OE-Core rev: 47760b0d7d66b2b68ee197d359f0b7b17374d742)

Signed-off-by: Kamel Bouhara <kamel.bouhara@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
Scott Branden
a2ca184abb kmod: update 27 -> 28
Upgrade kmod from 27 to 28.

(From OE-Core rev: 7447ac45edaf7f71d0e4cc60506e1cca546427df)

Signed-off-by: Scott Branden <scott.branden@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:36 +00:00
Changqing Li
2e4c20d4cc qemu: fix do_compile error
Fix error like:
Fatal error: can't create tests/ptimer-test.p/..._qemu-5.2.0_hw_core_ptimer.c.o: File name too long

(From OE-Core rev: e125430dea6e5eba5587f56602b006c90ab16509)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
zhengruoqin
90288f32db libgpg-error: upgrade 1.39 -> 1.41
refresh pkgconfig.patch

(From OE-Core rev: 0de14edfd16dc25d8a0dc0da120cda955dcc7576)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
zhengruoqin
24087b9564 libevdev: upgrade 1.10.0 -> 1.10.1
(From OE-Core rev: b5c8753f075c24bbe0d65139e4e3e17f6a0c4828)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
Yi Zhao
da33f74b58 rng-tools: upgrade 6.10 -> 6.11
Remove backported patches.

(From OE-Core rev: bcb0895c41ca97fdf1d53d8368ff46d5968cdc4a)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
Wang Mingyu
7ab694e168 libmodulemd: upgrade 2.11.1 -> 2.11.2
(From OE-Core rev: 5d0b0a0038648f4b5b20b68ff1fbfd2963bfcaef)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
Wang Mingyu
37b13b7d53 libpcap: upgrade 1.9.1 -> 1.10.0
(From OE-Core rev: 78450d4a591bcb3573fb8ff7149a8c5aa5e1617d)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
zhengruoqin
4ebe18fd88 libarchive: upgrade 3.4.3 -> 3.5.1
copyright: add libarchive/archive_entry.c

(From OE-Core rev: 222431080ded2c459ca20327feb44471516cf5d8)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
Diego Sueiro
b0cbfd01f1 staging: Introduce /sysroot-only to SYSROOT_DIRS
The '/sysroot-only' in SYSROOT_DIRS is to be used by recipes which
generate artifacts that are not included in the target filesystem.

Also, remove the ${D}/sysroot-only dir before copying D do PKGD to
generate the packages since it is not supposed to be included in
any package.

This will allow recipes to share non-target filesystem artifacts
without needing to use the DEPLOY_DIR and keep it tidy.

(From OE-Core rev: ed1c156cf46c2cdd8038d6bcf7ed58ebe275e3a1)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
Paul Gortmaker
61fb0a5dc0 systemd: dont spew hidepid mount errors for kernels < v5.8
Recent systemd started using ascii args to "hidepid=" mount options
for proc fs - unconditionally -- even though kernels older than v5.8
emit an error message on each attempt:

root@qemux86-64:~# cat /proc/version
Linux version 5.4.87-yocto-standard (oe-user@oe-host) (gcc version 10.2.0 (GCC)) #1 SMP PREEMPT Fri Jan 8 01:47:13 UTC 2021
root@qemux86-64:~# dmesg|grep proc:
[   29.487995] proc: Bad value for 'hidepid'
[   43.170571] proc: Bad value for 'hidepid'
[   44.175615] proc: Bad value for 'hidepid'
[   46.213300] proc: Bad value for 'hidepid'
root@qemux86-64:~#

Simply ignoring them as the systemd maintainer unconditionally says
is the resolution is clearly not acceptable, given the above.

Add a kernel version check to avoid calling mount with invalid args.
Further details are within the enclosed systemd commit.

Cc: Luca Boccassi <luca.boccassi@microsoft.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: 76107fd7372559aa4cd22a89d5517a4dfce9314d)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
Anton Kachalov
49c4fdcb88 rootfs: add option to allow delayed postinsts on read-only rootfs
Example use case in OpenBMC: rootfs is squashfs and the system has either
overlayfs for whole rootfs or for some parts (e.g. /etc).

This option will allow to create migration one-shot postinsts using
"pkg_postinst_ontarget_${PN}" routines defined in recipes to fix
files under upper workdir in overlayfs.

(From OE-Core rev: 0977204e16279b117811b5d5cdac5918287e95ac)

Signed-off-by: Anton D. Kachalov <rnouse@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
Joshua Watt
e9bd99fe38 diffoscope: upgrade 163 -> 164
[ Chris Lamb ]
* Truncate jsondiff differences at 512 bytes lest they consume the
  entire page.
* Wrap our external call to cmp(1) with a profile (to match the internal
  profiling).
* Add a note regarding the specific ordering of the new
  all_tools_are_listed test.

[ Dimitrios Apostolou ]
* Performance improvements:
  - Improve speed of has_same_content by spawning cmp(1) less
    frequently.
  - Log whenever the external cmp(1) command is spawn.ed
  - Avoid invoking external diff for identical, short outputs.
* Rework handling of temporary files:
  - Clean up temporary directories as we go along, instead of at the
    end.
  - Delete FIFO files when the FIFO feeder's context manager exits.

[ Mattia Rizzolo ]
* Fix a number of potential crashes in --list-debian-substvars,
  including explicitly listing lipo and otool as external tools.
 - Remove redundant code and let object destructors clean up after
   themselves.

[ Conrad Ratschan ]
* Add a comparator for Flattened Image Trees (FIT) files, a boot image
  format used by U-Boot.

(From OE-Core rev: 65feaffe9857029fa230935cb0c3e8e6f2815776)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
Tomasz Dziendzielski
ca608639f8 lib/oe/utils: Return empty string in parallel_make
In cmake.bbclass we set CMAKE_BUILD_PARALLEL_LEVEL using parallel_make
function and if PARALLEL_MAKE is set to empty string then this variable
is exported as "None" causing cmake to fail with:
"'CMAKE_BUILD_PARALLEL_LEVEL' environment variable
invalid number 'None' given."

(From OE-Core rev: 2f790ded554a52ac18d1c28002142f9c62abec8b)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
Richard Purdie
dd1a7c3cab vulkan-samples: Disable PCH for reproducibility
We're still seeing reproducibility issues on the autobuilder with this
recipe. I was able to make the output "match" by rebuilding the PCH and
then rebuilding the binary objects, proving the PCH isn't deterministic.

Disable PCH until we can get to the bottom of why that may be.

(From OE-Core rev: 95686432ecb7e411155563643d59a3d5f683937c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-16 22:39:35 +00:00
Leon Anavi
87e7057b71 common-tasks.rst: Fix GNU_HASH in hello.bb
Fix the following GNU_HASH issue in "Single .c File Package
(Hello World!)" example:

ERROR: hello-1.0-r0 do_package_qa: QA Issue: File /usr/bin/helloworld in package hello doesn't have GNU_HASH (didn't pass LDFLAGS?) [ldflags]

Reported-by: Matthew Tsenkov <matthew.tsenkov@konsulko.com>
(From yocto-docs rev: 99a53f443193c0becd48a07a2dd740bb417dcf49)

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-15 13:39:48 +00:00
Yoann Congal
827e68675a documentation: Fix a Concpets -> Concepts typo
(From yocto-docs rev: 78bdf1c25c5c546c35b5a0d246aa1bbd70d5eace)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-15 13:39:48 +00:00
Wang Mingyu
33a997a80a gnupg: upgrade 2.2.26 -> 2.2.27
(From OE-Core rev: 90798e892fd3e0d2ef77a7ba64a33ea9f8ef317b)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-15 13:39:25 +00:00
Adrian Herrera
17501cbc0f common-licenses: add BSD-3-Clause-Clear license
See https://spdx.org/licenses/BSD-3-Clause-Clear.html

(From OE-Core rev: 6db06326d2d6ba68cee5ddc24eeaa6eccb441666)

Signed-off-by: Adrian Herrera <adrian.herrera@arm.com>
Change-Id: I2b7e0ad060fac6b473ce4d0bab839253aee9873d
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-15 13:39:25 +00:00
Adrian Herrera
946e62145e scripts: oe-run-native, fix *-native directories
This fixes a crash with "find" when running a native tool and *-native
directories do not exist under the binary directory in the sysroot.
This happened because the directory wildcard was passed as part of the
root directory.
The directory wildcard is now passed by "-name", which returns an empty
result if no matching directory.

(From OE-Core rev: f6c90ed0ad24b7d4f892e22e088b1578824eb1d3)

Signed-off-by: Adrian Herrera <adrian.herrera@arm.com>
Change-Id: Iba7acd8bbd7e0beb4d25c984f6af7a4fd21486e6
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-15 13:39:25 +00:00
Wang Mingyu
ac73f6d88f iproute2: upgrade 5.9.0 -> 5.10.0
(From OE-Core rev: d9d451804c5955091d12ba6b0670fa50363fa8d8)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-15 13:39:25 +00:00
Dmitry Baryshkov
efbd87325c mesa,mesa-gl: upgrade to 20.3.2
Upgrade mesa and mesa-gl recipes to version 20.3.2.

(From OE-Core rev: 5ab325c18640dd6d17ac4592f3ba3e484a5bdb37)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-15 13:39:25 +00:00
Richard Purdie
49c12484eb vulkan-samples: Fix reproducibility issue
There is code to remove the prefix CMAKE_SOURCE_DIR from __FILENAME__ paths
used for logging with LOGE() in the code. We need to make this match the value we use
in the debug source remapping from CFLAGS. If we don't, the code is firstly removing
the incorrect prefix and possibly moving outside the string, secondly, it causes a
reproducibility issue depending on the length of path the build happens in.

Add a small patch and configuration to avoid the issue.

(From OE-Core rev: 410dbfd1f82b4862ced6fca88789edf0fd9d65df)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-15 13:39:25 +00:00
Kevin Hao
09c7fc6e53 meta-yocto-bsp: Bump the kernel to v5.10
Build and boot for all these machines and also explicitly set the
preferred kernel version for the x86 machines so that we can override
the default setting in oe-core.

(From meta-yocto rev: a93344439e01e8aba4ba15d3123ce31b4500add1)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:14:06 +00:00
Kevin Hao
eb80e80538 Revert "yocto-bsp: explicitly set preferred version for reference boards"
This reverts commit da27ca50eebf80463cb8d7b85f3b705254823413.

We usually select the preferred kernel version in the machine conf. This
is also what recommend in the BSP Developer's Guide. The beaglebone-yocto
and edgerouter have already done this in their machine conf files.
Resetting it in the layer conf is redundant. So revert this patch first,
we will also explicitly select the kernel version for the x86 machines
in the following patch.

(From meta-yocto rev: 825645ff2b663ae5c5845e8ae4679f6e346eac8c)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:14:06 +00:00
Naveen Saini
c750a47a5e gstreamer1.0-plugins-bad: fix msdk pkgconfig build failure
Error log:
| Run-time dependency libmfx found: YES 1.34
| Has header "mfx/mfxdefs.h" : YES
|
| ../gst-plugins-bad-1.18.2/sys/msdk/meson.build:75:2: ERROR: Include dir /usr/include/mfx does not exist.
|
| A full log can be found at /home/s

When msdk is enable in PACKAGECONFIG, plugin fails to locate includedir, so
adding a patch which prepend PKG_CONFIG_SYSROOT_DIR to the dir path

(From OE-Core rev: 204aa9cfa6ac99846ac494778dd143a13746ac7e)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Khem Raj
43e8dd7934 libyaml: Enable static lib on native/nativesdk
Helps building static tools which depend on libyaml during build or
shipped with SDK

libyaml is MIT licensed so static linking would not be as prohibitive

(From OE-Core rev: 1c2be08fc66c09ed7547eda172da4c99e8563091)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Bruce Ashfield
26123ba00e linux-yocto/5.10/cfg: x86 and beaglebone config fixes
Integrating the following commit(s) to the linux-yocto config:

    47c7a3148a4 soc/skylake: remove CONFIG_SND_SOC_INTEL_SST_ACPI
    8124c015448 features/security: remove CONFIG_REFCOUNT_FULL
    7073e149653 media-usb-tv: remove CONFIG_VIDEO_USBVISION
    4480a5c5784 beaglebone: Drop the obsolete CONFIG_BACKLIGHT_GENERIC

(From OE-Core rev: a7a23a166e2b1cb3f330d6df2f681b525748c2df)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Bruce Ashfield
a58f4ed566 linux-yocto/5.4: update to v5.4.87
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    b3f656a592f3 Linux 5.4.87
    41ae3e574ccf dm verity: skip verity work if I/O error when system is shutting down
    8b3c00977264 ALSA: pcm: Clear the full allocated memory at hw_params
    480abac78e03 tick/sched: Remove bogus boot "safety" check
    1dab82dd202d um: ubd: Submit all data segments atomically
    d32747bb687d fs/namespace.c: WARN if mnt_count has become negative
    9f4e8026d202 module: delay kobject uevent until after module init call
    86db71810a27 f2fs: avoid race condition for shrinker count
    dbe184f6be1e NFSv4: Fix a pNFS layout related use-after-free race when freeing the inode
    d52faa7fb12f i3c master: fix missing destroy_workqueue() on error in i3c_master_register
    22f815627c64 powerpc: sysdev: add missing iounmap() on error in mpic_msgr_probe()
    a95049c51417 rtc: pl031: fix resource leak in pl031_probe
    e2926630f653 quota: Don't overflow quota file offsets
    1842dde0dd13 module: set MODULE_STATE_GOING state when a module fails to load
    569da7c3d9a3 rtc: sun6i: Fix memleak in sun6i_rtc_clk_init
    642c2d74c365 fcntl: Fix potential deadlock in send_sig{io, urg}()
    5b2f1ad6b12b bfs: don't use WARNING: string when it's just info.
    3a2a5e197a84 ALSA: rawmidi: Access runtime->avail always in spinlock
    8d2204a05391 ALSA: seq: Use bool for snd_seq_queue internal flags
    4250fe65b2e6 f2fs: fix shift-out-of-bounds in sanity_check_raw_super()
    28a29e3a658a media: gp8psk: initialize stats at power control logic
    750627d36f84 misc: vmw_vmci: fix kernel info-leak by initializing dbells in vmci_ctx_get_chkpt_doorbells()
    01be033cc127 reiserfs: add check for an invalid ih_entry_count
    18e1101b0ee9 Bluetooth: hci_h5: close serdev device and free hu in h5_close
    b726f8602207 scsi: cxgb4i: Fix TLS dependency
    57ba2c7a50bf cgroup: Fix memory leak when parsing multiple source parameters
    8ddf02859c69 of: fix linker-section match-table corruption
    8ec95e308418 null_blk: Fix zone size initialization
    7c3d8d73bafd tools headers UAPI: Sync linux/const.h with the kernel headers
    376c3111413c uapi: move constants from <linux/kernel.h> to <linux/const.h>
    af07e4dd0783 scsi: block: Fix a race in the runtime power management code
    9ce7ac5ed53b jffs2: Fix NULL pointer dereference in rp_size fs option parsing
    3a83e289e4b7 jffs2: Allow setting rp_size to zero during remounting
    ee78e7d93e35 powerpc/bitops: Fix possible undefined behaviour with fls() and fls64()
    7cb6087b4536 KVM: x86: reinstate vendor-agnostic check on SPEC_CTRL cpuid bits
    3d4a05894500 KVM: SVM: relax conditions for allowing MSR_IA32_SPEC_CTRL accesses
    d77c1ab54c9e KVM: x86: avoid incorrect writes to host MSR_IA32_SPEC_CTRL
    11459136a107 ext4: don't remount read-only with errors=continue on reboot
    6b0a4f603d5b btrfs: fix race when defragmenting leads to unnecessary IO
    30aea96ff142 vfio/pci: Move dummy_resources_list init in vfio_pci_probe()
    29c2d3e91e3d fscrypt: remove kernel-internal constants from UAPI header
    34f000524d33 fscrypt: add fscrypt_is_nokey_name()
    eddc69467e39 f2fs: prevent creating duplicate encrypted filenames
    6fe20a5204a6 ubifs: prevent creating duplicate encrypted filenames
    3ebfed353afd ext4: prevent creating duplicate encrypted filenames
    faa72d97c3e3 thermal/drivers/cpufreq_cooling: Update cpufreq_state only if state has changed
    d3076d054f3e md/raid10: initialize r10_bio->read_slot before use.
    c71c512f4a65 net/sched: sch_taprio: reset child qdiscs before freeing them
    dfce803cd87d Linux 5.4.86
    8302bd9afd4b x86/CPU/AMD: Save AMD NodeId as cpu_die_id
    6001db0272da Revert: "ring-buffer: Remove HAVE_64BIT_ALIGNED_ACCESS"
    33afcf723a0e rtc: ep93xx: Fix NULL pointer dereference in ep93xx_rtc_read_time
    7e0f7a293608 regulator: axp20x: Fix DLDO2 voltage control register mask for AXP22x
    be23b04074b1 PCI: Fix pci_slot_release() NULL pointer dereference
    b1f9419d5e6c platform/x86: intel-vbtn: Allow switch events on Acer Switch Alpha 12
    c16b5849352c libnvdimm/namespace: Fix reaping of invalidated block-window-namespace labels
    68d139a97415 xenbus/xenbus_backend: Disallow pending watch messages
    d3eaea062b51 xen/xenbus: Count pending messages for each watch
    c45b0a8d2a68 xen/xenbus/xen_bus_type: Support will_handle watch callback
    7da6db982e53 xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path()
    eac0c12e329d xen/xenbus: Allow watches discard events before queueing
    8f3f6de44f7c xen-blkback: set ring->xenblkd to NULL after kthread_stop()
    383c60c16dd8 dma-buf/dma-resv: Respect num_fences when initializing the shared fence list.
    b16a6a46e0b2 device-dax/core: Fix memory leak when rmmod dax.ko
    f3ede933fbc7 clk: tegra: Do not return 0 on failure
    f133bfbe1201 clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9
    ca4fd0284cb3 clk: ingenic: Fix divider calculation with div tables
    13e6b6259e6d pinctrl: sunxi: Always call chained_irq_{enter, exit} in sunxi_pinctrl_irq_handler
    2fb550de7563 md/cluster: fix deadlock when node is doing resync job
    7523d147087b md/cluster: block reshape with remote resync job
    27b58f6adad8 iio:adc:ti-ads124s08: Fix alignment and data leak issues.
    2d7229c037d1 iio:adc:ti-ads124s08: Fix buffer being too long.
    d6ea1d559027 iio:imu:bmi160: Fix too large a buffer.
    91b7b231f5e7 iio:pressure:mpl3115: Force alignment of buffer
    9607d22e71d1 iio:magnetometer:mag3110: Fix alignment and data leak issues.
    71a326dcd2a8 iio:light:st_uvis25: Fix timestamp alignment and prevent data leak.
    c18fc255187f iio:light:rpr0521: Fix timestamp alignment and prevent data leak.
    860ab67cd81e iio: adc: rockchip_saradc: fix missing clk_disable_unprepare() on error in rockchip_saradc_resume
    0fa2b43b0a2a iio: buffer: Fix demux update
    82af6e44b7d4 scsi: lpfc: Re-fix use after free in lpfc_rq_buf_free()
    7ec7630548dc scsi: lpfc: Fix invalid sleeping context in lpfc_sli4_nvmet_alloc()
    6822575cf204 scsi: qla2xxx: Fix crash during driver load on big endian machines
    1b26af7e4c7f mtd: rawnand: meson: fix meson_nfc_dma_buffer_release() arguments
    c5f3e5ca8116 mtd: rawnand: qcom: Fix DMA sync on FLASH_STATUS register read
    2aea2b22b6f9 mtd: parser: cmdline: Fix parsing of part-names with colons
    4290a73c9d67 mtd: spinand: Fix OOB read
    b22739509dcb soc: qcom: smp2p: Safely acquire spinlock without IRQs
    ddcb518dee78 spi: atmel-quadspi: Fix AHB memory accesses
    96f7bd39f56f spi: atmel-quadspi: Disable clock in probe error path
    8f295baae53d spi: mt7621: Don't leak SPI master in probe error path
    0818aab8a82b spi: mt7621: Disable clock in probe error path
    cad189512c38 spi: synquacer: Disable clock in probe error path
    4051e5b7741b spi: st-ssc4: Fix unbalanced pm_runtime_disable() in probe error path
    3c0e28f2881e spi: sc18is602: Don't leak SPI master in probe error path
    819f9edaaeb9 spi: rb4xx: Don't leak SPI master in probe error path
    c5491ac11559 spi: pic32: Don't leak DMA channels in probe error path
    3ea835ac604b spi: mxic: Don't leak SPI master in probe error path
    0da7709f5ea3 spi: gpio: Don't leak SPI master in probe error path
    ee1d2aef1c13 spi: fsl: fix use of spisel_boot signal on MPC8309
    614f2529c8ea spi: davinci: Fix use-after-free on unbind
    c6b9bfb0c477 spi: atmel-quadspi: Fix use-after-free on unbind
    bd6d736dbf36 spi: spi-sh: Fix use-after-free on unbind
    17360c3af129 spi: pxa2xx: Fix use-after-free on unbind
    c5ae864c148c drm/i915: Fix mismatch between misplaced vma check and vma insert
    1e684ad37047 drm/dp_aux_dev: check aux_dev before use in drm_dp_aux_dev_get_by_minor()
    e1b1f10c3404 drm/amd/display: Fix memory leaks in S3 resume
    b966771b0d69 platform/x86: mlx-platform: remove an unused variable
    cbeb61258186 jfs: Fix array index bounds check in dbAdjTree
    8ee70b6db882 jffs2: Fix ignoring mounting options problem during remounting
    00e45efaf9ff jffs2: Fix GC exit abnormally
    ea1e4ba032c5 ubifs: wbuf: Don't leak kernel memory to flash
    32825fe72cb3 SMB3: avoid confusing warning message on mount to Azure
    f22f743a2af2 ceph: fix race in concurrent __ceph_remove_cap invocations
    a7b014b54c16 um: Remove use of asprinf in umid.c
    26d72a8460dc ima: Don't modify file descriptor mode on the fly
    a89b91fcb07c powerpc/powernv/memtrace: Fix crashing the kernel when enabling concurrently
    45bf367c8550 powerpc/powernv/memtrace: Don't leak kernel memory to user space
    59334d821e8a powerpc/powernv/npu: Do not attempt NPU2 setup on POWER8NVL NPU
    c7f66ad880a9 powerpc/mm: Fix verification of MMU_FTR_TYPE_44x
    32e29541b5aa powerpc/8xx: Fix early debug when SMC1 is relocated
    15c9e56b41d0 powerpc/xmon: Change printk() to pr_cont()
    c7b89d0d7186 powerpc/feature: Add CPU_FTR_NOEXECUTE to G2_LE
    0f157acd436c powerpc/rtas: Fix typo of ibm,open-errinjct in RTAS filter
    30a58a3f7c85 powerpc: Fix incorrect stw{, ux, u, x} instructions in __set_pte_at
    3ee6a2bc1428 xprtrdma: Fix XDRBUF_SPARSE_PAGES support
    2504e407a39f ARM: dts: at91: sama5d2: fix CAN message ram offset and size
    789246b9afe8 ARM: dts: pandaboard: fix pinmux for gpio user button of Pandaboard ES
    6ee6e4e5a4cf KVM: arm64: Introduce handling of AArch32 TTBCR2 traps
    8635f0fe06c5 ext4: fix deadlock with fs freezing and EA inodes
    c90a5f4851a8 ext4: fix a memory leak of ext4_free_data
    e21d630a2c0d btrfs: trim: fix underflow in trim length to prevent access beyond device boundary
    1d11ed122f6f btrfs: do not shorten unpin len for caching block groups
    af7414836d88 USB: serial: keyspan_pda: fix write unthrottling
    7dae22ba62b2 USB: serial: keyspan_pda: fix tx-unthrottle use-after-free
    f99817ab5821 USB: serial: keyspan_pda: fix write-wakeup use-after-free
    a07b690e1976 USB: serial: keyspan_pda: fix stalled writes
    0f13247fabaf USB: serial: keyspan_pda: fix write deadlock
    ebd9857a5bd4 USB: serial: keyspan_pda: fix dropped unthrottle interrupts
    89fb2b91a9da USB: serial: digi_acceleport: fix write-wakeup deadlocks
    08c24438fb10 USB: serial: mos7720: fix parallel-port state restore
    6eab3f646b1a cpuset: fix race between hotplug work and later CPU offline
    066d115fdd29 EDAC/amd64: Fix PCI component registration
    f4ce4a53c4e4 EDAC/i10nm: Use readl() to access MMIO registers
    f9189a3bb5f9 crypto: arm/aes-ce - work around Cortex-A57/A72 silion errata
    36a58bda87cd crypto: ecdh - avoid unaligned accesses in ecdh_set_secret()
    f26f0e7770a1 powerpc/perf: Exclude kernel samples while counting events in user space.
    8096a2c6b9f6 perf/x86/intel: Fix rtm_abort_event encoding on Ice Lake
    aa3cce9ceff0 perf/x86/intel: Add event constraint for CYCLE_ACTIVITY.STALLS_MEM_ANY
    1e3de428d155 staging: comedi: mf6x4: Fix AI end-of-conversion detection
    ee0bcb1721a5 ASoC: cx2072x: Fix doubly definitions of Playback and Capture streams
    5fbf84689f11 binder: add flag to clear buffer on txn complete
    a7c256a9fd18 s390/dasd: fix list corruption of lcu list
    9c40d69a3be2 s390/dasd: fix list corruption of pavgroup group list
    042683917f4b s390/dasd: prevent inconsistent LCU device data
    c8acd8d55bb9 s390/dasd: fix hanging device offline processing
    3038bbd1bb33 s390/kexec_file: fix diag308 subcode when loading crash kernel
    c185f13918b4 s390/smp: perform initial CPU reset also for SMT siblings
    48d3f12869ef ALSA: core: memalloc: add page alignment for iram
    cd3ff2a46d9c ALSA: usb-audio: Disable sample read check if firmware doesn't give back
    b1e3c2fb0fbe ALSA: usb-audio: Add VID to support native DSD reproduction on FiiO devices
    58cb166b1f8a ALSA: hda/realtek: Apply jack fixup for Quanta NL3
    b61b2aa91f2b ALSA: hda/realtek: Add quirk for MSI-GP73
    89d429ed2cdf ALSA/hda: apply jack fixup for the Acer Veriton N4640G/N6640G/N2510G
    0bf907442c5f ALSA: pcm: oss: Fix a few more UBSAN fixes
    11cd11af4058 ALSA: hda/realtek - Add supported for more Lenovo ALC285 Headset Button
    da723248c5f8 ALSA: hda/realtek - Enable headset mic of ASUS Q524UQK with ALC255
    010a784a1a27 ALSA: hda/realtek - Enable headset mic of ASUS X430UN with ALC256
    0fc8e6b85680 ALSA: hda/realtek: make bass spk volume adjustable on a yoga laptop
    52d09e0cdb78 ALSA: hda/ca0132 - Fix AE-5 rear headphone pincfg.
    1ca2437530e5 ALSA: hda: Fix regressions on clear and reconfig sysfs
    2c6c6001d077 ACPI: PNP: compare the string length in the matching_id()
    772dd826a44b Revert "ACPI / resources: Use AE_CTRL_TERMINATE to terminate resources walks"
    b9d93a666656 PM: ACPI: PCI: Drop acpi_pm_set_bridge_wakeup()
    670b1b7e0d53 ALSA: hda/ca0132 - Change Input Source enum strings.
    8f827adb9bbc Input: cyapa_gen6 - fix out-of-bounds stack access
    98c956a6d9f7 media: ipu3-cio2: Make the field on subdev format V4L2_FIELD_NONE
    f05ac76139e6 media: ipu3-cio2: Validate mbus format in setting subdev format
    44cb512a020e media: ipu3-cio2: Serialise access to pad format
    a47bc844f436 media: ipu3-cio2: Return actual subdev format
    7dc40e1f8044 media: ipu3-cio2: Remove traces of returned buffers
    d7e6b7b6a7f7 media: netup_unidvb: Don't leak SPI master in probe error path
    0bfbb8393e51 media: sunxi-cir: ensure IR is handled when it is continuous
    124dc7d4f4b6 media: gspca: Fix memory leak in probe
    f97b54c8152d vfio/pci/nvlink2: Do not attempt NPU2 setup on POWER8NVL NPU
    df308380cbf3 Input: goodix - add upside-down quirk for Teclast X98 Pro tablet
    070bd3a8ac55 initramfs: fix clang build failure
    f252a9953249 Input: cros_ec_keyb - send 'scancodes' in addition to key events
    2686041cef06 drm/amdkfd: Fix leak in dmabuf import
    dc06432d9304 drm/amd/display: Prevent bandwidth overflow
    ca49d919d79c lwt: Disable BH too in run_lwt_bpf()
    b8dfee234581 fix namespaced fscaps when !CONFIG_SECURITY
    5350b833bb0a cfg80211: initialize rekey_data
    ec15d0700709 ARM: sunxi: Add machine match for the Allwinner V3 SoC
    d629b50f9fdc perf probe: Fix memory leak when synthesizing SDT probes
    cbcb176b6016 kconfig: fix return value of do_error_if()
    6e8beb020d5c clk: sunxi-ng: Make sure divider tables have sentinel
    3cdeedf801b5 clk: s2mps11: Fix a resource leak in error handling paths in the probe function
    ef56621a579a clk: at91: sam9x60: remove atmel,osc-bypass support
    e01dfcc08b55 virtio_ring: Fix two use after free bugs
    2d65ff873d06 virtio_net: Fix error code in probe()
    5f70910832c7 virtio_ring: Cut and paste bugs in vring_create_virtqueue_packed()
    372f06cd6b89 qlcnic: Fix error code in probe
    c16e42c93241 perf record: Fix memory leak when using '--user-regs=?' to list registers
    ceadde18f69a pwm: lp3943: Dynamically allocate PWM chip base
    6bf2ef4bd38d pwm: zx: Add missing cleanup in error path
    d4515a24a802 clk: ti: Fix memleak in ti_fapll_synth_setup
    572eba1ce574 watchdog: coh901327: add COMMON_CLK dependency
    2b1575e28906 watchdog: qcom: Avoid context switch in restart handler
    fad88d462596 libnvdimm/label: Return -ENXIO for no slot in __blk_label_update
    b6c680755d22 net: korina: fix return value
    19e73c9ff0bf net: allwinner: Fix some resources leak in the error handling path of the probe and in the remove function
    226bcdbb4a60 net: bcmgenet: Fix a resource leak in an error handling path in the probe functin
    efc570073cbe lan743x: fix rx_napi_poll/interrupt ping-pong
    9f5b56b5a71d checkpatch: fix unescaped left brace
    b32c5e0ae6f7 mm: don't wake kswapd prematurely when watermark boosting is disabled
    c3bf90c6aac5 sparc: fix handling of page table constructor failure
    6ef298e1cebd powerpc/ps3: use dma_mapping_error()
    d864e7e8270a nfc: s3fwrn5: Release the nfc firmware
    7a3d6a5dfc78 RDMA/cma: Don't overwrite sgid_attr after device is released
    2d01f3d75013 sunrpc: fix xs_read_xdr_buf for partial pages receive
    4acbc03e4fed um: chan_xterm: Fix fd leak
    1bbd5678c0b4 um: tty: Fix handling of close in tty lines
    1355bbe3a717 um: Monitor error events in IRQ controller
    a37d283825a4 ubifs: Fix error return code in ubifs_init_authentication()
    d4dbcfb7e158 watchdog: Fix potential dereferencing of null pointer
    4e091ff107be watchdog: sprd: check busy bit before new loading rather than after that
    4c8cffffc926 watchdog: sprd: remove watchdog disable from resume fail path
    4a4b31e8b5a7 watchdog: sirfsoc: Add missing dependency on HAS_IOMEM
    4d5aea30c1cd watchdog: armada_37xx: Add missing dependency on HAS_IOMEM
    849270acd7b6 irqchip/alpine-msi: Fix freeing of interrupts on allocation error path
    aca4d1bd7e19 ASoC: wm_adsp: remove "ctl" from list on error in wm_adsp_create_control()
    297e48ccf166 mac80211: don't set set TDLS STA bandwidth wider than possible
    d07972d764e8 crypto: atmel-i2c - select CONFIG_BITREVERSE
    f71984fc4482 extcon: max77693: Fix modalias string
    a4fd2da3e85e mtd: rawnand: gpmi: Fix the random DMA timeout issue
    86f6e53642fa mtd: rawnand: meson: Fix a resource leak in init
    5e8715b2383a mtd: rawnand: gpmi: fix reference count leak in gpmi ops
    9c5b041ba20a clk: tegra: Fix duplicated SE clock entry
    1ba196a73c45 remoteproc: qcom: Fix potential NULL dereference in adsp_init_mmio()
    6f597c451e07 remoteproc: qcom: fix reference leak in adsp_start
    f61bce4bc833 remoteproc: q6v5-mss: fix error handling in q6v5_pds_enable
    9b54e31fd08f RDMA/core: Do not indicate device ready when device enablement fails
    e6323070bdc7 can: m_can: m_can_config_endisable(): remove double clearing of clock stop request bit
    6daf2d466380 erofs: avoid using generic_block_bmap
    35e2bec96488 iwlwifi: mvm: hook up missing RX handlers
    857b1403c3e5 s390/cio: fix use-after-free in ccw_device_destroy_console
    be4d879cb7c4 bus: fsl-mc: fix error return code in fsl_mc_object_allocate()
    9b4f327c0746 platform/chrome: cros_ec_spi: Don't overwrite spi::mode
    070c57885ec3 x86/kprobes: Restore BTF if the single-stepping is cancelled
    353b19562a03 nfs_common: need lock during iterate through the list
    48ed3e57ad58 nfsd: Fix message level for normal termination
    b4ac244716f3 speakup: fix uninitialized flush_lock
    989d52723643 usb: oxu210hp-hcd: Fix memory leak in oxu_create
    2addd726083f usb: ehci-omap: Fix PM disable depth umbalance in ehci_hcd_omap_probe
    3f72486cecec powerpc/mm: sanity_check_fault() should work for all, not only BOOK3S
    a696ed262e83 ASoC: amd: change clk_get() to devm_clk_get() and add missed checks
    972db497be45 drm/mediatek: avoid dereferencing a null hdmi_phy on an error message
    ef55a3c384cc powerpc/pseries/hibernation: remove redundant cacheinfo update
    c4115721d1f0 powerpc/pseries/hibernation: drop pseries_suspend_begin() from suspend ops
    570697132c2c platform/x86: mlx-platform: Fix item counter assignment for MSN2700, MSN24xx systems
    a247efe47743 scsi: fnic: Fix error return code in fnic_probe()
    0e724f2e80ba seq_buf: Avoid type mismatch for seq_buf_init
    0b93626d3965 scsi: pm80xx: Fix error return in pm8001_pci_probe()
    79e14f1c323c scsi: qedi: Fix missing destroy_workqueue() on error in __qedi_probe
    172bb906202f arm64: dts: meson: g12a: x96-max: fix PHY deassert timing requirements
    13f4c61d2f5c ARM: dts: meson: fix PHY deassert timing requirements
    154105c0ba56 arm64: dts: meson: fix PHY deassert timing requirements
    62b240d2644e Bluetooth: btmtksdio: Add the missed release_firmware() in mtk_setup_firmware()
    097c4d9921b2 Bluetooth: btusb: Add the missed release_firmware() in btusb_mtk_setup_firmware()
    3d3caa8e971d cpufreq: scpi: Add missing MODULE_ALIAS
    6e34c9478fe5 cpufreq: loongson1: Add missing MODULE_ALIAS
    3e3feeb0d2ba cpufreq: sun50i: Add missing MODULE_DEVICE_TABLE
    ef802b5a5e26 cpufreq: st: Add missing MODULE_DEVICE_TABLE
    742697643c94 cpufreq: qcom: Add missing MODULE_DEVICE_TABLE
    c9d204c02825 cpufreq: mediatek: Add missing MODULE_DEVICE_TABLE
    f3754eec127d cpufreq: highbank: Add missing MODULE_DEVICE_TABLE
    e32836221017 cpufreq: ap806: Add missing MODULE_DEVICE_TABLE
    3b6ba2fe6524 clocksource/drivers/arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI
    b4219894d154 clocksource/drivers/arm_arch_timer: Use stable count reader in erratum sne
    e223cf39b928 phy: renesas: rcar-gen3-usb2: disable runtime pm in case of failure
    675b3ba9cc96 dm ioctl: fix error return code in target_message
    d863d76536df ASoC: jz4740-i2s: add missed checks for clk_get()
    1b760dc9d967 net/mlx5: Properly convey driver version to firmware
    a64822872957 MIPS: Don't round up kernel sections size for memblock_add()
    33eeb395515d memstick: r592: Fix error return in r592_probe()
    e39b37d6a2ce arm64: dts: rockchip: Fix UART pull-ups on rk3328
    33892a3797f1 pinctrl: falcon: add missing put_device() call in pinctrl_falcon_probe()
    08e22710601a bpf: Fix bpf_put_raw_tracepoint()'s use of __module_address()
    e02d218aa63d ARM: dts: at91: sama5d2: map securam as device
    da8890329599 iio: hrtimer-trigger: Mark hrtimer to expire in hard interrupt context
    d903b80e1abc clocksource/drivers/cadence_ttc: Fix memory leak in ttc_setup_clockevent()
    742d5de6c2fc clocksource/drivers/orion: Add missing clk_disable_unprepare() on error path
    40f9ac2b0295 powerpc/64: Fix an EMIT_BUG_ENTRY in head_64.S
    4968cc5ed0c0 powerpc/perf: Fix crash with is_sier_available when pmu is not set
    b0483a32d163 media: saa7146: fix array overflow in vidioc_s_audio()
    bfdf000e5dd9 hwmon: (ina3221) Fix PM usage counter unbalance in ina3221_write_enable
    a0f07c9ad72d vfio-pci: Use io_remap_pfn_range() for PCI IO memory
    5ac81a4e5fa3 selftests/seccomp: Update kernel config
    0588b8a03469 NFS: switch nfsiod to be an UNBOUND workqueue.
    1094bd2edaa2 lockd: don't use interval-based rebinding over TCP
    cbb0a57326b8 net: sunrpc: Fix 'snprintf' return value check in 'do_xprt_debugfs'
    a0842124422e NFSv4: Fix the alignment of page data in the getdeviceinfo reply
    73892eef6d9e SUNRPC: xprt_load_transport() needs to support the netid "rdma6"
    2823b8979375 NFSv4.2: condition READDIR's mask for security label based on LSM state
    04e9c169810c SUNRPC: rpc_wake_up() should wake up tasks in the correct order
    a3ac7dd8b16b ath10k: Release some resources in an error handling path
    6b6edd2c072b ath10k: Fix an error handling path
    e856abba7fca ath10k: Fix the parsing error in service available event
    f4935d3c7b57 platform/x86: dell-smbios-base: Fix error return code in dell_smbios_init
    3d64e8ce592b ARM: dts: at91: at91sam9rl: fix ADC triggers
    09347a537cc7 soc: amlogic: canvas: add missing put_device() call in meson_canvas_get()
    8424a5b661ca arm64: dts: meson-sm1: fix typo in opp table
    f4951cb10668 arm64: dts: meson: fix spi-max-frequency on Khadas VIM2
    49b563bfdd66 PCI: iproc: Fix out-of-bound array accesses
    4ef5a46d2964 PCI: Fix overflow in command-line resource alignment requests
    048b98083c27 PCI: Bounds-check command-line resource alignment requests
    72577f162cae arm64: dts: qcom: c630: Polish i2c-hid devices
    a554b68baf27 arm64: dts: ls1028a: fix ENETC PTP clock input
    a85f3e7cb717 genirq/irqdomain: Don't try to free an interrupt that has no mapping
    2f00dcc6ce7a power: supply: bq24190_charger: fix reference leak
    e230e193c966 power: supply: axp288_charger: Fix HP Pavilion x2 10 DMI matching
    8e9678d9d131 arm64: dts: rockchip: Set dr_mode to "host" for OTG on rk3328-roc-cc
    11f007a5583d arm64: dts: armada-3720-turris-mox: update ethernet-phy handle name
    5a551ef11669 ARM: dts: Remove non-existent i2c1 from 98dx3236
    15305a5b103d HSI: omap_ssi: Don't jump to free ID in ssi_add_controller()
    ec30659ea631 slimbus: qcom-ngd-ctrl: Avoid sending power requests without QMI
    76170933d3da media: max2175: fix max2175_set_csm_mode() error code
    5873beee8744 mips: cdmm: fix use-after-free in mips_cdmm_bus_discover
    51795c385f73 media: imx214: Fix stop streaming
    ceff135b9d93 samples: bpf: Fix lwt_len_hist reusing previous BPF map
    4dc1360203c4 platform/x86: mlx-platform: Remove PSU EEPROM from MSN274x platform configuration
    3432883ae896 platform/x86: mlx-platform: Remove PSU EEPROM from default platform configuration
    c14a740743f7 media: siano: fix memory leak of debugfs members in smsdvb_hotplug
    6b93d6c5a888 arm64: tegra: Fix DT binding for IO High Voltage entry
    b0f1878c2d88 dmaengine: mv_xor_v2: Fix error return code in mv_xor_v2_probe()
    46f8c7961168 cw1200: fix missing destroy_workqueue() on error in cw1200_init_common
    f2e7f608b274 rsi: fix error return code in rsi_reset_card()
    f7a6e378fc17 qtnfmac: fix error return code in qtnf_pcie_probe()
    d2b95947720d orinoco: Move context allocation after processing the skb
    e39908568b40 mmc: pxamci: Fix error return code in pxamci_probe
    65f0d3c81c9f ARM: dts: at91: sama5d3_xplained: add pincontrol for USB Host
    c2aab53d1be5 ARM: dts: at91: sama5d4_xplained: add pincontrol for USB Host
    8ce91557023e memstick: fix a double-free bug in memstick_check
    4279ff6deaf3 RDMA/cxgb4: Validate the number of CQEs
    d3ff603c2e38 clk: meson: Kconfig: fix dependency for G12A
    2fbd2b0dd7d1 Input: omap4-keypad - fix runtime PM error handling
    ff3a152243f8 drivers: soc: ti: knav_qmss_queue: Fix error return code in knav_queue_probe
    e16e8cde2bb1 soc: ti: Fix reference imbalance in knav_dma_probe
    475b489b0713 soc: ti: knav_qmss: fix reference leak in knav_queue_probe
    82b9934e1e7a spi: fix resource leak for drivers without .remove callback
    70e19fccf680 crypto: omap-aes - Fix PM disable depth imbalance in omap_aes_probe
    c549355105d9 crypto: crypto4xx - Replace bitwise OR with logical OR in crypto4xx_build_pd
    3e08a61b2f94 EDAC/mce_amd: Use struct cpuinfo_x86.cpu_die_id for AMD NodeId
    0789349204a6 powerpc/feature: Fix CPU_FTRS_ALWAYS by removing CPU_FTRS_GENERIC_32
    90b39366d834 powerpc: Avoid broken GCC __attribute__((optimize))
    8f6e6ec101dd selftests/bpf: Fix broken riscv build
    6f8c6e70738a spi: mxs: fix reference leak in mxs_spi_probe
    5df04553ee8c usb/max3421: fix return error code in max3421_probe()
    e6405aad3592 Input: ads7846 - fix unaligned access on 7845
    920c379029f9 Input: ads7846 - fix integer overflow on Rt calculation
    c7ac50927300 Input: ads7846 - fix race that causes missing releases
    86398df4b283 drm/omap: dmm_tiler: fix return error code in omap_dmm_probe()
    e8cd88c3ab00 video: fbdev: atmel_lcdfb: fix return error code in atmel_lcdfb_of_init()
    953379fb7ba3 media: solo6x10: fix missing snd_card_free in error handling case
    c64d2e159829 scsi: core: Fix VPD LUN ID designator priorities
    efb57c87d8d8 ASoC: meson: fix COMPILE_TEST error
    2c06ac46f81c media: v4l2-fwnode: Return -EINVAL for invalid bus-type
    d8d35c1ea883 media: mtk-vcodec: add missing put_device() call in mtk_vcodec_init_enc_pm()
    c8adf58057b6 media: mtk-vcodec: add missing put_device() call in mtk_vcodec_release_dec_pm()
    c5c403db137f media: mtk-vcodec: add missing put_device() call in mtk_vcodec_init_dec_pm()
    06a3c11c173b media: tm6000: Fix sizeof() mismatches
    1638c7e3985b staging: gasket: interrupt: fix the missed eventfd_ctx_put() in gasket_interrupt.c
    aa1d8b959455 staging: greybus: codecs: Fix reference counter leak in error handling
    5daf659fdf47 crypto: qat - fix status check in qat_hal_put_rel_rd_xfer()
    38017f2c06cf MIPS: BCM47XX: fix kconfig dependency bug for BCM47XX_BCMA
    9e779e6fae58 RDMa/mthca: Work around -Wenum-conversion warning
    648b9dd270ff ASoC: arizona: Fix a wrong free in wm8997_probe
    7e8200d44200 spi: sprd: fix reference leak in sprd_spi_remove
    c786bc725d8c ASoC: wm8998: Fix PM disable depth imbalance on error
    06fa588c7921 selftest/bpf: Add missed ip6ip6 test back
    dab5973ada6b mwifiex: fix mwifiex_shutdown_sw() causing sw reset failure
    404aadf45c71 spi: bcm63xx-hsspi: fix missing clk_disable_unprepare() on error in bcm63xx_hsspi_resume
    769c2fecefd1 spi: tegra114: fix reference leak in tegra spi ops
    47595d68cee2 spi: tegra20-sflash: fix reference leak in tegra_sflash_resume
    f9e5e84eb49f spi: tegra20-slink: fix reference leak in slink ops of tegra20
    0a3196271b40 spi: mt7621: fix missing clk_disable_unprepare() on error in mt7621_spi_probe
    a2cf358aacf5 spi: spi-ti-qspi: fix reference leak in ti_qspi_setup
    25b5a48adabf Bluetooth: hci_h5: fix memory leak in h5_close
    5cf3c2e7892e Bluetooth: Fix null pointer dereference in hci_event_packet()
    d92b81fad01c arm64: dts: exynos: Correct psci compatible used on Exynos7
    da8d84637522 arm64: dts: exynos: Include common syscon restart/poweroff for Exynos7
    8f14da44523c brcmfmac: Fix memory leak for unpaired brcmf_{alloc/free}
    5c5b92c1d6ab spi: stm32: fix reference leak in stm32_spi_resume
    c807042f2d58 selinux: fix inode_doinit_with_dentry() LABEL_INVALID error handling
    ae54a6d99478 ASoC: pcm: DRAIN support reactivation
    009a982ea25b spi: spi-mem: fix reference leak in spi_mem_access_start
    68ad1bd244bd drm/msm/dsi_pll_10nm: restore VCO rate during restore_state
    0a8f14baed8e f2fs: call f2fs_get_meta_page_retry for nat page
    311da238f2f7 spi: img-spfi: fix reference leak in img_spfi_resume
    4e20cee19c2e powerpc/64: Set up a kernel stack for secondaries before cpu_restore()
    3988d96589d9 drm/amdgpu: fix build_coefficients() argument
    a4110e76e550 ARM: dts: aspeed: tiogapass: Remove vuart
    129df833e15c ASoC: sun4i-i2s: Fix lrck_period computation for I2S justified mode
    9edff753ade7 crypto: inside-secure - Fix sizeof() mismatch
    7044a69699f3 crypto: talitos - Fix return type of current_desc_hdr()
    8a73ee0a0a1e crypto: talitos - Endianess in current_desc_hdr()
    b9b8429042bd drm/amdgpu: fix incorrect enum type
    52f525f2bdc7 sched: Reenable interrupts in do_sched_yield()
    35975f2e83a5 sched/deadline: Fix sched_dl_global_validate()
    a3ec54b95c1a x86/apic: Fix x2apic enablement without interrupt remapping
    b7ec74246c32 ARM: p2v: fix handling of LPAE translation in BE mode
    0a72e7286c67 x86/mm/ident_map: Check for errors from ident_pud_init()
    0fd78ab5ef71 RDMA/rxe: Compute PSN windows correctly
    35f18561616f ARM: dts: aspeed: s2600wf: Fix VGA memory region location
    4aae08a71e68 selinux: fix error initialization in inode_doinit_with_dentry()
    de49a51e7938 rtc: pcf2127: fix pcf2127_nvmem_read/write() returns
    57df1b39d990 RDMA/bnxt_re: Set queue pair state when being queried
    e11c7d39fa7e Revert "i2c: i2c-qcom-geni: Fix DMA transfer race"
    4b3ee79fbe77 soc: qcom: geni: More properly switch to DMA mode
    d3bed198333a soc: mediatek: Check if power domains can be powered on at boot time
    fcb0be5ba2e9 soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains()
    38cded30497a arm64: dts: renesas: cat875: Remove rxc-skew-ps from ethernet-phy node
    14be28959f69 arm64: dts: renesas: hihope-rzg2-ex: Drop rxc-skew-ps from ethernet-phy node
    c2712546a6e0 drm/tve200: Fix handling of platform_get_irq() error
    f61e9dbb56ba drm/mcde: Fix handling of platform_get_irq() error
    29f34feb3860 drm/aspeed: Fix Kconfig warning & subsequent build errors
    37028b8bc53d drm/gma500: fix double free of gma_connector
    de630248e740 md: fix a warning caused by a race between concurrent md_ioctl()s
    054be9aed847 crypto: af_alg - avoid undefined behavior accessing salg_name
    5a225303a68f media: msi2500: assign SPI bus number dynamically
    01182045346a quota: Sanity-check quota file headers on load
    df95ea1228cc Bluetooth: Fix slab-out-of-bounds read in hci_le_direct_adv_report_evt()
    cda2f222e7e4 serial_core: Check for port state when tty is in error state
    863cab3017bc HID: i2c-hid: add Vero K147 to descriptor override
    fd819f54065c scsi: megaraid_sas: Check user-provided offsets
    152631f0273f coresight: etb10: Fix possible NULL ptr dereference in etb_enable_perf()
    4c461e8d0e88 coresight: tmc-etr: Fix barrier packet insertion for perf buffer
    e81884d45a70 coresight: tmc-etr: Check if page is valid before dma_map_page()
    ec13738c6ec6 coresight: tmc-etf: Fix NULL ptr dereference in tmc_enable_etf_sink_perf()
    d923c0ec1292 ARM: dts: exynos: fix USB 3.0 pins supply being turned off on Odroid XU
    43598dbdcbf0 ARM: dts: exynos: fix USB 3.0 VBUS control and over-current pins on Exynos5410
    2c6f6cd2cdfb ARM: dts: exynos: fix roles of USB 3.0 ports on Odroid XU
    4202cbbd2c4d usb: chipidea: ci_hdrc_imx: Pass DISABLE_DEVICE_STREAMING flag to imx6ul
    8e19cfae3bb0 USB: gadget: f_rndis: fix bitrate for SuperSpeed and above
    8c124b35a53b usb: gadget: f_fs: Re-use SS descriptors for SuperSpeedPlus
    3389281e0e6e USB: gadget: f_midi: setup SuperSpeed Plus descriptors
    0ddb1d96a5db USB: gadget: f_acm: add support for SuperSpeed Plus
    9ad41aa399db USB: serial: option: add interface-number sanity check to flag handling
    57e22590c41b usb: mtu3: fix memory corruption in mtu3_debugfs_regset()
    80cb94507054 soc/tegra: fuse: Fix index bug in get_process_id
    037c65990d76 kbuild: avoid split lines in .mod files
    a803ea15b0dc perf/x86/intel: Check PEBS status correctly
    12db619c91d7 drm/amd/display: Init clock value by current vbios CLKs
    c137a880ae6c iwlwifi: pcie: add one missing entry for AX210
    e124c5afaf88 dm table: Remove BUG_ON(in_interrupt())
    8a89abb26e30 scsi: mpt3sas: Increase IOCInit request timeout to 30s
    cd14a53938e0 vxlan: Copy needed_tailroom from lowerdev
    0b9ce087f75b vxlan: Add needed_headroom for lower device
    230290dca255 arm64: syscall: exit userspace before unmasking exceptions
    34c07547dbe5 habanalabs: put devices before driver removal
    be063ce1004c drm/tegra: sor: Disable clocks on error in tegra_sor_init()
    9b6ebb202bbb kernel/cpu: add arch override for clear_tasks_mm_cpumask() mm handling
    d8baf15b2196 drm/tegra: replace idr_init() by idr_init_base()
    76812738841c net: mvpp2: add mvpp2_phylink_to_port() helper
    6aa270eb2f90 selftests: fix poll error in udpgro.sh
    0e2b048ffe44 ixgbe: avoid premature Rx buffer reuse
    75bbe7bd9003 i40e: avoid premature Rx buffer reuse
    b05fdd74ffb7 i40e: optimise prefetch page refcount
    405bfd36f072 i40e: Refactor rx_bi accesses
    6935f5385f75 RDMA/cm: Fix an attempt to use non-valid pointer when cleaning timewait
    2107658d6d62 selftests/bpf/test_offload.py: Reset ethtool features after failed setting
    3b79aea56dff netfilter: nft_ct: Remove confirmation check for NFT_CT_ID
    0a652b181d75 gpio: eic-sprd: break loop when getting NULL device resource
    2ebb2df149d4 Revert "gpio: eic-sprd: Use devm_platform_ioremap_resource()"
    64795af3bdc7 afs: Fix memory leak when mounting with multiple source parameters
    6581512f0afc netfilter: nft_dynset: fix timeouts later than 23 days
    810bc556e347 netfilter: nft_compat: make sure xtables destructors have run
    b17244cebb24 netfilter: x_tables: Switch synchronization to RCU
    22faec182eec pinctrl: aspeed: Fix GPIO requests on pass-through banks
    f7e6636831df blk-mq: In blk_mq_dispatch_rq_list() "no budget" is a reason to kick
    4f3e3fa6239d block: factor out requeue handling from dispatch code
    9e54ca3d4f9d block: Simplify REQ_OP_ZONE_RESET_ALL handling
    71e0f9c5c3df clk: renesas: r9a06g032: Drop __packed for portability
    43a373488e92 can: softing: softing_netdev_open(): fix error handling
    36f460d51ac5 xsk: Replace datagram_poll by sock_poll_wait
    50ae52e07d2b xsk: Fix xsk_poll()'s return type
    369ed255958f scsi: bnx2i: Requires MMU
    e190d1b3c4d2 gpio: mvebu: fix potential user-after-free on probe
    ec64dea576d5 gpio: zynq: fix reference leak in zynq_gpio functions
    823f42bd6193 PM: runtime: Add pm_runtime_resume_and_get to deal with usage counter
    74e38f86ab53 ARM: dts: imx6qdl-kontron-samx6i: fix I2C_PM scl pin
    f7fbde0f0b14 ARM: dts: imx6qdl-wandboard-revd1: Remove PAD_GPIO_6 from enetgrp
    4b008707bac4 ARM: dts: sun7i: pcduino3-nano: enable RGMII RX/TX delay on PHY
    76c475d5d788 ARM: dts: sun8i: v3s: fix GIC node memory range
    9ebc986a2ea5 pinctrl: baytrail: Avoid clearing debounce value when turning it off
    e2556e022897 pinctrl: merrifield: Set default bias in case no particular value given
    2ec85a7a5adf ARM: dts: sun8i: v40: bananapi-m2-berry: Fix ethernet node
    9f69f6f85288 ARM: dts: sun8i: r40: bananapi-m2-berry: Fix dcdc1 regulator
    389033996cec ARM: dts: sun7i: bananapi: Enable RGMII RX/TX delay on Ethernet PHY

(From OE-Core rev: b29d1016f2761aefa15e38a86263fb03c46ec1d7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Bruce Ashfield
28fa8a0ad7 linux-yocto/5.10: update to v5.10.5
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    f5247949c0a9 Linux 5.10.5
    12d377b93eef device-dax: Fix range release
    aceb8ae8e3b1 ext4: avoid s_mb_prefetch to be zero in individual scenarios
    aff18aa806fd dm verity: skip verity work if I/O error when system is shutting down
    610d2fa0ec76 ALSA: pcm: Clear the full allocated memory at hw_params
    c7b04d27c910 io_uring: remove racy overflow list fast checks
    13f9eec22973 s390: always clear kernel stack backchain before calling functions
    330c1ee7d593 tick/sched: Remove bogus boot "safety" check
    9b22bc0f1663 drm/amd/display: updated wm table for Renoir
    86be0f2a0ef9 ceph: fix inode refcount leak when ceph_fill_inode on non-I_NEW inode fails
    8bcfa178f92a NFSv4.2: Don't error when exiting early on a READ_PLUS buffer overflow
    ef3b9ad967d0 um: ubd: Submit all data segments atomically
    a8b49c4bdf87 um: random: Register random as hwrng-core device
    0aa2eecf8534 watchdog: rti-wdt: fix reference leak in rti_wdt_probe
    eae1fb3bc565 fs/namespace.c: WARN if mnt_count has become negative
    b1e155ccc882 powerpc/64: irq replay remove decrementer overflow check
    8b5b2b768344 module: delay kobject uevent until after module init call
    db6129f6ad88 f2fs: fix race of pending_pages in decompression
    ee3f8aefd037 f2fs: avoid race condition for shrinker count
    3c0f0f5f58a7 NFSv4: Fix a pNFS layout related use-after-free race when freeing the inode
    06ac2ca0989d i3c master: fix missing destroy_workqueue() on error in i3c_master_register
    498d90690f24 powerpc: sysdev: add missing iounmap() on error in mpic_msgr_probe()
    acc3c8cc27a8 rtc: pl031: fix resource leak in pl031_probe
    26058c397b9f quota: Don't overflow quota file offsets
    bb2ab902f6f0 module: set MODULE_STATE_GOING state when a module fails to load
    0ad9a6e6139d rtc: sun6i: Fix memleak in sun6i_rtc_clk_init
    b5a2f093b6b1 io_uring: check kthread stopped flag when sq thread is unparked
    908030501772 fcntl: Fix potential deadlock in send_sig{io, urg}()
    721972b8665f ext4: check for invalid block size early when mounting a file system
    8ed894f1117e bfs: don't use WARNING: string when it's just info.
    fb05e983eaf7 ALSA: rawmidi: Access runtime->avail always in spinlock
    cf7fe671cd7e ALSA: seq: Use bool for snd_seq_queue internal flags
    1c5a034710da f2fs: fix shift-out-of-bounds in sanity_check_raw_super()
    2b56f16e3487 media: gp8psk: initialize stats at power control logic
    f290cffdf761 misc: vmw_vmci: fix kernel info-leak by initializing dbells in vmci_ctx_get_chkpt_doorbells()
    a021b6696132 reiserfs: add check for an invalid ih_entry_count
    397971e1d891 fbcon: Disable accelerated scrolling
    df83b9b67449 Bluetooth: hci_h5: close serdev device and free hu in h5_close
    9d4053cfb3f3 scsi: cxgb4i: Fix TLS dependency
    fdac87be009f zlib: move EXPORT_SYMBOL() and MODULE_LICENSE() out of dfltcc_syms.c
    bf81221a40fa cgroup: Fix memory leak when parsing multiple source parameters
    9154d2eeb4f5 tools headers UAPI: Sync linux/const.h with the kernel headers
    e8afbbac2f68 uapi: move constants from <linux/kernel.h> to <linux/const.h>
    ce00a7d0d952 io_uring: fix io_sqe_files_unregister() hangs
    b25b86936a8d io_uring: add a helper for setting a ref node
    25a2de679b5d io_uring: use bottom half safe lock for fixed file data
    7247bc60e8e1 io_uring: don't assume mm is constant across submits
    a5184f3cc284 lib/zlib: fix inflating zlib streams on s390
    98b57685c26d mm: memmap defer init doesn't work as expected
    df73c80338ef mm/hugetlb: fix deadlock in hugetlb_cow error path
    092898b070e0 scsi: block: Fix a race in the runtime power management code
    1a58c171a523 opp: Call the missing clk_put() on error
    e8322837a2e5 opp: fix memory leak in _allocate_opp_table
    c6dd62c14b32 spi: dw-bt1: Fix undefined devm_mux_control_get symbol
    6d63cc42bb8f jffs2: Fix NULL pointer dereference in rp_size fs option parsing
    58dc34446c52 jffs2: Allow setting rp_size to zero during remounting
    52504a61ab99 io_uring: close a small race gap for files cancel
    8b8a688260b4 drm/amd/display: Add get_dig_frontend implementation for DCEx
    5ef98378eff8 md/raid10: initialize r10_bio->read_slot before use.
    62162b322364 ethtool: fix string set id check
    95fcb69c491e ethtool: fix error paths in ethnl_set_channels()
    aeab3d7a04f8 mptcp: fix security context on server socket
    a969a632cbe7 net/sched: sch_taprio: reset child qdiscs before freeing them

(From OE-Core rev: f091d74c76b5843b9077b21a9d6dff81fecd6e54)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Bruce Ashfield
d935589f05 linux-yocto/5.10: update to v5.10.4
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    b1313fe517ca Linux 5.10.4
    700d098acec5 x86/CPU/AMD: Save AMD NodeId as cpu_die_id
    bb25fd492693 drm/edid: fix objtool warning in drm_cvt_modes()
    c13edadf1029 null_blk: Fail zone append to conventional zones
    92ee9b9fa8a4 null_blk: Fix zone size initialization
    2bbb32065694 Revert: "ring-buffer: Remove HAVE_64BIT_ALIGNED_ACCESS"
    783c5d48b22f rtc: ep93xx: Fix NULL pointer dereference in ep93xx_rtc_read_time
    b98ce1a17266 thermal/drivers/cpufreq_cooling: Update cpufreq_state only if state has changed
    450fc74de129 remoteproc: sysmon: Ensure remote notification ordering
    3f4b60a70c56 regulator: axp20x: Fix DLDO2 voltage control register mask for AXP22x
    39a6f4bef6a5 PCI: Fix pci_slot_release() NULL pointer dereference
    94bc6f5e2c14 of: fix linker-section match-table corruption
    680e7b2a0e09 mt76: add back the SUPPORTS_REORDERING_BUFFER flag
    f2d7cffc20f6 tracing: Disable ftrace selftests when any tracer is running
    054c923fd376 platform/x86: intel-vbtn: Allow switch events on Acer Switch Alpha 12
    16ecf8cecdd1 libnvdimm/namespace: Fix reaping of invalidated block-window-namespace labels
    ea43135a3cb2 memory: renesas-rpc-if: Fix unbalanced pm_runtime_enable in rpcif_{enable,disable}_rpm
    4f826e66b067 memory: renesas-rpc-if: Return correct value to the caller of rpcif_manual_xfer()
    739704940425 memory: renesas-rpc-if: Fix a node reference leak in rpcif_probe()
    e6fc90d170df memory: jz4780_nemc: Fix an error pointer vs NULL check in probe()
    c88347ae9364 xenbus/xenbus_backend: Disallow pending watch messages
    1a72241aabcb xen/xenbus: Count pending messages for each watch
    6835334e1546 xen/xenbus/xen_bus_type: Support will_handle watch callback
    9ae6d2f4ca8a xen/xenbus: Add 'will_handle' callback support in xenbus_watch_path()
    b4898bdd2020 xen/xenbus: Allow watches discard events before queueing
    aadd67750f43 xen-blkback: set ring->xenblkd to NULL after kthread_stop()
    c26062328e72 driver: core: Fix list corruption after device_del()
    0c500d6a5c7a dma-buf/dma-resv: Respect num_fences when initializing the shared fence list.
    224adad2c975 device-dax/core: Fix memory leak when rmmod dax.ko
    1e75951e9b43 counter: microchip-tcb-capture: Fix CMR value check
    b11905a3b977 clk: tegra: Do not return 0 on failure
    db003855f7d1 clk: mvebu: a3700: fix the XTAL MODE pin to MPP1_9
    070e386727fd clk: ingenic: Fix divider calculation with div tables
    dcea0b3835df pinctrl: sunxi: Always call chained_irq_{enter, exit} in sunxi_pinctrl_irq_handler
    d27d1942e173 md/cluster: fix deadlock when node is doing resync job
    3ace8d52ee4a md/cluster: block reshape with remote resync job
    c1f4549a7399 iio:adc:ti-ads124s08: Fix alignment and data leak issues.
    c834798d783e iio:adc:ti-ads124s08: Fix buffer being too long.
    1d14e2f4ca00 iio:imu:bmi160: Fix alignment and data leak issues
    f57464c4037b iio:imu:bmi160: Fix too large a buffer.
    5550e16128ed iio:pressure:mpl3115: Force alignment of buffer
    c02f8e0ef056 iio:magnetometer:mag3110: Fix alignment and data leak issues.
    2409bfd6e344 iio:light:st_uvis25: Fix timestamp alignment and prevent data leak.
    45ebad3dc057 iio:light:rpr0521: Fix timestamp alignment and prevent data leak.
    6e94b8314c1f iio: imu: st_lsm6dsx: fix edge-trigger interrupts
    160ec8afa7cf iio: adc: rockchip_saradc: fix missing clk_disable_unprepare() on error in rockchip_saradc_resume
    2adb3f8bcc29 iio: buffer: Fix demux update
    aa606ebab122 openat2: reject RESOLVE_BENEATH|RESOLVE_IN_ROOT
    da65881cecf5 scsi: lpfc: Re-fix use after free in lpfc_rq_buf_free()
    d234a0e76c74 scsi: lpfc: Fix scheduling call while in softirq context in lpfc_unreg_rpi
    0af3d9342c32 scsi: lpfc: Fix invalid sleeping context in lpfc_sli4_nvmet_alloc()
    6a6754485b0c scsi: qla2xxx: Fix crash during driver load on big endian machines
    3e7312ba3e31 mtd: rawnand: meson: fix meson_nfc_dma_buffer_release() arguments
    392a56b9f2c5 mtd: rawnand: qcom: Fix DMA sync on FLASH_STATUS register read
    d5e3fc275ea1 mtd: core: Fix refcounting for unpartitioned MTDs
    9e43463d5a97 mtd: parser: cmdline: Fix parsing of part-names with colons
    baad618d078c mtd: spinand: Fix OOB read
    3bcf02208e9e soc: qcom: smp2p: Safely acquire spinlock without IRQs
    785eee857dba spi: atmel-quadspi: Fix AHB memory accesses
    e7351d8c7804 spi: atmel-quadspi: Disable clock in probe error path
    671ad53ff3d5 spi: mt7621: Don't leak SPI master in probe error path
    81950b6fbf32 spi: mt7621: Disable clock in probe error path
    7efdae0bd6cf spi: synquacer: Disable clock in probe error path
    e932dce770ec spi: st-ssc4: Fix unbalanced pm_runtime_disable() in probe error path
    186147729d83 spi: spi-qcom-qspi: Fix use-after-free on unbind
    ad8a844fec32 spi: spi-geni-qcom: Fix use-after-free on unbind
    a4fd01eef86d spi: sc18is602: Don't leak SPI master in probe error path
    11b81d94f8df spi: rpc-if: Fix use-after-free on unbind
    a3e86ed72890 spi: rb4xx: Don't leak SPI master in probe error path
    cc5a0cb11450 spi: pic32: Don't leak DMA channels in probe error path
    a73ee1d8faff spi: npcm-fiu: Disable clock in probe error path
    3bf639fe0661 spi: mxic: Don't leak SPI master in probe error path
    0c2867db23e4 spi: gpio: Don't leak SPI master in probe error path
    ea923e72784e spi: fsl: fix use of spisel_boot signal on MPC8309
    4e80a2e96037 spi: davinci: Fix use-after-free on unbind
    bbba6b7a5357 spi: ar934x: Don't leak SPI master in probe error path
    f9fc76c394df spi: spi-mtk-nor: Don't leak SPI master in probe error path
    9be450fa3f46 spi: atmel-quadspi: Fix use-after-free on unbind
    672631640424 spi: spi-sh: Fix use-after-free on unbind
    14949322a14c spi: pxa2xx: Fix use-after-free on unbind
    067d9120a328 iio: ad_sigma_delta: Don't put SPI transfer buffer on the stack
    43be7c3b8192 drm/i915: Fix mismatch between misplaced vma check and vma insert
    f8357c910e41 drm/dp_aux_dev: check aux_dev before use in drm_dp_aux_dev_get_by_minor()
    ea64b21c6638 drm/amd/display: Fix memory leaks in S3 resume
    08a050c197ed drm/amdgpu: only set DP subconnector type on DP and eDP connectors
    898f999e940f platform/x86: mlx-platform: remove an unused variable
    86fcb7910df7 drm/panfrost: Move the GPU reset bits outside the timeout handler
    a61da034c5e9 drm/panfrost: Fix job timeout handling
    c2032bf94ba4 jfs: Fix array index bounds check in dbAdjTree
    41bf5eed809e fsnotify: fix events reported to watching parent and child
    5e78c6bd905e inotify: convert to handle_inode_event() interface
    c9be99c86191 fsnotify: generalize handle_inode_event()
    1aa8e7801ec2 jffs2: Fix ignoring mounting options problem during remounting
    ecdb868accde jffs2: Fix GC exit abnormally
    453f2dfa340f ubifs: wbuf: Don't leak kernel memory to flash
    6489b80239ad SMB3.1.1: do not log warning message if server doesn't populate salt
    639fd38197ee SMB3.1.1: remove confusing mount warning when no SPNEGO info on negprot rsp
    aa36952c5662 SMB3: avoid confusing warning message on mount to Azure
    db1c6b8a266e ceph: fix race in concurrent __ceph_remove_cap invocations
    ef82413937d1 um: Fix time-travel mode
    c4b425322134 um: Remove use of asprinf in umid.c
    0f2206e3d90a ima: Don't modify file descriptor mode on the fly
    7c8c9e1e53fa ovl: make ioctl() safe
    cd2eda58ea03 powerpc/powernv/memtrace: Fix crashing the kernel when enabling concurrently
    4b8dcb006e18 powerpc/powernv/memtrace: Don't leak kernel memory to user space
    8fe4bee4c0f6 powerpc/powernv/npu: Do not attempt NPU2 setup on POWER8NVL NPU
    600ebd043469 powerpc/mm: Fix verification of MMU_FTR_TYPE_44x
    a8b871dfacfb powerpc/8xx: Fix early debug when SMC1 is relocated
    8bc125f596d1 powerpc/xmon: Change printk() to pr_cont()
    2ae45223e46b powerpc/feature: Add CPU_FTR_NOEXECUTE to G2_LE
    fe534d76d450 powerpc/bitops: Fix possible undefined behaviour with fls() and fls64()
    e02baf91c7cc powerpc/rtas: Fix typo of ibm,open-errinjct in RTAS filter
    a4af71ae5a6b powerpc: Fix incorrect stw{, ux, u, x} instructions in __set_pte_at
    ac9911f8119d powerpc/32: Fix vmap stack - Properly set r1 before activating MMU on syscall too
    35f71f3cbd7d xprtrdma: Fix XDRBUF_SPARSE_PAGES support
    6a9a98fdd45e ARM: tegra: Populate OPP table for Tegra20 Ventana
    8a7899afed75 ARM: dts: at91: sama5d2: fix CAN message ram offset and size
    f02ba166a56d ARM: dts: pandaboard: fix pinmux for gpio user button of Pandaboard ES
    1dd44b5e5f20 iommu/arm-smmu-qcom: Implement S2CR quirk
    f48e7f77713e iommu/arm-smmu-qcom: Read back stream mappings
    3192e184ad94 iommu/arm-smmu: Allow implementation specific write_s2cr
    711081d7e096 KVM: SVM: Remove the call to sev_platform_status() during setup
    49830b2d1b91 KVM: x86: reinstate vendor-agnostic check on SPEC_CTRL cpuid bits
    e365b97a1576 KVM: arm64: Introduce handling of AArch32 TTBCR2 traps
    e0dad9a78c85 arm64: dts: marvell: keep SMMU disabled by default for Armada 7040 and 8040
    0403bf25a46d arm64: dts: ti: k3-am65: mark dss as dma-coherent
    72b5a6ace8a8 RISC-V: Fix usage of memblock_enforce_memory_limit
    0b3ade0b8686 ext4: don't remount read-only with errors=continue on reboot
    a8f8e6ae9744 ext4: fix deadlock with fs freezing and EA inodes
    d28f60699590 ext4: fix a memory leak of ext4_free_data
    bc0e046052b2 ext4: fix an IS_ERR() vs NULL check
    8f4bf6eea3f3 btrfs: fix race when defragmenting leads to unnecessary IO
    5c5bc5738be2 btrfs: update last_byte_to_unpin in switch_commit_roots
    56d1654dc2fe btrfs: do not shorten unpin len for caching block groups
    ed5e2515a3d6 USB: serial: keyspan_pda: fix write unthrottling
    28a9c268380a USB: serial: keyspan_pda: fix tx-unthrottle use-after-free
    df2754ae5f0e USB: serial: keyspan_pda: fix write-wakeup use-after-free
    1254104e1c43 USB: serial: keyspan_pda: fix stalled writes
    3a24c8cbb618 USB: serial: keyspan_pda: fix write deadlock
    24372050388d USB: serial: keyspan_pda: fix dropped unthrottle interrupts
    272c6a678efe USB: serial: digi_acceleport: fix write-wakeup deadlocks
    ddbb36cb3f2d USB: serial: mos7720: fix parallel-port state restore
    fe9db435d27e dyndbg: fix use before null check
    771b663fa532 cpuset: fix race between hotplug work and later CPU offline
    eae95da7fcc6 EDAC/amd64: Fix PCI component registration
    3a881be1b4e9 EDAC/i10nm: Use readl() to access MMIO registers
    d03b710d8eae Documentation: seqlock: s/LOCKTYPE/LOCKNAME/g
    29563a73819a m68k: Fix WARNING splat in pmac_zilog driver
    da446be71e3b crypto: arm/aes-ce - work around Cortex-A57/A72 silion errata
    c49bfdb52101 crypto: ecdh - avoid unaligned accesses in ecdh_set_secret()
    fef8633a85fb cpufreq: intel_pstate: Use most recent guaranteed performance values
    58b97af1768d powerpc/perf: Exclude kernel samples while counting events in user space.
    0b505007f93e perf/x86/intel/lbr: Fix the return type of get_lbr_cycles()
    2bc4ac17ece7 perf/x86/intel: Fix rtm_abort_event encoding on Ice Lake
    3fdd3589a263 perf/x86/intel: Add event constraint for CYCLE_ACTIVITY.STALLS_MEM_ANY
    746d179b0e66 z3fold: stricter locking and more careful reclaim
    b8b1d4e96a10 z3fold: simplify freeing slots
    e885d1c515da staging: comedi: mf6x4: Fix AI end-of-conversion detection
    6dcea0e5d277 ASoC: AMD Raven/Renoir - fix the PCI probe (PCI revision)
    f7d6aaca08c6 ASoC: AMD Renoir - add DMI table to avoid the ACP mic probe (broken BIOS)
    74a4802ff431 ASoC: cx2072x: Fix doubly definitions of Playback and Capture streams
    06da7fff7701 binder: add flag to clear buffer on txn complete
    983e7f3521f1 s390/dasd: fix list corruption of lcu list
    18494d12ef9b s390/dasd: fix list corruption of pavgroup group list
    96aca84128f2 s390/dasd: prevent inconsistent LCU device data
    a67e261b5b9e s390/dasd: fix hanging device offline processing
    24d9a8ef1f92 s390/idle: fix accounting with machine checks
    d5d21549d7eb s390/idle: add missing mt_cycles calculation
    bc8f8833e994 s390/kexec_file: fix diag308 subcode when loading crash kernel
    0063e1142a73 s390/smp: perform initial CPU reset also for SMT siblings
    bb9dc2f2e590 ALSA: core: memalloc: add page alignment for iram
    ac95e33828cd ALSA: usb-audio: Add alias entry for ASUS PRIME TRX40 PRO-S
    de8f8a38f222 ALSA: usb-audio: Disable sample read check if firmware doesn't give back
    92549c90ed0f ALSA: usb-audio: Add VID to support native DSD reproduction on FiiO devices
    11ba87db73b5 ALSA: hda/realtek - Supported Dell fixed type headset
    dab63c1908af ALSA: hda/realtek: Remove dummy lineout on Acer TravelMate P648/P658
    c131e56ac910 ALSA: hda/realtek: Apply jack fixup for Quanta NL3
    8a0e34b2739c ALSA: hda/realtek: Add quirk for MSI-GP73
    8fdb96104588 ALSA/hda: apply jack fixup for the Acer Veriton N4640G/N6640G/N2510G
    01b4436d0270 ALSA: pcm: oss: Fix a few more UBSAN fixes
    eae5f04c9346 ALSA: hda/realtek - Add supported for more Lenovo ALC285 Headset Button
    753f5e987ccd ALSA: hda/realtek - Enable headset mic of ASUS Q524UQK with ALC255
    c4be5cc0199e ALSA: hda/realtek - Enable headset mic of ASUS X430UN with ALC256
    8fcbbcdcdf23 ALSA: hda/realtek: make bass spk volume adjustable on a yoga laptop
    fa4b536033d6 ALSA: hda/ca0132 - Fix AE-5 rear headphone pincfg.
    66d7c29bcb43 ALSA: hda: Fix regressions on clear and reconfig sysfs
    66afcbcc7554 ACPI: PNP: compare the string length in the matching_id()
    c5f7d62440ee Revert "ACPI / resources: Use AE_CTRL_TERMINATE to terminate resources walks"
    0a9801f58ab2 PM: ACPI: PCI: Drop acpi_pm_set_bridge_wakeup()
    36fdd770c037 ACPI: NFIT: Fix input validation of bus-family
    3e437f7e7a76 ALSA: hda/ca0132 - Change Input Source enum strings.
    f5a430c8ee0b Input: cyapa_gen6 - fix out-of-bounds stack access
    3974a5004626 media: ipu3-cio2: Make the field on subdev format V4L2_FIELD_NONE
    dd9d14e067fb media: ipu3-cio2: Validate mbus format in setting subdev format
    ffa790f9e17e media: ipu3-cio2: Serialise access to pad format
    8a0f5b91e78c media: ipu3-cio2: Return actual subdev format
    6dbe4457e4d7 media: ipu3-cio2: Remove traces of returned buffers
    f3d752c6cd32 media: netup_unidvb: Don't leak SPI master in probe error path
    330787231015 media: sunxi-cir: ensure IR is handled when it is continuous
    7b81e2af5a55 io_uring: make ctx cancel on exit targeted to actual ctx
    5998fe548db9 io_uring: fix double io_uring free
    9f8ebecc86a4 io_uring: fix ignoring xa_store errors
    10e5fb03e2da io_uring: hold uring_lock while completing failed polled io in io_wq_submit_work()
    72a016d42d36 io_uring: fix 0-iov read buffer select
    b1442adcd964 io_uring: fix io_wqe->work_list corruption
    acdd941fca53 media: gspca: Fix memory leak in probe
    06e5f9bb114b vfio/pci/nvlink2: Do not attempt NPU2 setup on POWER8NVL NPU
    be9aaec325cb vfio/pci: Move dummy_resources_list init in vfio_pci_probe()
    cd13f1d002a6 io_uring: always let io_iopoll_complete() complete polled io
    f961c2b496e6 io_uring: fix racy IOPOLL completions
    821d12a15cc2 io_uring: fix io_cqring_events()'s noflush
    54677c80ba1c proc mountinfo: make splice available again
    8f939abd8119 Smack: Handle io_uring kernel thread privileges
    b2ec2b12a450 io_uring: cancel reqs shouldn't kill overflow list
    c0fd45a9a97e io_uring: fix racy IOPOLL flush overflow
    b931ea024e45 perf probe: Fix memory leak when synthesizing SDT probes
    7ca9c3919387 ARM: 9036/1: uncompress: Fix dbgadtb size parameter name
    bf7b8c112a93 ARM: 9044/1: vfp: use undef hook for VFP support detection
    3f27cb2e13a1 powerpc/smp: Add __init to init_big_cores()
    d670c4b43e3e powerpc/boot: Fix build of dts/fsl
    87c0d2ab8a8e kconfig: fix return value of do_error_if()
    edc71c5fe563 clk: vc5: Use "idt,voltage-microvolt" instead of "idt,voltage-microvolts"
    fdc8fe51a706 clk: sunxi-ng: Make sure divider tables have sentinel
    75b84dafb943 clk: s2mps11: Fix a resource leak in error handling paths in the probe function
    64f3af800c61 clk: at91: sam9x60: remove atmel,osc-bypass support
    fcf9b5fa1c9a clk: at91: sama7g5: fix compilation error
    4713787c1f9c clk: bcm: dvp: Add MODULE_DEVICE_TABLE()
    1afb979cdcee epoll: check for events when removing a timed out thread from the wait queue
    b7bc097f2908 vhost scsi: fix error return code in vhost_scsi_set_endpoint()
    dbdfefc71ae5 virtio_ring: Fix two use after free bugs
    78b35fd94cf9 virtio_net: Fix error code in probe()
    bfffbd34bb0a virtio_ring: Cut and paste bugs in vring_create_virtqueue_packed()
    069fedf3fba2 vdpa/mlx5: Use write memory barrier after updating CQ index
    8ae314300079 nfp: move indirect block cleanup to flower app stop callback
    466587ce57bf qlcnic: Fix error code in probe
    98c9b3aeff7d perf record: Fix memory leak when using '--user-regs=?' to list registers
    03cbbd564850 tools build: Add missing libcap to test-all.bin target
    a773dea1a9f2 io_uring: cancel only requests of current task
    4b148744090b pwm: sun4i: Remove erroneous else branch
    7c4544a216e3 pwm: imx27: Fix overflow for bigger periods
    2cacf60c9245 pwm: lp3943: Dynamically allocate PWM chip base
    00fb97e2d7c8 pwm: zx: Add missing cleanup in error path
    91877b1fb0da clk: ti: Fix memleak in ti_fapll_synth_setup
    43fc2d3a4a84 watchdog: coh901327: add COMMON_CLK dependency
    45867d2ee459 watchdog: qcom: Avoid context switch in restart handler
    a3c168082828 powerpc/32s: Fix cleanup_cpu_mmu_context() compile bug
    0572a4aa7415 libnvdimm/label: Return -ENXIO for no slot in __blk_label_update
    0eecef0fec4a devlink: use _BITUL() macro instead of BIT() in the UAPI header
    027112b2671b net: korina: fix return value
    de16a86c9d70 NFS/pNFS: Fix a typo in ff_layout_resend_pnfs_read()
    1b75aea3e360 block/rnbd-clt: Fix possible memleak
    996ce53a2af7 block/rnbd-clt: Get rid of warning regarding size argument in strlcpy
    e50eea719ff0 net: allwinner: Fix some resources leak in the error handling path of the probe and in the remove function
    8f995afae90a net: mscc: ocelot: Fix a resource leak in the error handling path of the probe function
    1e7524c981cc net: bcmgenet: Fix a resource leak in an error handling path in the probe functin
    5c0109f7794c dpaa2-eth: fix the size of the mapped SGT buffer
    d50170ac3054 net: dsa: qca: ar9331: fix sleeping function called from invalid context bug
    bc79bf6c581c i40e, xsk: clear the status bits for the next_to_use descriptor
    0c3d87fa50a6 ice, xsk: clear the status bits for the next_to_use descriptor
    f290c9bed144 lan743x: fix rx_napi_poll/interrupt ping-pong
    185640586280 s390/test_unwind: fix CALL_ON_STACK tests
    0633094ec7ff checkpatch: fix unescaped left brace
    b202ac9c7345 proc: fix lookup in /proc/net subdirectories after setns(2)
    bd3f4b6fd98c mm: don't wake kswapd prematurely when watermark boosting is disabled
    9b52a37fb348 hugetlb: fix an error code in hugetlb_reserve_pages()
    b7bf8ed8d177 mm,memory_failure: always pin the page in madvise_inject_error
    23713b480da1 mm/vmalloc.c: fix kasan shadow poisoning size
    4a9d8b0789e3 mm/vmalloc: Fix unlock order in s_stop()
    bbb7c059fd5e sparc: fix handling of page table constructor failure
    dd156e3fcabf mm/rmap: always do TTU_IGNORE_ACCESS
    6d48fff6d350 mm: memcg/slab: fix use after free in obj_cgroup_charge
    02314d05e8a0 mm: memcg/slab: fix return of child memcg objcg for root memcg
    cfde6c1810c9 mm/gup: combine put_compound_head() and unpin_user_page()
    537946556cc9 mm/gup: prevent gup_fast from racing with COW during fork
    bcb0f647c1fa mm/gup: reorganize internal_get_user_pages_fast()
    c51e3679ebb5 drm/amdgpu: fix regression in vbios reservation handling on headless
    33e8ef090bef perf test: Fix metric parsing test
    280f29c6bae1 powerpc/ps3: use dma_mapping_error()
    34169b582aa9 powerpc/perf: Fix Threshold Event Counter Multiplier width for P10
    b6fba53d44e8 drm: mxsfb: Silence -EPROBE_DEFER while waiting for bridge
    582e1021fb68 nfc: s3fwrn5: Release the nfc firmware
    04ca5e7fa40d RDMA/cma: Don't overwrite sgid_attr after device is released
    d9a7b8fcd083 RDMA/mlx5: Fix MR cache memory leak
    c02c1df4fbd8 sunrpc: fix xs_read_xdr_buf for partial pages receive
    d26a4edda515 um: chan_xterm: Fix fd leak
    48628ec96d2e um: tty: Fix handling of close in tty lines
    4553c8cecbef um: Monitor error events in IRQ controller
    0cc9725e4b25 ubifs: Fix error return code in ubifs_init_authentication()
    9dc1b44d4f96 watchdog: Fix potential dereferencing of null pointer
    17a3ee000334 watchdog: sprd: check busy bit before new loading rather than after that
    f71f75aceadb watchdog: sprd: remove watchdog disable from resume fail path
    2d42e0354db1 watchdog: sirfsoc: Add missing dependency on HAS_IOMEM
    118a8b7e4d57 watchdog: armada_37xx: Add missing dependency on HAS_IOMEM
    9721dd96e904 irqchip/qcom-pdc: Fix phantom irq when changing between rising/falling
    6003ff9ca725 ath11k: Fix incorrect tlvs in scan start command
    2d9284c18862 gpiolib: irq hooks: fix recursion in gpiochip_irq_unmask
    78d22dd98942 RDMA/hns: Do shift on traffic class when using RoCEv2
    44dd35a01730 RDMA/hns: Normalization the judgment of some features
    27f2d59a4a5c RDMA/hns: Limit the length of data copied between kernel and userspace
    567a8417b7fe dmaengine: ti: k3-udma: Correct normal channel offset when uchan_cnt is not 0
    1ce041fad241 irqchip/ti-sci-intr: Fix freeing of irqs
    629d6ba81ff2 irqchip/ti-sci-inta: Fix printing of inta id on probe success
    d05c219375b7 irqchip/alpine-msi: Fix freeing of interrupts on allocation error path
    ebfeeb104fac ASoC: wm_adsp: remove "ctl" from list on error in wm_adsp_create_control()
    7fcf1c13802f mac80211: fix a mistake check for rx_stats update
    1a889bda7d7c mac80211: don't set set TDLS STA bandwidth wider than possible
    7682cd97aa38 crypto: atmel-i2c - select CONFIG_BITREVERSE
    df1c37a8786b extcon: max77693: Fix modalias string
    9f5ab03f7fc5 fs: Handle I_DONTCACHE in iput_final() instead of generic_drop_inode()
    81ef603e8616 samples/bpf: Fix possible hang in xdpsock with multiple threads
    4d0721cb10aa mtd: rawnand: gpmi: Fix the random DMA timeout issue
    03c9406a3ef8 mtd: rawnand: meson: Fix a resource leak in init
    a50f5a6393e4 mtd: rawnand: gpmi: fix reference count leak in gpmi ops
    0440989a08a5 clk: tegra: Fix duplicated SE clock entry
    be5c560996ac clk: qcom: gcc-sc7180: Use floor ops for sdcc clks
    6ca59ab95f9f remoteproc/mediatek: unprepare clk if scp_before_load fails
    9d909187e538 remoteproc: qcom: Fix potential NULL dereference in adsp_init_mmio()
    2fc6cdb1d67e remoteproc: k3-dsp: Fix return value check in k3_dsp_rproc_of_get_memories()
    f1bf8c9f49ad remoteproc: qcom: pas: fix error handling in adsp_pds_enable
    cce77d667f55 remoteproc: qcom: fix reference leak in adsp_start
    70ea4c7d1d39 remoteproc: q6v5-mss: fix error handling in q6v5_pds_enable
    01e2c27b8a30 remoteproc/mtk_scp: surround DT device IDs with CONFIG_OF
    c7fd58cc440b remoteproc/mediatek: change MT8192 CFG register base
    1cbcdec82c53 RDMA/uverbs: Fix incorrect variable type
    53e9a5a692f8 RDMA/core: Do not indicate device ready when device enablement fails
    db71bc7ef3ed ALSA: hda/hdmi: fix silent stream for first playback to DP
    0bc1c2d4a7e8 slimbus: qcom: fix potential NULL dereference in qcom_slim_prg_slew()
    2ae4b562d78f powerpc/sstep: Cover new VSX instructions under CONFIG_VSX
    bf608cf329a3 powerpc/sstep: Emulate prefixed instructions only when CPU_FTR_ARCH_31 is set
    62cd477bbdff can: m_can: m_can_config_endisable(): remove double clearing of clock stop request bit
    23b70b31675c clk: renesas: r8a779a0: Fix R and OSC clocks
    a60cb39186fb erofs: avoid using generic_block_bmap
    82d87b59df4c iwlwifi: mvm: hook up missing RX handlers
    31269e6ac076 iwlwifi: dbg-tlv: fix old length in is_trig_data_contained()
    1b4f4a160b0c s390/cio: fix use-after-free in ccw_device_destroy_console
    11b2118f4ddd fsi: Aspeed: Add mutex to protect HW access
    67475eb26416 bus: fsl-mc: fix error return code in fsl_mc_object_allocate()
    45f8472fa26b bus: fsl-mc: add back accidentally dropped error check
    096ee6ebd01e misc: pci_endpoint_test: fix return value of error branch
    70f87d48bf56 platform/chrome: cros_ec_spi: Don't overwrite spi::mode
    8ed7389709a4 scsi: qla2xxx: Fix N2N and NVMe connect retry failure
    bf69f3bbbde6 scsi: qla2xxx: Fix FW initialization error on big endian machines
    50cf9c6ca267 x86/kprobes: Restore BTF if the single-stepping is cancelled
    2deeead49c7a nfs_common: need lock during iterate through the list
    ac228fbe522d NFSD: Fix 5 seconds delay when doing inter server copy
    5f6742261ab9 nfsd: Fix message level for normal termination
    837935e21f7f speakup: fix uninitialized flush_lock
    12dba6742b13 usb: oxu210hp-hcd: Fix memory leak in oxu_create
    db1ccd6b7ea6 usb: ehci-omap: Fix PM disable depth umbalance in ehci_hcd_omap_probe
    7a5870d95403 powerpc/mm: sanity_check_fault() should work for all, not only BOOK3S
    69f46de82358 ASoC: max98390: Fix error codes in max98390_dsm_init()
    939b32e18e8b coresight: remove broken __exit annotations
    64ffbfb1d734 ASoC: amd: change clk_get() to devm_clk_get() and add missed checks
    e52398d49d8d drm/mediatek: avoid dereferencing a null hdmi_phy on an error message
    66d1918b2ddb powerpc/powermac: Fix low_sleep_handler with CONFIG_VMAP_STACK
    904c6f64fda6 powerpc/pseries/hibernation: remove redundant cacheinfo update
    b155175979e1 powerpc/pseries/hibernation: drop pseries_suspend_begin() from suspend ops
    40a281cbef6c ARM: 9030/1: entry: omit FP emulation for UND exceptions taken in kernel mode
    00c54f28046d platform/x86: mlx-platform: Fix item counter assignment for MSN2700/ComEx system
    acf787ea279d platform/x86: mlx-platform: Fix item counter assignment for MSN2700, MSN24xx systems
    b8c0a6e6574d scsi: fnic: Fix error return code in fnic_probe()
    adbd2547e0c5 seq_buf: Avoid type mismatch for seq_buf_init
    dcda662622b1 scsi: iscsi: Fix inappropriate use of put_device()
    f6d844be9502 scsi: pm80xx: Fix error return in pm8001_pci_probe()
    2619d3cbf774 scsi: qedi: Fix missing destroy_workqueue() on error in __qedi_probe
    45d670efcb0b clk: fsl-sai: fix memory leak
    608918e878d4 arm64: dts: meson: g12b: w400: fix PHY deassert timing requirements
    cb7fadab988e arm64: dts: meson: g12a: x96-max: fix PHY deassert timing requirements
    aaeb52620dd9 ARM: dts: meson: fix PHY deassert timing requirements
    46b7f2249854 arm64: dts: meson: fix PHY deassert timing requirements
    a83bf1290710 arm64: dts: meson: g12b: odroid-n2: fix PHY deassert timing requirements
    b9ee2a910d44 mtd: spi-nor: atmel: fix unlock_all() for AT25FS010/040
    d4f620ed499c mtd: spi-nor: atmel: remove global protection flag
    c39f4a1191f0 mtd: spi-nor: ignore errors in spi_nor_unlock_all()
    f79f7258f3b7 mtd: spi-nor: sst: fix BPn bits for the SST25VF064C
    bfe3dcabb9a0 adm8211: fix error return code in adm8211_probe()
    948882479547 platform/x86: intel-vbtn: Fix SW_TABLET_MODE always reporting 1 on some HP x360 models
    6af7b5ab2a03 Bluetooth: btusb: Fix detection of some fake CSR controllers with a bcdDevice val of 0x0134
    aa4f552aec3d block/rnbd: fix a null pointer dereference on dev->blk_symlink_name
    a7d4dd109eae block/rnbd-clt: Dynamically alloc buffer for pathname & blk_symlink_name
    6013c9974216 Bluetooth: sco: Fix crash when using BT_SNDMTU/BT_RCVMTU option
    046182ddb934 Bluetooth: btmtksdio: Add the missed release_firmware() in mtk_setup_firmware()
    ae0e737765b8 Bluetooth: btusb: Add the missed release_firmware() in btusb_mtk_setup_firmware()
    848120a0d13b spi: dw: Fix error return code in dw_spi_bt1_probe()
    f636755d7fe5 staging: greybus: audio: Fix possible leak free widgets in gbaudio_dapm_free_controls
    b4db71c2d7af staging: bcm2835: fix vchiq_mmal dependencies
    e7884eed1301 macintosh/adb-iop: Send correct poll command
    bbae91abbc27 macintosh/adb-iop: Always wait for reply message from IOP
    d806ffec27b1 cpufreq: imx: fix NVMEM_IMX_OCOTP dependency
    d62b3d146ab0 cpufreq: vexpress-spc: Add missing MODULE_ALIAS
    35f501f734b6 cpufreq: scpi: Add missing MODULE_ALIAS
    8f92fe114fa7 cpufreq: loongson1: Add missing MODULE_ALIAS
    60b517181a6e cpufreq: sun50i: Add missing MODULE_DEVICE_TABLE
    b15fcc3a31c4 cpufreq: st: Add missing MODULE_DEVICE_TABLE
    757ee8737ddf cpufreq: qcom: Add missing MODULE_DEVICE_TABLE
    5f03e8a02c4e cpufreq: mediatek: Add missing MODULE_DEVICE_TABLE
    7000750ae37a cpufreq: highbank: Add missing MODULE_DEVICE_TABLE
    345990ffc952 cpufreq: ap806: Add missing MODULE_DEVICE_TABLE
    276c71eea8c7 clocksource/drivers/arm_arch_timer: Correct fault programming of CNTKCTL_EL1.EVNTI
    f94df0cb1e09 clocksource/drivers/arm_arch_timer: Use stable count reader in erratum sne
    5acad354237d drm/msm: add IOMMU_SUPPORT dependency
    5471864d27e5 drm/msm: a5xx: Make preemption reset case reentrant
    d7af811f2e74 memory: jz4780_nemc: Fix potential NULL dereference in jz4780_nemc_probe()
    20d79c2a5415 memory: ti-emif-sram: only build for ARMv7
    3aec054f58c7 phy: renesas: rcar-gen3-usb2: disable runtime pm in case of failure
    8178c539e4df phy: mediatek: allow compile-testing the hdmi phy
    5ae5c3f9f4d9 ASoC: qcom: fix QDSP6 dependencies, attempt #3
    f3ea5a0a1e38 ASoC: atmel: mchp-spdifrx needs COMMON_CLK
    7b00ff200d89 ASoC: cros_ec_codec: fix uninitialized memory read
    6a579661e584 dm ioctl: fix error return code in target_message
    54919a715324 ASoC: q6afe-clocks: Add missing parent clock rate
    7403022a695a ASoC: jz4740-i2s: add missed checks for clk_get()
    2952eef157b9 mt76: fix tkip configuration for mt7615/7663 devices
    e2dea65052ee mt76: fix memory leak if device probing fails
    d5f908355d1b net/mlx5: Properly convey driver version to firmware
    1669724f7052 mt76: dma: fix possible deadlock running mt76_dma_cleanup
    8b5b803ba5b7 mt76: set fops_tx_stats.owner to THIS_MODULE
    722faae3826a mt76: mt7915: set fops_sta_stats.owner to THIS_MODULE
    28f41cc1baed mt76: mt7663s: fix a possible ple quota underflow
    a3164472e2eb MIPS: Don't round up kernel sections size for memblock_add()
    db4a90026e15 memstick: r592: Fix error return in r592_probe()
    28cb1d639ee8 arm64: dts: rockchip: Fix UART pull-ups on rk3328
    4771a82fa0dd soc: rockchip: io-domain: Fix error return code in rockchip_iodomain_probe()
    64ae763eefd3 pinctrl: falcon: add missing put_device() call in pinctrl_falcon_probe()
    b23eae9fc726 selftests/bpf: Fix invalid use of strncat in test_sockmap
    4322f9a64653 bpf: Fix bpf_put_raw_tracepoint()'s use of __module_address()
    9cee26031015 scripts: kernel-doc: fix parsing function-like typedefs
    3a8db263abc4 ARM: dts: at91: sama5d2: map securam as device
    94c84a4327d7 ARM: dts: at91: sam9x60ek: remove bypass property
    beef1b4383e7 libbpf: Sanitise map names before pinning
    b113f3bf167f iio: hrtimer-trigger: Mark hrtimer to expire in hard interrupt context
    0e3847accafa arm64: mte: fix prctl(PR_GET_TAGGED_ADDR_CTRL) if TCF0=NONE
    16cf69c25c96 clocksource/drivers/riscv: Make RISCV_TIMER depends on RISCV_SBI
    df4411e4b8d0 clocksource/drivers/ingenic: Fix section mismatch
    93bf920799d9 clocksource/drivers/cadence_ttc: Fix memory leak in ttc_setup_clockevent()
    e2983080b023 clocksource/drivers/orion: Add missing clk_disable_unprepare() on error path
    ba6a7e6ca5b7 powerpc/perf: Fix the PMU group constraints for threshold events in power10
    e559aaba71b9 powerpc/perf: Update the PMU group constraints for l2l3 events in power10
    0760233fd450 powerpc/perf: Fix to update radix_scope_qual in power10
    36daf5b174a1 powerpc/xmon: Fix build failure for 8xx
    746ef5ac254c powerpc/64: Fix an EMIT_BUG_ENTRY in head_64.S
    668f649850ae powerpc/perf: Fix crash with is_sier_available when pmu is not set
    8486f6f9de6b media: saa7146: fix array overflow in vidioc_s_audio()
    1067e2496e93 media: tvp5150: Fix wrong return value of tvp5150_parse_dt()
    9c14fb58a1a7 f2fs: fix double free of unicode map
    55dbc5e2d9c9 hwmon: (ina3221) Fix PM usage counter unbalance in ina3221_write_enable
    a08dbd012001 vfio-pci: Use io_remap_pfn_range() for PCI IO memory
    79449799269f selftests/seccomp: Update kernel config
    eb9cc35ae98b NFS: switch nfsiod to be an UNBOUND workqueue.
    0e1c02e4e085 lockd: don't use interval-based rebinding over TCP
    7941ee42dcca net: sunrpc: Fix 'snprintf' return value check in 'do_xprt_debugfs'
    77303b6b5e4a NFSv4: Fix the alignment of page data in the getdeviceinfo reply
    c1e628f91051 SUNRPC: xprt_load_transport() needs to support the netid "rdma6"
    78c9026a7270 NFSv4.2: condition READDIR's mask for security label based on LSM state
    d1296acac0c1 SUNRPC: rpc_wake_up() should wake up tasks in the correct order
    bd6019d83a9a ath10k: Release some resources in an error handling path
    96e8abed38b1 ath10k: Fix an error handling path
    6165f20d351d ath10k: Fix the parsing error in service available event
    01c0691ead1e ath11k: Fix an error handling path
    08c7e5615496 ath11k: Reset ath11k_skb_cb before setting new flags
    345511c3f496 ath11k: Don't cast ath11k_skb_cb to ieee80211_tx_info.control
    aa7396d8b36b media: i2c: imx219: Selection compliance fixes
    4440b4861798 media: rdacm20: Enable GPIO1 explicitly
    978649ab70c1 media: max9271: Fix GPIO enable/disable
    af85e2467900 ASoC: Intel: Boards: tgl_max98373: update TDM slot_width
    e94331e0d7d2 platform/x86: dell-smbios-base: Fix error return code in dell_smbios_init
    df40cc8c1c86 soundwire: master: use pm_runtime_set_active() on add
    a3592fa49daf mailbox: arm_mhu_db: Fix mhu_db_shutdown by replacing kfree with devm_kfree
    482d2345bf8f RDMA/hns: Bugfix for calculation of extended sge
    a5c7bc609740 RDMA/hns: Fix 0-length sge calculation error
    38fcd69c7ae5 ARM: dts: at91: at91sam9rl: fix ADC triggers
    f107dfac508f spi: spi-fsl-dspi: Use max_native_cs instead of num_chipselect to set SPI_MCR
    ee9f3f0ff496 scsi: pm80xx: Do not sleep in atomic context
    2ca2795bfe22 scsi: hisi_sas: Fix up probe error handling for v3 hw
    f9e71ed020b9 soc: amlogic: canvas: add missing put_device() call in meson_canvas_get()
    67d91e51f98f arm64: dts: meson-sm1: fix typo in opp table
    95fae43b04e4 arm64: dts: meson: fix spi-max-frequency on Khadas VIM2
    3ff34b89a430 PCI: iproc: Invalidate correct PAXB inbound windows
    98518a523354 PCI: iproc: Fix out-of-bound array accesses
    2df49a5de565 PCI: Fix overflow in command-line resource alignment requests
    3ce258140380 PCI: Bounds-check command-line resource alignment requests
    25cff7f51418 arm64: dts: qcom: c630: Fix pinctrl pins properties
    71d0ca4e29ee arm64: dts: qcom: c630: Polish i2c-hid devices
    0ad229df4732 phy: tegra: xusb: Fix usb_phy device driver field
    e747c8d16eb9 arm64: dts: freescale: sl28: combine SPI MTD partitions
    893d1502500c arm64: dts: ls1028a: fix FlexSPI clock input
    cb8447610e2e arm64: dts: ls1028a: fix ENETC PTP clock input
    f11ebb7651a9 genirq/irqdomain: Don't try to free an interrupt that has no mapping
    891bb86926f2 power: supply: bq24190_charger: fix reference leak
    67c91336e0d1 power: supply: axp288_charger: Fix HP Pavilion x2 10 DMI matching
    e6207f098896 power: supply: max17042_battery: Fix current_{avg,now} hiding with no current sense
    d73be8a24bb2 arm64: dts: rockchip: Set dr_mode to "host" for OTG on rk3328-roc-cc
    a47f8c953769 power: supply: bq25890: Use the correct range for IILIM register
    8d4ba95a41fb arm64: dts: armada-3720-turris-mox: update ethernet-phy handle name
    f64ffe32f54f ARM: dts: Remove non-existent i2c1 from 98dx3236
    9e363d142f2e HSI: omap_ssi: Don't jump to free ID in ssi_add_controller()
    38429d879dcd drm/mediatek: Use correct aliases name for ovl
    deaeb67c9da0 RDMA/core: Track device memory MRs
    aaaa7a6006c7 slimbus: qcom-ngd-ctrl: Avoid sending power requests without QMI
    1f29c438707d media: max2175: fix max2175_set_csm_mode() error code
    1108b0f4920d mips: cdmm: fix use-after-free in mips_cdmm_bus_discover
    e7fd18c20342 media: imx214: Fix stop streaming
    5bf76d566a76 samples: bpf: Fix lwt_len_hist reusing previous BPF map
    048a04aa031b serial: 8250-mtk: Fix reference leak in mtk8250_probe
    af7ae245945a RDMA/hns: Avoid setting loopback indicator when smac is same as dmac
    6b8a015eda20 RDMA/hns: Fix missing fields in address vector
    ba9479d75ef1 RDMA/hns: Only record vlan info for HIP08
    57d22f146803 arm64: dts: qcom: sc7180: limit IPA iommu streams
    bdb7acb89261 platform/x86: mlx-platform: Remove PSU EEPROM from MSN274x platform configuration
    d285968ae009 platform/x86: mlx-platform: Remove PSU EEPROM from default platform configuration
    0736d6a86fd3 media: siano: fix memory leak of debugfs members in smsdvb_hotplug
    bac43b0f1144 drm/imx/dcss: fix rotations for Vivante tiled formats
    c87a177fa7ca soundwire: qcom: Fix build failure when slimbus is module
    f85d05c0a599 RDMA/cma: Fix deadlock on &lock in rdma_cma_listen_on_all() error unwind
    98e72ffe934d arm64: tegra: Fix DT binding for IO High Voltage entry
    dbbc5e42c467 leds: turris-omnia: check for LED_COLOR_ID_RGB instead LED_COLOR_ID_MULTI
    ad316987c4e4 leds: lp50xx: Fix an error handling path in 'lp50xx_probe_dt()'
    1687f01f0ea8 leds: netxbig: add missing put_device() call in netxbig_leds_get_of_pdata()
    4827f0cabc16 arm64: dts: qcom: sdm845: Limit ipa iommu streams
    17fdb0eb50e7 dmaengine: mv_xor_v2: Fix error return code in mv_xor_v2_probe()
    0dee7fabab78 cw1200: fix missing destroy_workqueue() on error in cw1200_init_common
    b8da48050a26 rsi: fix error return code in rsi_reset_card()
    71a0eb78d6f0 qtnfmac: fix error return code in qtnf_pcie_probe()
    15e39825a270 orinoco: Move context allocation after processing the skb
    174f2189f769 brcmfmac: fix error return code in brcmf_cfg80211_connect()
    2c9e1e32a288 mmc: pxamci: Fix error return code in pxamci_probe
    3ab2d54ae31e ARM: dts: at91: sama5d3_xplained: add pincontrol for USB Host
    a0f8184693e3 ARM: dts: at91: sama5d4_xplained: add pincontrol for USB Host
    1d8ae9da94eb ARM: dts: at91: sam9x60: add pincontrol for USB Host
    365a94fc1e3d memstick: fix a double-free bug in memstick_check
    c802d9e5e69d pinctrl: sunxi: fix irq bank map for the Allwinner A100 pin controller
    ed27e6b21505 soundwire: Fix DEBUG_LOCKS_WARN_ON for uninitialized attribute
    623793c8da90 RDMA/cxgb4: Validate the number of CQEs
    7688ca1121ba ath11k: Fix the rx_filter flag setting for peer rssi stats
    0121a853eace staging: mfd: hi6421-spmi-pmic: fix error return code in hi6421_spmi_pmic_probe()
    47324dbd5680 clk: meson: Kconfig: fix dependency for G12A
    0e8d632e4162 Input: omap4-keypad - fix runtime PM error handling
    94268e0c9a59 arm64: dts: qcom: msm8916-samsung-a2015: Disable muic i2c pin bias
    281c972aaa4e arm64: dts: qcom: sm8250: correct compatible for sm8250-mtp
    6d3131ace303 soc: qcom: initialize local variable
    561397df16e3 drivers: soc: ti: knav_qmss_queue: Fix error return code in knav_queue_probe
    97d14d592159 soc: ti: Fix reference imbalance in knav_dma_probe
    bdf76d879ac3 soc: ti: knav_qmss: fix reference leak in knav_queue_probe
    e7e8d6dc17a8 PCI: brcmstb: Initialize "tmp" before use
    ddf1dab2919b PCI: Disable MSI for Pericom PCIe-USB adapter
    6cf9c3f4dfa0 drm/meson: dw-hdmi: Enable the iahb clock early enough
    d0ef2d794000 drm/meson: dw-hdmi: Disable clocks on driver teardown
    ddbed6d02751 spi: fix resource leak for drivers without .remove callback
    098a597f3115 crypto: sun8i-ce - fix two error path's memory leak
    3cf33a4686c4 crypto: omap-aes - Fix PM disable depth imbalance in omap_aes_probe
    2ec7b49a1f39 crypto: crypto4xx - Replace bitwise OR with logical OR in crypto4xx_build_pd
    9b81af9c8455 rcu/tree: Defer kvfree_rcu() allocation to a clean context
    5cacd18c5207 rcu,ftrace: Fix ftrace recursion
    4540e84bd8a9 rcu: Allow rcu_irq_enter_check_tick() from NMI
    bbab483613f2 scsi: ufs: Fix clkgating on/off
    df7ae049e02a scsi: ufs: Avoid to call REQ_CLKS_OFF to CLKS_OFF
    3897b71e1a68 EDAC/mce_amd: Use struct cpuinfo_x86.cpu_die_id for AMD NodeId
    2081572eb105 mfd: cpcap: Fix interrupt regression with regmap clear_ack
    de39384806af mfd: stmfx: Fix dev_err_probe() call in stmfx_chip_init()
    b278cdb10039 mfd: MFD_SL28CPLD should depend on ARCH_LAYERSCAPE
    0300c814520a mfd: htc-i2cpld: Add the missed i2c_put_adapter() in htcpld_register_chip_i2c()
    3e377bb0734d powerpc/powernv/sriov: fix unsigned int win compared to less than zero
    02cf67c9b608 Revert "powerpc/pseries/hotplug-cpu: Remove double free in error path"
    a063e3faa3ed ARM: dts: tacoma: Fix node vs reg mismatch for flash memory
    1c6e4b13306f powerpc/feature: Fix CPU_FTRS_ALWAYS by removing CPU_FTRS_GENERIC_32
    b1a0097b8298 powerpc: Avoid broken GCC __attribute__((optimize))
    6014c6ed74f1 selftests/bpf: Fix broken riscv build
    98283ebab45c spi: mxs: fix reference leak in mxs_spi_probe
    b6e018b059a5 usb/max3421: fix return error code in max3421_probe()
    351c360a7c2d bus: mhi: core: Fix null pointer access when parsing MHI configuration
    417602ef3f4a bus: mhi: core: Remove double locking from mhi_driver_remove()
    d2fd75615c2f Input: ads7846 - fix unaligned access on 7845
    eced9dfb6691 Input: ads7846 - fix integer overflow on Rt calculation
    77b0790ac6bd Input: ads7846 - fix race that causes missing releases
    1a94c18952af iommu/vt-d: include conditionally on CONFIG_INTEL_IOMMU_SVM
    1f1e14d91704 ASoC: intel: SND_SOC_INTEL_KEEMBAY should depend on ARCH_KEEMBAY
    d3f027ec7649 drm/meson: dw-hdmi: Ensure that clocks are enabled before touching the TOP registers
    2ce569f4b501 drm/meson: dw-hdmi: Register a callback to disable the regulator
    2777970add40 drm/meson: Unbind all connectors on module removal
    d2ddf64f5e96 drm/meson: Free RDMA resources after tearing down DRM
    b087cb814da2 drm/omap: dmm_tiler: fix return error code in omap_dmm_probe()
    b9e069283b78 mmc: sdhci: tegra: fix wrong unit with busy_timeout
    58d23abd5fa1 video: fbdev: atmel_lcdfb: fix return error code in atmel_lcdfb_of_init()
    a622848f5938 media: solo6x10: fix missing snd_card_free in error handling case
    e1a709edc21d media: venus: put dummy vote on video-mem path after last session release
    43275d43b521 scsi: core: Fix VPD LUN ID designator priorities
    c77798b58799 spi: dw: fix build error by selecting MULTIPLEXER
    7a5333fb175b ASoC: meson: fix COMPILE_TEST error
    70ba8b1697e3 RDMA/cma: Add missing error handling of listen_id
    8d82904f8d22 media: venus: core: vote with average bandwidth and peak bandwidth as zero
    2d28c98f44af media: venus: core: vote for video-mem path
    9acc5fa0aeb2 media: venus: core: change clk enable and disable order in resume and suspend
    393957d39762 media: platform: add missing put_device() call in mtk_jpeg_probe() and mtk_jpeg_remove()
    a3307503af9e media: cedrus: fix reference leak in cedrus_start_streaming
    d5b2529aa572 media: staging: rkisp1: cap: fix runtime PM imbalance on error
    cbb25882cd66 media: ov5640: fix support of BT656 bus mode
    8b9209c963fb media: v4l2-fwnode: v4l2_fwnode_endpoint_parse caller must init vep argument
    f43c83293044 media: v4l2-fwnode: Return -EINVAL for invalid bus-type
    6453c1ade8d8 media: mtk-vcodec: add missing put_device() call in mtk_vcodec_init_enc_pm()
    1144412d4a0c media: mtk-vcodec: add missing put_device() call in mtk_vcodec_release_dec_pm()
    d9292412258b media: mtk-vcodec: add missing put_device() call in mtk_vcodec_init_dec_pm()
    c7ffc289daa3 media: platform: add missing put_device() call in mtk_jpeg_clk_init()
    22ec70191039 media: tm6000: Fix sizeof() mismatches
    3d28470532a3 ionic: change set_rx_mode from_ndo to can_sleep
    ee6bf69107b0 ionic: flatten calls to ionic_lif_rx_mode
    68684d55e578 ionic: use mc sync for multicast filters
    91a5950181d1 drm/amdkfd: Put ACPI table after using it
    5c0aa48d046d scripts: kernel-doc: Restore anonymous enum parsing
    7f1cae8e15a6 staging: gasket: interrupt: fix the missed eventfd_ctx_put() in gasket_interrupt.c
    63c4e010a530 staging: greybus: codecs: Fix reference counter leak in error handling
    e4e1f57c6afb drm/udl: Fix missing error code in udl_handle_damage()
    2fa9f2944153 firmware: arm_scmi: Fix missing destroy_workqueue()
    27a26763de9a crypto: qat - fix status check in qat_hal_put_rel_rd_xfer()
    4110602d9d73 crypto: Kconfig - CRYPTO_MANAGER_EXTRA_TESTS requires the manager
    53cb44edb267 soc: ti: omap-prm: Do not check rstst bit on deassert if already deasserted
    d5f81cb875ba drm/amdgpu: fix compute queue priority if num_kcq is less than 4
    070dfffdc278 MIPS: BCM47XX: fix kconfig dependency bug for BCM47XX_BCMA
    c77a95b65bdc arm64: dts: ti: k3-am65*/j721e*: Fix unit address format error for dss node
    10811262111e ASoC: SOF: Intel: fix Kconfig dependency for SND_INTEL_DSP_CONFIG
    ec6a178521bf RDMa/mthca: Work around -Wenum-conversion warning
    81d23c1d63f3 ASoC: arizona: Fix a wrong free in wm8997_probe
    941327d40d30 virtiofs fix leak in setup
    b14a8f29c31e spi: sprd: fix reference leak in sprd_spi_remove
    82162f4bdf6a ASoC: wm8998: Fix PM disable depth imbalance on error
    351d0015c1bf ASoC: wm8994: Fix PM disable depth imbalance on error
    8f48a2000249 selftest/bpf: Add missed ip6ip6 test back
    f8a4a04ddfdb selftests/run_kselftest.sh: fix dry-run typo
    56b491d7de00 drm/msm/dp: do not notify audio subsystem if sink doesn't support audio
    be5795e2098f drm/msm/dp: skip checking LINK_STATUS_UPDATED bit
    ae5b3fc2dce4 drm/msm/dp: return correct connection status after suspend
    6b0a337dec82 firmware: tegra: fix strncpy()/strncat() confusion
    66bb2a8a6011 drm/msm/a5xx: Clear shadow on suspend
    3edab64c3e42 drm/msm/a6xx: Clear shadow on suspend
    b38258b69352 mwifiex: fix mwifiex_shutdown_sw() causing sw reset failure
    00f7592609c9 ath11k: Handle errors if peer creation fails
    468b3a1ab287 ASoC: qcom: common: Fix refcounting in qcom_snd_parse_of()
    851228fd1f67 spi: imx: fix reference leak in two imx operations
    b8c65a716e8d spi: bcm63xx-hsspi: fix missing clk_disable_unprepare() on error in bcm63xx_hsspi_resume
    d7dc725c7eb4 spi: tegra114: fix reference leak in tegra spi ops
    b25ccec94969 spi: tegra20-sflash: fix reference leak in tegra_sflash_resume
    0c26f7b292da spi: tegra20-slink: fix reference leak in slink ops of tegra20
    6f3e58894446 spi: mt7621: fix missing clk_disable_unprepare() on error in mt7621_spi_probe
    7e2556779cb7 spi: spi-ti-qspi: fix reference leak in ti_qspi_setup
    ea5ee372c726 spi: stm32-qspi: fix reference leak in stm32 qspi operations
    f48dbf515233 Bluetooth: hci_h5: fix memory leak in h5_close
    c98d33579206 Bluetooth: Fix: LL PRivacy BLE device fails to connect
    147cdf5f344b Bluetooth: Fix null pointer dereference in hci_event_packet()
    1a5f0500d885 drm/panel: simple: Add flags to boe_nv133fhm_n61
    848ad332d74d arm64: dts: exynos: Correct psci compatible used on Exynos7
    ac5ae8c92667 arm64: dts: exynos: Include common syscon restart/poweroff for Exynos7
    af9d37f43436 brcmfmac: Fix memory leak for unpaired brcmf_{alloc/free}
    8a8fe3e58c3e ath11k: fix wmi init configuration
    e3f640e6a085 ath11k: Fix number of rules in filtered ETSI regdomain
    ce79baf7b3eb ath11k: Initialize complete alpha2 for regulatory change
    5d43f95abf1c drm/edid: Fix uninitialized variable in drm_cvt_modes()
    2aa2d48927a1 x86/mce: Correct the detection of invalid notifier priorities
    c306918ce98b bpf: Fix tests for local_storage
    26a19bbe6003 spi: stm32: fix reference leak in stm32_spi_resume
    615bc1ba5b87 nl80211/cfg80211: fix potential infinite loop
    6e5ea342fc65 selinux: fix inode_doinit_with_dentry() LABEL_INVALID error handling
    ae292e43b06d crypto: caam - fix printing on xts fallback allocation error path
    6aa4660cba61 crypto: arm/aes-neonbs - fix usage of cbc(aes) fallback
    17df190b6a33 crypto: arm64/poly1305-neon - reorder PAC authentication with SP update
    6ed6e024e3bb drm/bridge: tpd12s015: Fix irq registering in tpd12s015_probe
    332a2c3b6f87 ASoC: pcm: DRAIN support reactivation
    3b0c3b66b6b9 pinctrl: core: Add missing #ifdef CONFIG_GPIOLIB
    6dd60eb9b3de scsi: aacraid: Improve compat_ioctl handlers
    92b6415e977c spi: spi-mem: fix reference leak in spi_mem_access_start
    159869d42023 drm/msm/dpu: fix clock scaling on non-sc7180 board
    c72aa2169db1 drm/msm/dsi_pll_10nm: restore VCO rate during restore_state
    9e737d120b52 drm/msm/dsi_pll_7nm: restore VCO rate during restore_state
    cfc0c1840354 drm/msm/dp: DisplayPort PHY compliance tests fixup
    3647b89442e5 perf test: Use generic event for expand_libpfm_events()
    c5c1af1107d6 RDMA/mlx5: Fix corruption of reg_pages in mlx5_ib_rereg_user_mr()
    8b1a51fb4218 f2fs: call f2fs_get_meta_page_retry for nat page
    5eab98b40aaa spi: img-spfi: fix reference leak in img_spfi_resume
    130a8874f811 powerpc/64: Set up a kernel stack for secondaries before cpu_restore()
    61b3d5e201c1 drm/amdgpu: fix build_coefficients() argument
    764184e33908 ARM: dts: aspeed: tiogapass: Remove vuart
    651df0443878 drm/msm: Add missing stub definition
    f7e27d606484 ASoC: sun4i-i2s: Fix lrck_period computation for I2S justified mode
    f7428e7ca889 crypto: inside-secure - Fix sizeof() mismatch
    16ec50845816 crypto: talitos - Fix return type of current_desc_hdr()
    7023c8164125 crypto: talitos - Endianess in current_desc_hdr()
    326713235393 drm/amdgpu: fix incorrect enum type
    8933a5253421 sched: Reenable interrupts in do_sched_yield()
    6d4250fe7d98 sched/deadline: Fix sched_dl_global_validate()
    e3c471e7f1a4 ASoC: qcom: fix unsigned int bitwidth compared to less than zero
    b8ab21e01717 x86/apic: Fix x2apic enablement without interrupt remapping
    459c15dd6847 RDMA/rtrs-srv: Don't guard the whole __alloc_srv with srv_mutex
    4f647978994c RDMA/rtrs-clt: Missing error from rtrs_rdma_conn_established
    78bd070fa38a RDMA/rtrs-clt: Remove destroy_con_cq_qp in case route resolving failed
    78905c6ab154 ARM: p2v: fix handling of LPAE translation in BE mode
    9c79c9e658e3 x86/mm/ident_map: Check for errors from ident_pud_init()
    965f5593933f RDMA/rxe: Compute PSN windows correctly
    e7c49c634aff RDMA/core: Fix error return in _ib_modify_qp()
    56cc090c2b21 ARM: dts: aspeed: s2600wf: Fix VGA memory region location
    5ea241ef9543 ARM: dts: aspeed-g6: Fix the GPIO memory size
    f0d7de09261b selinux: fix error initialization in inode_doinit_with_dentry()
    ae3739fcfe3b RDMA/bnxt_re: Fix entry size during SRQ create
    c647cc8e5804 rtc: pcf2127: fix pcf2127_nvmem_read/write() returns
    4d281791bee5 RDMA/bnxt_re: Set queue pair state when being queried
    942e8f31dff6 Revert "i2c: i2c-qcom-geni: Fix DMA transfer race"
    614199a8d1d1 soc: qcom: geni: More properly switch to DMA mode
    dd90a827ff18 arm64: dts: qcom: sc7180: Fix one forgotten interconnect reference
    2c6b8eda1ee6 arm64: dts: ipq6018: update the reserved-memory node
    33be7295fbeb arm64: dts: mediatek: mt8183: fix gce incorrect mbox-cells value
    a2eaddba03b3 soc: mediatek: Check if power domains can be powered on at boot time
    de37cfd12056 soc: renesas: rmobile-sysc: Fix some leaks in rmobile_init_pm_domains()
    a7b30bb95982 arm64: dts: renesas: cat875: Remove rxc-skew-ps from ethernet-phy node
    f53a67657127 arm64: dts: renesas: hihope-rzg2-ex: Drop rxc-skew-ps from ethernet-phy node
    172b7228a31f drm/tve200: Fix handling of platform_get_irq() error
    22bf07001762 drm/mcde: Fix handling of platform_get_irq() error
    cc797be0e38c drm/aspeed: Fix Kconfig warning & subsequent build errors
    e8c27b95869d iio: adc: at91_adc: add Kconfig dep on the OF symbol and remove of_match_ptr()
    3d7961ef3d89 drm/gma500: fix double free of gma_connector
    dafbfbed308f hwmon: (k10temp) Remove support for displaying voltage and current on Zen CPUs
    02164534cb86 Linux 5.10.3
    70eb256f8c8a md: fix a warning caused by a race between concurrent md_ioctl()s
    05725b40b945 nl80211: validate key indexes for cfg80211_registered_device
    709b2d03bb29 crypto: af_alg - avoid undefined behavior accessing salg_name
    7730b2f41cef media: msi2500: assign SPI bus number dynamically
    f5d4e47871c8 fs: quota: fix array-index-out-of-bounds bug by passing correct argument to vfs_cleanup_quota_inode()
    e196311e0d69 quota: Sanity-check quota file headers on load
    b260e4a68853 Bluetooth: Fix slab-out-of-bounds read in hci_le_direct_adv_report_evt()
    c2c9944b5607 f2fs: prevent creating duplicate encrypted filenames
    e5a2a002f83d ext4: prevent creating duplicate encrypted filenames
    456fcfca6dcf ubifs: prevent creating duplicate encrypted filenames
    2da473e59e11 fscrypt: add fscrypt_is_nokey_name()
    3b7c17a81426 fscrypt: remove kernel-internal constants from UAPI header
    e6160ad6e729 serial_core: Check for port state when tty is in error state
    45a13c35c7f8 HID: i2c-hid: add Vero K147 to descriptor override
    79ab763e574f scsi: megaraid_sas: Check user-provided offsets
    7812d88349b6 f2fs: init dirty_secmap incorrectly
    4cad005fe512 f2fs: fix to seek incorrect data offset in inline data file
    1384d0cba681 coresight: etm4x: Handle TRCVIPCSSCTLR accesses
    08af50ba2819 coresight: etm4x: Fix accesses to TRCPROCSELR
    c3ac42626ea9 coresight: etm4x: Fix accesses to TRCCIDCTLR1
    004f79bec798 coresight: etm4x: Fix accesses to TRCVMIDCTLR1
    99203d728205 coresight: etm4x: Skip setting LPOVERRIDE bit for qcom, skip-power-up
    3e89c7f97889 coresight: etb10: Fix possible NULL ptr dereference in etb_enable_perf()
    cda539d024c8 coresight: tmc-etr: Fix barrier packet insertion for perf buffer
    35d07b02187b coresight: tmc-etr: Check if page is valid before dma_map_page()
    8c5c48b60caa coresight: tmc-etf: Fix NULL ptr dereference in tmc_enable_etf_sink_perf()
    61bed86699e8 ARM: dts: exynos: fix USB 3.0 pins supply being turned off on Odroid XU
    8ed259869637 ARM: dts: exynos: fix USB 3.0 VBUS control and over-current pins on Exynos5410
    d012f0c8367b ARM: dts: exynos: fix roles of USB 3.0 ports on Odroid XU
    39fb7424d4ed usb: chipidea: ci_hdrc_imx: Pass DISABLE_DEVICE_STREAMING flag to imx6ul
    2a548c32d550 USB: gadget: f_rndis: fix bitrate for SuperSpeed and above
    4ef3fc712c77 usb: gadget: f_fs: Re-use SS descriptors for SuperSpeedPlus
    245cb2f26ea0 USB: gadget: f_midi: setup SuperSpeed Plus descriptors
    798be9a2f9d7 USB: gadget: f_acm: add support for SuperSpeed Plus
    e4ef9c8d13b3 USB: serial: option: add interface-number sanity check to flag handling
    4cfc27cb5620 usb: mtu3: fix memory corruption in mtu3_debugfs_regset()
    e8d7daf69edb soc/tegra: fuse: Fix index bug in get_process_id
    5f5240c03aa3 exfat: Avoid allocating upcase table using kcalloc()
    84bcbb0779c6 x86/split-lock: Avoid returning with interrupts enabled
    eadec7f5374e net: ipconfig: Avoid spurious blank lines in boot log

(From OE-Core rev: 3d5a223d340f6db9b78e91fdd37b80ad09b340ad)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Wang Mingyu
0a9cbe0f22 findutils: upgrade 4.7.0 -> 4.8.0
(From OE-Core rev: 6061687ff33938c9ac9346caed8cf831270b18aa)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Wang Mingyu
23d83ccd8f ell: upgrade 0.35 -> 0.36
0001-ell-add-missing-include-in-dhcp-server.patch
removed since it is included in 0.36

(From OE-Core rev: 589d6b65a5ac4ce2b33eb2ee4fbbc1e6b3355756)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Wang Mingyu
701a510ec0 ed: upgrade 1.16 -> 1.17
-License-Update: Copyright year updated to 2021.

(From OE-Core rev: 87fb424e25c7e2f07ade3b3b75e7a79c7ee9d45b)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Michael Ho
19cdf6b359 license_image.bbclass: fix missing recipeinfo on self
Resolve a build bug where image recipes with a do_deploy task will fail.

If the image recipe inheriting license_image.bbclass has a deploy task, then
the function get_deployed_dependencies will add itself to the list of recipes
to get license information for.

However, image recipes don't generally deploy license info so this results in
an error.

File: '/nvme/poky/meta/classes/license_image.bbclass', lineno: 192, function: license_deployed_manifest
...
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/nvme/poky/build/tmp/deploy/licenses/core-image-minimal/recipeinfo'

Add a corner case to exclude the originating image recipe from the list of
dependencies to check.

(From OE-Core rev: 13fb39e49e55a0bc7c78b0bfdc372163b3f9e70a)

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Changqing Li
e5b5c38a76 libpam: remove unused code
from commit b0384720a4,
which upgrade libpam to 1.5.1, packaging is adjustd,
and the binary is packaged into libpam-runtime, so we
don't need to append them to pam-plugin-xxx.

(From OE-Core rev: 7b5a53152c0213f5efcf39c2442bb3b630f8cc09)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Wang Mingyu
21eb51e2a8 binutils: upgrade 2.35 -> 2.35.1
(From OE-Core rev: cff69ee95a6ab49e6c6c1b1b2435e479e526c2c9)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Khairul Rohaizzat Jamaluddin
da5e394782 ffmpeg: Fix CVE-2020-35964, CVE-2020-35965
Backport the CVE patches from upstream:
27a99e2c7d
3e5959b345

CVE:
CVE-2020-35964
CVE-2020-35965

(From OE-Core rev: 526ee4ca2c493de1ac494b69e5ce9a9e55835c3a)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:46 +00:00
Paul Barker
cf73a72632 wic: Allow exec_native_cmd to run HOSTTOOLS
This allows programs from HOSTTOOLS (e.g. 'install', 'rm', 'mv', etc) to
be more easily executed by wic. Without this change only programs from
an actual *-native recipe built by bitbake can be executed by wic.

(From OE-Core rev: 8eb186acdecfbb3151c9a0ab148358e3fe5cce39)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:45 +00:00
Paul Barker
1b816d180b wic: Add workdir argument
This allows the path for the temporary workdir used by wic to be set
when running wic from bitbake or directly from the command line.

(From OE-Core rev: 2e7314ac3a3cab89de93c932e8efc75de0feb0a7)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:45 +00:00
Michael Ho
2fa0b3278c rootfs_ipk: allow do_populate_sdk in parallel to do_rootfs
Switch do_populate_sdk for the ipk package manager to use a separate target
opkg config file and separate the lockfiles restricting do_rootfs and
do_populate_sdk from running in parallel.

This way if an image recipe includes a dependency to do_populate_sdk by
default then it will run in parallel to do_rootfs saving time compared to the
sequential execution.

(From OE-Core rev: 8c210407d07483075a70c8b97ad52b5eae062c9c)

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:45 +00:00
Chris Laplante
39ac141eb6 systemd.bbclass: improve error message when a service unit specified in SYSTEMD_SERVICE is not found
The previous message was fairly useless without diving into the bbclass.

(From OE-Core rev: ef6117b148be65536e89409a83cbfd22049c652e)

Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-13 23:13:45 +00:00
Randy Li
66d4b8ad1b meson: Don't turn string into a list in nativesdk
In the current version of meson, some path variables only
accept a string not a list.

(From OE-Core rev: 68f20ac5524a5db8a09a90df796b4862cf747d3c)

Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:47:20 +00:00
Randy Li
e1d6b3fbcb meson: Add sysroot property to nativesdk-meson
I know the environment setup script would set PKG_CONFIG_PATH,
but the meson won't take that env when translate the includedir
property from the pkg-config.

(From OE-Core rev: 4ac692422526a2924602df410d7562b31d36c0ae)

Signed-off-by: Randy Li <ayaka@soulik.info>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:44:17 +00:00
Ovidiu Panait
ff036cbb77 kernel-devicetree: Introduce KERNEL_DTC_FLAGS to pass dtc flags
Currently DTC_FLAGS kernel makefile parameter can be specified directly on the
command line by adding it to KERNEL_EXTRA_ARGS. However, this prevents
scripts/Makefile.lib logic from appending flags that silence dtc warnings (all
assignments done from within a makefile, to a variable specified on the command
line, are ignored).

Because of this, the do_compile log is cluttered with dtc warnings that should
only be printed when compiling with W="123":
...
/soc: node has a reg or ranges property, but no unit name
/soc/gpu: missing or empty reg/ranges property
/soc/firmware/gpio: missing or empty reg/ranges property
...

To fix this, introduce the dedicated KERNEL_DTC_FLAGS variable to hold
dtc flags and export DTC_FLAGS in the environment before generating the dtbs
(make allows "+=" operations on variables that come from the environment, so
the warnings are silenced properly).

(From OE-Core rev: 063b5de86624a42b0aa784db6dddc7552a6dee7f)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:44:17 +00:00
Marek Vasut
4421e0969d meta: toolchain-shar-relocate.sh: Filter out post-relocate-setup script
The toolchain-shar-extract.sh script updates the SDK relocation paths in
post-relocate-setup.sh, so avoid doing this twice. This is generally not
a problem, unless the SDK path is a subset of the SDK relocation path, in
which case the resulting path is substituted twice. To trigger the issue,
  $ ./tmp/deploy/sdk/poky-glibc-x86_64-core-image-base-core2-64-qemux86-64-toolchain-3.2+snapshot.sh -y -d /home/oe/.local/opt/poky/3.2+snapshot
which generates relocation path
  /home/oe/.local/home/oe/.local/opt/poky/3.2+snapshot
instead of
  /home/oe/.local/opt/poky/3.2+snapshot

Fixes: 93ec145f42 ("toolchain-shar-extract: Add post-relocate scripts")
(From OE-Core rev: 5000aabe6ac336e7b424dafa1bf76271dee6a6f1)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Krzysztof Zawadzki <krzysztof.zawadzki@nokia.com>
Cc: Randy Witt <randy.e.witt@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:44:17 +00:00
Marek Vasut
ced1f30c6f meta: toolchain-shar-relocate.sh: Do not use $target_sdk_dir as regex
The $target_sdk_dir path might contain special characters, for example if
the path is /opt/poky/3.2+snapshot . Prevent grep from interpreting those
as part of the regex by using the -F parameter and multiple -e parameters
to specify which strings to filter out. Also note that the previous regex
was using asterisk as wildcard (e.g. environment-setup-*), but that should
have been regex (e.g. environment-setup-.*, with dot) to match correctly,
this is also fixed by this change.

Fixes: 9721378688 ("toolchain-shar-template.sh: Make relocation optional.")
(From OE-Core rev: 19d9fa7ab6c851000bc5d24281739e1b2bb8f057)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Krzysztof Zawadzki <krzysztof.zawadzki@nokia.com>
Cc: Randy Witt <randy.e.witt@linux.intel.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:44:17 +00:00
Khem Raj
86358ef49b openssl: Enable psk for qtbase
TLS 1.3 implementation in qt5 uses psk so retain it for now

(From OE-Core rev: ab2cc33331ee931e65a63a02cf034c1b8ee695ac)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:44:17 +00:00
Khem Raj
2fc8e7bae4 openssl: Enable rc4/rc2/bf/md4 algorithms
They are still needed by several packages in meta-openembedded

(From OE-Core rev: 52af41387f1c843e7677c0bb632b2b96f9793ebd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Shachar Menashe <shachar@vdoo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:44:16 +00:00
Shachar Menashe
f471317c68 openssl: drop support for deprecated algorithms
1. Drop support for many deprecated algorithms by default
2. Allow dropping support for TLS 1.0/1.1 via PACKAGECONFIG

(From OE-Core rev: 304417a97db89d9ea4a41aa7c92b5a052896d63b)

Signed-off-by: Shachar Menashe <shachar@vdoo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:44:16 +00:00
Sinan Kaya
6a4d10d367 net-tools: split mii-tool into its own package
Move the mii-tool into its own package. Useful for size constrained
systems that only want the mii-tool only.

(From OE-Core rev: 05b9cdd66ad29d67bd7c3c7e968b1c102479af47)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:44:16 +00:00
Sinan Kaya
507a47a4e5 procps: split ps and sysctl into individual packages
Move the ps and sysctl tools into its own package. Useful for
size constrained systems that only want the ps and/or sysctl tools.

(From OE-Core rev: 28809742c517a8e3589b9cd22ce8e82b1a983683)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:44:16 +00:00
Sinan Kaya
a4828f8fc9 iproute2: split ip to individual package
Move the ip tool into its own package. Useful for size constrained
systems that only want the ip tool.

(From OE-Core rev: 938fe58625e2285ee529ee589908bb0d54810f01)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:44:16 +00:00
Sinan Kaya
14ffca328e sudo: split sudo binary into its own package
Package just sudo binary into its own package for size concerned
targets.

(From OE-Core rev: 788c95c3bb8ede0d3d6a8f125743ac47c0b3f00e)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-12 17:44:16 +00:00
Alexander Kanavin
eee3a23be1 net-tools: correct version check
A new upstream release is out.

(From OE-Core rev: cf10ad80a59bbeab1db0b1761bdf168d3e281474)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-10 22:39:27 +00:00
Scott Murray
164b3e6361 glibc: CVE-2019-25013
* CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2019-25013

* upstream tracking: https://sourceware.org/bugzilla/show_bug.cgi?id=24973

* patch from upstream:
    https://sourceware.org/git/?p=glibc.git;a=patch;
    h=ee7a3144c9922808181009b7b3e50e852fb4999b

(From OE-Core rev: 53d149df4d8832e34ace2470c31ddc688176faf7)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-10 22:39:27 +00:00
Thomas Perrot
34e7ad0b45 go.bbclass: don't stage test data with sources of dependencies
As for the sources the dependencies contain test data, ELF files and other
binaries which aren't necessary for building and which lead to unnecessary QA
warnings.

(From OE-Core rev: 7faea9766127fe4e1023c89b140cc98020655155)

Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-10 12:35:21 +00:00
Wang Mingyu
ced238d842 nettle: upgrade 3.6 ->3.7
(From OE-Core rev: 83e2617fd693d3c8eb96622980cb229e64b01711)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-10 12:34:40 +00:00
Wang Mingyu
a018d62503 sysstat: upgrade 12.4.1 -> 12.4.2
(From OE-Core rev: 3a4e36afd6880d4ea6110df2d35822c2b5f3d130)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-10 12:34:40 +00:00
Wang Mingyu
5962ffe0ba tcl: upgrade 8.6.10 -> 8.6.11
0001-Fix-abd4abedd2-Failed-to-build-tk-8.6.10-with-cross-.patch
removed since it is included in 8.6.11

refresh alter-includedir.patch

(From OE-Core rev: 3e83b9de739964f52b87e24d648091b084a1cf30)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-10 12:34:40 +00:00
Wang Mingyu
55bf36bf4e tiff: upgrade 4.1.0 -> 4.2.0
(From OE-Core rev: 9c2c01607929f9aed8d606ef4e049a435d8fe6f2)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-10 12:34:40 +00:00
Wang Mingyu
d031768d95 shared-mime-info: upgrade 2.0 -> 2.1
(From OE-Core rev: 1bd182144e8454fa66d6870ddfb0352f5425e348)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-10 12:34:40 +00:00
Richard Purdie
8398c8576d pseudo: Update for arm host and memleak fixes/cleanup
Pulls in:

makewrappers: support architecture-overrides in wrapper modifiers
makewrappers: fix Python 2 hangover
Fix some memory leaks
Disable deprecated function warnings
Silence switch block warnings
pseudo_util: don't overrun strings when looking for keys

(From OE-Core rev: 11a3a9203ad595e7fa92acf442a7f3216d6e3830)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-10 12:34:40 +00:00
Richard Purdie
83cddc0212 ppp: Fix patch typo
(From OE-Core rev: c138c8df3aadecfca5ea72d3e66b9bc359c5a8fd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-09 09:09:50 +00:00
Richard Purdie
c56cafbc9b qemu: Add some user space mmap tweaks to address musl 32 bit build issues
(From OE-Core rev: 18a37fcd7c0a64a339d1eea88b16ba75c017c5d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-09 09:09:50 +00:00
Richard Purdie
d09b003052 qemu: Fix mingw builds
After the recent upgrade, mingw builds failed. Add a hack whilst a solution
is discussed upstream.

(From OE-Core rev: 967c6767eacab1951ae710666c588551102be5a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-09 09:09:50 +00:00
Richard Purdie
7cb670c4a9 qemu: Drop vm reservation changes to resolve build issues
When building with the new version of qemu we see errors like:

"""
qemu-i386: Unable to reserve 0x7ffff000 bytes of virtual address space at
0x1000 (Success) for use as guest address space (check your virtual memory
ulimit setting, min_mmap_addr or reserve less using -R option)

ERROR: The postinstall intercept hook 'update_gio_module_cache-nativesdk' failed
"""

The VM reseration patches we're carrying look suspicious in this context.
Drop them since the patches appear to be a liability causing other issues
and there is a much  simpler fix for the webkitgtk issues on musl on
32 bit (see later linux-user mmap patches).

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
(From OE-Core rev: 8a0efb16ca7cf22902fac743718c776b57c6d2f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-09 09:09:50 +00:00
Richard Purdie
0d298198e5 qemu: Upgrade 5.1.0->5.2.0
This involves some pretty major changes for qemu. In particular, they
switched to meson+ninja so we have to adapt to that.

Patch changes:
* CVE patches - dropped as backports
* cflags fix - upstream code changed significantly, need new patch if still issues
* mips TLB entries - dropped as merged upstream
* usb fix - dropped as merged upstream
* find_datadir - dropped as code no longer present that I could find

A patch was added to allow us to force the configure script into "cross" mode
without setting cross_prefix which has other effects we don't need/want.

Dependencies on meson/ninja were added.

Specifying the python interpreter causes the internal meson copy to be
built/used which is undesireable for us so don't do that. The correct
python is in PATH anyway.

Acked-by: Alistair Francis <alistair.francis@wdc.com>
(From OE-Core rev: 181c635567aafb9b4787d8d6d0bcd4a615ceae80)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-09 09:09:49 +00:00
Joey Degges
10c69538c0 bitbake: fetch/git: Fix usehead for non-default names
The usehead url parameter for git repositories causes bitbake to use
whatever commit the repository HEAD is pointing to if the repository
happens to have the name 'default'. This is the default name so in many
cases it works just fine, but if a different name is specified with the
url parameter 'name=newName' then it will fail to parse the recipe with
an error along the lines of:

ERROR: ExpansionError during parsing /path/to/my/recipe.bb
Traceback (most recent call last):
  File "/path/to/poky/bitbake/lib/bb/fetch2/git.py", line 235, in Git.urldata_init:
    >        ud.setup_revisions(d)
  File "/path/to/poky/bitbake/lib/bb/fetch2/__init__.py", line 1302, in FetchData.setup_revisions:
             for name in self.names:
    >            self.revisions[name] = srcrev_internal_helper(self, d, name)
  File "/path/to/poky/bitbake/lib/bb/fetch2/__init__.py", line 1167, in srcrev_internal_helper(name='newName'):
         if srcrev == "AUTOINC":
    >        srcrev = ud.method.latest_revision(ud, d, name)
  File "/path/to/poky/bitbake/lib/bb/fetch2/__init__.py", line 1562, in Git.latest_revision(name='newName'):
             except KeyError:
    >            revs[key] = rev = self._latest_revision(ud, d, name)
                 return rev
  File "/path/to/poky/bitbake/lib/bb/fetch2/git.py", line 650, in Git._latest_revision(name='newName'):
             raise bb.fetch2.FetchError("Unable to resolve '%s' in upstream git repository in git ls-remote output for %s" % \
    >            (ud.unresolvedrev[name], ud.host+ud.path))
bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: Unable to resolve 'master' in upstream git repository in git ls-remote output for /path/to/local/git/repo

Let's fix this by setting the unresolved rev of _all_ repository names
to 'HEAD' when the usehead url parameter is specified. Update the
currently failing test, test_local_gitfetch_usehead_withname, to now
expect success.

This change preserves existing behavior that allows usehead to be
overridden by a valid looking revision if one happens to be specified
instead of AUTOREV.

(Bitbake rev: 01e901c44ab0f496606b1d45c8953dc54970204c)

Signed-off-by: Joey Degges <jdegges@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:11:42 +00:00
Joey Degges
41ed881fea bitbake: tests/fetch: Test usehead with a non-default name
Add tests for fetching a URL with the usehead parameter set and a
non-default name set. We currently expect the local version of this test
to fail since there is a bug in the usehead implementation that breaks
for non-default names.

(Bitbake rev: a2345110f217fac429f6ec15f699c87c39531e7c)

Signed-off-by: Joey Degges <jdegges@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:11:42 +00:00
Joey Degges
d5c4cd6a0b bitbake: tests/fetch: Document behavior of test_gitfetch_usehead
The test `test_gitfetch_usehead' exercises a way to override the usehead
feature by setting SRCREV. It may not be obvious that this is what is
being exercised here so let's add some comments to document the expected
behavior.

(Bitbake rev: 1cd998c19101e3b093e81c126b3048c5d56058b0)

Signed-off-by: Joey Degges <jdegges@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:11:42 +00:00
Joey Degges
54f4968f36 bitbake: tests/fetch: Organize usehead tests by net requirements
Move the local only usehead test to the FetcherLocalTest class so it
will be run when BB_SKIP_NETTESTS=yes since it does not require
network access.

Rename the usehead tests to better match the new organization.

(Bitbake rev: 137cfa13d5319bc91c3e5fe6c7062cb8c8484d64)

Signed-off-by: Joey Degges <jdegges@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:11:42 +00:00
Milan Shah
0fa7258d27 bitbake: utils: add docstrings to functions
A list of functions that now has a docstring.
* vercmp_string
* explode_dep_versions
* prunedir
* prune_suffix
* to_boolean
* contains_any
* export_proxies

See [YOCTO #9725] for details.

(Bitbake rev: b61ba4a18693a9e553d2a93161feb0bcc1c82384)

Signed-off-by: Milan Shah <mshah@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:11:42 +00:00
Wang Mingyu
8877980c99 mobile-broadband-provider-info: upgrade 20190618 ->20201225
(From OE-Core rev: 812eb3121e0aabe4e3de9a8c61b1e62c87f55aa4)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Wang Mingyu
145246224b man-pages: upgrade 5.09 ->5.10
(From OE-Core rev: 19c9d654c30c71a95bca51a332ed531e09e72779)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Mingli Yu
c8910dd028 kbd: fix transaction conflict
After kdb upgrades to 2.4.0, vlock.pamd will be copied to /etc/pam.d/vlock
when install as [1].

And it will result in below Transaction error during do_rootfs when both
vlock and kbd installed:
| Transaction test error: file /etc/pam.d/vlock conflicts between attempted installs of vlock-2.2.3-r0.corei7_64 and kbd-2.4.0-r0.corei7_64

So rename vlock to vlock.kbd to fix the gap.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/legion/kbd.git/commit/?id=b9cbb05038e01a7c4b3899589c591734e643a281

(From OE-Core rev: 315f2453515a4cd0f1cc2d1bdddeb0c385aee2d4)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Paul Barker
9efd66ad10 selftest: Add argument to keep build dir
The oe-selftest code already keeps the selftest build directory in place
if any tests failed. By default the build directory is deleted if all
tests pass but there may be cases where it's desirable to keep this
directory around, for example to compare intermediate files between
passing and failing test runs.

(From OE-Core rev: 67aa7069dbe8f5f5f186eb67708ece5c4bd42976)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Ross Burton
46845d62ff ruby: remove tcl DEPENDS
The integrated Tcl/Tk module was removed in Ruby 2.4[1] back in 2016, so this
build dependency can be removed.

[1] 303dc3c591

(From OE-Core rev: 9f4e181924a83d7b26b11de765c202a9bd036f64)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Richard Purdie
5f8a32de9d pseudo: Add lchmod wrapper
New versions of glibc have an lchmod function so we need to wrap it.

Identified through a reproducibility issue in initramfs-base where
/dev/console created by mknod from coreutils changed permissions
depending on the host distro (mknod used the gnulib wrapper on most
hosts but newer ones used the libc call).

[YOCTO #14162]

(From OE-Core rev: 20a645664977530e602e1ac97e8dc0962e730e6c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Richard Purdie
c08279f9c3 sanity: Bump min python version to 3.6
There are a number of reasons 3.6 is a good minimum version. Of our supported/tested
distros, only debian 9 still had python 3.5, the others have 3.6+ or already
required buildtools-tarball.

New versions of qemu need python 3.6 as a minimum. We could work around that
but it seems simper to require 3.6 which will allow other improvements.

As such, bump the minimum python version requirement to 3.6.

(From OE-Core rev: 09385dd8d6be3aac31a4d8b1ca935d4fadfef7ba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Richard Purdie
9aa638ab6f ppp: Fix reproducibility issue
Depending on which patches the make program has, the internal or external
utmp could would be used. Add add a patch which avoids the issue and makes
the build determnistic. We saw the regression on ubuntu1604.

(From OE-Core rev: 77e8c0f0e1236a134148dfb2c4ba5e8a612984fe)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Richard Purdie
2961717078 ppp: Update 2.4.8 -> 2.4.9
This is the first ppp release in a long time. Many patches
were resolved upstream:

* musl fixes were merged
* EAP patch was a backport added upstream
* cflags were fixed upstream
* CVE fix was merged upstream and a backport
* pcap header from the host was fixed upstream
* suid bits during install was removed upstream

The only patch left was the /var/ redirect for resolv.conf which no longer
applied cleanly after upstream changes. For this one the patch will
need to be rewritten (and preferably submitted upstream) by someone
who needs/uses it. It was presumbaly for RO rootfs and may be resolved
by symlinks in modern system usage anyway.

Tweak the files pulled into the pppoe package for a compatibility
symlink and module rename.

Add CC to the OEMAKE command to allow builds correctly.

[Big thanks to Alex Kanavin for a lot of the work with upstream and
pre-release testing of this]

(From OE-Core rev: b524ba3e7941b9112ae4b6ae4aa7795c59ff0d16)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Richard Purdie
c5f7310d6f bitbake.conf: Add /run/ to PSEUDO_IGNORE_PATHS
Builds were failing on WSL2 which turns out to be due to accesses to
/run/ on those systems. Add this to PSEUDO_IGNORE_PATHS to fix
builds on WSL2.

[YOCTO #14175]

(From OE-Core rev: 1d1bf51217e8b4d54af28739d3271484ee5a7974)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Changqing Li
e377c957b1 libpam: support usrmerge
(From OE-Core rev: d7864a46092b8030accbc8c9a1c9055a762d69ba)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Robert Yang
c85bca39db ccache.bbclass: Set CCACHE_TEMPDIR
Fixed when build with buildtools-tarball:

$ bitbake linux-libc-headers
  HOSTCC  arch/x86/tools/relocs_common.o
  ccache: error: Failed to create directory /run/user/0/ccache-tmp: Permission denied

(From OE-Core rev: 98f52dba421cc2e14794e0b811ccac38f0683713)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Robert Yang
95d2587116 ccache: Extend to nativesdk
Now we have to use host's ccache as described by:
f5b29367af ccache.bbclass: use ccache from host distribution

So extend it to nativesdk and will add it to buildtools-tarball.

(From OE-Core rev: 7daf1e6e300e15e4be719e928a9100f4f454f405)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Khem Raj
65a8b7b38e ccache: Fix build on aarch64/clang
asm option checks in cmake gets it wrong to just check compiler options
to decide if SSE/AVX is supported, this accidentally then succeeds on
aarch64 and ends up compiler failures on aarch64 with clang

(From OE-Core rev: 0dea25b4296a66ec5c6d7bf5250ae0090e9b4016)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
zhengruoqin
cdf2be3746 gdbm: upgrade 1.18.1 -> 1.19
gdbm-fix-link-failure-against-gcc-10.patch
Removed since this is included in 1.19

(From OE-Core rev: d96bb907652bd83abc1386555a93678dd64ced4f)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
zhengruoqin
52dcec880f cantarell-fonts: upgrade 0.201 -> 0.301
(From OE-Core rev: 9a2a23d4ae4ea9eedac62c0205429cab43562fc3)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-08 10:10:15 +00:00
Ovidiu Panait
d9928413a4 variables: Add documentation for KERNEL_DTC_FLAGS
Add documentation for the newly introduced KERNEL_DTC_FLAGS variable.

(From yocto-docs rev: b2d5bf48fe4e76446a38762839865176294a4a3c)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:57 +00:00
Vivien Didelot
4434d5fa8e meta-yocto-bsp: use mmcblk0 for root partition
As for the boot partition, use mmcblk0 for --ondisk, not mmcblk.

(From meta-yocto rev: c86263d650058d85d78ad2b8497eb1104e7b83d0)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Vivien Didelot
fb2fcf239e meta-yocto-bsp: use provided variables
We already have the following variables defined above IMAGE_BOOT_FILES:

SPL_BINARY = MLO
KERNEL_IMAGETYPE = zImage
KERNEL_DEVICETREE = am335x-bone.dtb am335x-boneblack.dtb am335x-bonegreen.dtb

So use them instead of repeating their values.

(From meta-yocto rev: be07cc4f4e729905065ac6fbf1d46ebfdd79cf8f)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Vivien Didelot
56a0312128 README.hardware: fix the dd command
Add the missing if= prefix for the input image in the dd command.

(From meta-yocto rev: bebe392a37e78f6a00d7ef5c50fe7e14bc187e95)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Vivien Didelot
f47c80b571 README.hardware: prettify headline
Match the length of the headline with the above title.

(From meta-yocto rev: 7598b9cbb6429e65c9eb61d385e4717a59b0a44c)

Signed-off-by: Vivien Didelot <vdidelot@pbsc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Bruce Ashfield
4c577733f1 poky-alt: don't use conditional assignment for preferred kernel version
The include of poky.conf already sets a preferred kernel version, so the
one in the alt-config won't have any impact.

This normally isn't a problem, but when we are introducing a new kernel
that doesn't yet have compatibility with all machines, it throws warnings.

 WARNING: preferred version 5.10% of linux-yocto not available (for item kernel-module-x-tables)
 WARNING: versions of linux-yocto available: 5.4.69+gitAUTOINC+1c358e1969_cfcdd63145 5.8.13+gitAUTOINC+b976de4f41_5981001bf0

(From meta-yocto rev: a7b41f311eb79a2a112a75160b6d557029ca9904)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Bruce Ashfield
2fa1648470 yocto-bsp: explicitly set preferred version for reference boards
When we are bumping the default kernel version for the qemu*
reference boards, but before the h/w reference boards have been
updated, we need to explicitly set the default kernel version
for those boards. Otherwise, we'll end up with warnings about
preferred versions of kernel modules not being available

(From meta-yocto rev: da27ca50eebf80463cb8d7b85f3b705254823413)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Bruce Ashfield
dd4297f586 poky/poky-tiny: set preferred kernel to 5.10
(From meta-yocto rev: c368e39620afd92e0066bc4f5ea1eba6b8f00fd6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Ross Burton
3062672689 diffstat: point the license checksum at the license
Previously install-sh was used, which is installed by autoconf so isn't
a relevant license.

Also remove S assignment, as that's the default.

(From OE-Core rev: 23cb39a5fa2a55681e7bc2605f435135cec9173b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Trevor Woerner
6ddb9bc4bb psplash (sysvinit): add textual updates
The psplash program contains a hidden text box immediately above the
progress bar. Any text sent via a "MSG" command through psplash's fifo will
be displayed, centred, above the progress bar. Add the ability to show
which startup script is currently running, in sync with updates to the
progress bar. If a startup script takes a bit longer than others and the
progress bar stops momentarily, this allows the user to know which script
is responsible.

This feature is added with a knob, default off, for enabling or disabling
this feature. The knob is in the form of a PACKAGECONFIG against the
sysvinit recipe: psplash-text-updates

NOTE: this knob can be changed in the filesystem at runtime by editing
/etc/default/rcS regardless of how it is set in the build.

(From OE-Core rev: 6a48631e24341895f13029fb7c69dd67031f53c1)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Trevor Woerner
05091409dd psplash: fix working on first boot (sysvinit)
The psplash program has a mechanism for showing updates graphically in the
form of a progress bar. The program is told when and how much to fill the
progress bar via text messages sent through a fifo. If the fifo doesn't exist
when the psplash program starts, it tries to create it. If the fifo doesn't
exist or can't be created, the psplash program will refuse to run.

In various circumstances when a system is booted for the very first time,
the filesystem is mounted, initially, read-only. As a result the psplash
program is not able to run. On systems where the root filesystem is not
meant to be read-only, it will eventually be mounted read-write. Therefore the
psplash program can run on shutdown, and all subsequent boots. Only the first
boot is affected.

If a fifo is created and included in the filesystem as part of the recipe,
then filesystems that are meant to be read-only will have psplash work, as
well as the cases where (on first boot) a read-write filesystem is initially
mounted read-only.

NOTE: this is only an issue with sysvinit, and non-qemu machines.
systemd-based systems don't suffer from this first-boot issue, and neither
do the qemu machines.

NOTE 2: when psplash is done, it removes the fifo. Therefore the fifo used
for communicating with psplash doesn't hang around unnecessarily in the
filesystem.

(From OE-Core rev: d20978f9bce3caf473f5b4f55d645dbeabc1642d)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Trevor Woerner
a12ba3994d PSPLASH_FIFO_DIR: refactor
Add an entry for the psplash fifo directory to /etc/default/rcS and have the
pieces of code that need it source it from there rather than duplicating the
definition in multiple places throughout the code.

(From OE-Core rev: dc4065b6f101e6418301e0cb8d73ae3a1b2bdfb2)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Richard Purdie
5aa004f101 bitbake.conf: Add mkfifo to HOSTTOOLS
This is about to be needed by the psplash recipe and is a standard part
of coreutils so usually present on hosts.

(From OE-Core rev: 99206612a58e6b69718910e0806d9d36997b2fba)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Milan Shah
bdae907d77 oe-pkgdata-util: Added a test to verify oe-pkgdata-util without parameters
A test is implemented on poky/meta/lib/oeqa/selftest/pkgdata.py to test
the scenario when oe-pkgdata-util is executed without parameters and
help is displayed.

See [YOCTO #10726] for detailed bug information.

(From OE-Core rev: 6b4e2eafa6eb71ca94ccc8a18d05b473b352367c)

Signed-off-by: Milan Shah <mshah@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Ovidiu Panait
6806cd9915 timezone: upgrade to 2020f
Release 2020f - 2020-12-29 00:17:46 -0800

  Change to build procedure

    'make rearguard_tarballs' no longer generates a bad rearguard.zi,
    fixing a 2020e bug.  (Problem reported by Deborah Goldsmith.)

(From OE-Core rev: c7efa4d28d632d415ca574140586570ca376caf6)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Bruce Ashfield
b3a1873010 conf/machine: bump qemu preferred versions to 5.10
(From OE-Core rev: 804749e401bff95524e749dac5fca722e7047a2d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Bruce Ashfield
e4e3a328b6 linux-yocto/5.10: update to v5.10.2
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    d1988041d19d Linux 5.10.2
    dadaf794f207 serial: 8250_omap: Avoid FIFO corruption caused by MDR1 access
    ff654f1d31d5 ALSA: pcm: oss: Fix potential out-of-bounds shift
    07747a44be4f USB: sisusbvga: Make console support depend on BROKEN
    2440c1cb2514 USB: UAS: introduce a quirk to set no_write_same
    d769a22dc01f xhci-pci: Allow host runtime PM as default for Intel Maple Ridge xHCI
    3203c4abf505 xhci-pci: Allow host runtime PM as default for Intel Alpine Ridge LP
    1bee58e891f2 usb: xhci: Set quirk for XHCI_SG_TRB_CACHE_SIZE_QUIRK
    2bd9751e6790 xhci: Give USB2 ports time to enter U3 in bus suspend
    f1e6ab052c63 ALSA: usb-audio: Fix control 'access overflow' errors from chmap
    cc3edd81ef03 ALSA: usb-audio: Fix potential out-of-bounds shift
    d8f0c9ec3638 USB: add RESET_RESUME quirk for Snapscan 1212
    5fb2a55ad3e0 USB: dummy-hcd: Fix uninitialized array use in init()
    d483f5e5ce53 USB: legotower: fix logical error in recent commit
    2902e302991a ktest.pl: Fix the logic for truncating the size of the log file for email
    4e282a8dff80 ktest.pl: If size of log is too big to email, email error message
    d3f4117b0275 ptrace: Prevent kernel-infoleak in ptrace_get_syscall_info()

(From OE-Core rev: b58d9eaac1b6aa2cb1f5e575680a37f55bebdcf1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Bruce Ashfield
5093ecb7ff linux-yocto: introduce v5.10 reference kernel recipes
The 5.10 kernel will replace 5.8 as the reference kernel for the
next release.

With this commit, we add standard/tiny/rt support for that kernel
across all of the supported architectures and qemu reference
machines.

(From OE-Core rev: 74c5b98979172c0057883568df453da019abe235)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Bruce Ashfield
e400686558 machine/qemuarm*: add vmalloc kernel parameter
On kernel's v5.11+, we get the following warning after boot:

  [   47.287826] vmap allocation for size 3149824 failed: use vmalloc=<size> to increase size

It can be fixed by passing the vmalloc page size explicitly for our ARM
machines.

(From OE-Core rev: 5c6064e1a38f4dbb1ab3fa04adb1c772817826af)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Bruce Ashfield
21707e9e28 libc-headers: update to v5.10
As the reference kernel is going to v5.10, we also move the libc headers
to match. This is also the latest LTS kernel, so is appropriate for a
libc-headers version bump.

This has been tested against all supported architectures for both glibc
and musl.

(From OE-Core rev: 1f1412c9a52c4fa3ded4f87a0c7ffdc4a243d632)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Bruce Ashfield
cc724192f9 linux-yocto-dev: bump to v5.11-rc
(From OE-Core rev: 1c365dfda0dfd5be6e919928730093fd39b62078)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Bruce Ashfield
a6ceeec0ff linux-yocto/5.4: update to v5.4.85
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    19d1c763e849 Linux 5.4.85
    484ac6279ad2 x86/resctrl: Fix incorrect local bandwidth when mba_sc is enabled
    eb3f42cf5e67 x86/resctrl: Remove unused struct mbm_state::chunks_bw
    c4f909407015 membarrier: Explicitly sync remote cores when SYNC_CORE is requested
    a840e37ef800 Revert "selftests/ftrace: check for do_sys_openat2 in user-memory test"
    aa17a20d640d KVM: mmu: Fix SPTE encoding of MMIO generation upper half
    bb07f4c93e62 serial: 8250_omap: Avoid FIFO corruption caused by MDR1 access
    14482dc42c28 ALSA: pcm: oss: Fix potential out-of-bounds shift
    c94a31c19225 USB: sisusbvga: Make console support depend on BROKEN
    4ad8fc6cce01 USB: UAS: introduce a quirk to set no_write_same
    397d0ae4cb90 xhci-pci: Allow host runtime PM as default for Intel Alpine Ridge LP
    32c820e016b4 xhci: Give USB2 ports time to enter U3 in bus suspend
    5828ae0c1920 ALSA: usb-audio: Fix control 'access overflow' errors from chmap
    e72a55ea7168 ALSA: usb-audio: Fix potential out-of-bounds shift
    56339afa39e5 USB: add RESET_RESUME quirk for Snapscan 1212
    52c2ada6fe5e USB: dummy-hcd: Fix uninitialized array use in init()
    497993377bca ktest.pl: If size of log is too big to email, email error message
    a8d28a541500 net: stmmac: delete the eee_ctrl_timer after napi disabled
    ee08543f4598 net: stmmac: dwmac-meson8b: fix mask definition of the m250_sel mux
    5ae78c6926cc net: ll_temac: Fix potential NULL dereference in temac_probe()
    717a140a3635 net/mlx4_en: Handle TX error CQE
    d0363dcabbd1 lan743x: fix for potential NULL pointer dereference with bare card
    d4107a0f8802 net/mlx4_en: Avoid scheduling restart task if it is already running
    add880d788f0 tcp: fix cwnd-limited bug for TSO deferral where we send nothing
    5189c070a0d7 tcp: select sane initial rcvq_space.space for big MSS
    318d90218b21 net: stmmac: free tx skb buffer in stmmac_resume()
    d8d39e13668a bridge: Fix a deadlock when enabling multicast snooping
    cb327f83cf5e enetc: Fix reporting of h/w packet counters
    408c8213ee97 udp: fix the proto value passed to ip_protocol_deliver_rcu for the segments
    f7a756fc7cb9 net: hns3: remove a misused pragma packed
    2ef23e860e76 vrf: packets with lladdr src needs dst at input with orig_iif when needs strict
    cae90bd22cff net: bridge: vlan: fix error return code in __vlan_add()
    2e6a15b0b3d4 mac80211: mesh: fix mesh_pathtbl_init() error path
    1fe6b822b335 ipv4: fix error return code in rtm_to_fib_config()
    8b4f08f28015 ptrace: Prevent kernel-infoleak in ptrace_get_syscall_info()
    8a866bdbbac2 Linux 5.4.84
    c2c5dc84ac51 compiler.h: fix barrier_data() on clang
    69dc72f058c9 mm/zsmalloc.c: drop ZSMALLOC_PGTABLE_MAPPING
    3349f1e4cf6d x86/apic/vector: Fix ordering in vector assignment
    e3c1d51868f3 x86/membarrier: Get rid of a dubious optimization
    6346ed69bc7c x86/mm/mem_encrypt: Fix definition of PMD_FLAGS_DEC_WP
    258d646f006b scsi: be2iscsi: Revert "Fix a theoretical leak in beiscsi_create_eqs()"
    7d5fc53439a1 proc: use untagged_addr() for pagemap_read addresses
    6472d3ae6ef5 kbuild: avoid static_assert for genksyms
    0cd7084a2a03 drm/i915/display/dp: Compute the correct slice count for VDSC on DP
    60c1c68fae5e mmc: block: Fixup condition for CMD13 polling for RPMB requests
    974aa59837ed pinctrl: amd: remove debounce filter setting in IRQ type setting
    457f5289b7e7 Input: i8042 - add Acer laptops to the i8042 reset list
    cf596f3906e9 Input: cm109 - do not stomp on control URB
    d2d113aca34f ktest.pl: Fix incorrect reboot for grub2bls
    181088e37b1d can: m_can: m_can_dev_setup(): add support for bosch mcan version 3.3.0
    38b1dbc1229c platform/x86: touchscreen_dmi: Add info for the Irbis TW118 tablet
    2fa99f6f8f60 platform/x86: intel-vbtn: Support for tablet mode on HP Pavilion 13 x360 PC
    21aa2d1f2bfb platform/x86: acer-wmi: add automatic keyboard background light toggle key as KEY_LIGHTS_TOGGLE
    010e6e816f54 platform/x86: thinkpad_acpi: Add BAT1 is primary battery quirk for Thinkpad Yoga 11e 4th gen
    4778a11e0500 platform/x86: thinkpad_acpi: Do not report SW_TABLET_MODE on Yoga 11e
    eb5e28ffe39a arm64: tegra: Disable the ACONNECT for Jetson TX2
    c7e271337402 soc: fsl: dpio: Get the cpumask through cpumask_of(cpu)
    37aa8318ed43 spi: spi-nxp-fspi: fix fspi panic by unexpected interrupts
    864fbeab8c99 irqchip/gic-v3-its: Unconditionally save/restore the ITS state on suspend
    47fac0ccf775 ibmvnic: skip tx timeout reset while in resetting
    c0450df6d0f7 interconnect: qcom: qcs404: Remove GPU and display RPM IDs
    adad2bc9f303 scsi: ufs: Make sure clk scaling happens only when HBA is runtime ACTIVE
    b184e9800867 ARC: stack unwinding: don't assume non-current task is sleeping
    8ed74a012206 arm64: dts: broadcom: clear the warnings caused by empty dma-ranges
    acac3f7d7d22 powerpc: Drop -me200 addition to build flags
    8012a30b9e16 iwlwifi: mvm: fix kernel panic in case of assert during CSA
    c90527770b88 iwlwifi: pcie: set LTR to avoid completion timeout
    d411a07d6c04 arm64: dts: rockchip: Assign a fixed index to mmc devices on rk3399 boards.
    0e6cae4e8181 iwlwifi: pcie: limit memory read spin time
    591afbc97c18 x86/lib: Change .weak to SYM_FUNC_START_WEAK for arch/x86/lib/mem*_64.S
    018b05e0f05b Kbuild: do not emit debug info for assembly with LLVM_IAS=1

(From OE-Core rev: 3dd19af60e5e4059ce7c7a67ff16fba1cb00de80)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-05 13:48:41 +00:00
Elvis Stansvik
3b2b57e408 ref-manual: terms: Fix poky tarball root folder
When extracting the tarball the root folder is not named `poky`, but
e.g. `poky-gatesgarth-24.0.0`.

(From yocto-docs rev: 8c92f709cbd96310b7153dd55dae8fa4899a7818)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-04 11:25:57 +00:00
Li Wang
16cd1024be qemu: CVE-2020-28916
References:
https://nvd.nist.gov/vuln/detail/CVE-2020-28916

backport patch from:
https://git.qemu.org/?p=qemu.git;a=commit;h=c2cb511634012344e3d0fe49a037a33b12d8a98a

(From OE-Core rev: cbc20b9d8d119bfd777f83432c760dcdb94f07f9)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-03 08:58:26 +00:00
Li Wang
2b2431625c qemu: CVE-2020-25723
References:
https://nvd.nist.gov/vuln/detail/CVE-2020-25723
https://bugzilla.redhat.com/show_bug.cgi?id=1898579

backport patch from:
https://git.qemu.org/?p=qemu.git;a=commit;h=2fdb42d840400d58f2e706ecca82c142b97bcbd6

(From OE-Core rev: 3a52f12bd08bd6f0e386c78f9f87acacdb7714cb)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-03 08:58:26 +00:00
Khem Raj
edc9198e16 dropbear: Disable lastlog and wtmp on musl
Not provided by musl library

(From OE-Core rev: 97dc1a2844d1f954fc0c86fe406ffbacc88a2133)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-03 08:58:26 +00:00
Khem Raj
270d61ccb3 openssh: Disable lastlog on musl
(From OE-Core rev: 0e9b2fe106e3c6c0a1f27e7a56a11e86e5de371e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-03 08:58:26 +00:00
Khem Raj
34b1e06b5e rxvt-unicode: Disable lastlog on musl systems
it needs logwtmp implementation which is not there in musl

(From OE-Core rev: e27447fe6abc35860c5d99d9aa259f86b6a002b0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-03 08:58:26 +00:00
Khem Raj
e698e66dd8 shadow: Remove lastlog pam plugin on musl system
lastlog needs logwtmp which musl does not provide

(From OE-Core rev: f2b826fe5384dde4aa52ce862cd3098acb4feea2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-03 08:58:26 +00:00
Richard Purdie
fb1fe1a60d man-db: Fix reproducibility issue
Executing a sequence like:

bitbake man-db
bitbake man-db -c clean
bitbake man-db -c package_write_deb -f

results in the ownership of files in the man-db package changing from "man/man"
to "6/12". This is due to base-passwd not being installed in the recipe
sysroot.

Add the missing dependency so even if a recipe "re-packages", the name
of the user/group is found and the packages are reproducible.

[YOCTO #14172]

(From OE-Core rev: 769f8be29a192fd4fa0c4752f851fa3728d71179)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-03 08:58:26 +00:00
Lee Chee Yang
3fa6a47aeb wic/direct/kparser: ensure fsuuid for vfat and msdos align with format
vfat/msdos filesystem should have fsuuid in format 0xYYYYYYYY where "0x"
in front follow with 8 hexadecimal number in uppercase. In wic, when using
custom fsuuid for vfat/msdos partition in wks, it is able to set the value
in any length, with or without leading "0x". This can cause fsuuid
missaligned when fstab updates, fstab expect exactly 10 character
fsuuid for vfat/msdos partition and all in uppercase.

if custom fsuuid for vfat/msdos is set, check the length and format,
error if it exceed the format size. Amend it so it is align with format
0xYYYYYYYY. This is done before image create and fstab update to ensure the
fsuuid are same in all followup process. if custom fsuuid length less than
expected, fill in "0".

[YOCTO #14161]

(From OE-Core rev: d9686ae511ef10a504becfd81bfe296b788e1456)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-01 23:15:13 +00:00
Khem Raj
0e80f23879 ccache: Build fixes for clang and riscv32
Backport patch to improve AVX detection helps build with clang
Add proposed patch to fix build with 32bit architectures using 64bit
time_t

(From OE-Core rev: 15a21998ef8898e11481e77535550fa7ddfd4705)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-01 23:15:13 +00:00
Khem Raj
d287745d12 libpam: Drop musl patches
These issues are addressed in libpam overtime and no longer needed thusly
in 1.5.x

(From OE-Core rev: 488c554623839d17436333894f9f4b244347de9d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-01 23:15:13 +00:00
Richard Purdie
7fbf349e1d grub: Further reproducibility fix
Fix the ordering in the generated unidata.c file to aid reproducibility.

[YOCTO #14167]

(From OE-Core rev: 6d9c9f7604fd32ef926726a46ae053bbab6ccb4f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-01 23:15:13 +00:00
Scott Murray
897a7d5679 patch: fix CVE-2019-20633
* CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2019-20633

* upstream tracking: https://savannah.gnu.org/bugs/index.php?56683

* Fixes potential for double free after incomplete fix for CVE-2018-6952
  - src/pch.c (another_hunk): Avoid invalid memory access in context format
    diffs.

(From OE-Core rev: be71dd2cc16a4c0d244a76a748f08ca0d9bfeba0)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-01 23:15:13 +00:00
Scott Murray
d61e6e87aa grub: fix "CVE:" line in one of the patches
The "CVE:" line in the patch for CVEs 2020-14309, CVE-2020-14310, and
CVE-2020-14311 had commas between the CVE numbers, which resulted in
CVE-2020-14310 not being picked up as patched by cve-check.bbclass's
parsing.  Remove the commas to match cve-check.bbclass's expectations.

(From OE-Core rev: 396d5c0f9cffa4b54ae94738b1ef2b6fb545f082)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-01-01 23:15:13 +00:00
Lee Chee Yang
ee867453ff gdk-pixbuf: fix CVE-2020-29385
Backport patch from
bdd3acbd48

image file in upstream patch is for test purpose only, it cause error during
do_patch so drop it:
File tests/test-images/fail/hang_114.gif: git binary diffs are not supported.

(From OE-Core rev: 7cd401b7c60dba91f6fb10395ab4a10a267cf23d)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:56:41 +00:00
Yi Zhao
b9a5c512bc dhcpcd: upgrade 9.3.4 -> 9.4.0
Drop backported patches:
  0001-Linux-Fix-privsep-build-by-including-sys-termios.h-f.patch
  0001-privsep-Fix-Linux-i386-for-SECCOMP-as-it-just-uses-s.patch

(From OE-Core rev: abb05cbfd954775decbd6556d3d5f036ebb01fe3)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:56:41 +00:00
Teoh Jay Shen
372136468a oeqa/suspend : add test for suspend state
This test case is checking the command and LAN device behaviour before and after suspend state. The Test_if_LAN_device_works_well_after_resume_from_suspend_state and standby manual test cases from oeqa/manual/bsp-hw can be replace by this runtime test.

(From OE-Core rev: 10728035a606483ea67f6cb8ba5779558856593a)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:56:41 +00:00
Changqing Li
8fee7b2278 libexif: fix CVE-2020-0198; CVE-2020-0452
(From OE-Core rev: 46d837442ab216941df2d02f60c69155463e02d8)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:56:41 +00:00
Alexander Kanavin
9535f14f1b ell: upgrade 0.33 -> 0.35
(From OE-Core rev: 69952f5bf247fc42103a249a48213017f50e319d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:56:41 +00:00
Khem Raj
bcbbd13c63 util-linux: Build fixes for 32bit arches with 64bit time_t
some 32bit architectures ( e.g. riscv32 and arc ) are using 64bit time_t
from get go, therefore may not have time32 syscalls, these backports
help restore the successful builds for util-linux on such machines

(From OE-Core rev: df9535626c66e59c6769bd7cc285c6f26271c6aa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:56:41 +00:00
Alexander Kanavin
620e4689db util-linux: upgrade 2.36 -> 2.36.1
(From OE-Core rev: a8a6c7e0e34fc6044d40a43e5f3add251ddd4ab6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:56:41 +00:00
Martin Jansa
30b73ad7a1 busybox.inc: install rcS, rcK and rcS.default only with busybox in VIRTUAL-RUNTIME_init_manager
* since
  https://git.openembedded.org/openembedded-core/commit/?id=991394be9e695f9ddb5e2fca167c06f7a56a7449
  the rcS.default is in SRC_URI only when VIRTUAL-RUNTIME_init_manager is 'busybox'
  but this section in do_install was controlled by
  CONFIG_INIT=y in /.config which for busybox-initrd from meta-virtualization
  caused:

  ERROR: busybox-initrd-1.32.0-r0 do_install: Execution of '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/busybox-initrd/1.32.0-r0/temp/run.do_install.1481880' failed with exit code 1:
  CONFIG_FEATURE_MDEV_CONF=y
  install: cannot stat '/OE/build/oe-core/tmp-glibc/work/core2-64-oe-linux/busybox-initrd/1.32.0-r0/rcS.default': No such file or directory
  WARNING: exit code 1 from a shell command.

(From OE-Core rev: 00f22daa9774783ba14073fb871bbbc6e7c5354d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
238c1b1389 gawk: add missing ptest dependency
Somewhere between the recipe updates, the needed locale
is no longer installed to the ptest image implicitly.

(From OE-Core rev: 69ce1914484a86e9f440aeaab887cae671d679b9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
95c76b9bd4 ccache.bbclass: use ccache from host distribution
ccache 4.x has hard dependencies on cmake-native (used as
build system) and zstd, which means inserting ccache-native
as DEPENDS into everything creates circular dependencies which
are impossible to break.

ccache 3.x did not have this problem as it used plain makefiles
and an in-tree copy of zlib.

(From OE-Core rev: f5b29367af4d8e5daea5771264774aa49519f9a8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
2ccb91bc74 ccache: upgrade 3.7.11 -> 4.1
Convert recipe from autotools to cmake.

zstd is a new hard dependency.

License-Update: formatting

(From OE-Core rev: e373ecf276265a938a3acd42d9c25ce78d5f5330)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
1027f7a3c3 cmake: update 3.18.4 -> 3.19.2
License-Update: only the first two lines contain licensing info

(From OE-Core rev: 72f86e4e986b70600a746eb219315b81b0367be3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
d880402d75 gnu-config: update to latest revision
(From OE-Core rev: 4c1895bf57e8c076ea202d750826e321d45e50ba)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
5def5381b6 mtools: update 4.0.25 -> 4.0.26
(From OE-Core rev: b9089247a2cd42bbf7a973d21d3dc999ebd1e89c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
9b894b9f96 python3-pytest: update 6.1.2 -> 6.2.1
(From OE-Core rev: 7c84d3b0112daa6006c35c19d66b544f7d2ef31b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
34ec636f19 strace: update 5.9 -> 5.10
Drop 0001-xlat-Mark-IPPROTO_MAX-last-in-IPPROTO_-constants.patch
as upstream has removed IPPROTO_MAX altogether.

(From OE-Core rev: ea6f27e35b6cac4db9e1ab0d9a888d15daba6c09)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
b0384720a4 libpam: update 1.3.1 -> 1.5.1
Remove crypt_configure.patch, issue fixed upstream.

Remove pam-security-abstract-securetty-handling.patch and
pam-unix-nullok-secure.patch, patches coming from debian,
difficult to rebase, and their purpose is unclear.

Disable doc generation, as libpam messes up native and target
compiler options.

Adjust dependencies and packaging.

(From OE-Core rev: 43e3d014748b1ccff25c232b1e6d9345859c0f29)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
8df315fcf6 vulkan-samples: update to latest revision
(From OE-Core rev: e1ffe54edb93c9e7130b0771c9f0bf409dc637cc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
b917439cb9 kexec-tools: update 2.0.20 -> 2.0.21
Drop patches that are either backports, or are obsolete
by upstream fixing the issues.

(From OE-Core rev: 9f4566b9dc37534fddbe65f4fd967454d3ad7690)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
cf8a40e6c4 boost: update 1.74.0 -> 1.75.0
Remove 0001-Apply-boost-1.62.0-no-forced-flags.patch.patch:
upstream has refactored the code, purpose of the patch is unclear.

(From OE-Core rev: fe931dbdb6eebf99e5f034d4b530387066486f4c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
df0bb1cb96 gnupg: update 2.2.23 -> 2.2.26
(From OE-Core rev: eb7ad793d8c2e924adccc62e7680bb1cac640e89)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
9df2b1b5a9 gnutls: update 3.6.15 -> 3.7.0
(From OE-Core rev: 6c4b2dcf82378419efca587f033ecac08fbc3b00)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
14a97e0cdb icu: update 68.1 -> 68.2
(From OE-Core rev: 4de7470c17aff5fe66f3baf96af88577c091b4c7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
200a4edd20 libjitterentropy: update 2.2.0 -> 3.0.0
License-Update: copyright years

(From OE-Core rev: b1b1ad309dd1a710d1352e3614eb155d44fecd52)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
6dc6675307 libksba: update 1.4.0 -> 1.5.0
(From OE-Core rev: 3b87034b9347ce6922388f95d20caea9b256ce9a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
dfcdb32251 ovmf: upgrade 202008 -> 202011
(From OE-Core rev: f1382f73f1faa0653aebd2cbb492131972755c20)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Alexander Kanavin
f1efa4792f devtool: gitsm:// should be handled same as git:// in upgrades
(From OE-Core rev: e7076f1742bb83e76aa4e90aad861546536166cf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-31 11:53:26 +00:00
Richard Purdie
e4b1b01f5a selftest/reproducible: Add useradd-staticids to reproducible builds tests
Its surprising we've made it this far without this, add in some specific
uid/gid settings to ensure these don't cause false positives to the tests.

(From OE-Core rev: 77397bace64dfd03e704400fea918d93f00d0bf7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Richard Purdie
919d8d2973 meta-selftest/staticids: Add ids for other recipes
Add dhcpc's uid/gid to the static configs used by meta-selftest for
testing since dhcpc was added to OE-Core.

Also realised many other ids were missing for other OE-Core recipes
so also add those.

(From OE-Core rev: 120551f30d86d3d5bd992c50b6751cb715a57e30)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Ovidiu Panait
46147fa5c0 timezone: upgrade to 2020e
Briefly:
  Volgograd switches to Moscow time on 2020-12-27 at 02:00.

Changes to future timestamps

  Volgograd changes time zone from +04 to +03 on 2020-12-27 at 02:00.
  (Thanks to Alexander Krivenyshev and Stepan Golosunov.)

Changes to past timestamps

  Correct many pre-1986 transitions, fixing entries originally
  derived from Shanks.  The fixes include:
    - Australia: several 1917 through 1971 transitions
    - Bahamas: several 1941 through 1945 transitions
    - Bermuda: several 1917 through 1956 transitions
    - Belize: several 1942 through 1968 transitions
    - Ghana: several 1915 through 1956 transitions
    - Israel and Palestine: several 1940 through 1985 transitions
    - Kenya and adjacent: several 1908 through 1960 transitions
    - Nigeria and adjacent: correcting LMT in Lagos, and several 1905
      through 1919 transitions
    - Seychelles: the introduction of standard time in 1907, not 1906
    - Vanuatu: DST in 1973-1974, and a corrected 1984 transition
  (Thanks to P Chan.)

  Because of the Australia change, Australia/Currie (King Island) is
  no longer needed, as it is identical to Australia/Hobart for all
  timestamps since 1970 and was therefore created by mistake.
  Australia/Currie has been moved to the 'backward' file and its
  corrected data moved to the 'backzone' file.

Changes to past time zone abbreviations and DST flags

  To better match legislation in Turks and Caicos, the 2015 shift to
  year-round observance of -04 is now modeled as AST throughout before
  returning to Eastern Time with US DST in 2018, rather than as
  maintaining EDT until 2015-11-01.  (Thanks to P Chan.)

Changes to documentation

  The zic man page now documents zic's coalescing of transitions
  when a zone falls back just before DST springs forward.

(From OE-Core rev: 9d7643339b4db6609b2bad1f76599a54da9d17f2)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Bruce Ashfield
3a457ee449 kernel-devsrc: fix 32bit ARM devsrc builds
As a follow up to commit: 0fc66a0b64953 [kernel: provide module.lds
for out of tree builds in v5.10+], we must not only copy module.lds
from its new location, we have to not error when it isn't found in
the old location.

With this tweak, we have coverage on all supported arches for the
new location of module.lds, and backwards compatibility through
kernel versions.

(From OE-Core rev: cb940d8af359fa370254bd4c2b36ba26708bb54b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Trevor Woerner
50734c7f71 selftest-chown: add test for fifos
Verify that fifos are properly handled by the build system.

(From OE-Core rev: 53988b6389ce618d4cff52bd09ae91108beca354)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Chris Laplante
53afafe429 contrib/git-hooks: add a sendemail-validate example hook that adds FROM: lines to outgoing patch emails
This is useful for people using Microsoft Exchange / Office 360, which
butchers patches causing author identity to be lost.

(From OE-Core rev: 8dc690fddc1bace6b7af3f5e8af60c1625b067db)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
zangrc
2421a2ca5d msmtp: upgrade 1.8.13 -> 1.8.14
(From OE-Core rev: cbadca9a7e41ad783f1fa4ab145542759f74423f)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
398cbaf51a zstd: update 1.4.5 -> 1.4.8
(From OE-Core rev: f0597e15fefad06ccfc45194c00bc31f056b85d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
1358b55d9c zstd: add recipe from meta-oe
Zstd is becoming increasingly popular as the modern compression
standard, and there are several recipes in core now that have an option
for it.

(From OE-Core rev: b132e9e8647c74fba439c689ec1409993e8590ed)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
de2c7c1ff4 systemd-bootchart: update 233 -> 234
(From OE-Core rev: 156efc7b9f44e15d72bf42bc11af39988102036d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
7b49a5f062 vulkan-tools: upgrade 1.2.154.0 -> 1.2.162.0
(From OE-Core rev: 7c02312db002a2bd9bf3a028ba0174a56fc09194)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
b6e0aafcf5 vulkan-loader: upgrade 1.2.154.1 -> 1.2.162.0
(From OE-Core rev: daaaf5c7163cd30363b21e21d7f6a32ada967dfc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
ec7bc4a26c python3: update 3.9.0 -> 3.9.1
(From OE-Core rev: 11935507525e9c5c0dd6dcb217bdfee0b07ebba9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
78be3dcdcf python3-importlib-metadata: update 3.1.1 -> 3.3.0
Correct SRC_URI and upstream regex to enable automatic version upgrades.

(From OE-Core rev: 5c04abf915b32481081c6eef41595d6f3db08613)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
546675db20 libva-utils: update 2.9.1 -> 2.10.0
(From OE-Core rev: 878da93e137dd3dbe82b00a965dd0b623c4df1d7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
8a70b25583 libdnf: update 0.55.0 -> 0.55.2
(From OE-Core rev: 0370480359b66cd419dfcecbb6578bb2ed18afc5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
5762a92d0a sbc: update 1.4 -> 1.5
(From OE-Core rev: cf770a4ebf0141e52e25117899ac578a50521dd5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
91612d184d piglit: update to latest revision
(From OE-Core rev: 6fbec0f12a4083341ae2bd3de05f66196bbf5327)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
74d0f71173 rpm: update 4.16.0 -> 4.16.1.2
(From OE-Core rev: bf2c7f82f07509424ce25ed5f64a03d7e4723fd1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
5a0fd9a1c2 glib-2.0: update 2.66.2 -> 2.66.4
(From OE-Core rev: f899f5b55c2d1c2418a1088b8da4ca3655a391fb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:07 +00:00
Alexander Kanavin
e43a1b06bd xserver-xorg: upgrade 1.20.9 -> 1.20.10
(From OE-Core rev: 3b03545ea141a9b6c38742aea6e8464e1a1b2a26)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
4b398d9015 xprop: upgrade 1.2.4 -> 1.2.5
(From OE-Core rev: f6bf58c41eed5361ba22b176225a7894c2539e1b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
6bc82ac15a webkitgtk: upgrade 2.30.2 -> 2.30.4
(From OE-Core rev: f076192f7f33a3f5fb9eb45a48e4110373a9cb81)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
e593009336 vulkan-headers: upgrade 1.2.154.0 -> 1.2.162.0
(From OE-Core rev: 3f96db0b6a053a920be40532a17aebb4f34bebc8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
7be5097fe5 vala: upgrade 0.50.1 -> 0.50.2
(From OE-Core rev: 8207c53b4e1212bb3cbb9fe059c2100c0b711c2b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
8ef551159d sysvinit: upgrade 2.97 -> 2.98
(From OE-Core rev: bfcf3304cc35e59aafb66a3b61278cc11f96fec7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
8d8bd70fca sudo: upgrade 1.9.3p1 -> 1.9.4p1
(From OE-Core rev: 14f6e64b4ca08e19d9465a7903f4eb5bf9838052)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
5910ddeef7 stress-ng: upgrade 0.11.24 -> 0.12.00
(From OE-Core rev: 39ff76621a9f62a5b3a9e4f42395f43326c8031f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
5949ae2dad sqlite3: upgrade 3.33.0 -> 3.34.0
(From OE-Core rev: 12c8b9c2700b5cc69be3e966ad0bd6d6859f82bc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
9134efe231 python3-setuptools-scm: upgrade 4.1.2 -> 5.0.1
(From OE-Core rev: a63df7f1396ed1456c797cf396b3d365a133b1ee)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
600ba023b7 python3-py: upgrade 1.9.0 -> 1.10.0
(From OE-Core rev: 7893aae402cd2df906cfe8b0d7fb799cc3049669)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
6f01ce10df python3-hypothesis: upgrade 5.41.5 -> 5.43.3
(From OE-Core rev: 8549dae3e66bd6a41540f0d0e3346e7e78633414)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
d915fff696 puzzles: upgrade to latest revision
(From OE-Core rev: 063b9ef40cd2a95ef564d7f0b0ad76966976b22b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
811d6ecce3 ninja: upgrade 1.10.1 -> 1.10.2
(From OE-Core rev: e42798d41e8ee529de3c3d5a98dc64f6a0af67ce)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
095bfb453b lighttpd: upgrade 1.4.56 -> 1.4.57
(From OE-Core rev: 340494603a36b6cfaf33b517f116549ae16c4f17)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
cfaa296a7a libx11: upgrade 1.6.12 -> 1.7.0
(From OE-Core rev: 8b46fa5fdf9d5fb159e552a06fc4622cc99b30c2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
b0e1740a87 libva: upgrade 2.9.0 -> 2.10.0
(From OE-Core rev: e4e3423891755a2601c127e138a713a79f1be61e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
ad5730468b libusb1: upgrade 1.0.23 -> 1.0.24
(From OE-Core rev: 80b435a818aabba0d9dceb860a2159cfec2e1dd1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
fb7161b580 libtirpc: upgrade 1.2.6 -> 1.3.1
(From OE-Core rev: 4ac2836b4526bb2aa481f76022ebffb5968e5865)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
f231f06f1c libpcre2: upgrade 10.35 -> 10.36
License-Update: email address changed
(From OE-Core rev: a3a323744d1479bc734902751ac418d441193eb0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
51168f2a05 libmodulemd: upgrade 2.9.4 -> 2.11.1
(From OE-Core rev: 719aa85ecb70d85d258fffc17ef9cadf9b01f3a8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
056c461fec kea: upgrade 1.8.1 -> 1.8.2
(From OE-Core rev: f1635ee9b94c50b347fdd01277d27c3339026a49)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
4c16258770 kbd: upgrade 2.3.0 -> 2.4.0
(From OE-Core rev: 0bb9e942a6919990fc0f9491d754fe49b7f6aeaf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
8ef66328c1 init-system-helpers: upgrade 1.58 -> 1.60
(From OE-Core rev: 3ae7b7f72d4b55d66e6f8f8a9bc71e14fb826c47)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
8bb11d7986 gtk+3: upgrade 3.24.23 -> 3.24.24
(From OE-Core rev: 532f4c12c4edcc39addd2d92010023975dca3826)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
9ca51c8241 ethtool: upgrade 5.9 -> 5.10
(From OE-Core rev: 2a65abeee1888108c2cbcc989f2774fe9ce28366)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
8ff9bbd64f epiphany: upgrade 3.38.1 -> 3.38.2
(From OE-Core rev: 75fce00e3a289c912a4fe91fe1fa62cedff8d914)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
bbe0ddc961 enchant2: upgrade 2.2.13 -> 2.2.14
(From OE-Core rev: 1c576e76e7a568cd10525b6243c61659529cac21)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
86dd300de9 dnf: upgrade 4.4.0 -> 4.5.2
(From OE-Core rev: f21490a872d8d3f74df7b6b788a1911014fcb32c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
b24831ee76 diffoscope: upgrade 161 -> 163
(From OE-Core rev: 431c43b24d6ee85ba8d1ab89f4ed71f0ff4f79b9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
ce7a278419 bind: upgrade 9.16.9 -> 9.16.10
(From OE-Core rev: c678600a55a8dccf461a8d0206ffdbc57313d1c4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Alexander Kanavin
baa83c88ce acpica: upgrade 20201113 -> 20201217
(From OE-Core rev: bff20a10a9eb016e9d41332d2eb820cfbeca5071)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Trevor Woerner
f0d083a984 insane.bbclass: allow fifos
Allow recipes to create fifos. If insane.bbclass tries to read() a fifo,
the process will hang waiting for something to read(). Therefore, skip any
check that would try to read() the object, if the object is a fifo.

(From OE-Core rev: a7b1d22e93c8846d84a9855876038c2b38958dec)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-30 14:01:06 +00:00
Steve Sakoman
10955631b0 oeqa/selftest/cases/devtool.py: fix typo in ignore_patterns call
Causes intermittent autobuilder errors:

2020-12-21 19:34:23,035 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 68, in setUpModule
    bb.utils.edit_bblayers_conf(bblayers_conf, None, None, bblayers_edit_cb)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1460, in edit_bblayers_conf
    (updated, newlines) = edit_metadata(newlines, ['BBLAYERS'], handle_bblayers)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1290, in edit_metadata
    if handle_var_end():
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1215, in handle_var_end
    (newvalue, newop, indent, minbreak) = varfunc(in_var, full_value, op, newlines)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/bitbake/lib/bb/utils.py", line 1425, in handle_bblayers
    res = edit_cb(layer, canonicalise_path(layer))
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 60, in bblayers_edit_cb
    shutil.copytree(pth, destdir, ignore=ignore_patterns('*.pyc', '__pycache__'))
NameError: name 'ignore_patterns' is not defined

(From OE-Core rev: c2d9612279fce9cbcb738913b2042949f692c4a5)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Yi Zhao
520ceb4ba1 libcap-ng: upgrade 0.8.1 -> 0.8.2
SRC_URI update: http -> https

(From OE-Core rev: 9965c3b6663ef7a39c6b4c3ed2826acdc42c7c45)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Yi Zhao
ec66008643 libcap: update 2.45 -> 2.46
Rebase 0001-tests-do-not-statically-link-a-test.patch

(From OE-Core rev: 86d657364bb2ed859ed7151d56cca431104d8279)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Tomasz Dziendzielski
1d3e7c7832 populate_sdk_base: Fix condition syntax if SDK_RELOCATE_AFTER_INSTALL is disabled
If variable is set to empty string the comparison is "if [ -eq 1 ]"
which fails with "[: -eq: unary operator expected".

(From OE-Core rev: 36a2dc83fd0e1d6e2b8441e24a4cbc48a6c4fc19)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Martin Jansa
7068df34ce license.bbclass: Add COMMON_LICENSE_DIR and LICENSE_PATH dirs to PSEUDO_IGNORE_PATHS
* now without ${COREBASE}/meta in PSEUDO_IGNORE_PATHS after:
  73d538f207 bitbake.conf: Prevent pyc file generation in pseudo context
  the do_package tasks are failing when LICENSE_CREATE_PACKAGE is enabled
  pseudo.log shows that it's because of license texts copied from
  ${COREBASE}/meta:
  path mismatch [46 links]: ino 96733640 db '/OE/build/tmp-glibc/work/all-oe-linux/foo/1.0/image/usr/share/licenses/foo/generic_Apache-2.0' req '/OE/build/openembedded-core/meta/files/common-licenses/Apache-2.0'.

(From OE-Core rev: 39423a33595e7ade82fc88f55823660f8532cb84)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Ross Burton
c74ec1dd73 bitbake.conf: default SDKMACHINE to the build host architecture
Currently there's a limitation that Extensible SDKs can only be build on a
machine with the same architecture as the SDK.

However, SDKMACHINE defaults to x86-64, which means eSDKs cannot be built
out of the box on arm64 systems.

By defaulting SDKMACHINE to ${BUILD_ARCH} we generate SDKs for the build
host, so they'll always work out of the box.

(From OE-Core rev: 539cd4a5fbb9e4507d90bfb1165fcb06907b46d8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Yi Zhao
3e4fd525cb inetutils: add dnsdomainname to ALTERNATIVE
The dnsdomainname can also be provided by busybox and net-tools. Also
move it from ${bindir} to ${base_bindir} because the command provided by
busybox or net-tools is located here.

(From OE-Core rev: 3b258e4d9e38d4224029ad503c7821d9381264c0)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Yi Zhao
578818509d dhcpcd: fix SECCOMP for i386
The dhcpcd doesn't work on Intel 32bit platform. Backport a patch to fix
the issue.

(From OE-Core rev: e8b03a8e3a6748374340d45ce39e922eee6817e3)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Alexander Kanavin
2848b3d949 glib-2.0: add a patch to increase a test timeout
There have been intermittent ptest failures in this test;
I couldn't reproduce the failures in isolation, and
this is the only reason I can think of from reading code.

(From OE-Core rev: eddbc1880231dd3839c635f688a2a46589fd1b51)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Ross Burton
2d99b0993a kernel: set COMPATIBLE_HOST to *-linux
The target system triple contains whether the target is Linux or not,
so use it to avoid situations where you can attempt to build a kernel
for systems which don't support Linux.

(From OE-Core rev: b1eeeab21a81990321468ddbdd1745ea24d1828d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Khairul Rohaizzat Jamaluddin
4f6358f50c curl: Update 7.73.0 -> 7.74.0
update to version 7.74.0

curl 7.74.0 hsts: add experimental support for Strict-Transport-Security with various bug fixes

Reference:
https://curl.se/changes.html#7_74_0

update includes fix for CVE:
CVE-2020-8284
CVE-2020-8285
CVE-2020-8286

(From OE-Core rev: 0461baec8bef003a0bfcc9939e4e40654be36f10)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Trevor Woerner
a482c780ad mesa: update 20.2.4 -> 20.3.1
Two of the patches have been applied upstream:
	0001-meson-Add-xcb-fixes-to-loader-when-using-x11-and-dri.patch
	0005-vc4-use-intmax_t-for-formatted-output-of-timespec-me.patch

The 'surfaceless' platform is now enabled by default, therefore it is no
longer a valid choice. The meson build system is intelligent enough now to
decide if 'drm' needs to be enabled based on whether or not gbm is available.
Therefore 'drm' also is no longer a valid platform choice:

	ERROR: Options "drm, surfaceless" are not in allowed choices: "auto, x11, wayland, haiku, android, windows"

RP: Add missing mesa-gl upgrade
(From OE-Core rev: de68fe9268092c0600a81bedfc805eaed9dcb87b)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Bruce Ashfield
bbb16e57f8 linux-yocto/5.4/cfg: fix FIRMWARE_LOADER warnings
Integrating the following commit(s):

    a1b2d188bdf config: set firmware loader to 'y'

The updated kern-tools are showing us warnings that were previously
hidden. To silence the fw_loader warning, we need to set the value
to 'y' (since it is 'y' selected by other options and we can't
override that).

(From OE-Core rev: 491665d42f3a7b139ab0f220e8e18dcd29f1e2e6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:25:14 +00:00
Ross Burton
14245dad40 local.conf: add aarch64 to the SDKMACHINE example values
(From meta-yocto rev: 05922833d04205b8b5288b6ccd5f8e32cf1b3bb0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Paul Barker
3b298e6ddd documentation: Use https links where possible
(From yocto-docs rev: cd4c5e9928866f910ac97cf3e0612e6245da30bd)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Paul Barker
d87b99112b ref-manual: Simplify oe_lists link
(From yocto-docs rev: 9521c5b5538295d3bfa6b9b07cbf67b62b78a0dc)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Paul Barker
e2e1071452 profile-manual: Simplify yocto_bugs link
(From yocto-docs rev: 5cd7790baa27cf4222419cf562fc89ef61833c7a)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Paul Barker
58892e05f6 documentation: Simplify remaining yocto_home links
(From yocto-docs rev: e0151e039f96c1548e2ec39ae24d4b0276f49434)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Paul Barker
ddf55dca6b documentation: Simplify layerindex and layer links
(From yocto-docs rev: b157d57cc50b0a9cfaa062fa0e966b4d29eceeec)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Paul Barker
d903e586c2 documentation: Simplify oe_wiki and oe_home links
(From yocto-docs rev: 6867f54f349edede37c4085194f51342c24297ed)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Paul Eggleton
07ec4c4ee7 ref-manual: use consistent capitalisation of U-Boot
Change all instances of U-boot to U-Boot.

(From yocto-docs rev: 153c60fd9f2807c8e98105bcd4384e52e2adaa1a)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Paul Eggleton
f567cda0a9 variables: Add documentation for new kernel-fitimage vars
Add documentation for FIT_DESC, FIT_SIGN_INDIVIDUAL, UBOOT_MKIMAGE,
UBOOT_MKIMAGE_SIGN and UBOOT_MKIMAGE_SIGN_ARGS.

(From yocto-docs rev: 3c8c9d419d0137279ba1a4e7d3f381df93d6f12d)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Paul Eggleton
345fb462ef variables: explicitly state that UBOOT_MKIMAGE_DTCOPTS is optional
(From yocto-docs rev: 0ba5591c4e8dd194f87837556cedb2b9979bc6df)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Paul Eggleton
bde537a024 variables: clarify KERNEL_ALT_IMAGETYPE reference
Make it clear that KERNEL_ALT_IMAGETYPE is intended to allow building an
additional image type.

(From yocto-docs rev: d2f51d310028dfa50584f7dc04ea3627d14d3f1e)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Paul Eggleton
84c2470929 classes: minor corrections to kernel-fitimage section
Minor syntax and formatting corrections.

(From yocto-docs rev: eda1fae0dc8670ff22f10b591ce14b9bbf0455ce)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:23:33 +00:00
Bruce Ashfield
7c4802d3a8 systemtap: fix on target build for 4.4 and 5.10+
The following systemtap commit:

    commit 7615cae790c899bc8a82841c75c8ea9c6fa54df3
    Author: Frank Ch. Eigler <fche@redhat.com>
    Date:   Mon Nov 9 19:18:19 2020 -0500

        PR26665: relayfs-on-procfs megapatch

Changes the way that capabilities are checked when compiling
a systemtap probe.

In our cross-build -> on target workflow, this results in a
mismatch between the systemtap configuration capabilities and
the kernel configuration.

The result is a compilation failure since the security
components are protected by two different #ifdef's, and they
can be out of sync. By protecting the include and callsite with
the same #ifdef, we ensure they are in sync and fix our
on target problem.

While this fix is oe-specific, a variant will be proposed
upstream once a deeper analsysis of other options has been
completed.

(From OE-Core rev: 25fa864270efe3ff5699a1bf9ebdf599e96362a5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:21:23 +00:00
zangrc
7af854bc9d systemtap: upgrade 4.3 -> 4.4
The test log of oe-selftest is as follows:
2020-11-23 15:48:49,144 - oe-selftest - INFO - test_crosstap_helloworld (runtime_test.SystemTap)
2020-11-23 17:06:55,949 - oe-selftest - INFO -  ... ok
2020-11-23 17:06:55,951 - oe-selftest - INFO - test_crosstap_pstree (runtime_test.SystemTap)
2020-11-23 17:08:07,921 - oe-selftest - INFO -  ... ok
2020-11-23 17:08:07,922 - oe-selftest - INFO - test_crosstap_syscalls_by_pid (runtime_test.SystemTap)
2020-11-23 17:09:20,084 - oe-selftest - INFO -  ... ok
2020-11-23 17:09:20,085 - oe-selftest - INFO - test_crosstap_syscalls_by_proc (runtime_test.SystemTap)
2020-11-23 17:10:31,349 - oe-selftest - INFO -  ... ok
2020-11-23 17:12:58,052 - oe-selftest - INFO - ----------------------------------------------------------------------
2020-11-23 17:12:58,054 - oe-selftest - INFO - Ran 4 tests in 5051.537s
2020-11-23 17:12:58,054 - oe-selftest - INFO - OK
2020-11-23 17:13:08,416 - oe-selftest - INFO - RESULTS:
2020-11-23 17:13:08,417 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_helloworld: PASSED (4686.81s)
2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_pstree: PASSED (71.97s)
2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_syscalls_by_pid: PASSED (72.16s)
2020-11-23 17:13:08,418 - oe-selftest - INFO - RESULTS - runtime_test.SystemTap.test_crosstap_syscalls_by_proc: PASSED (71.26s)
2020-11-23 17:13:08,432 - oe-selftest - INFO - SUMMARY:
2020-11-23 17:13:08,432 - oe-selftest - INFO - oe-selftest () - Ran 4 tests in 5051.540s
2020-11-23 17:13:08,432 - oe-selftest - INFO - oe-selftest - OK - All required tests passed (successes=4, skipped=0, failures=0, errors=0)

(From OE-Core rev: 5f635423f00e7469e89f6729d973ca447a3ff11b)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:21:23 +00:00
Bruce Ashfield
1778e9ecb4 linux-yocto/5.4/cfg: fix -tiny warnings
Integrating the following commit(s) to fixup warnings when -tiny is
build with the latest kern-tools:

    b721178c41a drm: change CONFIG_DRM_KMS_HELPER to =m
    d9ac6174eaf tiny: enable CONFIG_FW_LOADER on a per-BSP basis
    a135c720bc7 i915: adust helper to 'm'

(From OE-Core rev: 9227facf178e7bc56cce2522cd63ffd18dd900aa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:21:23 +00:00
Bruce Ashfield
82a6c97429 linux-yocto/5.8/cfg: fix -tiny warnings
Integrating the following commit(s) for configuration tweaks:

    b976de4f41d drm: change CONFIG_DRM_KMS_HELPER to =m
    669f5aa3795 tiny: enable CONFIG_FW_LOADER on a per-BSP basis
    d94b2d9f137 i915: adust helper to 'm'

(From OE-Core rev: d2c77a34d338d0347fb4206eb2185adc01e58416)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:21:23 +00:00
Bruce Ashfield
65daeac594 linux-yocto/5.4: update to v5.4.83
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    2bff021f53b2 Linux 5.4.83
    66a08d1d3bd8 Revert "geneve: pull IP header before ECN decapsulation"
    ed58971beb47 x86/insn-eval: Use new for_each_insn_prefix() macro to loop over prefixes bytes
    423e1b08ce5c netfilter: nftables_offload: set address type in control dissector
    13995410b616 netfilter: nf_tables: avoid false-postive lockdep splat
    f25fa580f99e Input: i8042 - fix error return code in i8042_setup_aux()
    b9df537e5fcd dm writecache: remove BUG() and fail gracefully instead
    8e2c50315f00 i2c: qup: Fix error return code in qup_i2c_bam_schedule_desc()
    1015eefe10e2 rtw88: debug: Fix uninitialized memory in debugfs code
    af699e99efdc ASoC: wm_adsp: fix error return code in wm_adsp_load()
    fdc1416c2199 tipc: fix a deadlock when flushing scheduled work
    6410c7f53698 netfilter: ipset: prevent uninit-value in hash_ip6_add
    cd928d387b0b gfs2: check for empty rgrp tree in gfs2_ri_update
    c358e7e99dda can: af_can: can_rx_unregister(): remove WARN() statement from list operation sanity check
    867fbf2bb739 lib/syscall: fix syscall registers retrieval on 32-bit platforms
    f68f5bdfefd9 tracing: Fix userstacktrace option for instances
    dbbf6cdab503 iommu/amd: Set DTE[IntTabLen] to represent 512 IRTEs
    d863a4ad3cc5 spi: bcm2835: Release the DMA channel if probe fails after dma_init
    83d5121c3b0f i2c: imx: Check for I2SR_IAL after every byte
    83366a7b2d34 i2c: imx: Fix reset of I2SR_IAL flag
    b0d4fa10bfcc speakup: Reject setting the speakup line discipline outside of speakup
    a2a163f70bdf mm/swapfile: do not sleep with a spin lock held
    4870004d30e3 mm: list_lru: set shrinker map bit when child nr_items is not zero
    42ccf9d14ede coredump: fix core_pattern parse error
    579c977253b6 x86/uprobes: Do not use prefixes.nbytes when looping over prefixes.bytes
    002d2c4a3f66 dm: remove invalid sparse __acquires and __releases annotations
    3b02d67064ff dm: fix bug with RCU locking in dm_blk_report_zones
    7eb514087cdd powerpc/pseries: Pass MSI affinity to irq_create_mapping()
    1f72986fc9df genirq/irqdomain: Add an irq_create_mapping_affinity() function
    6466119452a8 powerpc/64s/powernv: Fix memory corruption when saving SLB entries on MCE
    8a758e97b707 dm writecache: fix the maximum number of arguments
    3f680c5996f9 scsi: mpt3sas: Fix ioctl timeout
    812dff6a5250 drm/i915/gt: Program mocs:63 for cache eviction on gen9
    b92738c4f9d3 thunderbolt: Fix use-after-free in remove_unplugged_switch()
    ed201cb54d6f i2c: imx: Don't generate STOP condition if arbitration has been lost
    73948ab9f2df cifs: fix potential use-after-free in cifs_echo_request()
    a0ca8cb2f707 cifs: allow syscalls to be restarted in __smb_send_rqst()
    205740ca4a4d ftrace: Fix updating FTRACE_FL_TRAMP
    d18379bbb856 ALSA: hda/generic: Add option to enforce preferred_dacs pairs
    f28666e00a44 ALSA: hda/realtek - Add new codec supported for ALC897
    c57556f1798b ALSA: hda/realtek: Enable headset of ASUS UX482EG & B9400CEA with ALC294
    f3fc36614438 ALSA: hda/realtek: Add mute LED quirk to yet another HP x360 model
    de41002d2e0e ALSA: hda/realtek: Fix bass speaker DAC assignment on Asus Zephyrus G14
    35ee9ac51328 tty: Fix ->session locking
    c536ecd48560 tty: Fix ->pgrp locking in tiocspgrp()
    013d2d046532 USB: serial: option: fix Quectel BG96 matching
    3cf949422734 USB: serial: option: add support for Thales Cinterion EXS82
    0f8af69bec41 USB: serial: option: add Fibocom NL668 variants
    250930f60c33 USB: serial: ch341: sort device-id entries
    25b90f887dd4 USB: serial: ch341: add new Product ID for CH341A
    f0990c21af7d USB: serial: kl5kusb105: fix memleak on open
    8954745718e7 usb: gadget: f_fs: Use local copy of descriptors for userspace copy
    4a77729b25d6 Partially revert bpf: Zero-fill re-used per-cpu map element
    512b18eec5c2 pinctrl: baytrail: Fix pin being driven low for a while on gpiod_get(..., GPIOD_OUT_HIGH)
    e90d11d0be10 pinctrl: baytrail: Replace WARN with dev_info_once when setting direct-irq pin to output

(From OE-Core rev: 87c3841a7b4b9a440bd9aea91dea2a7161ab22be)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:21:23 +00:00
Bruce Ashfield
5afa86690e linux-yocto/cfg: qemuarm64-gfx.cfg: add CONFIG_INPUT_UINPUT
Integrating the following commit(s):

    qemuarm64-gfx.cfg: add CONFIG_INPUT_UINPUT

    This will address libinput ptest failures:
    https://www.kernel.org/doc/html/latest/input/uinput.html
    https://wayland.freedesktop.org/libinput/doc/latest/test-suite.html

    qemux86_64 already has it enabled.

    Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>

(From OE-Core rev: 5af1bda8006faf2afe4c5c17e7f8d276d6ec0790)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:21:23 +00:00
Bruce Ashfield
6a732a41d0 linux-yocto/5.4: update to v5.4.82
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    ec274ecd62f9 Linux 5.4.82
    4460a7c979ee RDMA/i40iw: Address an mmap handler exploit in i40iw
    07434172c58b tracing: Remove WARN_ON in start_thread()
    6ad995b851cb Input: i8042 - add ByteSpeed touchpad to noloop table
    dfe5d9a8307e Input: xpad - support Ardwiino Controllers
    c38a7023c00a ALSA: usb-audio: US16x08: fix value count for level meters
    8cd76dacd3dc net/mlx5: Fix wrong address reclaim when command interface is down
    2598dd80b801 net/mlx5: DR, Proper handling of unsupported Connect-X6DX SW steering
    8f92330b0873 net/sched: act_mpls: ensure LSE is pullable before reading it
    1086f789060a net: openvswitch: ensure LSE is pullable before reading it
    ba203b92a829 net: skbuff: ensure LSE is pullable before decrementing the MPLS ttl
    892e08e0b4f3 net: mvpp2: Fix error return code in mvpp2_open()
    7c3894f695e4 chelsio/chtls: fix a double free in chtls_setkey()
    178da08f9b5b vxlan: fix error return code in __vxlan_dev_create()
    5405a299b8c1 net: pasemi: fix error return code in pasemi_mac_open()
    dc469f423654 cxgb3: fix error return code in t3_sge_alloc_qset()
    8bfe5b73b185 net/x25: prevent a couple of overflows
    187a6daf5db4 net: ip6_gre: set dev->hard_header_len when using header_ops
    a6cd76132872 geneve: pull IP header before ECN decapsulation
    2b714b607f24 inet_ecn: Fix endianness of checksum update when setting ECT(1)
    9a3cce1ceee4 ibmvnic: Fix TX completion error handling
    40caea31dd56 ibmvnic: Ensure that SCRQ entry reads are correctly ordered
    d126c30eb30d chelsio/chtls: fix panic during unload reload chtls
    8a1bb298f75f dt-bindings: net: correct interrupt flags in examples
    af0b082e16fb ipv4: Fix tos mask in inet_rtm_getroute()
    4615228a50f9 netfilter: bridge: reset skb->pkt_type after NF_INET_POST_ROUTING traversal
    294de8933adb sched/fair: Fix unthrottle_cfs_rq() for leaf_cfs_rq list
    c4405cdf96f4 ima: extend boot_aggregate with kernel measurements
    733729d3e0e4 staging/octeon: fix up merge error
    6dd37fdc9550 bonding: wait for sysfs kobject destruction before freeing struct slave
    beead010654d usbnet: ipheth: fix connectivity with iOS 14
    f057c4d226f1 tun: honor IOCB_NOWAIT flag
    538008749df2 tcp: Set INET_ECN_xmit configuration in tcp_reinit_congestion_control
    9a62c8229cff sock: set sk_err to ee_errno on dequeue from errq
    7f0ddd41e289 rose: Fix Null pointer dereference in rose_send_frame()
    f2f25bc79782 net/tls: Protect from calling tls_dev_del for TLS RX twice
    a6300aedf862 net/tls: missing received data after fast remote close
    a15beea80e72 net/af_iucv: set correct sk_protocol for child sockets
    9414855a1305 ipv6: addrlabel: fix possible memory leak in ip6addrlbl_net_init
    99b5382bffd5 devlink: Hold rtnl lock while reading netdev attributes
    42af416d7146 Linux 5.4.81
    cd7343987376 ASoC: Intel: Skylake: Automatic DMIC format configuration according to information from NHLT
    6ebb6af62721 ASoC: Intel: Multiple I/O PCM format support for pipe
    b2b05b04d44d ASoC: Intel: Skylake: Await purge request ack on CNL
    a28144d62ddc ASoC: Intel: Allow for ROM init retry on CNL platforms
    4029a29f93ef ASoC: Intel: Skylake: Shield against no-NHLT configurations
    754df2d3349d ASoC: Intel: Skylake: Enable codec wakeup during chip init
    6de661f146a2 ASoC: Intel: Skylake: Select hda configuration permissively
    422c4938f704 ASoC: Intel: Skylake: Remove superfluous chip initialization
    23b093a2c4f9 USB: core: Fix regression in Hercules audio card
    cc54f8b8e1cd x86/resctrl: Add necessary kernfs_put() calls to prevent refcount leak
    d0c4c5a89f5b x86/resctrl: Remove superfluous kernfs_get() calls to prevent refcount leak
    e799c00a745e x86/speculation: Fix prctl() when spectre_v2_user={seccomp,prctl},ibpb
    f753e1c02a2e x86/mce: Do not overwrite no_way_out if mce_end() fails
    62405223bafd irqchip/exiu: Fix the index of fwspec for IRQ type
    f69d749d5f7f usb: gadget: Fix memleak in gadgetfs_fill_super
    cad7b76a6129 USB: quirks: Add USB_QUIRK_DISCONNECT_SUSPEND quirk for Lenovo A630Z TIO built-in usb-audio card
    c775935dfd1e usb: gadget: f_midi: Fix memleak in f_midi_alloc
    e1a2a3043cc2 USB: core: Change %pK for __user pointers to %px
    84d04d722b6a spi: bcm2835aux: Restore err assignment in bcm2835aux_spi_probe
    5849e7dc560b perf probe: Fix to die_entrypc() returns error correctly
    27193c41d0db perf stat: Use proper cpu for shadow stats
    dc4d672a3fb5 can: m_can: fix nominal bitiming tseg2 min for version >= 3.1
    1f076cc1de82 can: m_can: m_can_open(): remove IRQF_TRIGGER_FALLING from request_threaded_irq()'s flags
    dd8ab85fd88e RDMA/hns: Bugfix for memory window mtpt configuration
    e69f384e22f1 RDMA/hns: Fix retry_cnt and rnr_cnt when querying QP
    49b26b969474 platform/x86: toshiba_acpi: Fix the wrong variable assignment
    fbd3f1d6ef2f platform/x86: thinkpad_acpi: Send tablet mode switch at wakeup time
    405fd2180583 can: gs_usb: fix endianess problem with candleLight firmware
    11420c32c1b4 efi: EFI_EARLYCON should depend on EFI
    0d245cbd939a efivarfs: revert "fix memory leak in efivarfs_create()"
    abae897f283b arm64: tegra: Wrong AON HSP reg property size
    5c4c6b2be717 optee: add writeback to valid memory type
    6d371c3e70d7 ibmvnic: fix NULL pointer dereference in ibmvic_reset_crq
    382383538f68 ibmvnic: fix NULL pointer dereference in reset_sub_crq_queues
    a447dbb44d44 net: ena: set initial DMA width to avoid intel iommu issue
    7869696d6c1e nfc: s3fwrn5: use signed integer for parsing GPIO numbers
    1a831f889db3 i40e: Fix removing driver while bare-metal VFs pass traffic
    676857f78c1a IB/mthca: fix return value of error branch in mthca_init_cq()
    22f821fa5cbb powerpc/64s: Fix allnoconfig build since uaccess flush
    ae6e75b8c6d6 ibmvnic: notify peers when failover and migration happen
    7b4e9fcf5ec3 ibmvnic: fix call_netdevice_notifiers in do_reset
    993e42d0f7d6 s390/qeth: fix tear down of async TX buffers
    ef0f6e36a6d4 s390/qeth: fix af_iucv notification race
    bb6c548934c9 s390/qeth: make af_iucv TX notification call more robust
    f29dfa2bf6c7 cxgb4: fix the panic caused by non smac rewrite
    0410aeb9e04c bnxt_en: Release PCI regions when DMA mask setup fails during probe.
    db49200b1dad video: hyperv_fb: Fix the cache type when mapping the VRAM
    d1a7fb15673e bnxt_en: fix error return code in bnxt_init_board()
    22e10c6bbefc bnxt_en: fix error return code in bnxt_init_one()
    11b62fd00c62 scsi: ufs: Fix race between shutdown and runtime resume flow
    559ab6fb7b66 ARM: dts: dra76x: m_can: fix order of clocks
    1bef5f25a692 arch: pgtable: define MAX_POSSIBLE_PHYSMEM_BITS where needed
    95b1f326315b batman-adv: set .owner to THIS_MODULE
    f5672b83fc2d iwlwifi: mvm: write queue_sync_state only for sync
    f32a1065c930 phy: tegra: xusb: Fix dangling pointer on probe failure
    acea5424d9d2 ARM: OMAP2+: Manage MPU state properly for omap_enter_idle_coupled()
    6f87d79ef40d bus: ti-sysc: Fix bogus resetdone warning on enable for cpsw
    e8060ddddc9f net: dsa: mv88e6xxx: Wait for EEPROM done after HW reset
    1f5531bb9720 xtensa: uaccess: Add missing __user to strncpy_from_user() prototype
    3753a62d5760 perf/x86: fix sysfs type mismatches
    fd81f0711d9c scsi: target: iscsi: Fix cmd abort fabric stop race
    8814c070e783 scsi: libiscsi: Fix NOP race condition
    070a9a046d6d dmaengine: pl330: _prep_dma_memcpy: Fix wrong burst size
    8a2ae7fa5d5c vhost scsi: fix cmd completion race
    4940816604e3 nvme: free sq/cq dbbuf pointers when dbbuf set fails
    01968f9af006 proc: don't allow async path resolution of /proc/self components
    830f4aa73a69 HID: Add Logitech Dinovo Edge battery quirk
    4d070afa1080 HID: logitech-hidpp: Add HIDPP_CONSUMER_VENDOR_KEYS quirk for the Dinovo Edge
    204dbc26f14e x86/xen: don't unbind uninitialized lock_kicker_irq
    d6b5dc5429f1 dmaengine: xilinx_dma: use readl_poll_timeout_atomic variant
    54b01ded1e92 HID: add HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE for Gamevice devices
    cd7ea86a4a64 staging: ralink-gdma: fix kconfig dependency bug for DMA_RALINK
    b3701c29a468 HID: hid-sensor-hub: Fix issue with devices with no report ID
    8f68a28c9ecc Input: i8042 - allow insmod to succeed on devices without an i8042 controller
    dbe67dcf97cf HID: add support for Sega Saturn
    3845b2117f6d HID: cypress: Support Varmilo Keyboards' media hotkeys
    604912c2b20e HID: ite: Replace ABS_MISC 120/121 events with touchpad on/off keypresses
    8a35be6c38aa HID: uclogic: Add ID for Trust Flex Design Tablet
    733e6db9736d arm64: pgtable: Ensure dirty bit is preserved across pte_wrprotect()
    b456de294ee4 arm64: pgtable: Fix pte_accessible()
    8b4d82d8dbff trace: fix potenial dangerous pointer
    4a301b05cf61 KVM: x86: Fix split-irqchip vs interrupt injection window request
    b7d2e45cf613 KVM: x86: handle !lapic_in_kernel case in kvm_cpu_*_extint
    6276d38cce87 KVM: arm64: vgic-v3: Drop the reporting of GICR_TYPER.Last for userspace
    45b5f4b1b40b KVM: PPC: Book3S HV: XIVE: Fix possible oops when accessing ESB page
    214e6af4217a cifs: fix a memleak with modefromsid
    56f639aa0b5d smb3: Handle error case during offload read path
    afa51221b911 smb3: Avoid Mid pending list corruption
    1b63215666c0 smb3: Call cifs reconnect from demultiplex thread
    f923044a6c72 wireless: Use linux/stddef.h instead of stddef.h
    a6676b0fa09f btrfs: fix lockdep splat when reading qgroup config on mount
    6ea14731ac4c btrfs: don't access possibly stale fs_info data for printing duplicate device
    12aedea58281 btrfs: tree-checker: add missing returns after data_ref alignment checks
    0115a2613397 btrfs: tree-checker: add missing return after error in root_item
    6ec51459df71 netfilter: clear skb->next in NF_HOOK_LIST()
    ee791835b3ec ipv4: use IS_ENABLED instead of ifdef
    9d16996369fd spi: bcm2835: Fix use-after-free on unbind
    b606031bbfed spi: bcm-qspi: Fix use-after-free on unbind

(From OE-Core rev: ad12cda067ffee809d133a1d21599c9f3ef06435)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:21:23 +00:00
Bruce Ashfield
27d6e36cac linux-yocto/cfg: qemuppc: set CONFIG_SCSI to '=y'
Integrating the following configuration commit(s):

    72a1fe336d7 qemuppc: configure the CONFIG_SCSI to '=y'

(From OE-Core rev: 6d21c81b04142a48539b3262318860f2719c11ca)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:21:23 +00:00
Bruce Ashfield
43bf0837aa kern-tools: non-gcc config support and option re-classification
Integrating the following commits:

  1aa9046 merge_config.sh: Translate some env variables to make variables
  6fdcd64 symbol_why: allow re-classification from non-hardare to hardware

With these, a non-gcc compiler can be used, since the invocation of the
kernel configuration explicitly passes the variables as command line
vars, versus environment variables. This means the kernel Makefile
assignments are overriden and the desired compiler used.

With option re-classification, we can inhibit warnings when an option
has incorrectly been classified has 'hardware', and hence triggers a
visible warning.

[merge_config.sh: Translate some env variables to make variables]
(From OE-Core rev: b5d33d13cd8618c10ae0a0379a1c8f22f6941eeb)

Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
[symbol_why: allow re-classification from non-hardare to hardware]
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-24 08:21:23 +00:00
Tanu Kaskinen
26e04aa138 pulseaudio: fix client.conf location
The location of the generated client.conf changed when switching from
Autotools to Meson.

Fixes this error when enabling autospawn-for-root:

    sed: can't read src/client.conf: No such file or directory

(From OE-Core rev: 16d31a54c586840fb11e03702bb854c43ce4c5eb)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Khem Raj
41bb5e7cb7 pulseaudio: Fix build with clang for non-x86 target
(From OE-Core rev: 01d21bd4c48aa3f899c012a2c3fd72c689e75944)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Peter Kjellerstedt
23999cdaac apr-util: Only specify --with-dbm=gdbm if gdbm support is enabled
Support for gdbm was made optional in 3260ad9e, but it was still being
used unconditionally.

(From OE-Core rev: 09d303ca295dc27874c72b30c37a64d1fdf4c5c0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Khem Raj
a8af557839 ltp: Fix ltp-pan crash on 32bit arches using 64bit time_t
ltp-pan crashes on riscv32/musl due to shorter width assigned to time_t
in printf format

(From OE-Core rev: 7839481de7949d59e25113937c0b8901dc5b7425)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Teoh Jay Shen
8a67c61279 oeqa/terminal : improve the test case
-Improve this test case to fulfill the requirements of replacing the click_terminal_icon_on_X_desktop manual test case from oeqa/manual/bsp-hw :
1) verify that the terminal window is working without problem
2) verify that there's only 1 terminal window is launched

(From OE-Core rev: 824713174fae0617240a236d1bbfd2929bf4b24f)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Richard Purdie
290dccc6e2 man-db: Avoid reproducibility failures after fixing groff-native
Add some temporary bumps to versions to change the output hash so we
really can take advantage of the groff-native reproducibility fix.

(From OE-Core rev: af9bd5a03ecf45e92868bc49b1de5c27d94eff6f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Richard Purdie
1e9a075287 groff: Fix reproducibility issue
groff chooses a default papersize depending on the value from /etc/papersize
and failing that, the search domain in /etc/resolv.conf based on the comment
in configure:

"""
If the top-level domain is two letters and it's not 'us' or 'ca'
then they probably use A4 paper.
"""

Oddly, my system sets to "a4" in /etc/papersize which means it defaults to
"letter" since its != "A4".

These defaults ripple through to cause the output of man-db to change depending
on which default value was selected.

To resolve this, set a default of "A4" since that covers the larger population
of the two default values.

(From OE-Core rev: 6cb511bfbd18258c782ee18f054a2590e4daaddc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Richard Purdie
fd4989e5ea cups: Mark CVE-2008-1033 as a non-issue
It only applies to MacOS.

(From OE-Core rev: cad1162f41c4c060744b98109514f761aa64d34a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Richard Purdie
dc1cdd233a cups: Mark CVE-2009-0032 as a non-issue
The CVE was against a cups plugin which is obsolete and we don't include.

(From OE-Core rev: 5f7cb9f6ec4b14f992d265b8c67a9f5589f9b842)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Richard Purdie
2724a7c935 oeqa/commands: Ensure sync can be found regardless of PATH
Avoid command not found errors shown in selftest logs due to changes to PATH
settings which also risks intermittent problems due to IO load.

(From OE-Core rev: 40bcae01b0be2f293dea9ab42c6b7f8f47827cf5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Richard Purdie
36422d0641 grub: Add second fix for determinism issue
There is a second list sorting problem in a generator script within grub,
add a sort() of a list to resolve this.

(From OE-Core rev: cb5e96e05930eaff4d679166416d6c84d6e3236b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Jose Quaresma
36a9cee205 spirv-tools: upgrade 2020.5 -> 2020.6
(From OE-Core rev: cd6a05e6683db7a239a9559b079a00628589263d)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Jose Quaresma
531b58b5d3 shaderc: upgrade 2020.3 -> 2020.4
(From OE-Core rev: 905a5f9ccb314def651aa22c6c87bc313946fc99)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Richard Purdie
345f873fa0 u-boot-tools: Fix reproducibility issue
If you build on a system with git < 2.14 from scratch (e.g. debian9), the
tree will be marked as "dirty" and the version will include "-dirty", leading
to a reproducibility problem. The issue is the inode count for Licnses/README
changing due to do_populate_lic hardlinking a copy of the file. We avoid
this by ensuring the index is updated with a "git diff" before the
u-boot machinery tries to determine the version.

build$ ../git/scripts/setlocalversion ../git
""
build$ ln ../git/
build$ ln ../git/README ../foo
build$ ../git/scripts/setlocalversion ../git
""-dirty

(i.e. creating a hardlink dirties the index)

(From OE-Core rev: a4de915af9e2c4d365527ad09286483b2ee904fc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Peter Kjellerstedt
b66ff69294 bitbake: cooker: Include all packages a recipe provides in SkippedPackage.rprovides
The provided packages by a skipped recipe are supposed to be listed in
SkippedPackage.rprovides, which is used when generating a meaningful
error message when a build fails because of a skipped package.
Previously this variable only contained the contents of ${RPROVIDES}.
However, most recipes don't define RPROVIDES, they define
RPROVIDES_<pkg> for each package they provide. Additionally, the recipe
provides the packages in PACKAGES without them being included in
${RPROVIDES}.

Before this change, having a runtime dependency on a skipped non-recipe
package would result in a build error stating that the build failed
because the package was skipped, but without providing any reason for
why it was skipped.

(Bitbake rev: efd026c26a377b826a49b945a8212bf7de8a480a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Peter Kjellerstedt
8939086648 bitbake: cache: Make CoreRecipeInfo include rprovides_pkg for skipped recipes
This will be needed by SkippedPackage in the cooker.

(Bitbake rev: 93d01614565bd540d05fbc1791dd66e46723d683)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-21 22:29:57 +00:00
Sinan Kaya
9aae620b95 gcsections: add more suppressions for SDK builds
More suppression is needed for glibc, perl and mingw.

(From meta-yocto rev: 0e0f03888f876f7025aec292689a14925217619d)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:34 +00:00
Dmitry Baryshkov
93b4186b6d linux-firmware: package firmware for Lontium lt9611uxc bridge
Package firmware for Lontium lt9611uxc DSI to HDMI bridge, found e.g. on
Qualcomm RB5 platform.

(From OE-Core rev: 4d16922943ffa6003d611c367b934d199c549c4c)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Dmitry Baryshkov
b703262eab linux-firmware: upgrade 20201118 -> 20201218
License-Update: firmware versions/filenames
(From OE-Core rev: c88129ffef320c16722f40426b0d4560274dca4e)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Richard Purdie
554b9adb0f grub: Fix build reproducibility issue
We're seeing reproducibility issue on the autobuilder due to changing
module dependency ordering. Add some sorting to an awk script to fix this.

(From OE-Core rev: 925ddd5edccbfec52ff45c1b54ab2ae1bfe0d57c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Richard Purdie
4fab901c65 systemd: Ensure uid/gid ranges are set deterministically
meson.build will fall back to greping /etc/login.defs for values of these
if they're not set. Different distros set them (Centos 7/8 does, Ubuntu
does not) so output was not deterministic. Avoid this by setting to the
default values. We now match the vaules from login.defs from shadow.

(From OE-Core rev: 77a6ac0ac266d71e4fe67fd332662081f30cd7bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Trevor Woerner
81517d9c80 mesa.inc: switch true/enabled false/disabled
A number of options have been switched from true/false to enabled/disabled and
the older usage is deprecated, as is seen in the configuration logs:

	../mesa-20.3.1/meson.build:92: WARNING: gles1 option "true" deprecated, please use "enabled" instead.
	../mesa-20.3.1/meson.build💯 WARNING: gles2 option "true" deprecated, please use "enabled" instead.
	../mesa-20.3.1/meson.build:119: WARNING: shared-glapi option "true" deprecated, please use "enabled" instead.
	../mesa-20.3.1/meson.build:381: WARNING: gbm option "true" deprecated, please use "enabled" instead.
	../mesa-20.3.1/meson.build:412: WARNING: egl option "true" deprecated, please use "enabled" instead.
	../mesa-20.3.1/meson.build:493: WARNING: dri3 option "false" deprecated, please use "disabled" instead.
	../mesa-20.3.1/meson.build:516: WARNING: gallium-vdpau option "false" deprecated, please use "disabled" instead.
	../mesa-20.3.1/meson.build:570: WARNING: gallium-xvmc option "false" deprecated, please use "disabled" instead.
	../mesa-20.3.1/meson.build:691: WARNING: gallium-va option "false" deprecated, please use "disabled" instead.
	../mesa-20.3.1/meson.build:727: WARNING: gallium-xa option "false" deprecated, please use "disabled" instead.

(From OE-Core rev: acf78fd3d03e4fe07ee4ad677f178d17dc10ac7b)

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Khem Raj
718a4a8f3a busybox: Sync rcS.default with sysvinit
(From OE-Core rev: b97a18f45ad5166aa3532768c50c0d0b3c952011)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Khem Raj
8736019681 initscripts: Use initctl on sysvinit only
Check if init system is sysvinit to recreate initctl, this ensures that
it can be used with busybox init system as well

(From OE-Core rev: 15c467d0206ee30fe708f76b7d5e0033ab687475)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Khem Raj
5cb971b4fd rcS: Define identifier for init system used
This will help in defining init system specific portions of initscripts
which are shared

(From OE-Core rev: 12380bccce7b87b755d1e24620c397641e88f656)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Khem Raj
0aa8f592df busybox: Run mdev as daemon
When busybox is used for device management, kernel needs to support
older/obsolete mechanism via CONFIG_UEVENT_HELPER and
CONFIG_UEVENT_HELPER_PATH to enable /proc/sys/kernel/hotplug but this
would require kernel defconfig change and will always be needed when
mdev is used, intead run it in daemon mode

Update mdev init script to run mdev in daemon mode

(From OE-Core rev: f9e84b31ea4afe566c76dcdea25960478cd36ecc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Khem Raj
9a52a44a05 busybox: Install /etc/default/rcS when used as init system
This helps in using sysvinit scripts with busybox init system as well

(From OE-Core rev: 991394be9e695f9ddb5e2fca167c06f7a56a7449)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Khem Raj
a8af9db08c initscripts: use quotes for shell variable comparision
Helps to execute it with busybox shell

(From OE-Core rev: 45ba0ca0352bca46f974d28781ac935d8e9ec3ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Ross Burton
949646a9e9 lib/oe/qa: handle the 'no specific instruction set' ELF e_machine value
[RP: Update OEQA selftest to match change]
(From OE-Core rev: b7cfc0f51cc0b4866f913f6eae4fcc6f72d2578c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Luca Boccassi
78164a53c8 systemd: add RRECOMMENDS for weak dependencies, if enabled
Some libraries are now dlopen'ed and skipped at runtime if
not available. Add them to the RRECOMMENDS list, to allow
users to exclude them for smaller images even if generally
enabled at build time.

(From OE-Core rev: 0131a794be1a97f9aef3224c7c66fcf27576ce84)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Luca Boccassi
3988f6824a systemd: set -Dmode=release as recommended by NEWS
(From OE-Core rev: c101682b75284b9759c692f5cc7daafece0e32e0)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Luca Boccassi
98ac887c45 systemd: ship new systemd-dissect in -extra-utils
(From OE-Core rev: 0a154f37e83ba0c46d79b7394c9f716074308bd2)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:05 +00:00
Luca Boccassi
14489123f9 systemd: add package config for systemd-oomd
Disabled by default

(From OE-Core rev: 20aab7078e27e150375c268e3d7a3d2157f0e8ae)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Luca Boccassi
754d05fffe systemd: update 246 -> 247
Update systemd to v247.2.
Add rule for new oomd dbus conf and for new pam.d
conf directory in /usr/lib|lib64.
Drop selinux-hook-handling-to-enumerate-nexthop.patch,
merged upstream.
Drop 0001-meson-Fix-reallocarray-check.patch,
merged upstream.
Refresh musl patches.

(From OE-Core rev: 1e1d26de68ed13fd53c1a16b9662ac9860dca714)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Alex Stewart
fae7b0ddba opkg: upgrade to version 0.4.4
Include an upstream patch for 0.4.4 which fixes a test framework error
that occurs on host systems with symlinked /tmp directories (like OE).

(From OE-Core rev: 8064abb6664e16c6e0c63df3a466661f9b5b0d10)

Signed-off-by: Alex Stewart <alex.stewart@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Peter Kjellerstedt
8c4e5c0466 glibc: Make adjtime() for 32 bit support being called with delta == NULL
This backports a fix from glibc's master branch, which solves a
regression in 2.32 with adjtime() where it would seg fault if being
called with delta == NULL on 32 bit machines.

(From OE-Core rev: aeecccf17c45c840c070e2de95c602a3c7e9d30e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Paul Eggleton
87b38ee1c1 oe-selftest: fitimage: add test for signing FIT images
Add a new test to verify signing FIT images. Also includes testing for
the newly introduced FIT_SIGN_INDIVIDUAL, UBOOT_MKIMAGE,
UBOOT_MKIMAGE_SIGN, and UBOOT_MKIMAGE_SIGN_ARGS variables.

(From OE-Core rev: 3c054762278fd8c5dd827dbac15f4fa066e6c19e)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Paul Eggleton
b23d338176 oe-selftest: fitimage: Test for FIT_DESC
Add verification of FIT_DESC to the existing test for kernel-fitimage.

(From OE-Core rev: 1d75a67efe968f1d9161b64e2b7b2d3cf482c968)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Paul Eggleton
715591d952 oe-selftest: move FIT image tests to their own module
I'm about to add an additional test, and on the assumption that we might
also add more in future it seems reasonable to have the tests in their own
module.

(From OE-Core rev: 89f620cc142df9b4af6d49a13db96452ec838139)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Luca Boccassi
a49a29892e classes/kernel-fitimage: add ability to sign individual images
Add the ability to have the kernel, dtb and ramdisk individually signed
by setting FIT_SIGN_INDIVIDUAL = "1". This could be useful if you are
intending to verify signatures before using kexec for example.

(From OE-Core rev: 51b6e87df6babf74e73a6d704f044bd88c277ac9)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Paul Eggleton
5a25585437 classes/kernel-fitimage: add ability to add additional signing options
Add a UBOOT_MKIMAGE_SIGN_ARGS variable to enable passing additional
options to uboot-mkimage when it is run the second time to perform
signing.

(From OE-Core rev: 8fd7ee7414b45a1feeef7982af3583475902a677)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Paul Eggleton
ecbf182e89 classes/kernel-fitimage: allow substituting mkimage command
Add a UBOOT_MKIMAGE and UBOOT_MKIMAGE_SIGN variables to allow specifying
an alternative uboot-mkimage executable (or wrapper script/function).

(From OE-Core rev: aee5bac02eff28a75fa1eee646bc511984013aa4)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Easwar Hariharan
77c3e43fc6 classes/kernel-fitimage: make fitimage_emit_section_config more readable
fitimage_emit_section_config() has a number of arguments, add named
variables to make the function a bit more readable.

(From OE-Core rev: a82340eed3165825c129c1f2b1ebf250e0e699c2)

Signed-off-by: Easwar Hariharan <eahariha@microsoft.com>
Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Paul Eggleton
be137b8958 classes/kernel-fitimage: add variable for description
Add a FIT_DESC variable to make it possible to change how the
description is set in the FIT image.

(From OE-Core rev: 47c5ea69e1a6c4fd3aa766d5223aff1201a4a1d8)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Tanu Kaskinen
4b63c75b80 pulseaudio: switch build system from Autotools to Meson
Upstream is moving from Autotools to Meson, Autotools support will be
dropped in 15.0.

I dropped some configure options:
 * --enable-tcpwrap=no doesn't (currently) have a counterpart in Meson,
   TCP Wrappers support is always disabled.
 * --disable-esound doesn't have a counterpart in Meson, EsounD support
   is always disabled.
 * --disable-gconf doesn't have a counterpart in Meson, GConf support is
   always disabled.

I backported a patch that implements support for the -Dvalgrind=disabled
option.

I checked with buildhistory what the differences are before and after
this patch (with qemuarm with neon removed from TUNE_FEATURES, all
PACKAGECONFIGs enabled):
 * Obvious differences in DEPENDS: Autotools stuff removed and Meson
   stuff added. There wasn't anything strange here.
 * Packages have superfluous RDEPENDS removed from them. With Autotools
   something caused for example X11 libraries to be added to RDEPENDS of
   packages that don't have anything to do with X11.
 * The pulseaudio-src package had MMX and SSE related files removed and
   Neon related files added. I don't know why the ARM build previously
   had MMX and SSE files included, the addition of Neon files is
   explained by the fact that with Meson the Neon optimizations can't be
   disabled if the compiler supports Neon (see below).
 * libfoo.so symlinks changed to point to libfoo.so.X rather than
   directly to libfoo.so.X.Y.Z. To my understading that's fine, since
   libfoo.so.X is a symlink that points to libfoo.so.X.Y.Z.
 * There were various file size changes, which I didn't investigate.

Previously the recipe disabled ARM Neon optimizations when "neon" was
not in TUNE_FEATURES. That was originally added in commit
4e7b91b5a2613b957b08aefbee1aac28fdd19598 at a time when PulseAudio's
build system didn't check the availability of the arm_neon.h header,
causing compilation errors when the header wasn't available. That issue
was fixed a long time ago, so there was little need for the
TUNE_FEATURES check, although it was still possible to make the build
fail if non-neon -mfpu was passed in CFLAGS, so the TUNE_FEATURES check
still had some theoretical benefit (theoretical, because generally OE
passes -mfpu in CC instead of CFLAGS, so OE's -mfpu option appears very
early in the compiler command line, which doesn't trip up PulseAudio's
current Autotools build system).

With Meson there's no option for disabling Neon optimizations if the
compiler supports Neon. If -mfpu is set in CC or CFLAGS, it's ignored,
because the build system adds -mfpu=neon at the end of the compiler
command line, overriding any earlier -mfpu options. This shouldn't be
a problem, because PulseAudio detects at runtime whether the CPU
supports Neon instructions.

(From OE-Core rev: 80bbea06e706fde3600950ea9ddfc38a1a76b8bb)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Tanu Kaskinen
b381e01a66 pulseaudio: disable GConf support
The GConf module is only needed for older versions of paprefs, other
applications shouldn't be interacting with PulseAudio's GConf settings.
Paprefs isn't packaged in OpenEmbedded, so there probably aren't any
users of the GConf functionality.

My immediate motivation for doing this is that I'm converting the
pulseaudio recipe to use Meson, and the GConf module isn't supported by
the Meson build system. Adding support for it would be possible, but
pretty pointless.

The GConf module will be removed in PulseAudio 15.0.

(From OE-Core rev: 6e06eb987002031c43f76f908caef240b556e6a1)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Tanu Kaskinen
94e565c649 pulseaudio: disable EsounD support
This disables PulseAudio's EsounD emulation and the EsounD sink module.
EsounD has been obsolete for a long time, and doesn't seem to be
packaged for OpenEmbedded, so probably there are no applications around
that would need PulseAudio's EsounD support.

(From OE-Core rev: ee107217d2deee13d90b737bfb459838f27a94d9)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Tanu Kaskinen
726a869599 pulseaudio: Remove OE_LT_RPATH_ALLOW
I don't know what these variables were supposed to do, but there doesn't
seem to be anything that would use these variables, so removing them
should be safe. The PulseAudio recipe is the only place where these
appear in the repository.

These lines were included already in the original PulseAudio recipe that
was added in commit d9a4c588ef in 2007,
and already at that time there didn't seem to be anything using these
variables.

(From OE-Core rev: 7a0b9209a366de7a2aed9b23a337b4ffdba61abe)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Paul Barker
f50b230c27 bitbake.conf: Prevent pyc file generation in pseudo context
This also effectively reverts commit b6d30c21b0:
    bitbake.conf: Extend PSEUDO_IGNORE_PATHS to ${COREBASE}/meta

The contents of ${COREBASE}/meta were ignored as pyc files could be
generated for the contents of the lib subdirectory if python modules
were imported within a pseudo context. However this doesn't protect us
from pyc files being generated in the lib directories for other layers.
It's far better to tell python not to produce pyc files when running
under pseudo (by setting the PYTHONDONTWRITEBYTECODE variable) as this
will cover any location where pyc files could possibly be created. This
variable is set in FAKEROOTBASEENV so that it applies to the
bitbake-worker instance for fakeroot tasks, preventing pyc files from
being generated for imports in python tasks themselves.

Also add a test case to ensure that pyc files are not created in tasks
which are executed under pseudo.

(From OE-Core rev: 73d538f20743017a44cea4c20dbe09a0327cfc71)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Peter Kjellerstedt
e12072c7e0 wic: Pass canonicalized paths in PSEUDO_IGNORE_PATHS
(From OE-Core rev: 55618cbd58d6784a82e773f323723be6f722232f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Peter Kjellerstedt
fcfda37195 bitbake.conf: Canonicalize paths in PSEUDO_IGNORE_PATHS
Use oe.path.canonicalize() to canonicalize the paths in
PSEUDO_IGNORE_PATHS before passing them to pseudo. This is needed since
pseudo will compare them to paths that are canonicalized.

(From OE-Core rev: 1f2a497daa09cf3459e27ad6e0e8513938b52c79)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Peter Kjellerstedt
c37aed34af lib/oe/path: Add canonicalize()
oe.path.canonicalize() is used to canonicalize paths (i.e., remove
symbolic links and "..", and make them absolute). It takes a string
with paths separated by commas, and returns the canonicalized path in
the same format.

(From OE-Core rev: 282b19c0e27488ec119f00fb2542ffdc1af54e2a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-20 00:03:04 +00:00
Richard Purdie
e90cea97d2 linuxloader: Avoid confusing string concat errors
None is a bad choice of return value for functions used in variables
(strings) as a failure results in concatination errors. Use a string
with a clear meaning that can be searched for instead.

(From OE-Core rev: c04f04e714ede5d3904058ec82459139ed5e42fa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-19 17:18:07 +00:00
Richard Purdie
65e67f4028 bitbake: data_smart: Ensure hash reflects vardepvalue flags correctly
The get_hash() function is used to decide if the base configuration has changed
and hence whether a reparse is required. The vardepvalue flag's value was not
expanded but it is often used in contexts like:

METADATA_REVISION = "${@base_detect_revision(d)}"
METADATA_REVISION[vardepvalue] = "${METADATA_REVISION}"

which in it's unexpanded form means reparsing doesn't happen when it should
as the data appears unchanged. Update get_hash to expand the values of
vardepvalue so reparsing works as expected. This avoids basehash mismatch
errors such as the one recently caused by using METADATA_REVISION in poky.conf's
DISTRO_VERSION variable. The issue there could be exposed by a recipe using
DISTRO_VERSION with the sequence:

bitbake os-release
<change the revision of the metadata with a dummy commit>
bitbake os-release -C install

which was caused because METADATA_REVISION changed but the metadata didn't reparse.

(Bitbake rev: 26ccf1575aef2d6e2d7717d3bd10b1ed0d5a777d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-19 17:18:07 +00:00
Alan Perry
f1a2ee5a18 binutils: add libopcodes package for perf
Add a package for libopcodes, since, like libbfd, it is needed by
perf. Without separate packages for these libraries, all of the
binutil tools get added as well.

(From OE-Core rev: 514b595bda487ff74ae16539d716628a1d0be8af)

Signed-off-by: Alan Perry <alanp@snowmoose.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:25 +00:00
Maxime Roussin-Bélanger
98045767ea meta: add missing descriptions in some support recipes
(From OE-Core rev: d2654384db4999c78bc3d98215a4eecdab63541b)

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:25 +00:00
Richard Purdie
72329ca939 pseudo: Drop patches merged into upstream branch
(From OE-Core rev: 7386a116222979e6de60c39d2c094d5f216fb101)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Bruce Ashfield
7dc526230f lttng-modules: fix build against v5.10+
lttng-modules doesn't currently build against the lastest 5.10-rc
versions.

Upstream lttng does have fixes for the issues, but hasn't done a
release that contains them yet. There are other patches on the
2.12.x branch, but I've skipped them for now as they aren't
necessary for 5.10 builds, and can be picked up with the next
full update.

We also bump the dev-upstream hash to make them easier to pickup
for those building from git.

(From OE-Core rev: 47201e98bb293d59c5d41986d066fd7614b914fa)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Bruce Ashfield
f55fbbc797 linux-yocto/5.4: update to v5.4.80
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    9f4b26f3ea18 Linux 5.4.80
    a88f08e78249 sched/fair: Fix overutilized update in enqueue_task_fair()
    10ca291c7749 mm, page_alloc: skip ->waternark_boost for atomic order-0 allocations
    a2761473d50b mm/userfaultfd: do not access vma->vm_mm after calling handle_userfault()
    173e37322307 mm: memcg/slab: fix root memcg vmstats
    fc82fd7f7df9 x86/microcode/intel: Check patch signature before saving microcode for early loading
    09652ebd0dc1 seccomp: Set PF_SUPERPRIV when checking capability
    fa9ccc177754 ptrace: Set PF_SUPERPRIV when checking capability
    d51481382c74 mmc: sdhci-pci: Prefer SDR25 timing for High Speed mode for BYT-based Intel controllers
    5b738014dadc drm/i915: Handle max_bpc==16
    51cc709ed961 drm/amd/display: Add missing pflip irq for dcn2.0
    1c1add911fd9 Drivers: hv: vmbus: Allow cleanup of VMBUS_CONNECT_CPU if disconnected
    7411c05a6eea s390/dasd: fix null pointer dereference for ERP requests
    e6e76a26fdc8 s390/cpum_sf.c: fix file permission for cpum_sfb_size
    89d73a97af5c mac80211: free sta in sta_info_insert_finish() on errors
    945c10ad59ca mac80211: minstrel: fix tx status processing corner case
    336c331ef01e mac80211: minstrel: remove deferred sampling code
    713f903dc4b5 xtensa: disable preemption around cache alias management calls
    747467f3625b xtensa: fix TLBTEMP area placement
    e7ea18de9bb3 regulator: workaround self-referent regulators
    0d233d5766eb regulator: avoid resolve_supply() infinite recursion
    65205dfe78ff regulator: fix memory leak with repeated set_machine_constraints()
    4cab55d65974 regulator: pfuze100: limit pfuze-support-disable-sw to pfuze{100,200}
    53a9502d9a69 spi: bcm2835aux: Fix use-after-free on unbind
    2737549129ec spi: npcm-fiu: Don't leak SPI master in probe error path
    3e04a4976add spi: Introduce device-managed SPI controller allocation
    11bb6ae21c81 spi: lpspi: Fix use-after-free on unbind
    760d4e3ee879 iio: adc: mediatek: fix unset field
    d3e27c62334e iio: accel: kxcjk1013: Add support for KIOX010A ACPI DSM for setting tablet-mode
    9f99cc38cf1a iio: accel: kxcjk1013: Replace is_smo8500_device with an acpi_type enum
    308a06ac9fb8 ext4: fix bogus warning in ext4_update_dx_flag()
    7f76c608135e iio: light: fix kconfig dependency bug for VCNL4035
    2ba693eea318 staging: rtl8723bs: Add 024c:0627 to the list of SDIO device-ids
    f59ef9ec20ac efivarfs: fix memory leak in efivarfs_create()
    d73d0106e354 HID: logitech-dj: Fix an error in mse_bluetooth_descriptor
    772ff2c77cce tty: serial: imx: keep console clocks always on
    663f70f1f5e7 tty: serial: imx: fix potential deadlock
    a3ac3d213572 ALSA: hda/realtek: Add some Clove SSID in the ALC293(ALC1220)
    659f6731bcf4 ALSA: hda/realtek - Add supported for Lenovo ThinkPad Headset Button
    c70c1b93f3d1 ALSA: mixart: Fix mutex deadlock
    b9a69e5d0b37 ALSA: ctl: fix error path at adding user-defined element set
    16a5e3748d86 ALSA: usb-audio: Add delay quirk for all Logitech USB devices
    090ac65f8c7c ALSA: firewire: Clean up a locking issue in copy_resp_to_buf()
    3b78db264675 speakup: Do not let the line discipline be used several times
    0da75d37d199 HID: logitech-dj: Fix Dinovo Mini when paired with a MX5x00 receiver
    4e23e329ec17 HID: logitech-dj: Handle quad/bluetooth keyboards with a builtin trackpad
    770a55072f12 HID: logitech-hidpp: Add PID for MX Anywhere 2
    8a411bb0d73f libfs: fix error cast of negative value in simple_attr_write()
    9d1b5a8c720e efi/x86: Free efi_pgd with free_pages()
    95fafa1cb7a5 bpf, sockmap: Avoid returning unneeded EAGAIN when redirecting to self
    a9f3670728a0 bpf, sockmap: Use truesize with sk_rmem_schedule()
    e8b1de6975db bpf, sockmap: On receive programs try to fast track SK_PASS ingress
    329c84430a64 bpf, sockmap: Skb verdict SK_PASS to self already checked rmem limits
    4983ffd34ffc xfs: revert "xfs: fix rmap key and record comparison functions"
    989d275ac592 fail_function: Remove a redundant mutex unlock
    b9589cb07932 regulator: ti-abb: Fix array out of bound read access on the first transition
    ad3c4c96bfb7 xfs: return corresponding errcode if xfs_initialize_perag() fail
    738ec7670624 xfs: strengthen rmap record flags checking
    388ca4a37dcd xfs: fix the minrecs logic when dealing with inode root child blocks
    56588c1fdd19 can: m_can: process interrupt only when not runtime suspended
    a3c94201e0a7 can: flexcan: flexcan_chip_start(): fix erroneous flexcan_transceiver_enable() during bus-off recovery
    58f1657c3a58 iommu/vt-d: Avoid panic if iommu init fails in tboot system
    964b02d50bab iommu/vt-d: Move intel_iommu_gfx_mapped to Intel IOMMU header
    6d184f851182 can: kvaser_usb: kvaser_usb_hydra: Fix KCAN bittiming limits
    987bd7901ae3 can: kvaser_pciefd: Fix KCAN bittiming limits
    9df3884a4d6a bpf, sockmap: Ensure SO_RCVBUF memory is observed on ingress redirect
    58f45daa2d0a bpf, sockmap: Fix partial copy_page_to_iter so progress can still be made
    401afa5f5e5e net/mlx5: E-Switch, Fail mlx5_esw_modify_vport_rate if qos disabled
    a5a1db757da1 drm/sun4i: dw-hdmi: fix error return code in sun8i_dw_hdmi_bind()
    5e7f422c3810 MIPS: Alchemy: Fix memleak in alchemy_clk_setup_cpu
    cb5ad04eeeb6 selftests/bpf: Fix error return code in run_getsockopt_test()
    32ebbc84697b ASoC: qcom: lpass-platform: Fix memory leak
    24ce39bf0aa2 can: m_can: m_can_stop(): set device to software init mode before closing
    db2f5579e725 can: m_can: m_can_class_free_dev(): introduce new function
    9b0596c07da8 can: m_can: m_can_handle_state_change(): fix state change
    69851481b342 can: tcan4x5x: tcan4x5x_can_remove(): fix order of deregistration
    d527bb8bd577 can: tcan4x5x: tcan4x5x_can_probe(): add missing error checking for devm_regmap_init()
    84089205dbd2 can: tcan4x5x: replace depends on REGMAP_SPI with depends on SPI
    f0c8508bf874 can: flexcan: fix failure handling of pm_runtime_get_sync()
    73788e8c3b02 can: peak_usb: fix potential integer overflow on shift of a int
    4a6891e169df can: mcba_usb: mcba_usb_start_xmit(): first fill skb, then pass to can_put_echo_skb()
    85c48dcd8735 can: ti_hecc: Fix memleak in ti_hecc_probe
    85854e4e552e can: dev: can_restart(): post buffer from the right context
    247b03eca2fd can: af_can: prevent potential access of uninitialized member in canfd_rcv()
    5970c08eed35 can: af_can: prevent potential access of uninitialized member in can_rcv()
    ef097e93aca2 ip_tunnels: Set tunnel option flag when tunnel metadata is present
    f5d6b6c2e993 tools, bpftool: Add missing close before bpftool net attach exit
    6eadbc3b7ab7 perf lock: Don't free "lock_seq_stat" if read_count isn't zero
    4c954fe28af1 RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs
    1a358c4e9bb2 RDMA/pvrdma: Fix missing kfree() in pvrdma_register_device()
    1b1ddde970de rfkill: Fix use-after-free in rfkill_resume()
    6490ecdee551 Input: resistive-adc-touch - fix kconfig dependency on IIO_BUFFER
    9a4b4a06addf ARM: dts: imx50-evk: Fix the chip select 1 IOMUX
    58e4f34f52a4 arm64: dts: imx8mm: fix voltage for 1.6GHz CPU operating point
    fd278c6359ac swiotlb: using SIZE_MAX needs limits.h included
    cfee2333791a arm: dts: imx6qdl-udoo: fix rgmii phy-mode for ksz9031 phy
    a8d6ae10e9fc arm64: dts imx8mn: Remove non-existent USB OTG2
    b94479198240 arm64: dts: allwinner: h5: OrangePi Prime: Fix ethernet node
    cab227c19cd1 MIPS: export has_transparent_hugepage() for modules
    93f23689129f Input: adxl34x - clean up a data type in adxl34x_probe()
    29dea2b91871 arm64: dts: allwinner: a64: bananapi-m64: Enable RGMII RX/TX delay on PHY
    794a13015fb6 ARM: dts: sunxi: bananapi-m2-plus: Enable RGMII RX/TX delay on Ethernet PHY
    c6e7f6bdcbaa ARM: dts: sun9i: Enable both RGMII RX/TX delay on Ethernet PHY
    6cb50545fe31 ARM: dts: sun8i: a83t: Enable both RGMII RX/TX delay on Ethernet PHY
    cecaad1d3f48 ARM: dts: sun8i: h3: orangepi-plus2e: Enable RGMII RX/TX delay on Ethernet PHY
    ec268dd970a5 ARM: dts: sun7i: bananapi-m1-plus: Enable RGMII RX/TX delay on Ethernet PHY
    303691562f8f ARM: dts: sun7i: cubietruck: Enable RGMII RX/TX delay on Ethernet PHY
    b55bc15117d6 ARM: dts: sun6i: a31-hummingbird: Enable RGMII RX/TX delay on Ethernet PHY
    260ceb0c4aa6 Revert "arm: sun8i: orangepi-pc-plus: Set EMAC activity LEDs to active high"
    1446255d8600 ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix ethernet node
    31c4a413971b arm64: dts: allwinner: h5: OrangePi PC2: Fix ethernet node
    345d06f5853f arm64: dts: allwinner: a64: Pine64 Plus: Fix ethernet node
    96bde11bf2b2 arm64: dts: allwinner: a64: OrangePi Win: Fix ethernet node
    ba6ebc22844d arm64: dts: allwinner: Pine H64: Enable both RGMII RX/TX delay
    79de663dcb11 arm64: dts: allwinner: beelink-gs1: Enable both RGMII RX/TX delay
    8afc6e00a1d1 hwmon: (pwm-fan) Fix RPM calculation
    e240b4326887 gfs2: fix possible reference leak in gfs2_check_blk_type
    195f9e1a5457 vfs: remove lockdep bogosity in __sb_start_write
    54d11983c29c arm64: smp: Tell RCU about CPUs that fail to come online
    e8df8c25aa05 arm64: psci: Avoid printing in cpu_psci_cpu_die()
    71eea3d3df94 arm64: errata: Fix handling of 1418040 with late CPU onlining
    e6f6e52acb96 ACPI: button: Add DMI quirk for Medion Akoya E2228T
    58ced3741789 selftests: kvm: Fix the segment descriptor layout to match the actual layout
    8ebc41496f6e scsi: ufs: Fix unbalanced scsi_block_reqs_cnt caused by ufshcd_hold()
    e06dfd53a42a pinctrl: rockchip: enable gpio pclk for rockchip_gpio_to_irq
    9865a26c9620 net: ftgmac100: Fix crash when removing driver
    3f0ccca2729b net/ncsi: Fix netlink registration
    9a1ac76ab15e net: usb: qmi_wwan: Set DTR quirk for MR400
    7204f0be5b5e net/mlx5: Disable QoS when min_rates on all VFs are zero
    3f9f112a6329 net/mlx5: Add handling of port type in rule deletion
    3d6c81f9c96c tcp: only postpone PROBE_RTT if RTT is < current min_rtt estimate
    04b7fd7609b3 sctp: change to hold/put transport for proto_unreach_timer
    31790683293b qlcnic: fix error return code in qlcnic_83xx_restart_hw()
    5241fa6e7acd qed: fix error return code in qed_iwarp_ll2_start()
    f8e5578dcaa7 page_frag: Recover from memory pressure
    f6f751cb315c net: x25: Increase refcnt of "struct x25_neigh" in x25_rx_call_request
    9ecfcf48d735 net/tls: fix corrupted data in recvmsg
    9e909956d0c7 net/smc: fix direct access to ib_gid_addr->ndev in smc_ib_determine_gid()
    ab1e4b3c406b net: qualcomm: rmnet: Fix incorrect receive packet handling during cleanup
    782a503a369c net/mlx4_core: Fix init_hca fields offset
    75b2b0d38068 net: lantiq: Wait for the GPHY firmware to be ready
    65a596ec63aa netlabel: fix an uninitialized warning in netlbl_unlabel_staticlist()
    d9704891f531 netlabel: fix our progress tracking in netlbl_unlabel_staticlist()
    99ddc3211653 net: Have netpoll bring-up DSA management interface
    bd17af3cf314 net: ethernet: ti: cpsw: fix error return code in cpsw_probe()
    27e9ca6c82a0 net: dsa: mv88e6xxx: Avoid VTU corruption on 6097
    805dfdb26e54 net: bridge: add missing counters to ndo_get_stats64 callback
    fa03d6177be7 net: b44: fix error return code in b44_init_one()
    78b9c4a8e338 mlxsw: core: Use variable timeout for EMAD retries
    c35a7de217ce lan743x: prevent entire kernel HANG on open, for some platforms
    5c7a00aa05d6 lan743x: fix issue causing intermittent kernel log warnings
    88a5a3e1530c ipv6: Fix error path to cancel the meseage
    0e8b0213dc60 inet_diag: Fix error path to cancel the meseage in inet_req_diag_fill()
    e5fe052c065d Exempt multicast addresses from five-second neighbor lifetime
    2894a07110c6 devlink: Add missing genlmsg_cancel() in devlink_nl_sb_port_pool_fill()
    bedb089dcbf7 bnxt_en: read EEPROM A2h address using page 0
    362bd03af589 atm: nicstar: Unmap DMA on send error
    b2f95ff764c0 ah6: fix error return code in ah6_input()
    fc8334619167 Linux 5.4.79
    26c7d2883851 ACPI: GED: fix -Wformat
    087c857e0131 KVM: x86: clflushopt should be treated as a no-op by emulation
    7ae6f2df438d can: proc: can_remove_proc(): silence remove_proc_entry warning
    1527ab7859b2 mac80211: always wind down STA state
    df3305411447 Input: sunkbd - avoid use-after-free in teardown paths
    cd61f14592df net: lantiq: Add locking for TX DMA channel
    8cad37eb129f powerpc/8xx: Always fault when _PAGE_ACCESSED is not set
    b57c75956e79 net/mlx5: Add retry mechanism to the command entry index allocation
    7db82a5a4c15 net/mlx5: Fix a race when moving command interface to events mode
    3fa9daaccce8 net/mlx5: poll cmd EQ in case of command timeout
    42bb7b7b9654 net/mlx5: Use async EQ setup cleanup helpers for multiple EQs
    b33905dc1ce5 MIPS: PCI: Fix MIPS build
    01474e8cc342 selftests/powerpc: entry flush test
    eb37345ed224 powerpc: Only include kup-radix.h for 64-bit Book3S
    09495b5f7aab powerpc/64s: flush L1D after user accesses
    b65458b6be80 powerpc/64s: flush L1D on kernel entry
    bcf7f2d3fcec selftests/powerpc: rfi_flush: disable entry flush if present

(From OE-Core rev: f752768d997dad99d518208c1540656b9162d2f3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Bruce Ashfield
8587063342 linux-yocto-rt/5.4: update to -rt44
Integrating the following commit(s):

    375e7ee20260 Linux 5.4.78-rt44
    c948a34d2755 Linux 5.4.77-rt43
    8189406f8f2b Linux 5.4.74-rt42
    0856261877e2 timers: Don't block on ->expiry_lock for TIMER_IRQSAFE
    416edb155e5d ptrace: fix ptrace_unfreeze_traced() race with rt-lock
    6bd85935ab11 mm/memcontrol: Disable preemption in __mod_memcg_lruvec_state()
    57ada856a2a8 net: Properly annotate the try-lock for the seqlock
    1c80ecf69d2d Linux 5.4.74-rt41
    d4318c110dc6 Linux 5.4.70-rt40
    bdfc6168388d Linux 5.4.69-rt39
    b6e0ef250594 Linux 5.4.66-rt38
    151876f794fc Linux 5.4.61-rt37
    4bdac3f47b53 Linux 5.4.59-rt36
    cf9b41798238 Linux 5.4.58-rt35
    631b98ae597b Linux 5.4.55-rt34
    77d701a69ebb Linux 5.4.54-rt33
    130cf1b82691 rwsem: Provide down_read_non_owner() and up_read_non_owner() for -RT
    6ab4141069fc net: phy: fixed_phy: Remove unused seqcount
    291d163db65a Bluetooth: Acquire sk_lock.slock without disabling interrupts
    4c9f5d78fed4 workqueue: Sync with upstream

(From OE-Core rev: dfae903dd2538d57cc75e3b8b731515deb7f5526)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Mark Jonas
7d8ae0feb3 parted: Make readline dependency optional
(From OE-Core rev: bb433833d2ae7b87d18dfae5635eac9097ecc9b7)

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Khem Raj
105cece225 busybox-inittab: Implement SYSVINIT_ENABLED_GETTYS and USE_VT
This ensures that busybox init can generate matching tty's in inittab as
system defines, secondly resepcts USE_VT for creating virtual ttys

(From OE-Core rev: 7dddda7a00108f9a61da4a869514a32b9f42d16a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Khem Raj
51ef6bbbd9 qemuriscv: check serial consoles w.r.t. /proc/consoles
qemuriscv enables hvc0 along with ttyS0, however its not enabled in
/proc/consoles, getty tries to enable it in inittab and erroring out

Fixes below message with sysvinit

INIT: Id "hvc0" respawning too fast: disabled for 5 minutes

(From OE-Core rev: 8a6559f1561ca6b7719bb46fc446db46d8086ea3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Alexander Kanavin
f443e37021 lttng-tools: disable more failing ptests
(From OE-Core rev: 78e2c81d02eb31c04a5ccb562f3524f9d0b7e35c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Alexander Kanavin
2622ec78f8 bzip2: run ptests without valgrind
Otherwise, valgrind significantly slows them down, and actually
even causes ptest timeouts on arm64.

(From OE-Core rev: 483ca253cc25f928759263f9f3f2b3699e82252b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Alexander Kanavin
c4c6bb89cf valgrind: exclude bar_bad/bar_bad_xml from ptests
The tests' output is non-deterministic and sometimes
doesn't match the sample output. This has been reported at
https://bugs.kde.org/show_bug.cgi?id=430321
(see also an earlier related bug https://bugs.kde.org/show_bug.cgi?id=358213)

Until upstream figures out how to fix this, let's not run the tests.

(From OE-Core rev: 7f7d2fa18267090891754d976cbc3e628324d3dd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Alexander Kanavin
cd8f510a18 kea: upgrade 1.7.10 -> 1.8.1
(From OE-Core rev: 9a694510f60fbaece03215ec6d2379e422b88529)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
zangrc
3a69732b87 bash: Rename patch name
Because the name of CVE patch is wrong, cve-check-tool cannot get the correct CVE result. Rename the patch name.

(From OE-Core rev: 422f9af7d0f7de7a2e933154853e7a281f98ab93)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Anatol Belski
703c7754c1 iproute2: Make it easier to manipulate SUBDIRS list from bbappend
Currently there's no easy way to override this part as it's hardcoded
into the EXTRA_OEMAKE var. This change makes it possible to manipulate
the list of subdirs in a more fine graned and future oriented manner.

(From OE-Core rev: 1ca2b21cb7d638f36860bd16a90c1fb8238d4552)

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Deepak Rawat
3eeed13c19 openssl: add support for mingw64 as target
Engines are installed in a slightly different path, and
the host type doesn't precisely match in x86_64

Co-authored-by: Paul Eggleton <paul.eggleton@microsoft.com>
Co-authored-by: Deepak Rawat <derawa@microsoft.com>
(From OE-Core rev: 166bb89f6d97495b6522786182b4f9623acd7ff4)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Ross Burton
4e21385a95 wic-tools: add grub-efi and systemd-boot on arm64
These both now work on arm64, so add them to the dependencies.

(From OE-Core rev: 6b350db4ef9eaff10ee274ff7d28d2e6761c532a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Ross Burton
942a818ea9 systemd-boot: allow building for Arm targets
systemd-boot works on 32-bit and 64-bit Arm targets (assuming the
firmware does EFI, obviously), so allow it to be built.

(From OE-Core rev: 3325992e66e8fbd80292beb4b0ffd50beca138d8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Ross Burton
118f3a24f2 systemd-boot: build the EFI stub
Also build and deploy the EFI stub.  SYSTEMD_BOOT_EFI_ARCH can be dropped
as image-uefi.conf now sets EFI_ARCH.

Changes originally taken from meta-intel.

(From OE-Core rev: 00191504bd9321334a5c01b95179ed15b063f1b6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Ross Burton
df50c8308b image-uefi.conf: add EFI arch variable
Refactor EFI_BOOT_IMAGE so that the EFI name for the architecture
is exposed as EFI_ARCH, so that other recipes (such as bootloaders)
can reuse it.

(From OE-Core rev: d3bf2d0fbd50309d7cf8f066c258ba1ebdb05f47)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Ross Burton
8bac787b8f wic-tools: don't build syslinux-native for targets without syslinux
If we're not building syslinux, then there's no point building
syslinux-native.

(From OE-Core rev: 152dbd05c099ce50701466336a9c9642c98e4fe0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Ross Burton
a9755a33fa syslinux: rewrite recipe so only target code is x86-specific
Currently the syslinux recipe set COMPATIBLE_HOST to 32/64-bit x86.
Whilst this makes sense for the target binaries as syslinux is
x86-specific, this also affects the native recipe which should be able
to be built on non-x86 build hosts (for example, arm64 build host,
qemux86 target).

syslinux itself has a somewhat fragile build system but with care it is
possible to build the installer for native/nativesdk, and the bootloader
for target.

(From OE-Core rev: 7273e131bfc7de83df9e90697e7983d54b713798)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Khairul Rohaizzat Jamaluddin
ac452514ce go: Update 1.15.5 -> 1.15.6
The deleted patch file mentioned below is removed since 1.15.6
already has the issue patched.

(From OE-Core rev: ab41033b4202341a3767d1c54c86e08c7e37610f)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Tim Orling
adefa9e805 python3-packaging: upgrade 20.4 -> 20.8
Upstream release notes:
'''
* 20.8 - 2020-12-11
  - Revert back to setuptools for compatibility purposes for some Linux
    distros (:issue:`363`)
  - Do not insert an underscore in wheel tags when the interpreter version
    number is more than 2 digits (:issue:`372`)

* 20.7 - 2020-11-28
  - No unreleased changes.

* 20.6 - 2020-11-28
  - Note:
    This release was subsequently yanked, and these changes were included in
    20.7.

  - Fix flit configuration, to include LICENSE files (:issue:`357`)
  - Make intel a recognized CPU architecture for the universal macOS
    platform tag (:issue:`361`)
  - Add some missing type hints to packaging.requirements (issue:350)

* 20.5 - 2020-11-27
  - Officially support Python 3.9 (:issue:`343`)
  - Deprecate the LegacyVersion and LegacySpecifier classes (:issue:`321`)
  - Handle OSError on non-dynamic executables when attempting to resolve the
    glibc version string.
"""

(From OE-Core rev: 7a074958be6e166e2de98bd39dc203f0d67a8d93)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Tanu Kaskinen
7b6c822fd6 maintainers.inc: remove myself from maintainers
(From OE-Core rev: 42b0c4a5ea82d18bae297d01d91b0edbf639128e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Nathan Rossi
76cb8af2bc coreutils: enable xattrs by default for nativesdk
When using coreutils nativesdk (e.g. with buildtools-tarball) for
running oe-core builds, a number of recipes/classes/etc. expect xattr
support. This requirement is also expressed by the existing
PACKAGECONFIG_class-native default including xattrs.

(From OE-Core rev: 80d7debffdeed165006b26dcb89cffafaaecca06)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Nathan Rossi
5dcfad159e grep: add nativesdk to BBCLASSEXTEND
(From OE-Core rev: 512757fecd460b3777d370dd0c3fc87a82a1ca58)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Nathan Rossi
53f86f7f8f sed: add nativesdk to BBCLASSEXTEND
(From OE-Core rev: 65be54b4bacc0ab2f35aed6c465099822d1f4025)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Nathan Rossi
b7900d4cee which: add nativesdk to BBCLASSEXTEND
(From OE-Core rev: e1ec766c3a4842c7600e8c96370372c41819d0a5)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Nathan Rossi
50f4e82e4e ncurses: Prevent LDFLAGS being emitted in .pc files
By default ncurses includes the values of LDFLAGS in its output
pkgconfig .pc files. This causes issues because OE includes options that
are specific to either the build host, or build configuration. These
options are not expected to be embedded in the pkgconfig output that is
installed.

Specifically this change resolves issues with uninative, where uninative
includes '-Wl,--dynamic-linker=' in LDFLAGS in order to force the
building and execution of native binaries against the dynamic linker
provided by uninative. This path is specific to TMPDIR at the time of
build, such that the installed files (and the associated sstate) have
this path. This prevents the sstate from being portable across build
directories/hosts.

(From OE-Core rev: ef960d14bd9cecb9a3b50994636fbd455f06104a)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Nathan Rossi
38ff3dd502 qemu.inc: Add seccomp PACKAGECONFIG option
Add the seccomp PACKAGECONFIG option to allow building seccomp features
in QEMU. The libseccomp library is available in additional layers (e.g.
meta-security).

Additionally this serves as a way to disable seccomp by default to avoid
the configure of QEMU automatically finding it (via pkg-config) on the
build host when building qemu-system-native and auto enabling the
feature.

(From OE-Core rev: 7c8245f41d43b5a267d51f3c7784536eee23fca2)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Wang Mingyu
68e8334ea0 readline: upgrade 8.0 -> 8.1
(From OE-Core rev: 0928aea49741432cf36c9ecc48e9fadefa9d5ccb)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Khem Raj
d059b90fc0 go.bbclass: Use external linker for native packages
go 1.15 has reworked internal linker, which has resulted in regressions
in OE where native binaries generated using internal linker in some
cases result in corruption during populate_sysroot e.g. glide-native
crashing when used after relocation.

This improved reliability of native binaries working especially when
they use cgo or pie build modes

(From OE-Core rev: daf4856ea3ccafc05c808a34d4c6af2bfafea12f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Otavio Salvador <otavio.salvador@ossystems.com.br>
Cc: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Nathan Rossi
5a5795349b gcc: Add patch to resolve i*86 tune configuration overrides
When compiling gcc-runtime for i686 libatomic, libgomp and libitm are
compiled with additional '-march' and '-mtune' overrides. This typically
does not cause build errors (e.g. core2-32 tune), and results in less
optimally tuned outputs. However with specific TUNE_CCARGS (e.g. has
'-mfpmath=sse' but not '-msse*'), the build errors with conflicting
'-mfpmath' options.

This is caused by gcc-runtime specific configure scripts and Makefile
options that override by adding additional '-march'/'-mtune' args. OE
builds gcc-runtime differently to other build systems, and provides
target specific arch/tune options directly. As such, this change adds a
patch for gcc to remove the specific cases where the args are added.

(From OE-Core rev: d39b686cc5fcc89405ffeb560ea64b5d305b0608)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Khairul Rohaizzat Jamaluddin
b98c4c1b7d openssl: Update 1.1.1h -> 1.1.1i
update version to 1.1.1i

openssl 1.1.1i Fixed NULL pointer deref in GENERAL_NAME_cmp (CVE-2020-1971)

updates include fix for CVE:
CVE-2020-1971

(From OE-Core rev: ebbb732d7707d3e755dd9760fc292f86253f86b4)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-18 22:52:24 +00:00
Khem Raj
38b45cd73e systemd: Fix reallocarray check
Musl brought this latent issue to fore

(From OE-Core rev: 6012fffa99b600956ea1076d60e050d0737b4c4f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-16 19:44:50 +00:00
Michael Halstead
82b8dc9ccc releases: conf: add link to 3.2.1, update to include 3.2.1
(From yocto-docs rev: b268b1b190861cb203fa642e57794acb402280a7)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 23:03:47 +00:00
Ross Burton
eda1c1459d wic-image-minimal: only depend on syslinux on x86 targets
Following other examples, only depend on syslinux when targetting x86.

(From OE-Core rev: c58fcc1379ca5755a5b670f79b75e94370d4943c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Christopher Larson
8076683457 uboot-extlinux-config: exclude OVERRIDES from do_create_extlinux_config vardeps
This function is primarily *appending* configuration entries to the
overrides, it only gets it to ensure it's set at all, so doesn't belong
in the vardeps. Having a dependency on OVERRIDES means you cannot use a
bbclass like distrooverrides without changing the signatures of recipes
using this class.

(From OE-Core rev: fef74d3651d432977caef8fea54fc54bf2784a74)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Christopher Larson
13412b60bb grub-efi-cfg: exclude OVERRIDES from build_efi_cfg vardeps
This function is primarily *appending* configuration entries to the
overrides, it only gets it to ensure it's set at all, so doesn't belong
in the vardeps. Having a dependency on OVERRIDES means you cannot use a
bbclass like distrooverrides without changing the signatures of recipes
using this class.

(From OE-Core rev: 8fad5db8c3275a0dc9fdb37761f2e9381e1413da)

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Anuj Mittal
a55817a35c mesa: remove patch disabling asm
This was originally added for musl only [1]. Upstream has removed this
option but we reverted that change during an upgrade to fix certain
musl specific compile time issues [2].

I compile tested without this patch on musl-x86 and musl-x86-64 and
don't see the warnings anymore. Similar textrel issues were fixed
upstream so perhaps those helped [3].

[1] https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit?id=68bf128e901e89d5b49a28b15d5083b2bf6b536f
[2] https://www.openembedded.org/pipermail/openembedded-core/2019-November/289222.html
[3] 45206d7673

(From OE-Core rev: a7bd1c3ca4d2f8a5e230b19517af1c52aec35f3e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Anuj Mittal
6816eb61f4 mesa: add more details to elf-tls patch
Include link to upstream report and the last autobuilder failure [1]
so it's easy to identify why this is needed in future.

[1] https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/1160/steps/8/logs/step1c

(From OE-Core rev: 28647f8e4fb5fe2e56f0609900187bc658ba9ccf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Dmitry Baryshkov
70e67e31e3 perl: fix installation failure because of shell issue
On one of my buildservers I noticed perl do_install failing with the
following message:

| rm: cannot remove '<OEROOT>/tmp-rpb-glibc/work/armv8-2a-linaro-linux/perl/5.32.0-r0/image//usr/lib/perl5/5.32.0/*/CORE/libperl.so': No such file or directory

I tracked this down to shell being dash rather than bash not being able
to expand this glob in the middle of the filename. So replace the glob
expansion with the simpler one which works in all cases.

(From OE-Core rev: d1ea1b5c12120abdd085dc4eb69120af9258a99b)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Khem Raj
d6eac97c3a musl: Update to latest master
Refresh patches to apply to this update

Brings in following fixes

* 1e4204d5 use libc-internal malloc for newlocale/freelocale
* 36246b34 drop use of pthread_once in newlocale
* 37fcc13c lift locale lock out of internal __get_locale
* c53e9b23 fix misleading comment in strstr
* b67d56c7 drop use of pthread_once for aio thread stack size init
* 90ff0169 fix omission of non-stub pthread_mutexattr_getprotocol
* 56f0631d riscv64: fix inconsistent ucontext_t struct tag
* 50c7935c fix failure to preserve r6 in s390x asm; per ABI it is call-saved
* 738c4e94 s390x: derive float_t from compiler or default to float
* 821083ac implement reallocarray
* 29ff7599 implement realpath directly instead of using procfs readlink
* 5d464f52 fix mallocng regression in malloc_usable_size with null argument
* d046ec92 configure: do not use obsolescent form of test -a|o
* c5d118eb fix segfault in lutimes when tv argument is NULL
* 67f77462 netinet/in.h: add IP_RECVERR_4884 from linux v5.9
* d078f836 sys/fanotify.h: add new FAN_* macros from linux v5.9
* 3ba370fe bits/syscall.h: add __NR_close_range from linux v5.9
* badc5bb2 add missing personality values
* 6e989248 arm fabs and sqrt: support single-precision-only fpu variants
* c8c3e341 fix typo in INSTALL
* e2fa720b work around linux bug in readlink syscall with zero buffer size
* c17cda6d parse v3 or future-unknown zoneinfo file versions as v2+
* 585a0a78 explicitly prefer 64-bit/v2 zoneinfo tables
* debbddf7 fix regression in pthread_exit
* 3ab2a4e0 rewrite wcsnrtombs to fix buffer overflow and other bugs
* 233bb697 protect destruction of process-shared mutexes against robust list races
* d26e0774 pthread_exit: don't __vm_wait under thread list lock
* 167390f0 lift child restrictions after multi-threaded fork
* 34952fe5 convert malloc use under libc-internal locks to use internal allocator
* 8d37958d give libc access to its own malloc even if public malloc is interposed
* c1e5d243 drop use of getdelim/stdio in dynamic linker
* cbecda0b dlerror: don't gratuitously hold freebuf_queue lock while freeing
* 4ffa7068 fix vector types in aarch64 register file structures

(From OE-Core rev: b70b875c2f405f6481b1179419cf0f086fa31f53)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Wang Mingyu
5bc29f4995 libaio: upgrade 0.3.111 -> 0.3.112
destdir.patch
removed since it is included in 0.3.112

modify system-linkage.patch

(From OE-Core rev: 3b94e8c369960b0ed1e2949204a587a2952edf79)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Robert Yang
8f71d4b7d6 archiver.bbclass: Fix --runall=deploy_archives for images
Fixed:
INHERIT += "archiver"
COPYLEFT_LICENSE_INCLUDE = "*"

$ bitbake core-image-minimal --runall=deploy_archives
[snip]
KeyError: '/path/to/meta/recipes-core/images/core-image-minimal.bb:do_ar_original'
[snip]

(From OE-Core rev: 59785a51110c450c7629218f6042f1d9d309618e)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Robert Yang
b07d206605 minicom: RDEPENDS on ncurses-terminfo-base
Fixed when ncurses-terminfo-base is not installed:
$ minicom
No termcap database present!

(From OE-Core rev: 15198ebe8a0fc58c2d1122b956fca092c66a0d41)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Robert Yang
1863bcef1d ncurses: Make ncurses-tools depend on ncurses-terminfo-base
Fixed when ncurses-terminfo-base is not installed:
$ infocmp
infocmp: couldn't open terminfo file linux.

The required file is in ncurses-terminfo-base

(From OE-Core rev: f3e0a6bf1b7d9009c253e3f97df8736ecf3aa79b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Zhixiong Chi
fcadedd845 glibc: CVE-2020-29562 and CVE-2020-29573
Backport the CVE patches from the glibc upstream:
git://sourceware.org/git/glibc.git
commit 681900d29683722b1cb0a8e565a0585846ec5a61
commit 228edd356f03bf62dcf2b1335f25d43c602ee68d

(From OE-Core rev: 01d59c49720548d620448f0e812f07aa3c1cc83a)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Robert Yang
1551dbbc47 buildtools-tarball.bb: Fix PATH for environment setup script
It only added ${SDKPATHNATIVE}/usr/bin to PATH which didn't work when files
were installed to other bin dirs such as /bin or /sbin, for example,
nativesdk-pigz installs the files to /bin, now fix it to keep align with sdk's
PATH.

(From OE-Core rev: 67cac575a5696af5bad1aab888b65ea2686adff7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Diego Sueiro
39867f7f20 modutils-initscripts: Use depmod -a when modules.dep is empty
To correctly create the modules.dep when it is empty, we need to call depmod
with '-a' instead of '-Ae' since the quick option uses the mtime to decide
whether or not it needs to update. This way we can guarantee that it will be
recreated completely and not only when adding new modules.

(From OE-Core rev: 9292e9050fd95be4b556909e2775a45bce1ca79a)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Diego Sueiro
75b74f6b8d wic: Introduce empty plugin to create unformatted empty partitions
The empty wic plugin is used to create unformatted empty partitions for wic
images.

To use it you must pass "empty" as argument for the "--source" parameter in
the wks file. For example:
    part foo --source empty --ondisk sda --size="1024" --align 1024

Also adds a selftest for this plugin where the 'Fstype' column from 'wic
ls' should be empty for the second partition as listed in
test_empty_plugin.wks.

(From OE-Core rev: 77d174fc80663403ef76c5b808aafc1117d3545c)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Jose Quaresma
3cc6465464 gstreamer1.0: use the correct meson option for the capabilities
(From OE-Core rev: baeab0f51ecc19fb85101c4bd472f0650231d0de)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Jose Quaresma
b2e0ab3f32 gstreamer1.0-plugins-bad: transcode plugin external deps is always present
it only needs gstreamer-pbutils-1.0 from gst-plugins-base

(From OE-Core rev: 48e8ee47e4b59a395abbc52c421b3a9cd4a80a77)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Jose Quaresma
d82151df97 gstreamer1.0-plugins-bad: netsim plugin don't have external deps
(From OE-Core rev: 70eabc983ddb087c467e47f86ec71a313d65428a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Jose Quaresma
da2a40f832 gstreamer1.0-plugins-bad: remove unsupported plugins comment
- all of the unsupported plugins are explicitly disabled on EXTRA_OEMESON

(From OE-Core rev: 83890bb001e9e509cb748aebc50f5cd51ec95cd9)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:56 +00:00
Jose Quaresma
aa748a1afd gstreamer1.0-plugins-bad: sctp plugin uses the internal usrsctp static lib
usrsctp lib source code is provided in gstreamer plugins bad source tree
and it is builded staticaly for the sctp plugin.

(From OE-Core rev: cc88656bf83a87e0d442a8e619c29f00a00ee21e)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Jose Quaresma
ac77e010d2 gstreamer1.0-plugins-bad: add support for x265 plugin
(From OE-Core rev: 9fbdcca9e805a0399d7ad30f86bd5879645e79ad)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Jose Quaresma
6a8f05dd75 gstreamer1.0-plugins-bad: add support for aom plugin
(From OE-Core rev: c0a0ac4640ac67abfa29a1151997f50ee071833d)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Jose Quaresma
978d83768e gstreamer1.0-plugins-bad: v4l2codecs fix typo
(From OE-Core rev: 1654cb7f396f40ae0ea7a91aeb88056a96e4f054)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Jose Quaresma
d54a590ffe gstreamer1.0: upgrade 1.18.1 -> 1.18.2
Drop patches as it as merged upstream:

    * gstreamer1.0: 0001-gst_private.h-increse-padding-in-struct-_GstClockEnt.patch
    * gstreamer1.0-plugins-good: 0001-rpicamsrc-add-vchostif-library-as-it-is-required-to-.patch

Update pacthes:
    * gstreamer1.0: 0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch

(From OE-Core rev: 44803c0ae61072cd64228f31cca6990dbd817b02)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Jack Mitchell
df7bccf254 distutils3: allow setup.py to be run from a different directory to ${S}
Sometimes setup.py can be buried deep in a source tree. This has
traditionally been solved with setting S to the subdirectory in
the source. However with the new pseudo changes, some python modules
make changes to files beneath ${S}, for example:

S = "${WORKDIR}/git/python/pythonmodule"

then in setup.py it works with source code in a relative fashion, such
as:

../../src

This causes pseudo to abort as it isn't tracking the paths. Therefore
implement the variable DISTUTILS_SETUP_PATH so that recipes can use:

S = "${WORKDIR}/git"
DISTUTILS_SETUP_PATH = "${S}/python/pythonmodule"

inherit distutils3

This allows the full source tree to be monitored, while distutils
can run setup.py from a location other than ${S}.

(From OE-Core rev: ddcc349cede0c4fe1909df1ded7b0a7c509cd758)

Signed-off-by: Jack Mitchell <ml@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Tim Orling
e5f74ec3c8 python3-setuptools-scm: add python3-toml dep
Fixes:
pkg_resources.DistributionNotFound: The 'toml' distribution was not
found and is required by setuptools-scm

(From OE-Core rev: 12dc4aa883d2cc49d27218834b0b6397e69c2a1c)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Tim Orling
a487a51690 python3-setuptools: upgrade 50.3.2 -> 51.0.0
No upstream release notes.

Upstream commits since 50.3.2:

b6bbe236 Bump version: 50.3.2 → 51.0.0
7f477c52 Merge pull request #2472 from pypa/bugfix/2471-remove-deps
2a0463cb Update changelog.
99bc2c11 Remove tests guaranteeing that (vendored) dependencies can be installed without setuptools.
65441834 Remove conditional skip, no longer relevant.
9365c7ed Merge pull request #2468 from wimglenn/patch-1
43b0b81e Merge pull request #2461 from webknjaz/testing/gha-fix-set-env-usage
43f76003 Merge pull request #2460 from HaraldKorneliussen/master
2065f85d Merge pull request #2444 from zegor/patch-1
e9617599 Merge pull request #2439 from mgedmin/patch-1
475fb309 Update docs/pkg_resources.rst
b4de397a fix broken link to entry-points details
4a4d50af Fix all deprecated set-env and add-path uses @ GHA
b20d12e1 Fixes syntax issues in quickstart (#2448)
5cf3865f Merge pull request #2457 from webknjaz/testing/gha-broken-setup-python
de48cfdb Temporarily allow `set-env` GHA commands
ec944a40 Upgrade GHA actions using deprecated env mechanism
d7170a28 Update quickstart.rst
0e1fc1c6 s/517/PEP 517/
544687c3 Merge pull request #2437 from pypa/feature/rtd-2
3ca9e461 Merge pull request #2436 from webknjaz/maintenance/changelog-reconstruction
8ad16115 Merge pull request #2435 from pypa/debt/drop-py35
6597dcb6 Switch to RTD v2 config
7cf674e1 Reconstruct changelog with categories from history
97ee6624 Remove Python 3.5 from Appveyor tests
3dd7313d Bump PPC runs
d490709b Merge pull request #2431 from webknjaz/bugfixes/pr-template-docs-links
66ca4205 Use 'virtualenv.python'. Fixes #2434.
419087c4 Merge branch 'master' into debt/drop-py35
38de858e Update changelog
6d33d5dd 📝 Update devguide links in the PR template
898ae046 Merge pull request #2430 from webknjaz/bugfixes/sphinx-failures
a94c2c3d 📝 Add change notes
e711cb07 🐛📝 Fix "Title level inconsistent" in changelog
9ab7bc54 Clean up syntax on entry_points.console_scripts. Fixes #2429.
2ff24f67 🐛📝 Fix the TOC link to the relocated dev guide
a5dbf964 Drop support for Python 3.5.

(From OE-Core rev: cf266444feb60ee8206d20104fead5d1b2f2cc16)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Tim Orling
9446dbe9f5 python3-pygments: upgrade v2.7.2 -> v2.7.3
Upstream release notes:
"""
 * Updated lexers:
   - Ada (#1581)
   - HTML (#1615, #1614)
   - Java (#1594, #1586)
   - JavaScript (#1605, #1589, #1588)
   - JSON (#1569 -- this is a complete rewrite)
   - Lean (#1601)
   - LLVM (#1612)
   - Mason (#1592)
   - MySQL (#1555, #1551)
   - Rust (#1608)
   - Turtle (#1590, #1553)

 * Deprecated JsonBareObjectLexer, which is now identical to JsonLexer
   (#1600)
 * The ImgFormatter now calculates the exact character width, which
   fixes some issues with overlapping text (#1213, #1611)
 * Documentation fixes (#1609, #1599, #1598)
 * Fixed duplicated Juttle language alias (#1604, #1606)
 * Added support for Kotlin scripts (#1587)
 * Removed CSS rule which forced margin to 0
"""

(From OE-Core rev: c27aa44fbf29387cda862cec1278c954de42cc3a)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Tim Orling
e18eb021db python3-importlib-metadata: upgrade 3.1.0 -> 3.1.1
No upstream release notes.

Commits since 3.1.0 tag:
155bc48 (HEAD, tag: v3.1.1) Merge branch 'maint/2.x'
83c7dd2 (tag: v2.1.1, origin/maint/2.x) Merge pull request #264 from
  python/bugfix/261-versionless-egg-info-pre-normalized-fallback
4cb3bd0 Update changelog. Ref #261.
6036a37 Avoid relying on new-style normalization for legacy eggs.
4098b51 Perform exact match on Prepared.normalized, and then add a
  separate check for an empty self.normalized instead of relying on a
  degenerate result from startswith.
7bdbb57 Add test to ensure that a prefix isn't matched
595eb5f Compare the name against self.normalized. Fixes #261 but also
  will cause 'lib' to match 'lib_foo'.
fea6e75 Move is_egg into prepared.
313535a Extract method for matching a name in a prepared search.
4335def Add test capturing expectation where versionless metadata exists
  but hasn't been updated to the new normalization technique. Ref #261.
9aee90b Fix syntax in changelog
55e64a4 Merge pull request #258 from python/feature/skeleton
8721a05 Merge branch 'master' into feature/skeleton
ed672ee Consolidate coverage files
eabd24d Restore diffcov
b29baea Correct syntax for invoking pytest
d5a5c90 Bring back perf
67cb123 Run tests to exercise coverage

(From OE-Core rev: 7cb052c6c9834a573ff41fc2313c2e9e4fd1cbcf)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Tim Orling
6d86c396ed python3-hypothesis: upgrade 5.41.4 -> 5.41.5
Add missing RDEPENDS:
  - python3-attrs
  - python3-sortedcontainers

Upstream release notes:
"""
5.41.5 - 2020-12-05

This patch adds a performance optimisation to avoid saving redundant
seeds when using the .fuzz_one_input hook.
"""

(From OE-Core rev: ce98a43014b0a4d2009e0162170fac5eb9c4e50d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Yi Zhao
98a0b83eb1 dhcpcd: upgrade 9.3.2 -> 9.3.4
Backport a patch to fix privsep build error on ppc.

(From OE-Core rev: d79624f9dbe79f6185a2d6127c67508ba940f527)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Alexander Kanavin
4864764667 selftest/reproducible: add an exclusion list for items that are not yet reproducible
Hopefully over time this list will be reduced to an empty one.

Non-reproducible excluded packages are not given to diffoscope and do not cause a
failure, but still saved side-by-side with non-reproducible failing ones to make
investigation easier.

(From OE-Core rev: 406bd0d48d8f90e2c836f7d3e204f21d5f13c833)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Alexander Kanavin
d9cf31579d selftest/reproducible: enable world reproducibility test
Add systemd and pam distro features, and commercial license flag
to include more recipes into the world set.

(From OE-Core rev: ed8f94942c07784f9f6eef5c00b75aa9b398ea5e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-15 22:51:55 +00:00
Ross Burton
796be0593a bitbake: msg: use safe YAML loader
If using a YAML file in BB_LOGCONFIG, the unsafe loader is used and this
causes a runtime warning:

YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated,
as the default Loader is unsafe. Please read https://msg.pyyaml.org/load
for full details.

As log configuration YAML is relatively simple we can just use
safe_load().

(Bitbake rev: 71aaac9efa69abbf6c27d174e0862644cbf674ef)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-10 13:39:15 +00:00
Joshua Watt
fe205758a0 bitbake: hashserv: Fix broken AF_UNIX path length limit
Fixes the bug were long paths would break Unix domain socket clients
(for real this time; the previous attempt was missing os.path.basename).

Adds some tests to prevent regressions

(Bitbake rev: 77790e3656048eff5cb1a086c727d86d32773b68)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-10 13:39:15 +00:00
Richard Purdie
f36484e88d build-appliance-image: Update to master head revision
(From OE-Core rev: a55b01a3a1faf9a52d7edad074c76327f637aaa2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 17:32:58 +00:00
Richard Purdie
89ae28983c poky: Set SDK_VERSION explicitly
After the change from DATE in DISTRO_VERSION, we need to adjust SDK_VERSION.
Remove the unneeded vardepexclude. Ensure the value of SDK_VERSION only
causes rebuilds when the value changes.

(From meta-yocto rev: dc719ee87b4f40a6cf2eadc5767940ad41ab7d64)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 17:32:51 +00:00
Richard Purdie
d2f1390c9c metadata_scm: Fix signature handling of METADATA_REVISION and METADATA_BRANCH
We're not interested in the dependencies of these functions and what
those functions look like, we're interested in the value the variable has.

Force the hashed value to be the actual value from the function. This
means using METADATA_REVISION in DISTRO_VERSION for example now
correctly rebuilds when it changes value.

(From OE-Core rev: 005651dc782859c01f170fb974811b2a13cb2cef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 17:32:51 +00:00
Richard Purdie
9826881036 build-appliance-image: Update to master head revision
(From OE-Core rev: 20ef6292c3b573f1e867437e821b0a176c2e0e94)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:36:32 +00:00
Richard Purdie
4db8652250 bitbake: Revert "fetch2: use relative symlinks for anything pulled from PREMIRRORS"
This reverts commit 481e66ea8fc2fc91903127d66b0f1b0fe86baedb.

Unfortunately this caused problems where incorrect paths were found in paths
and files were not being found. This was reported on the mailing list but no
invetigation or resolution was found. Revert until we can figure out
what was wrong.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:36:22 +00:00
Richard Purdie
07e7579bf9 build-appliance-image: Update to master head revision
(From OE-Core rev: 58fafb239f080d59504d759d986b6087f17421db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:27:38 +00:00
Richard Purdie
e3f1ea76b0 Revert "bitbake.conf: Add all layers (from BBLAYERS) to PSEUDO_IGNORE_PATHS"
This reverts commit cc30537bb4d0815c4d69f0b1a1a8a200085902d5.

There are issues with this change where the build directory may be included
within the paths included in BBLAYERS, which is particularly problematic
where people are using kas.

An alternative to this to handle the pyc file issue is being worked on but
revert this for now whilst that fix is developed.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:27:25 +00:00
Joshua Watt
221dc50cde bitbake: hashserv: client: Fix AF_UNIX path length limits
Restores a fix for unix domain socket path length limits when using the
synchronous hash equivalence client that was accidentally removed when
the async client was added.

Unfortunately, it's much more difficult to fix the same problem when
using the async client directly due to the interaction of chdir() and
async code, but this will at least restore the old behavior in the
synchronous case.

(Bitbake rev: 53e85022a8b1c8f407c9418260c59beffb96f0f9)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:27:25 +00:00
Alexander Kanavin
bf1521fbf1 poky.conf: do not write current date into distro version, use git hash instead
The date leaks into target installs of items like os-release,
and makes them non-reproducible.

(From meta-yocto rev: bd6b25f9a3416ce63e26d763cce7ed1ad4fd816d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
Nicolas Dechesne
b70318797c ref-manual: remove 'ref' from filenames
All filenames duplicate the 'manual name', which is not needed, and
make all references longer than they should. Rename all files to be as
consise as possible, and fix all references

(From yocto-docs rev: bb7e4783f45a5f67e6e4b39968f3512f43738833)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
Nicolas Dechesne
79fecb25e1 sdk-manual: remove 'sdk' from filenames
All filenames duplicate the 'manual name', which is not needed, and
make all references longer than they should. Rename all files to be as
consise as possible, and fix all references

(From yocto-docs rev: bd8c0f7fc09a39a8bbde1c05b51693955738e148)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
Nicolas Dechesne
3240a59758 overview-manual: remove 'overview-manual' from filenames
All filenames duplicate the 'manual name', which is not needed, and
make all references longer than they should. Rename all files to be as
consise as possible, and fix all references

(From yocto-docs rev: 4f489a40bb00be018e419802a76fec9dbee3f255)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
Nicolas Dechesne
11c048fbea profile-manual: remove 'profile-manual' from filenames
All filenames duplicate the 'manual name', which is not needed, and
make all references longer than they should. Rename all files to be as
consise as possible, and fix all references

(From yocto-docs rev: 44405490888960208058d016e387507e21c9f478)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
Nicolas Dechesne
a0afa48859 kernel-dev: remove 'kernel-dev' from filenames
All filenames duplicate the 'manual name', which is not needed, and
make all references longer than they should. Rename all files to be as
consise as possible, and fix all references

(From yocto-docs rev: 3d7eb2c5e1d230290c97dd8e5b528086e1d8034a)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
Nicolas Dechesne
af6f5d821d dev-manual: remove 'dev-manual' from filenames
All filenames duplicate the 'manual name', which is not needed, and
make all references longer than they should. Rename all files to be as
consise as possible, and fix all references

(From yocto-docs rev: 00a9244587e2e63f2a5197ed0dfc89cb330f9275)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
Nicolas Dechesne
c684a7a6d5 toaster-manual: remove 'toaster-manual' from filenames
All filenames duplicate the 'manual name', which is not needed, and
make all references longer than they should. Rename all files to be as
consise as possible, and fix all references

(From yocto-docs rev: b5a1a504caf7ffcaeca787b38bf7f11e341dfb0f)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
Nicolas Dechesne
9e35603c12 test-manual: remove 'test-manual' from filenames
All filenames duplicate the 'manual name', which is not needed, and
make all references longer than they should. Rename all files to be as
consise as possible, and fix all references

(From yocto-docs rev: 1b1f2fbd9283ba53c74ea4231ab4391627eb4187)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
Nicolas Dechesne
097d0c9f04 sphinx: use absolute paths for :doc: references
:doc: references can be made with absolute path instead of relative
path. This patch was generated with this command:
sed -i 's!:doc:`\.\./!:doc:`/!g' */*.rst *.rst

And a few manual fixup we made for references such as:
:doc:"FOOBAR <../xxx>"

Suggested-by: Robert P. J. Day <rpjday@crashcourse.ca>
(From yocto-docs rev: b7948ec7eb8172b8eae4bfa5c21aab76e123ad85)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
Nicolas Dechesne
bd17892611 sphinx: rename top level document in each manual
It is more common to call the top level document index.rst. This is
what this patch is doing, along with all required references fixup.

(From yocto-docs rev: 2cea7fbba9210479fc0387d7e1b80da9885558f0)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:21:27 +00:00
zangrc
d1f0448ca9 sysstat: upgrade 12.4.0 -> 12.4.1
(From OE-Core rev: dfd1bab465849d967d511dc2213e056bf00c767e)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
zangrc
16c785c7e3 lighttpd: upgrade 1.4.55 -> 1.4.56
(From OE-Core rev: 8d7f563e99fe8490fa3e218458d7ee16417a05b6)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
zangrc
11aeb11ba6 libinput: upgrade 1.16.3 -> 1.16.4
(From OE-Core rev: 4d3ebeef202d9c0544749b64d47e269d939a5124)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Gratian Crisan
2dcbc66e17 kernel-module-split.bbclass: fix kernel modules getting marked as CONFFILES
Yi pointed out that commit 1a70a92d1f10 ("kernel-module-split.bbclass:
identify kernel modconf files as configuration files") is
unintentionally adding the actual kernel /lib/modules .ko files to the
CONFFILES variable.

The root cause is the re-use of the 'files' variable in that commit.
Fix it by using a separate variable to keep track of the generated
module .conf files that need to be marked as configuration files.

Fixes: 1a70a92d1f10 ("kernel-module-split.bbclass: identify kernel modconf files as configuration files")
Reported-by: Yi Zhao <yi.zhao@windriver.com>
(From OE-Core rev: db5f2ca532db4f0d2e05b7cb5f9d146e1dd76ab3)

Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Fabio Berton
d8676e9a0e mesa: Update 20.2.1 -> 20.2.4
This commit adds the changes of 20.2.2, 20.2.3 and 20.2.4 bug fix
releases.

(From OE-Core rev: 9c39a1360d81264e867242f238f6d14fdb395e96)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Ross Burton
b57c13194f coreutils: add SUSE-specific issues to CVE whitelist
CVE-2013-0221 through -223 are all SUSE-specific, so add them to the
whitelist.

(From OE-Core rev: 59f2120de3b6d53bbfb9db858ffb8b7b20c8d1ce)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Brett Warren
fe9b4249f7 libffi: add patch to revert clang VFP workaround
Patch is added to address an issue preventing libffi
from compiling under clang.

Change-Id: I55e36d252ec8e84de9b35fea18044c2c0e8c5aab
(From OE-Core rev: 01e8c53488dd5ebb206bef2415549e8ac1ac7601)

Signed-off-by: Brett Warren <brett.warren@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Kevin Hao
df70a725d8 tune-octeontx2.inc: Add tune for Marvell OCTEON TX2 core
The OCTEON TX2 core is custom designed by Marvell and is compliant
with Arm V8.2 architecture.

(From OE-Core rev: ad4f82742c6f32b35e2b965a32cccc96aad02d19)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
5a6aaf745f kea: fix reproducibility
(From OE-Core rev: 5f486c39a766f921fb4374165b6e342dd87244ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
826b12792b llvm: sort the lists in generated source reproducibibly
(From OE-Core rev: e2e230bd7ad73a57bfb6808a3c537f74f35e2378)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
9b6e9e34c9 serf: do not install the static library
scons is using host ar to create it, which may or may not
be built with reproducible option by default. Rather than
patch scons for the benefit of a single recipe, let's
just not install the .a, which is unused anyway.

(From OE-Core rev: 7e44275f4d286f005b2f19e3dcc9c6d390b98f30)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
36a5e989e5 piglit: fix reproducibility
(From OE-Core rev: fc4c82773d50756394108d2af474041b5113dbcc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
0abe1e18ff ffmpeg: fix reproducibility
(From OE-Core rev: a4f7c6f831a551e3df503091fdca5c9f4add879d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
154aacd8c3 webkitgtk: fix reproducibility
(From OE-Core rev: 1e7c673ab8d14766190843c6d8747510b37c71bf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
91db7ae0d1 ruby: fix reproducibility
(From OE-Core rev: 07c26e3292dbaf71873f71bec2a631f880b2e76d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
8d8e8708a3 llvm: fix reproducibility
(From OE-Core rev: a467c0a03d077861c37e317dcb2905b6388cb64c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
9b534f334d meta/lib/oe/reproducible.py: gitsm:// works just as fine as git:// for timestamps
This in particular addresses vulkan-samples reproducibility which made me scratch my
head for a while.

(From OE-Core rev: 4a2936126f12eeacecced051fa339c32c1f16576)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Chandana kalluri
a334a8c67f populate_sdk_ext: use SDK_CUSTOM_TEPLATECONF variable to enable custom templateconf.cfg
The current implementation will always pick an existing templateconf.cfg if
present else it will use the one from OE.  A user might not always want to pick
an existing tempalteconf.cfg even if its present.  Introduce
SDK_CUSTOM_TEMPLATECONF variable to provide an option for the user to specify if he
wants to use an existing custom templateconf.cfg or not

If SDK_CUSTOM_TEMPLATECONF=='1' then enable custom templateconf.cfg. By default
SDK_CUSTOM_TEMPLATECONF is set to '0'

(From OE-Core rev: d0f863a24d05bddeb21e181fb01fa0051c79d7d8)

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
723a7f48ca cantarell-fonts: update 0.0.25 -> 0.201
Incorrectly set git regex meant we were stuck with a 4 year old
version.

Use tarballs as they contain prebuilt font files; building them
from source requires a bunch of obscure dependencies.

Contains portions of libglyph which are Apache 2.x licensed.

(From OE-Core rev: 4dcde0147ec4d63ab4459dc1e995cea155130e36)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
685f96ac3c python3-setuptools-scm: fix upstream version check
(From OE-Core rev: 56030191e7b1f9c30f25f7f0d67c1ba6ae17c99f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
ca72d2e367 bison: upgrade 3.7.3 -> 3.7.4
(From OE-Core rev: 0b882746f17a0b72033621d4efdf95d3bd9c7c35)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
f9cc6850ee lz4: upgrade 1.9.2 -> 1.9.3
(From OE-Core rev: a8ab527033e5220dc57766e5f7fd7ed316ab528c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
422ce76651 xkbcomp: upgrade 1.4.3 -> 1.4.4
(From OE-Core rev: c740bc0eefd250d7ef6386dd8ae6cc593b982792)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
9ff97d9a2e piglit: upgrade to latest revision
(From OE-Core rev: 5aec8cff9430142b39f1d3fc2c67a178b1feb53f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
6a501ff2c4 libhandy: upgrade 1.0.1 -> 1.0.2
(From OE-Core rev: 41e91f9b320694e5e8816a38d874595014fa6ef7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
4dfa321788 stress-ng: upgrade 0.11.23 -> 0.11.24
(From OE-Core rev: fc20963ffdbc2550ba67b667013cf547632de2a6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
e1325faef1 man-pages: upgrade 5.08 -> 5.09
(From OE-Core rev: cff3a309e9285186700e5a39afc9f9bf2ae93429)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
0cc5fc44c4 grep: upgrade 3.5 -> 3.6
(From OE-Core rev: 98ed9f5fe421a41dcd661b32fe77a355d69d4dde)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:33 +00:00
Alexander Kanavin
612d17b7da acpica: upgrade 20200925 -> 20201113
(From OE-Core rev: 44477d30f7220f424c3d9f28efb84e157b89c89f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Alexander Kanavin
64a4fd4401 createrepo-c: upgrade 0.16.1 -> 0.16.2
(From OE-Core rev: 5b4087ed13ac042ed46f6c0592db7742895f9020)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Alexander Kanavin
cdb1fed21a ifupdown: upgrade 0.8.35 -> 0.8.36
(From OE-Core rev: 936b44bf606aee34e005a6cb38bcf80e9c0781fc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Alexander Kanavin
9404999142 elfutils: upgrade 0.181 -> 0.182
(From OE-Core rev: f4cc0df90197e031326a3f823b37cc138950ca70)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Alexander Kanavin
4993815b47 pango: upgrade 1.46.2 -> 1.48.0
Add a patch to fix failing ptest.

(From OE-Core rev: 1c33aa37c59f028afe3dc0250af39fd0fbc3bc65)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Alexander Kanavin
fc641e6c56 quota: upgrade 4.05 -> 4.06
(From OE-Core rev: e638788ddeaaf19203c08ee5d36ec0f126271704)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Alexander Kanavin
c14e726674 bind: upgrade 9.16.7 -> 9.16.9
License-Update: http -> https

(From OE-Core rev: c4e96412f30758e5321537d40d357b2ba6260b37)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Alexander Kanavin
7347558649 libcap: update 2.44 -> 2.45
(From OE-Core rev: 16c0d25df1fb2dc724c01bfe7be6ab42974ef0c9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Alexander Kanavin
3fff576f6b vulkan-samples: update to latest revision
(From OE-Core rev: 69e3758a820a2283ec19f4fcf217a0065ef2ad96)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Alexander Kanavin
9b4e6b2bc4 meson: upgrade 0.55.1 -> 0.56.0
(From OE-Core rev: 348372c2fefe57ca385be301dd372dcd473efd83)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Alexander Kanavin
ba069a5a3d netbase: upgrade 6.1 -> 6.2
Not sure why this didn't inherit allarch, but now it does - only
static data is installed.

(From OE-Core rev: ae1880436b293449318655f5b0207d2a741052ba)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
Tomasz Dziendzielski
1c3e8209f8 pseudo: Update to print PSEUDO_LOGFILE in abort message on path mismatches
(From OE-Core rev: 9259d684415e3e7923de74359a4ed3487e0e9da7)

Signed-off-by: Tomasz Dziendzielski <tomasz.dziendzielski@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-09 12:20:32 +00:00
sangeeta jain
64a18762f0 meta/lib/oeqa/manual/oe-core.json: Update test_bitbake_devshell
Update command used for cross compilation to include ${CONFIGUREOPTS}
to ensure right arguments are passed for cross compiling on any host.

(From OE-Core rev: e995e67bc7a3d30adf9f8d0d2f4df92a941baeae)

Signed-off-by: sangeeta jain <sangeeta.jain@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:28 +00:00
Kai Kang
12a19ba56e systemd.bbclass: update command to check systemctl available
When use a core image with systemd as docker image, it fails to
install/remove package which calls systemctl in post scripts.
It fails to run systemctl in a container:

bash-5.0# systemctl
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

So replace the criterion command 'type systemctl' with 'systemctl' in
package post scripts to check whether systemctl available.

(From OE-Core rev: a52e66762c0c51918b1ba3d4622759637b6e920a)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:28 +00:00
Kai Kang
2ab32edca8 systemd-systemctl-native: capable to call without argument
In systemd.bbclass, it will replace criterion command 'type systemctl'
with 'systemctl' without any argument to judge whether command systemctl
is available. The change is to fix install/remove package error in
container when command systemctl exists but not callable.

Make native systemctl wrapper prints help mesages if called without any
argument to follow the update.

(From OE-Core rev: 811ebb4adc5cfcc24ac4460fe89fe68d8d03d837)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:28 +00:00
Li Wang
3ac2ba83f2 qemu: CVE-2020-25624
References:
https://nvd.nist.gov/vuln/detail/CVE-2020-25624

backport patch from:
https://git.qemu.org/?p=qemu.git;a=commit;h=1328fe0c32d5474604105b8105310e944976b058

(From OE-Core rev: 88d05be28da522fb390ee24f2871a113adf4366e)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:28 +00:00
Diego Sueiro
e8d24de4a1 initscripts: Change execution order between checkroot and modutils
When '/' is first mounted as read-only, we want to have the checkroot.sh
initscript (which then remounts '/' as rw if allowed) running before the
modutils.sh.
This is because modutils.sh initscript might need to run depmod depending on
the status of the modules.dep file to update it and the '/' needs to be
writable.

(From OE-Core rev: 39f16d7dc42dcfe4a3fcceb8e476ac3c1e0ba3a2)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:28 +00:00
Diego Sueiro
f01675db34 modutils-initscripts: Fix modules.dep creation when USE_DEPMOD="0"
When having USE_DEPMOD="0" it is expected that in the first boot that
the modules.dep is generated. To achieve this we need to check if
modules.dep exists and has a size greater than zero. This verification
also needs to be done regardless of whether the /etc/modules or
/etc/modules-load.d directories exist.

(From OE-Core rev: 572f3045faa0a937947fbd56bcfef7bad55e9da6)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:28 +00:00
Jack Mitchell
9e8247100e systemd-conf: match ethernet interfaces by type rather than globbing
If we say we're enabling DHCP on wired/ethernet networks lets be more
specific than trying to catch everything with globbing.

(From OE-Core rev: a2bf422cc498bebfbeedc9382b2cc1533f78bbfd)

Signed-off-by: Jack Mitchell <ml@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:28 +00:00
Jack Mitchell
f66a0a0d93 systemd-conf: add PACKAGECONFIG to enable/disable auto ethernet DHCP
Allow distros which include other network managers to disable the
auto DHCP setup of interfaces in systemd-networkd.

(From OE-Core rev: ea5e65b578498df7976bbc560bdcd39c2ebcc1d9)

Signed-off-by: Jack Mitchell <ml@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:28 +00:00
Jack Mitchell
94f827ef0d Revert "connman: set service to conflict with systemd-networkd"
Without further examples of how this is failing revert as using both
together is a valid use case, for example connman handling Wifi/AP
and systemd-networkd handling more complex routing such as for
containers and ethernet switches.

This reverts commit 5303420ead25817f5caec276b79eec7ee797271a.

(From OE-Core rev: 99d55bd094fe3d12724d77af3f15e2494cad4e0d)

Signed-off-by: Jack Mitchell <ml@embed.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:28 +00:00
Ross Burton
30ae4f13b5 oeqa/selftest/containerimage: update for improved cleanup
ldconfig/aux-cache isn't generated anymore, and the opkg directories
are correctly removed now.

(From OE-Core rev: 5bfe5dfeb0603f748e95378be150fc02d021666f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:28 +00:00
Ross Burton
b603dc96b3 package_manager/ipk: improve remove_packaging_data
/var/cache/opkg wasn't being deleted, and /var/lib/opkg doesn't need
to exist as there are no lockfiles that write into it after this step.

(From OE-Core rev: 2209cef2cbe5fbdd5562f13f84ae2a3935f4fb61)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:28 +00:00
Ross Burton
126f038455 ldconfig-native: don't write auxiliary cache
The auxiliary cache written by ldconfig is only useful for speeding up
future runs of ldconfig, and as it contains inode numbers as the keys
in a dictionary it is entirely pointless to generate on the build host.

(From OE-Core rev: 67c1ceb193130fcb30853c2cd1a6ef33a814886e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06 23:17:27 +00:00
Paul Barker
7d7197b282 poky.conf: Drop fedora-30 from tested distros
The autobuilder no longer contains a worker for this distro.

(From meta-yocto rev: d340e38c9ab174d392c61912b0dde1188f06aa6f)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:55 +00:00
Paul Barker
699a00e2d6 poky.conf: Add opensuseleap-15.2 and fedora-33 to tested distros
The autobuilder contains workers for both of these distros.

(From meta-yocto rev: c4e80bda9e1de05453a3dfb5b695cca8e7183967)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:55 +00:00
Sinan Kaya
c39dfcbabc poky-tiny: enable section removal
Use GCC sections flags so that unused sections can be garbage
collected at link time.

(From meta-yocto rev: 70176ee6235c2545e18df855cac2c3524b7e50e4)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:55 +00:00
Li Wang
f107844a62 qemu: CVE-2020-29129 CVE-2020-29130
References:
https://nvd.nist.gov/vuln/detail/CVE-2020-29129
https://nvd.nist.gov/vuln/detail/CVE-2020-29130

backport patch from:
https://git.qemu.org/?p=libslirp.git;a=commit;h=2e1dcbc0c2af64fcb17009eaf2ceedd81be2b27f

(From OE-Core rev: e5eda809a41732dfa4988799360be3d1280c1209)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Dmitry Baryshkov
5e92d7e74d linux-firmware: package ath11k firmware
Package firmware for new generation of Atheros WiFi cards.

(From OE-Core rev: 23c606e41e49a93289b7bd5c5c7d5eec962a3ffa)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Dmitry Baryshkov
e81436b875 linux-firmware: upgrade 20201022 -> 20201118
License-Update: firmware versions/filenames
(From OE-Core rev: c8b2f1e058e83e3f6676189fd77fcfad3acd019f)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Ross Burton
13bc112474 package_manager/ipk: neaten OPKGLIBDIR logic
oe.path.join handles path components starting with / for us.

(From OE-Core rev: ff003e076511fdbe9a6e775e987726dae43e2003)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Ross Burton
58692017e0 image_types: sort tarball file listings
Help rootfs tarballs be reproducible by sorting the file listing.

(From OE-Core rev: 4fa68626bbcfd9795577e1426c27d00f4d9d1c17)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Ross Burton
2711e1ee99 image_types: remove obsolete tar comment
We now depend on tar 1.28, so talking about older tar versions is just
confusing.

(From OE-Core rev: f19e43dec63a86c200e04ba14393583588550380)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Peter Kjellerstedt
817594a153 bitbake.conf: Add all layers (from BBLAYERS) to PSEUDO_IGNORE_PATHS
Instead of ignoring ${COREBASE}/meta in PSEUDO_IGNORE_PATHS (which may
or may not ignore all layers depending on how they are named and placed
under ${COREBASE}), ignore all layers.

(From OE-Core rev: cc30537bb4d0815c4d69f0b1a1a8a200085902d5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Peter Kjellerstedt
7548e8755e pseudo: Simplify pseudo_client_ignore_path_chroot()
This also plugs a memory leak in pseudo_client_ignore_path_chroot().

(From OE-Core rev: d8dddd5054a1c4e20a3e32fa9ab31f5859d6fbb6)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Ross Burton
89c09260ed oeqa/devtool: use Yocto mirror for pv-1.5.3 tarball
Some of the selftests failed over the weekend with "access denied" errors
fetching this tarball.  Instead of relying on upstream when fetching the
tarball, use the Yocto source mirrors instead.

(From OE-Core rev: 988e0ff4131f46dfed14516ff5f61d72b9fb6941)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Luca Boccassi
2703d3ab2d dbus: move messagebus user to dbus-common package
dbus-broker also uses the messagebus user, so move it
over from dbus to dbus-common

(From OE-Core rev: ec391a0eccf84b1effe8e7f03ca196cf65b48adc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Richard Purdie
d18bde251f lz4: Use the new branch naming from upstream
Upstream renamed master -> dev, update SRC_URI to match.

[YOCTO #14135]

(From OE-Core rev: 3369aa0322693604533ef7d30dca234e52605fe2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Changqing Li
3487409d71 buildtools-tarball: add wic dependency into extended buildtools
fix below error:
wic ls ./core-image-minimal-intel-x86-64.wic

ERROR: Can't find executable parted

wic depend on some tools like parted/mtools/..., and we have those
tools in native_sysroot. so above problem can be avoided by
run command like wic ls imagename.wic --native-sysroot <path>

but this cannot cover condition that usr don't have build the
image, the image just copy from somewhere.

(From OE-Core rev: c0eda6ec09395f3a04cb80107a3ca33a063b21f8)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Andrej Valek
ee7c58424e kernel-dummy: fix executing unexpected tasks
- correctly save files into sstate
  - fix: ERROR: Task linux-dummy.do_fetch attempted to execute unexpectedly

(From OE-Core rev: 16f6833ccd732de9f3db82ac5b0a18eea5298ceb)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 22:53:09 +00:00
Paul Barker
332159dd3e ref-manual: Simplify oe_git links
Manual links to git.openembedded.org are converted to use the oe_git
directive where possible. Note that this directive can't be used in some
places such as example code.

(From yocto-docs rev: 64d2b5c26889356d4eb49896566cf28b9234b9cc)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:21 +00:00
Paul Barker
48748377a4 documentation: Simplify yocto_git links
The yocto_git external link directive is modified to include the
`/cgit/cgit.cgi` element of the URL so that we can simplify the links in
the text.

Manual links to git.yoctoproject.org are converted to use the yocto_git
directive where possible. Note that this directive can't be used in some
places such as example code.

(From yocto-docs rev: 3a8ba5dcc783411c73fe49fb217cbc4d6528d9a7)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:21 +00:00
Paul Barker
8faafa99cc documentation: Simplify yocto_wiki links
The `yocto_wiki` external link directive is modified to include the
`/wiki` element of the URL so that we can simplify the links in the
text.

Note that there are still a couple of places where this directive
cannot be used, such as in the table of contents in index.rst.

(From yocto-docs rev: d8aa5f93d349f27db3d03a2c4bcc205649f45a8d)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:21 +00:00
Nicolas Dechesne
62c061968c dev-manual: remove unused labels
(From yocto-docs rev: e1bcfe4d8086f65511569278119be9b38b262108)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:21 +00:00
Nicolas Dechesne
0260421634 overview-manual: remove unused labels
(From yocto-docs rev: ffbb7ef3fea2964f3d9ea2ad02e71692a7d96713)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:21 +00:00
Nicolas Dechesne
678b85679e sdk-manual: replace labels with references to section title
(From yocto-docs rev: d6ed0b0f1317778abe02f1da148d2fcf09e81fcf)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:21 +00:00
Nicolas Dechesne
986e2902d9 ref-manual: replace labels with references to section title
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:20 +00:00
Nicolas Dechesne
e59787249e dev-manual: replace labels with references to section title
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:20 +00:00
Nicolas Dechesne
cf15351619 brief-yoctoprojectqs: replace labels with references to section title
(From yocto-docs rev: 1679222f3ab4a07595f8106ffc70ad1240d57377)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:20 +00:00
Nicolas Dechesne
63710fc913 sphinx: replace bitbake labels with references to corresponding title
In order to remove autogenerated labels in the bibtake docs, let's use
section titles in all YP docs.

(From yocto-docs rev: 0f44b6027f16cc37260abc7e00042d98e2e0427f)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:20 +00:00
Anuj Mittal
308cffcef1 releases.rst: add gatesgarth to current releases
(From yocto-docs rev: 54f84f3716f989856e3129208177a1f4f814a9a6)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:20 +00:00
Nicolas Dechesne
912a3c52e2 {dev,kernel,sdk}-manual: replace hardcoded release version with &DISTRO;
In the Docbook files we had DISTRO, but somehow it was lost during the
migration to Sphinx.

(From yocto-docs rev: d10bb13070039e17281fccc5c1a64b5bfed30543)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:20 +00:00
Nicolas Dechesne
f70c628ae5 sphinx: add .vscode in .gitignore
(From yocto-docs rev: 0329a04de9def20b7dc24d58c301ab2a83fa3a6d)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:20 +00:00
Michael Halstead
b3f533aec7 releases: conf: add link to 3.1.4, update to include 3.1.4
(From yocto-docs rev: 20b7be912040ae02fb2df652fb79b09dd5f281e8)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-03 12:04:20 +00:00
Khem Raj
0ac99625bf python3-numpy: Add ptest
Since 1.15, numpy have replaced nose with pytest testing framework
it additionally needs hypothesis and sortedcontainers modules

(From OE-Core rev: 13ff38ffd216fcd7044d7a0f46c8907d64ce3f6e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Khem Raj
37259ebab2 python3-numpy: Upgrade to 1.19.4
Unify inc file into single recipe, py2 is gone

(From OE-Core rev: 968994491db660515f7bd8f1a0dc64c8e22c5dfa)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
63cb25db4b python3-hypothesis: upgrade 5.41.3 -> 5.41.4
Upstream release notes:
"""
5.41.4 - 2020-11-28

This patch fixes issue #2657, where passing unicode patterns compiled
with re.IGNORECASE to from_regex() could trigger an internal error when
casefolding a character creates a longer string (e.g. "\u0130".lower()
-> "i\u0370").
"""

(From OE-Core rev: 20985457e3c063be4479eb927afae5d1a2018777)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
ed6d650ea2 maintainers.inc: add self for new python recipes
* Add self as maintainer for:
  - python3-hypothesis
  - python3-sortedcontainers

(From OE-Core rev: 926ff93278b84dc3e6874830b2d1306dd250811d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
cfc8a9a6b3 python3-sortedcontainers: move from meta-python
Sorted Containers is an Apache2 licensed sorted collections library,
written in pure-Python, and fast as C-extensions.

* Part of the dependency chain for python3-numpy ptest

(From OE-Core rev: 14c436769012c3f44401178a2c59cbd0a5eb86ce)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
5f95c3cbf9 python3-hypothesis: move from meta-python
A library for property-based testing

* Part of the dependency chain for python3-numpy ptest

(From OE-Core rev: 476a7534498f1e12efc7cc00cf215f6af898527d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
79750c292e python3-pytest: RDEPENDS on python3-toml
The generated requires.txt in pytest-*-py3.9.egg-info shows the
requirement.

Caught during ptest of python3-wcwidth:

Signed-off-byROR collecting tests/test_core.py ______________________
tests/test_core.py:4: in <module>
    import pkg_resources
../../python3.9/site-packages/pkg_resources/__init__.py:3239: in
<module>
    def _initialize_master_working_set():
../../python3.9/site-packages/pkg_resources/__init__.py:3222: in
_call_aside
    f(*args, **kwargs)
../../python3.9/site-packages/pkg_resources/__init__.py:3251: in
_initialize_master_working_set
    working_set = WorkingSet._build_master()
../../python3.9/site-packages/pkg_resources/__init__.py:567: in
_build_master
    ws.require(__requires__)
../../python3.9/site-packages/pkg_resources/__init__.py:884: in require
    needed = self.resolve(parse_requirements(requirements))
../../python3.9/site-packages/pkg_resources/__init__.py:770: in resolve
    raise DistributionNotFound(req, requirers)
E   pkg_resources.DistributionNotFound: The 'toml' distribution was not
found and is required by pytest

(From OE-Core rev: 8e2ec368e4c8fe7594bc178fffe42fbb8ac632e7)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
32425b765d python3-importlib-metadata: upgrade 2.0.0 to 3.1.0
Upstream release notes:
"
v3.1.0

  Merge with 2.1.0.

v2.1.0

  #253: When querying for package metadata, the lookup now honors
  package normalization rules.

v3.0.0

  Require Python 3.6 or later.
"

(From OE-Core rev: e6be2a1dbf1743edb1bfa97a91d87e5f7ab2d555)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
1534b80f07 python3-more-itertools: upgrade 8.5.0 -> 8.6.0
Upstream release notes:
"
* New itertools
  - all_unique (thanks to brianmaissy)
  - nth_product and nth_permutation (thanks to N8Brooks)

* Changes to existing itertools
  - chunked and sliced now accept a strict parameter (thanks to
    shlomif and jtwool)

* Other changes
  - Python 3.5 has reached its end of life and is no longer
    supported.
  - Python 3.9 is officially supported.
  - Various documentation fixes (thanks to timgates42)

(From OE-Core rev: 16c211427056a4bfc3545202ea485247a72c832a)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
4bda6ad62c maintainers.inc: add self for new pytest packages
(From OE-Core rev: 4cda7821f7a588a9106d63f3efcd1c06dcfa4f5d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
075deea2b2 python3-pytest: move from meta-python
Simple powerful testing with python

(From OE-Core rev: 3299ddeab5eb32a21efaee63c2b7f490089b8476)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
225fbb0c41 python3-pluggy: move from meta-python
Plugin and hook calling mechanisms for python

* Part of the dependency chain for pytest

(From OE-Core rev: 7b1f4345009973d3fcb8fc1e8fc212ce92de8015)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
fd89a99868 python3-importlib-metadata: move from meta-python
Read metadata from Python packages

* Part of the dependency chain for pytest

(From OE-Core rev: a054b48fc7827256cbe64492c3cc83692f80346d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
8bbcf68ab5 python3-zipp: move from meta-python
Backport of pathlib-compatible object wrapper for zip files

* Part of the dependency chain for pytest

(From OE-Core rev: 8167b5bfa65dc2be422a892334d44e6edf861450)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
da71873e26 python3-wcwidth: move from meta-python
Library for bulding powerful interactive command lines in Python

* Part of the dependency chain for pytest

(From OE-Core rev: e7b8f091733cb163a0fffed265c6d88b5f0cfae2)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
c51fde1dbc python3-packaging: move from meta-python
Core utilities for Python packages

* Part of the dependency chain for pytest

(From OE-Core rev: c1aa2915bb16d7db4ade38b0cf107917aab09644)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
8dd56af23a python3-setuptools-scm: move from meta-python
The blessed package to manage your versions by scm tags

* Part of the dependency chain for pytest

(From OE-Core rev: 875c12f55ea34dbda6b11756d226ac09dfb282df)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
b8393b1e95 python3-py: move from meta-python
Library with cross-pythonpath, ini-parsing, io, code, log facilities

* Part of the dependency chain for pytest

(From OE-Core rev: 7990c78d14ad1862e4c9147f657c10e492cdf8b1)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
82d9468423 python3-toml: move from meta-python
Python Library for Tom's Obvious, Minimimal Language

* Part of the dependency chain for pytest

(From OE-Core rev: 3ec8796a318f535d21aca1d36b7f813452648418)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
431d66a4c5 python3-pathlib2: move from meta-python
Object-oriented filesystem paths

* Part of the dependency chain for pytest

(From OE-Core rev: 9544e2f79ec5d4b4250689cc970ecfdc86520212)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
0a0f463ad1 python3-more-itertools: move from meta-python
More routines for operating on iterables, beyond itertools

* Part of the dependency chain for pytest

(From OE-Core rev: 8d125296b5c57d0076f9f3e6c3d50b5a6ab95de0)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
f46e22df4d python3-iniconfig: move from meta-python
A small and simple INI-file parser module

* Part of the dependency chain for pytest

(From OE-Core rev: 67c3f0f78e793aff31789d2e1861a88a1090820d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
55f0898e48 python3-attrs: move from meta-python
Classes Without Boilerplate

* Part of the dependency chain for pytest

(From OE-Core rev: e96e24ed35a087b5a44172161a93717627d79f49)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
Tim Orling
9f99198e9c python3-atomicwrites: move from meta-python
Powerful Python library for atomic file writes

* Part of the dependency chain for python3-pytest

(From OE-Core rev: 5b0b24882d061d2d1ada5c53c1837fc502974447)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-30 14:42:22 +00:00
zangrc
7c381d013d wireless-regdb: upgrade 2020.04.29 -> 2020.11.20
(From OE-Core rev: c5461c6b0e21877c58a75834f62324a4798c2000)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 20:24:32 +00:00
zangrc
098d5bbafa pulseaudio: upgrade 13.0 -> 14.0
0001-remap-arm-Adjust-inline-asm-constraints.patch
0001-remap_neon-use-register-r12-instead-of-r7.patch
Removed since these are included in 14.0.

(From OE-Core rev: 5ae2156d971ddd18f13a4377b4f9cc99bd4173fe)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 20:24:32 +00:00
zangrc
aa82a10a0b libxkbcommon: upgrade 1.0.1 -> 1.0.3
(From OE-Core rev: 9117c0d6b4995ee22feb3162dd1f3a3ea7839fe6)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 20:24:32 +00:00
zangrc
fe1c75139d libjpeg-turbo: upgrade 2.0.5 -> 2.0.6
-License-Update: Copyright year updated to 2020.

Refresh the following patch:
0001-libjpeg-turbo-fix-package_qa-error.patch

(From OE-Core rev: 490fe53f625417494dd63a4fe4dcaa98a3c54eb9)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 20:24:32 +00:00
zangrc
238e4bc48b libcap-ng: upgrade 0.8 -> 0.8.1
(From OE-Core rev: 54c662d28a3b05c6f0172bdc4d4dfb13e9755101)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 20:24:32 +00:00
zangrc
f39ef43db0 hdparm: upgrade 9.58 -> 9.60
(From OE-Core rev: a02f3acdaba1e287b4c54f603470f758221c372f)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 20:24:32 +00:00
zangrc
af75f7c497 gtk-doc: upgrade 1.33.0 -> 1.33.1
(From OE-Core rev: 790de5b5d7eb9dcfa55ed5c4d3c1c792fddf1480)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 20:24:32 +00:00
Norbert Kaminski
ce1ba908da grub: Add support for RISC-V
This patch adds RISC-V to the COMPATIBLE_HOST. Since GRUB 2.04,
the source code supports the RISC-V, thanks to Alexander Graf.

Adding the GRUBPLATFORM for RISC-V prevents autoconf problems.
Also, the patch appends the __anonymous method with RISC-V architecture.

(From OE-Core rev: 42ea75d441ae38cdffed3b1cd671af886c19fbb6)

Signed-off-by: Norbert Kaminski <norbert.kaminski@3mdeb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 20:24:32 +00:00
Saul Wold
355ca8732c classes/buildhistory: record LICENSE
Buildhistory stores various bits of information at both recipe
and package level, while there is an associated license manifest
directory tree it would require additional scripting to extract
that information.

(From OE-Core rev: 909bafef282f00dd4a83fab0569885e9788a4ed9)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 20:24:32 +00:00
Mark Jonas
81df43d972 libsdl2: Add directfb to PACKAGECONFIG rdepends
PACKAGECONFIG[directfb] already adds directfb to the build
dependencies. But the automatically generated runtime
dependencies do not add the directfb package to the runtime
dependencies. Most likely this happens because libsdl2 does not link
against directfb but uses dlopen() or similar. Thus, the runtime
dependency to directfb needs to be declared explicitly.

(From OE-Core rev: 62d3cbe7c8261c1c875ff6da11572409262aaf02)

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 20:24:32 +00:00
Ross Burton
22dea63874 cve-update-db-native: handle all-wildcard versions
If a CPE version field is just *:*:*:* it should be handled the same as
-:*:*:*, that is 'all versions'.  To ease handling, transform this case
to use -.

(From OE-Core rev: 04a9bc4ca5294fe6834513669c7746a824d12b04)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-29 20:24:32 +00:00
Richard Purdie
3ecf5d9692 uninative: Don't use single sstate for pseudo-native
pseudo-native is a bit special. It conditionally compiles in support for
xattr, statx and statvfs amongst other options. If a pseudo-native binary is
used on a system where these functions are present but it wasn't compiled in
we see hard to debug permissions problems.

An example is the devtool.DevtoolExtractTests.test_devtool_deploy_target
oe-selftest which shows a cryptic error:

  File "/home/pokybuild/yocto-worker/oe-selftest-fedora/build/meta/lib/oeqa/selftest/cases/devtool.py", line 1388, in test_devtool_deploy_target
    self.assertEqual(filelist1, filelist2)
  File "/usr/lib64/python3.9/unittest/case.py", line 831, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib64/python3.9/unittest/case.py", line 1037, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/usr/lib64/python3.9/unittest/case.py", line 1019, in assertSequenceEqual
    self.fail(msg)
  File "/usr/lib64/python3.9/unittest/case.py", line 670, in fail
    raise self.failureException(msg)

AssertionError: Lists differ: ['-rwxr-xr-x 6000 6000 /etc/init.d/mdmonitor', '-rw-r-[10124 chars]n.8'] != ['-rwxr-xr-x root root /etc/init.d/mdmonitor', '-rw-r-[10124 chars]n.8']

First differing element 0:
'-rwxr-xr-x 6000 6000 /etc/init.d/mdmonitor'
'-rwxr-xr-x root root /etc/init.d/mdmonitor'

This is due to a version of pseudo without statx being used on a system where
ls uses statx, hence the files are displayed as 6000.6000 instead of root.root.

Avoid this by always building pseudo-native for the specific distro in question rather
than using a universal sstate feed.

This hopefully fixes one of the mysterious AB-INT issues.

(From OE-Core rev: 6e3785a3f1f3cf68f5fe101cd6bebe91db165973)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 15:53:07 +00:00
Fredrik Gustafsson
e51345b507 package management: Allow dynamic loading of PM
Dynamic loading of package managers will allow other layers to simply
add their package manager code in package_manager/ and have bitbake find
it according to the package manager configuration. This is useful for
adding new (faster) package managers to Open Embedded while not increasing the
test scope or require Open Embedded to support more package managers.

How this is tested:
* Build core-image-minimal with all three package managers
* Build the sdk with all three package managers. dpkg fails, but
  it fails on master as well.
* Run the complete test suite, all tests passed except 16
* Run those 16 tests on master and verify that they fail there as well
* Fix errors making tests works on master but not with this patch.

(From OE-Core rev: 02670501dea192879ddf9f8048eea57a94719fc1)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 15:53:07 +00:00
Kai Kang
8c28435258 sudo: fix multilib conflict
It fails to install sudo and lib32-sudo at same time:

| Error: Transaction test error:
|  file /usr/libexec/sudo/audit_json.so conflicts between attempted
     installs of lib32-sudo-1.9.3p1-r0.core2_32 and sudo-1.9.3p1-r0.core2_64
|  file /usr/libexec/sudo/group_file.so conflicts between attempted
     installs of lib32-sudo-1.9.3p1-r0.core2_32 and sudo-1.9.3p1-r0.core2_64

Pass ${libdir} to configure option --libexecdir of sudo that it installs
plugin libraries to /usr/lib{,64} rather than /usr/libexec/. Then add a
patch to fix multilib conflict of sudo.conf.

[RP: Add missing Upstream-Status]
(From OE-Core rev: c9b6974cfcac370c6848d28400e0546ac85512e9)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 15:49:32 +00:00
Hongxu Jia
37b51ed076 bitbake: Revert "bb.ui: delete __init__.py to make bb.ui a namespace package"
The commit [991f92b4d bb.ui: delete __init__.py to make bb.ui a
namespace package] caused `bitbake -h' failed
...
$ bitbake -h
Traceback (most recent call last):
  File "/buildarea/raid5/hjia/community/poky/bitbake/bin/bitbake", line 35, in <module>
    sys.exit(bitbake_main(BitBakeConfigParameters(sys.argv),
  File "/buildarea/raid5/hjia/community/poky/bitbake/lib/bb/cookerdata.py", line 27, in __init__
    self.options, targets = self.parseCommandLine(argv or sys.argv)
  File "/buildarea/raid5/hjia/community/poky/bitbake/lib/bb/main.py", line 297, in parseCommandLine
    options, targets = parser.parse_args(argv)
  File "/usr/lib64/python3.6/optparse.py", line 1387, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib64/python3.6/optparse.py", line 1431, in _process_args
    self._process_short_opts(rargs, values)
  File "/usr/lib64/python3.6/optparse.py", line 1536, in _process_short_opts
    option.process(opt, value, values, self)
  File "/usr/lib64/python3.6/optparse.py", line 785, in process
    self.action, self.dest, opt, value, values, parser)
  File "/usr/lib64/python3.6/optparse.py", line 807, in take_action
    parser.print_help()
  File "/usr/lib64/python3.6/optparse.py", line 1647, in print_help
    file.write(self.format_help())
  File "/usr/lib64/python3.6/optparse.py", line 1635, in format_help
    result.append(self.format_option_help(formatter))
  File "/usr/lib64/python3.6/optparse.py", line 1615, in format_option_help
    result.append(OptionContainer.format_option_help(self, formatter))
  File "/usr/lib64/python3.6/optparse.py", line 1061, in format_option_help
    result.append(formatter.format_option(option))
  File "/buildarea/raid5/hjia/community/poky/bitbake/lib/bb/main.py", line 54, in format_option
    valid_uis = list_extension_modules(bb.ui, 'main')
  File "/buildarea/raid5/hjia/community/poky/bitbake/lib/bb/main.py", line 72, in list_extension_modules
    pkgdir = os.path.dirname(pkg.__file__)
AttributeError: module 'bb.ui' has no attribute '__file__'
...

This reverts commit 991f92b4d15b0571b6a540964e5216d1b9728539

(Bitbake rev: 22b8c53205f8915b33d1e0ad6a666dcacc01491d)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 15:26:12 +00:00
Nicolas Dechesne
ac0dc5850b bitbake: docs: Makefile: enable parallel build
>From sphinx-build man page:

-j N     build in parallel with N processes where possible
         (special value "auto" will set N to cpu-count)

(Bitbake rev: e0d08058d849cb28cd70ade0cb35863a91019353)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 15:26:12 +00:00
Ross Burton
101eec1978 bitbake: providers: selected version not available should be a warning
If the selected version if not available, bitbake will happily attempt
to build something else. This should be a loud warning not a small note.

(Bitbake rev: 78cd63285713fde59506eb2e71a7b7ee59a594ff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 15:26:12 +00:00
Hombourger, Cedric
53217b1121 bitbake: fetch2: use relative symlinks for anything pulled from PREMIRRORS
try_mirror_url() creates a symlink named as the original file to make
everything look like files specified in SRC_URI were downloaded from
their original location. The link is however created as an absolute
reference, this makes DL_DIR non-relocatable. This also causes issues
with the Isar project since it bind mounts DL_DIR to /downloads to
perform some of its build tasks in a chrooted environment (rendering
all symbolic links from DL_DIR invalid). Modify ensure_symlink() to
take an optional "relative" argument and have that function use
os.path.relpath() to produce a relative symlink.

(Bitbake rev: 481e66ea8fc2fc91903127d66b0f1b0fe86baedb)

Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
Cc: Chris Larson <Chris_Larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 15:26:12 +00:00
Joshua Watt
7ae3a24079 bitbake: bitbake: cache: Remove bad keys() function
Removes the keys() function from the MulticonfigCache. This appears to
be a leftover from before the class inherited from collections.Mapping,
is now unnecessary, and was outright incorrect.

(Bitbake rev: 5f37b6d2829fcac1f16602d9697f8bfbcb65ff62)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 15:26:12 +00:00
Joshua Watt
96b548a79d bitbake: bitbake: hashserve: Add support for readonly upstream
Adds support for an upstream server to be specified. The upstream server
will be queried for equivalent hashes whenever a miss is found in the
local server. If the server returns a match, it is merged into the
local database. In order to keep the get stream queries as fast as
possible since they are the critical path when bitbake is preparing the
run queue, missing tasks provided by the server are not immediately
pulled from the upstream server, but instead are put into a queue to be
backfilled by a worker task later.

(Bitbake rev: e6d6c0b39393e9bdf378c1eba141f815e26b724b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 15:26:12 +00:00
Joshua Watt
859f43e176 bitbake: bitbake: hashserve: Add async client
Adds support for create a client that operates using Python asynchronous
I/O.

(Bitbake rev: cf9bc0310b0092bf52b61057405aeb51c86ba137)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 15:26:12 +00:00
Richard Purdie
451af0105b e2fsprogs: Fix a ptest permissions determinism issue
When comparing builds built with different host umasks, this file jumped out.
The umask from do_compile was influencing ${D} and as cp was used to add the
file it wasn't deterministic. Fix the file mode to ensure determinism.

(From OE-Core rev: 37f37f4a52de3711973b372160f23672b61ff6ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:28:10 +00:00
Richard Purdie
670b1be774 fs-perms: Ensure /usr/src/debug/ file modes are correct
If files are copied into /usr/src/debug directly from WORKDIR (e.g. makedevs)
we'd get the permissions from the checkout which would depend on the host umask.

Avoid this and be deterministic by setting the file modes consistently. Core
code copies the files in so we're responsible for the permissions.

Unfortunately to force this change to apply we need to invalidate both
the package tasks and the hash equivalance mappings since file mode
'corruption' already made it into the output hashes (both input options
were mapped to the output hashes).

(From OE-Core rev: 1f958bcd6c9cd12ec76d80586cba15f4d6ed17a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
He Zhe
640c718c11 lttng-modules: Backport a patch to fix btrfs build failure
lttng-modules-2.12.3/probes/lttng-probe-btrfs.c:36:
lttng-modules-2.12.3/probes/../probes/lttng-tracepoint-event-impl.h:131:6:
error: conflicting types for 'trace_find_free_extent'

(From OE-Core rev: 42c791ab3815b47188fdd98998cdcb3d2c62ef20)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Khem Raj
233177bd52 binutils: Fix linker errors on chromium/ffmpeg on aarch64
ffmpeg in qtwebengine/chromium fails to build on aarch64

ffmpeg/ffmpeg_internal/videodsp.o: in function `ff_prefetch_aarch64':
(.text+0x10): relocation truncated to fit: R_AARCH64_CONDBR19 against symbol `ff_prefetch_aarch64' defined in .text section in obj/third_party/ffmpeg/ffmpeg_internal/videodsp.o

Backport an upstream fix to handle this error which is a regrression in
binutils 2.35

(From OE-Core rev: 0a68def6b1f69b61096e58ae7778b61412dec4a2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Khem Raj
0917e35aa2 go: Update to 1.15.5
Define CXX_FOR_TARGET and CC_FOR_TARGET for target go
since we are cross building it, it helps in defining the compiler
for cgo on target

backport a patch to fix CGO_LDFLAGS regression like below

Fixes
| Building std for target, linux/arm.
| go build runtime/cgo: invalid flag in go:cgo_ldflag: -Wl,-O1

(From OE-Core rev: a71d1b58e8cf0976a614c49aa2dfe1e0605dfe95)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Richard Purdie
28087bb119 oeqa/commands: Fix compatibility with python 3.9
Python 3.9 dropped isAlive() so use the preferred is_alive().

(From OE-Core rev: 9bb06428cbb2ac0f3d98a1696f050d3393385503)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Stacy Gaikovaia
1d41061b3f valgrind: helgrind: Intercept libc functions
PTH_FUNC definition needs to be modified in order to
intercept posix thread functions in both libc and libpthread.
In order to handle this in helgrind, weak alias the pthread functions in glibc.
Include a special case for musl.

See https://bugs.kde.org/show_bug.cgi?id=428909 for additional
discussion.

Upstream-Status: Submitted

(From OE-Core rev: 5da46a552d54de34a5243e1d90dcc6f52b7af746)

Signed-off-by: Paul Floyd <paulf@free.fr>
Signed-off-by: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Joshua Watt
93b5d9bbff python3-pycryptodome: upgrade 3.9.8 -> 3.9.9
(From OE-Core rev: 1e6529950257ab13b4c6c36d706ef294e61b883b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Fedor Ross
c8f91e782a eudev: remove bashism to be compatible with dash
Remove 'echo -e' and replace it with 'printf'. In bash the builtin
'echo' has an option for interpreting backslash escapes. In a shell like
dash the builtin 'echo' interprets backslash escapes by default.
Therefor the 'echo' in dash doesn't have the '-e' option. When using
'printf' instead it is safe to use it either with bash or dash.

(From OE-Core rev: c747acca33f84879a1ebd0ef972c07f4d5dff8b7)

Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Fedor Ross
0d011819e9 sysvinit: remove bashism to be compatible with dash
Replace the equality operator '==' with '=' inside of '[]' to be
compatible with bash and dash.

(From OE-Core rev: b7f0ec6eafb35117eaf4eeef281162080f0ca79a)

Signed-off-by: Fedor Ross <fedor.ross@ifm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Sinan Kaya
de9bcf56eb kernel-uboot: allow compression option to be configurable
While some platforms might choose to compress the kernel by
default especially when boot medium is slow, others want
uncompressed kernel.

The choice of decompression speed vs. load speed is very
platform dependent.

Allow platform to choose the option here.

(From OE-Core rev: 5c72105e2973e613b5c0f0e6310ffdea6e56c6c7)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Sinan Kaya
4ac1260f4c volatile-binds: add /srv to mount and install
We are installing a service to volatile mount /srv
directory but we are not creating it on the target.

(From OE-Core rev: 0fd0b5cc27e3ef72bc00f593b0730b7fca5d0450)

Signed-off-by: Sinan Kaya <okaya@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Changqing Li
0fa07d1811 vulkan-samples: fix do_compile failure
fix error:
| framework/lib/ppc/libframework.a(device.cpp.o): in function `std::__atomic_base<unsigned long long>::load(std::memory_order) const':
| /usr/include/c++/10.2.0/bits/atomic_base.h:426: undefined reference to `__atomic_load_8'

some arch don't have built-in atomic, so need to link it
explicitly

(From OE-Core rev: 65410c5ff4f9c34758d1e2270132c631166e7d1a)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Anuj Mittal
0d5b99b336 distutils-common-base: fix LINKSHARED expansion
Add the missing $ so SECURITY_CFLAGS actually gets expanded.

(From OE-Core rev: 6ed2f892ebb0b4e30a3bf167eac68027ea378a2d)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Steve Sakoman
1e41bd793f cups: whitelist CVE-2018-6553
This an Ububtu specific issue:

The CUPS AppArmor profile incorrectly confined the dnssd backend
due to use of hard links. A local attacker could possibly use this
issue to escape confinement. This flaw affects versions prior to
2.2.7-1ubuntu2.1 in Ubuntu 18.04 LTS, prior to 2.2.4-7ubuntu3.1
in Ubuntu 17.10, prior to 2.1.3-4ubuntu0.5 in Ubuntu 16.04 LTS,
 and prior to 1.7.2-0ubuntu1.10 in Ubuntu 14.04 LTS

(From OE-Core rev: 22e89983a8f83a369d83bc67e4f3492bc50db648)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Alexander Vickberg
f5f81aec83 socat: make building with OpenSSL support optional
(From OE-Core rev: c9359340ee675f6876e29229000e72c5a17817c8)

Signed-off-by: Alexander Vickberg <wickbergster@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Ross Burton
3531871f97 gstreamer1.0-plugins-base: set CVE_PRODUCT
There are CVEs with the 'gst-plugins-base' product, so set that.

(From OE-Core rev: ec0f0e5995ab498f50ad51ceb361784247614982)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Ross Burton
2bdbca59cb gstreamer1.0-rtsp-server: set CVE_PRODUCT
There are CVEs with the 'gst-rtsp-server' product, so set that.

(From OE-Core rev: eb5cbdead78d092733e783b09528b208efccac3d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Ross Burton
dab763c0a0 sqlite3: add CVE-2015-3717 to whitelist
As per https://groups.google.com/g/sqlite-dev/c/U7OjAbZO6LA this issue
is believed to be either iOS specific, or fixed in 3.8.9.

(From OE-Core rev: b781058267bd86bd979c50f4dfe8168c58dfa5a9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Ross Burton
9c0934c702 python3: add CVE-2007-4559 to whitelist
This issue describes expected behaviour, do not use tarfile with
untrusted data.

(From OE-Core rev: f4c22e83f2e68ff157da5ea1303acc2931d63f5f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Ross Burton
0be2aedfd3 cve-check: show real PN/PV
The output currently shows the remapped product and version fields,
which may not be the actual recipe name/version. As this report is about
recipes, use the real values.

(From OE-Core rev: 18827d7f40db4a4f92680bd59ca655cca373ad65)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Anuj Mittal
913ed9a6b1 glib-2.0: RDEPEND on dbusmock only when GI_DATA_ENABLED is True
python3-dbusmock depends on pygobject unconditionally and it's not going
to work if g-i is disabled.

(From OE-Core rev: b70627e2818ded74be862ad8650e19bf1fe9bd43)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Joshua Watt
ccdaab972e weston-init: Stop running weston as root
Running the weston compositor as the root user is an insecure default
behavior for OE-core. We can do much better, at least when using
systemd. Change the recipe to create a dedicated "weston" user and start
weston as this user. The systemd service and socket units are no longer
template units, as there were several inconsistencies in the templates.
Instead, there is now a global /run/wayland-0 socket that gets created,
and systemd will start weston on demand when a client connects to that
socket or when attempting to reach graphical.target, whichever comes
first. This also allows downstream users to easily change the behavior
so that weston *only* starts on demand by adding a drop file. Access to
the global socket is controlled by a "wayland" group; any user that is a
member of the group can use the socket to talk to the compositor. This
also satisfies another use case where another systemd service might
start a graphical application that needs to display with weston (e.g. a
single function device in kiosk mode). Finally, the udev rules for
starting weston with the existance of a DRM device have been removed.
Being WantedBy= a graphical target should eliminate the need for this
behavior, and having it present makes it difficult for downstream users
to start weston on demand (having to override the udev rules).

(From OE-Core rev: dd83fb40f76749c6689807afabc63b9d5c2a4065)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
zangrc
862a6937d5 msmtp: upgrade 1.8.12 -> 1.8.13
(From OE-Core rev: 38e499e04d04934b40a29af469592754842d92d3)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
zangrc
0675b7c9e8 libunwind: upgrade 1.4.0 -> 1.5.0
0001-Fix-compilation-with-fno-common.patch
0002-backtrace-Use-only-with-glibc-and-uclibc.patch
sigset_t.patch
Removed since these are included in 1.5.0

(From OE-Core rev: 51c237a4d30d7baad7aa717368ed358059d52843)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
zangrc
5b473ae424 gpgme: upgrade 1.14.0 -> 1.15.0
(From OE-Core rev: 5d06c467bbf43020938f9f314e45aec3255c008e)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
zangrc
e97bb4e548 gmp: upgrade 6.2.0 -> 6.2.1
(From OE-Core rev: 125d0b1e1213398f468400c82f6c0f0835629274)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Lee Chee Yang
af3208397c qemu: fix CVE-2020-24352
(From OE-Core rev: 9129911214126d792e0dba349e9b1ab79b568237)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Lee Chee Yang
5e8acd1a4e python3: whitelist CVE-2020-15523
This CVE is issue on _Py_CheckPython3 uses uninitialized dllpath when embedder sets module path with Py_SetPath.
Since it is .dll issue (on windows only), hence whitelist it.

https://bugs.python.org/issue29778

(From OE-Core rev: 4ceb08bfe6c6dca486040f39d58b285c37d3bc91)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Lee Chee Yang
e05d37ec89 python3: fix CVE-2020-27619
(From OE-Core rev: ad6b184b5a87b8bcdd5e28f19be841a78f5e51df)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Lee Chee Yang
47a220db9c libproxy: fix CVE-2020-26154
(From OE-Core rev: ef675b44ae6b211cf64425d94d46cc1aa961d2cc)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Chris Laplante
ed794b740b cases/bbtests.py: ensure PACKAGE_CLASSES is set to RPM for bbtests.BitbakeTests.test_force_task_1
This is because the test expects to find "do_package_write_rpm" in the
bitbake output.

(From OE-Core rev: fbc75aa226e33c5ef5d3696b1c9c0f6652f23a98)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Bruce Ashfield
5eae1f2ceb linux-yocto/5.4: update to v5.4.78
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    315443293a2d Linux 5.4.78
    9fda2e762498 Convert trailing spaces and periods in path components
    ebc24aeb8694 net: sch_generic: fix the missing new qdisc assignment bug
    c5cf5c7b585c perf/core: Fix race in the perf_mmap_close() function
    c6b1616f5472 perf scripting python: Avoid declaring function pointers with a visibility attribute
    b74fe3186471 x86/speculation: Allow IBPB to be conditionally enabled on CPUs with always-on STIBP
    6958fbd52e79 powerpc/603: Always fault when _PAGE_ACCESSED is not set
    5af9d48acbee drm/i915: Correctly set SFC capability for video engines
    6fcf4141b9a2 r8169: fix potential skb double free in an error path
    78f6fac0814e tipc: fix memory leak in tipc_topsrv_start()
    c59039a088bd net/x25: Fix null-ptr-deref in x25_connect
    7e332a5c0e2c net: Update window_clamp if SOCK_RCVBUF is set
    25786fb512f7 net: udp: fix UDP header access on Fast/frag0 UDP GRO
    016e70d176ff net/af_iucv: fix null pointer dereference on shutdown
    22ee23fe1cc9 IPv6: Set SIT tunnel hard_header_len to zero
    98901bff58d9 swiotlb: fix "x86: Don't panic if can not alloc buffer for swiotlb"
    2cd21fe5bcc4 pinctrl: amd: fix incorrect way to disable debounce filter
    fa76dd3c1df3 pinctrl: amd: use higher precision for 512 RtcClk
    c6a6168a31e1 drm/gma500: Fix out-of-bounds access to struct drm_device.vblank[]
    974e3a7002a0 don't dump the threads that had been already exiting when zapped.
    039c8dcd2b15 mmc: renesas_sdhi_core: Add missing tmio_mmc_host_free() at remove
    e1d706eeeaf7 mmc: sdhci-of-esdhc: Handle pulse width detection erratum for more SoCs
    2a6cba6d3d72 gpio: pcie-idio-24: Enable PEX8311 interrupts
    7b6790ae3a94 gpio: pcie-idio-24: Fix IRQ Enable Register value
    819bf3b0d969 gpio: pcie-idio-24: Fix irq mask when masking
    68dae71b7cde selinux: Fix error return code in sel_ib_pkey_sid_slow()
    33e53f2cac19 btrfs: fix potential overflow in cluster_pages_for_defrag on 32bit arch
    9de4ffb70150 ocfs2: initialize ip_next_orphan
    ac18b128cfd6 reboot: fix overflow parsing reboot cpu number
    fa6265f8fb9e Revert "kernel/reboot.c: convert simple_strtoul to kstrtoint"
    bd4d106f3122 mm/slub: fix panic in slab_alloc_node()
    84778a43ae59 jbd2: fix up sparse warnings in checkpoint code
    2192d905df0d futex: Don't enable IRQs unconditionally in put_pi_state()
    761fb6829238 mei: protect mei_cl_mtu from null dereference
    e2b2c390ec9e virtio: virtio_console: fix DMA memory allocation for rproc serial
    57626d77ef1e xhci: hisilicon: fix refercence leak in xhci_histb_probe
    cbad9668929c usb: cdc-acm: Add DISABLE_ECHO for Renesas USB Download mode
    f988e9c85cfb uio: Fix use-after-free in uio_unregister_device()
    1654bf2d9f0e thunderbolt: Add the missed ida_simple_remove() in ring_request_msix()
    06c1895fe71b thunderbolt: Fix memory leak if ida_simple_get() fails in enumerate_services()
    11c14da8d005 KVM: arm64: Don't hide ID registers from userspace
    2033dd885297 btrfs: dev-replace: fail mount if we don't have replace item with target device
    5af9630036ef btrfs: fix min reserved size calculation in merge_reloc_root
    8266c23124c1 btrfs: ref-verify: fix memory leak in btrfs_ref_tree_mod
    062c9b04f6eb ext4: unlock xattr_sem properly in ext4_inline_data_truncate()
    a6ca4c7ec44c ext4: correctly report "not supported" for {usr,grp}jquota when !CONFIG_QUOTA
    52e3a55bc253 erofs: derive atime instead of leaving it empty
    09b0d47b7952 perf: Fix get_recursion_context()
    70867a9dbf57 vrf: Fix fast path output packet handling with async Netfilter rules
    2ab9c76986e4 cosa: Add missing kfree in error path of cosa_write
    c0a6cc9e11f4 of/address: Fix of_node memory leak in of_dma_is_coherent
    f10d238aad93 xfs: fix a missing unlock on error in xfs_fs_map_blocks
    0e2ad69bd4b5 lan743x: fix "BUG: invalid wait context" when setting rx mode
    b45f52a20879 xfs: fix brainos in the refcount scrubber's rmap fragment processor
    7cbf708b1b9a xfs: fix rmap key and record comparison functions
    3bd97b33be41 xfs: set the unwritten bit in rmap lookup flags in xchk_bmap_get_rmapextents
    08e213bef291 xfs: fix flags argument to rmap lookup when converting shared file rmaps
    a8ee686597fb igc: Fix returning wrong statistics
    81dcfdb9a015 nbd: fix a block_device refcount leak in nbd_release
    c602ad2b52dc bpf: Zero-fill re-used per-cpu map element
    dfcb33773877 SUNRPC: Fix general protection fault in trace_rpc_xdr_overflow()
    b9e8f9d139bd net/mlx5: Fix deletion of duplicate rules
    e74e514c8cca pinctrl: aspeed: Fix GPI only function problem.
    d2e61c5202e6 bpf: Don't rely on GCC __attribute__((optimize)) to disable GCSE
    443ae3655f8c ARM: 9019/1: kprobes: Avoid fortify_panic() when copying optprobe template
    c0be7a34c889 pinctrl: intel: Set default bias in case no particular value given
    88ccabbd2066 mfd: sprd: Add wakeup capability for PMIC IRQ
    58953e87343d tick/common: Touch watchdog in tick_unfreeze() on all CPUs
    3322f7289e50 spi: bcm2835: remove use of uninitialized gpio flags variable
    572e545d80ea tpm_tis: Disable interrupts on ThinkPad T490s
    713a3a94bee0 i2c: sh_mobile: implement atomic transfers
    37a048d790c3 riscv: Set text_offset correctly for M-Mode
    6d8b43376990 selftests: proc: fix warning: _GNU_SOURCE redefined
    ab10b7def421 amd/amdgpu: Disable VCN DPG mode for Picasso
    4faa1fabc645 i2c: mediatek: move dma reset before i2c reset
    b66c7cdedd1e vfio/pci: Bypass IGD init in case of -ENODEV
    c6be53caf1c8 vfio: platform: fix reference leak in vfio_platform_open
    4d6f536e34d6 s390/smp: move rcu_cpu_starting() earlier
    984d77507439 iommu/amd: Increase interrupt remapping table limit to 512 entries
    a889cd3d350d nvme-tcp: avoid repeated request completion
    9d14f5225dbb nvme-rdma: avoid repeated request completion
    531b55cce9cd nvme-tcp: avoid race between time out and tear down
    d0e888a20dfd nvme-rdma: avoid race between time out and tear down
    0ca279c859d7 nvme: introduce nvme_sync_io_queues
    c473b3e56c1d scsi: mpt3sas: Fix timeouts observed while reenabling IRQ
    b61e157d9f64 scsi: scsi_dh_alua: Avoid crash during alua_bus_detach()
    bf1cedc12f58 tracing: Fix the checking of stackidx in __ftrace_trace_stack
    e57c04697030 cfg80211: regulatory: Fix inconsistent format argument
    a3f0db0d2320 cfg80211: initialize wdev data earlier
    67bb2e4d41de mac80211: fix use of skb payload instead of header
    c1cbb64c100d drm/amd/pm: do not use ixFEATURE_STATUS for checking smc running
    48083640a47b drm/amd/pm: perform SMC reset on suspend/hibernation
    f449b902badb drm/amdgpu: perform srbm soft reset always on SDMA resume
    7f6df0b085ce scsi: hpsa: Fix memory leak in hpsa_init_one()
    325455358e54 gfs2: check for live vs. read-only file system in gfs2_fitrim
    edeff05a1f10 gfs2: Add missing truncate_inode_pages_final for sd_aspace
    99dcfc517d17 gfs2: Free rd_bits later in gfs2_clear_rgrpd to fix use-after-free
    42eaa22aaf2e ALSA: hda: Reinstate runtime_allow() for all hda controllers
    0a4c091673ca ALSA: hda: Separate runtime and system suspend
    9b7e6b670df7 selftests: pidfd: fix compilation errors due to wait.h
    9110e2f2633d selftests/ftrace: check for do_sys_openat2 in user-memory test
    1737ea0c5775 usb: gadget: goku_udc: fix potential crashes in probe
    e60490354191 opp: Reduce the size of critical section in _opp_table_kref_release()
    fe2dc1093c61 usb: dwc3: pci: add support for the Intel Alder Lake-S
    e22142a9a2a9 ASoC: cs42l51: manage mclk shutdown delay
    0fc0befe0bfa ASoC: qcom: sdm845: set driver name correctly
    b668352c4aad ath9k_htc: Use appropriate rs_datalen type
    42501604363f KVM: x86: don't expose MSR_IA32_UMWAIT_CONTROL unconditionally
    d2cef3bae14b KVM: arm64: ARM_SMCCC_ARCH_WORKAROUND_1 doesn't return SMCCC_RET_NOT_REQUIRED
    213e1238cacc random32: make prandom_u32() output unpredictable
    327af342ca9b tpm: efi: Don't create binary_bios_measurements file for an empty log
    0685eb84ad56 xfs: fix scrub flagging rtinherit even if there is no rt device
    2f6cbef32718 xfs: flush new eof page on truncate to avoid post-eof corruption
    66ce8bfad6f6 can: flexcan: flexcan_remove(): disable wakeup completely
    0b657367309e can: flexcan: remove FLEXCAN_QUIRK_DISABLE_MECR quirk for LS1021A
    56c56af0a3a1 can: peak_canfd: pucan_handle_can_rx(): fix echo management when loopback is on
    a23ee9956612 can: peak_usb: peak_usb_get_ts_time(): fix timestamp wrapping
    44b2c4beff8a can: peak_usb: add range checking in decode operations
    d6c34afab0ed can: xilinx_can: handle failure cases of pm_runtime_get_sync
    51920ca7519c can: ti_hecc: ti_hecc_probe(): add missed clk_disable_unprepare() in error path
    b9c4a9a07c4a can: j1939: j1939_sk_bind(): return failure if netdev is down
    0ab4c839409a can: j1939: swap addr and pgn in the send example
    5bde65abe166 can: can_create_echo_skb(): fix echo skb generation: always use skb_clone()
    183f1af506fe can: dev: __can_get_echo_skb(): fix real payload length return value for RTR frames
    ab46748bf988 can: dev: can_get_echo_skb(): prevent call to kfree_skb() in hard IRQ context
    3d0954767918 can: rx-offload: don't call kfree_skb() from IRQ context
    e201588fad54 afs: Fix warning due to unadvanced marshalling pointer
    9946509a027b iommu/vt-d: Fix a bug for PDP check in prq_event_thread
    2825a5bf3ca5 ALSA: hda: prevent undefined shift in snd_hdac_ext_bus_get_link()
    22901751d269 perf tools: Add missing swap for ino_generation
    b36f78fd48e9 perf trace: Fix segfault when trying to trace events by cgroup
    d261d0bd9066 powerpc/eeh_cache: Fix a possible debugfs deadlock
    1c8fe343a79d netfilter: ipset: Update byte and packet counters regardless of whether they match
    ad017cf5dace netfilter: nf_tables: missing validation from the abort path
    56907fa27b94 netfilter: use actual socket sk rather than skb sk when routing harder
    6234710dc634 xfs: set xefi_discard when creating a deferred agfl free log intent item
    933f911136e2 ASoC: codecs: wcd9335: Set digital gain range correctly
    5cb904da85ed net: xfrm: fix a race condition during allocing spi
    4e438ca1b629 hv_balloon: disable warning when floor reached
    bb2b60242c8e genirq: Let GENERIC_IRQ_IPI select IRQ_DOMAIN_HIERARCHY
    bb8c6bd53cc0 ASoC: Intel: kbl_rt5663_max98927: Fix kabylake_ssp_fixup function
    a8ec66026dd8 btrfs: reschedule when cloning lots of extents
    0ee771e96954 btrfs: sysfs: init devices outside of the chunk_mutex
    c58fa93b1409 btrfs: tracepoints: output proper root owner for trace_find_free_extent()
    e24516cf62f9 usb: dwc3: gadget: Reclaim extra TRBs after request completion
    ab031673e2ab usb: dwc3: gadget: Continue to process pending requests
    504cfb5e3bca PCI: qcom: Make sure PCIe is reset before init for rev 2.1.0
    9dfbc2f82ac8 KVM: arm64: Force PTE mapping on fault resulting in a device mapping
    95fda70d3955 nbd: don't update block size after device is started
    160777b19b86 time: Prevent undefined behaviour in timespec64_to_ns()
    5a39fb2f22fd drm/i915/gem: Flush coherency domains on first set-domain-ioctl
    2544d06afd8d Linux 5.4.77
    19f6d91bdad4 powercap: restrict energy meter to root access
    ec9c6b417e27 Linux 5.4.76
    c3d60c695712 arm64: dts: marvell: espressobin: Add ethernet switch aliases
    b7f7474b3921 perf/core: Fix a memory leak in perf_event_parse_addr_filter()
    21ab13af8c50 xfs: flush for older, xfs specific ioctls
    258d01b1577e PM: runtime: Resume the device earlier in __device_release_driver()
    37f75c6aa8dd PM: runtime: Drop pm_runtime_clean_up_links()
    874dfb5c6aa3 PM: runtime: Drop runtime PM references to supplier on link removal
    fbfca92c7840 ARC: stack unwinding: avoid indefinite looping
    d61edc06002f drm/panfrost: Fix a deadlock between the shrinker and madvise path
    b9d91fa92164 usb: mtu3: fix panic in mtu3_gadget_stop()
    b0d03a1bdb3c USB: Add NO_LPM quirk for Kingston flash drive
    290fcf3e0c0c usb: dwc3: ep0: Fix delay status handling
    86875e1d6426 tty: serial: fsl_lpuart: LS1021A has a FIFO size of 16 words, like LS1028A
    8febdfb5973d tty: serial: fsl_lpuart: add LS1028A support
    d5d3cca9d61f USB: serial: option: add Telit FN980 composition 0x1055
    7f7be9341b86 USB: serial: option: add LE910Cx compositions 0x1203, 0x1230, 0x1231
    b7f74775c2bb USB: serial: option: add Quectel EC200T module support
    9d34dbab6ef4 USB: serial: cyberjack: fix write-URB completion race
    62c4b2b21e3b serial: txx9: add missing platform_driver_unregister() on error in serial_txx9_init
    085fc4784e4b serial: 8250_mtk: Fix uart_get_baud_rate warning
    b33a1039564c s390/pkey: fix paes selftest failure with paes and pkey static build
    beeb658cfd35 fork: fix copy_process(CLONE_PARENT) race with the exiting ->real_parent
    642181fe3567 vt: Disable KD_FONT_OP_COPY
    cfd9d7137759 Revert "coresight: Make sysfs functional on topologies with per core sink"
    8ee6a0f25457 arm64/smp: Move rcu_cpu_starting() earlier
    eceb94287dbf drm/nouveau/gem: fix "refcount_t: underflow; use-after-free"
    7d0de6f87257 drm/nouveau/nouveau: fix the start/end range for migration
    4dab0fd40323 usb: cdns3: gadget: suspicious implicit sign extension
    937753df482c ACPI: NFIT: Fix comparison to '-ENXIO'
    16476c2b26ca drm/vc4: drv: Add error handding for bind
    a04cec1dd293 nvmet: fix a NULL pointer dereference when tracing the flush command
    8c9c03432500 nvme-rdma: handle unexpected nvme completion data length
    2fd9e60760ef vsock: use ns_capable_noaudit() on socket create
    2149aa583068 scsi: ibmvscsi: Fix potential race after loss of transport
    1247f4e29188 drm/amdgpu: add DID for navi10 blockchain SKU
    fd4fb5080725 scsi: core: Don't start concurrent async scan on same host
    3c52715ceaae blk-cgroup: Pre-allocate tree node on blkg_conf_prep
    f77756ea6641 blk-cgroup: Fix memleak on error path
    914fc5524261 drm/sun4i: frontend: Fix the scaler phase on A33
    f743f73f42a7 drm/sun4i: frontend: Reuse the ch0 phase for RGB formats
    6d7b41a67687 drm/sun4i: frontend: Rework a bit the phase data
    147e3743cf7a of: Fix reserved-memory overlap detection
    6e02c29e4ac4 x86/kexec: Use up-to-dated screen_info copy to fill boot params
    3283d4d78412 arm64: dts: meson: add missing g12 rng clock
    69e0e917c7c8 ARM: dts: sun4i-a10: fix cpu_alert temperature
    2716e78a6486 futex: Handle transient "ownerless" rtmutex state correctly
    ec5f524e0293 tracing: Fix out of bounds write in get_trace_buf
    9f6883fce694 spi: bcm2835: fix gpio cs level inversion
    f352cca84625 regulator: defer probe when trying to get voltage from unresolved supply
    a69af5baed80 ftrace: Handle tracing when switching between context
    3058420f40fb ftrace: Fix recursion check for NMI test
    cfaf010cf345 mtd: spi-nor: Don't copy self-pointing struct around
    aef59b5e5bdf ring-buffer: Fix recursion protection transitions between interrupt context
    2cd71743e7ff gfs2: Wake up when sd_glock_disposal becomes zero
    d2286457bd83 mm: always have io_remap_pfn_range() set pgprot_decrypted()
    1b8490d6b809 kthread_worker: prevent queuing delayed work from timer_fn when it is being canceled
    b1d16be4f2f4 lib/crc32test: remove extra local_irq_disable/enable
    c1f729c7dec0 mm: mempolicy: fix potential pte_unmap_unlock pte error
    f7c2913d606b ALSA: usb-audio: Add implicit feedback quirk for MODX
    26a871cf86cb ALSA: usb-audio: Add implicit feedback quirk for Qu-16
    a46e830d017e ALSA: usb-audio: add usb vendor id as DSD-capable for Khadas devices
    65457e345f3c ALSA: usb-audio: Add implicit feedback quirk for Zoom UAC-2
    72ce616ed55a ALSA: hda/realtek - Enable headphone for ASUS TM420
    f7d0f7242405 ALSA: hda/realtek - Fixed HP headset Mic can't be detected
    61402d61a2af Fonts: Replace discarded const qualifier
    e5ea79bb19f8 sfp: Fix error handing in sfp_probe()
    9b5458effeee sctp: Fix COMM_LOST/CANT_STR_ASSOC err reporting on big-endian platforms
    26ffb8916059 powerpc/vnic: Extend "failover pending" window
    92e65059beda net: usb: qmi_wwan: add Telit LE910Cx 0x1230 composition
    8e3c047f814b ip_tunnel: fix over-mtu packet send fail without TUNNEL_DONT_FRAGMENT flags
    ac343efb572c ionic: check port ptr before use
    6ef3bcc25a3e gianfar: Account for Tx PTP timestamp in the skb headroom
    5b66a5b6a9e2 gianfar: Replace skb_realloc_headroom with skb_cow_head for PTP
    7bf7b7c385a1 chelsio/chtls: fix always leaking ctrl_skb
    14d755a4815e chelsio/chtls: fix memory leaks caused by a race
    57bb59f9d8fb cadence: force nonlinear buffers to be cloned
    1695fca8a923 ptrace: fix task_join_group_stop() for the case when current is traced
    76e5bba75a63 tipc: fix use-after-free in tipc_bcast_get_mode
    ca16a42f5f0d arm64: Change .weak to SYM_FUNC_START_WEAK_PI for arch/arm64/lib/mem*.S
    d94589900d98 arm64: lib: Use modern annotations for assembly functions
    3e7050661d95 arm64: asm: Add new-style position independent function annotations
    840d8c9b3e5f linkage: Introduce new macros for assembler symbols
    1ca84322ab5b ASoC: Intel: Skylake: Add alternative topology binary name
    e05dfcff26e9 drm/i915: Drop runtime-pm assert from vgpu io accessors
    d321f127eb51 drm/i915/gt: Delay execlist processing for tgl
    5bcd18bf8082 drm/i915: Break up error capture compression loops with cond_resched()

(From OE-Core rev: 6063baedd741e1ae86a2c42cd2dc41899718a2d5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Bruce Ashfield
4021d09d50 linux-yocto/5.8: ext4/tipc warning fixups
Integrating the following commit(s) to linux-yocto/5.8:

    3c5d210805d6 tipc: fix -Wstringop-truncation warnings
    cc89fd77c248 ext4: fix -Wstringop-truncation warnings

(From OE-Core rev: 45a229f84fe71b251530bb182c1ad03a88f592a8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Bruce Ashfield
d77883b9cd linux-yocto/5.8: perf: Alias SYS_futex with SYS_futex_time64 on 32-bit arches with 64bit time_t
Integrating the following commit(s) to linux-yocto/5.8:

    52b840afae05 perf: Alias SYS_futex with SYS_futex_time64 on 32-bit arches with 64bit time_t

(From OE-Core rev: 41135c844af1165b1e74e8e2654784f3cd4def8b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:45 +00:00
Bruce Ashfield
4c9eb508db linux-yocto/5.4: perf: Alias SYS_futex with SYS_futex_time64 on 32-bit arches with 64bit time_t
Integrating the following commit(s) to linux-yocto/5.4:

    356914747645 perf: Alias SYS_futex with SYS_futex_time64 on 32-bit arches with 64bit time_t

(From OE-Core rev: 73ee256e5c1194ec5d0843dee274d29cc0efe993)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:44 +00:00
INC@Cisco)
51c5cd66e1 kernel-devsrc: improve reproducibility for arm64
.vdso-offsets.h.cmd contains command that was used to produce vdso-offsets.h.
It breaks reproducibility because it has an absolute path in it. There is no
any value to package such files so it can be dropped.

(From OE-Core rev: d31b4db24643b0867c654af34c684b4de2f8122b)

Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:44 +00:00
Vyacheslav Yurkov
34acb2e340 license_image.bbclass: use canonical name for license files
When copying license files to the image rootfs, i.e to
/usr/share/common-licenses, a canonical name of a license should be
used, otherwise duplicated files end up in common-licenses directory.

For example, GPL-2.0 license according to conf/license.conf can be
referenced in recipes as GPL-2, GPLv2, and GPLv2.0. If a license name is
used directly, we end up with three files in the rootfs with the same
content. If a canonical name used instead, then each license gets copied
only once.

(From OE-Core rev: 670fe71dd18ea675f35581db4a61fda137f8bf00)

Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:44 +00:00
Yann Dirson
bfaa03527a systemtap: avoid RDEPENDS on python3-core when not using python3
distutils3-base.bbclass unconditionally adds python3-core to RDEPENDS_${PN},
yuck.

(From OE-Core rev: 323b9728b31f785d64722ab3b03fae8d687f7cf4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:44 +00:00
Khem Raj
f729559301 python3targetconfig.bbclass: Make py3 dep and tasks only for target recipes
python3targetconfig append target python3 to dependencies
unconditionally, and here its inherited unconditionally too but
distutils3-base is inherited in BBCLASSEXTEND'ed recipes and other not-target
recipes as well. Hence the change added via 9c8f666097802cb594a759989edcf01603a22df3
is now bridging the native dependencies with target python3 and thats
resulting all sorts of rebuilds for multimachine builds e.g.

MACHINE=qemuarm bitbake python3-scons-native
MACHINE=qemumips bitbake python3-scons-native

results in rebuilds for python3-scons-native

bitbake-diffsigs shows

Hash for dependent task python/python3-scons-native_3.1.2.bb:do_populate_sysroot changed from 1cdb93193b416477df6faa137e83a967b433c7aa29033146b405153f73f36933 to 3cea1e7cbedd121ecb768fbc291cc4e4d7d3b5c0442897
0e3b97bd058d162065
    Hash for dependent task python/python3-scons-native_3.1.2.bb:do_install changed from 8d6018fd03ffc6060a04532dc39a5b7ccca1be026a69d069cb4fb11aef86dd89 to c5f1d173596a8e910f45a2b6e0b4dab96cd0102be4d62bd3156
229cb0f5ebb11
        Hash for dependent task python/python3-scons-native_3.1.2.bb:do_compile changed from e3ee4b52a15267e6ae7853ec19a666b2fb62608a597608793336382d1c45f8a0 to 1e582043dfe6b3e00aaa532f363ce6afb37652abe837dac
7cc9769194c43eae1
            Hash for dependent task python/python3-scons-native_3.1.2.bb:do_configure changed from 770a4d5a77a96ebd9e1e7368f710bca3f88e3b1266dffa3b2d0360b1e3a81e27 to a366982778b03eee5165c3117ee778f848acdfaa2
b346650fbdf114ac70ab57b
                Hash for dependent task python/python3-scons-native_3.1.2.bb:do_prepare_recipe_sysroot changed from 958910037856ff5d5eb2b5162b3cdd02a3a710fc543b933cfeba771ee095cb72 to 474333fb565f908992fd3716
4935aaecf31a79e867826fe634cde4f44171d8e7
                    Hash for dependent task python/python3_3.9.0.bb:do_populate_sysroot changed from 7ac1c4fcbb2eacf98d2c32d991751bd2f3c7d55e2e32f2c9e485e7f5975fecf8 to 25dcfe74a95af19cce8df7c29311cc5edbbf6ad
08777e46a6fa6e417c0445018

...

Therefore limit effects of this class only for target recipes.

(From OE-Core rev: c99bb79087e74a967286469e1d8888a546ebec83)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Martin Jansa <Martin.Jansa@gmail.com>
Cc: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 10:27:44 +00:00
Richard Purdie
415962ad94 bitbake: Add missing documentation Makefile
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 09:10:42 +00:00
Paul Barker
adeec77ee2 poky.yaml: Define DISTRO_NAME_NO_CAP_LTS
This allows us to reference the branch name for the latest LTS release
(currently dunfell) in the text. When the current release is an LTS,
this variable will be equal to DISTRO_NAME_NO_CAP.

(From yocto-docs rev: d5022ebbba31433761d84b1e5552dd86e08745d9)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 09:07:28 +00:00
Paul Barker
2b767c36d1 dev-manual-common-tasks: Re-order patch submission instructions
New contributors to the project will usually be following the steps to
submit patches directly via email as they may not have commit access to
a contrib repository. For shorter series of patches this is the more
common workflow which we see anyway.

The documentation here is updated to reflect this, addressing the email
submission process first and then the pull request process. The new
opening paragraph for the section on submitting pull requests is taken
from the "How to submit a patch to OpenEmbedded" page on the OE wiki.

(From yocto-docs rev: 0911e61e083ae4369438b431e83efe8465f663fd)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 09:07:28 +00:00
Paul Barker
11d216f2af dev-manual-common-tasks: Describe how to propose changes to stable branches
The documentation on submitting changes to the project should cover the
ways in which the process differs for stable branches. These changes add
a brief description of the typical policy for handling changes to stable
branches and give some steps to follow when proposing changes to these
branches. The information is based on my personal experience and on the
existing content of the "How to submit a patch to OpenEmbedded" page on
the OE wiki.

(From yocto-docs rev: 2a835ae0925f4286769fb050b3409732ba79779d)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 09:07:28 +00:00
Paul Barker
ed36bd89d7 dev-manual-common-tasks: Describe how to handle patch feedback
The contribution guidelines would benefit from a brief section on how to
address feedback from patch reviewers and how to re-submit amended
patches. The information here is based on my personal experience and on
the existing notes on the "How to submit a patch to OpenEmbedded" page
on the OE wiki.

(From yocto-docs rev: fcff5c524fdf2f465153319d0fdc6fb557b588dd)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 09:07:28 +00:00
Paul Barker
8b607a18b1 dev-manual-common-tasks: Describe git-send-email accurately
(From yocto-docs rev: aaadcf8b83e2a77c967dafa68b12b69025e85f5a)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 09:07:28 +00:00
Paul Barker
7603de1218 dev-manual-common-tasks: Tidy up patch submission process
Reduce duplication by pulling out the common steps of committing changes
locally from the steps of submitting those changes via the pull request
scripts or via email.

(From yocto-docs rev: b80842496a8b5142e3a0b054cc99aee66649fcef)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 09:07:28 +00:00
Paul Barker
bdb0e2e757 dev-manual-common-tasks: Update & move patchwork reference
Add a link to our patchwork instance and note how submitted patches are
checked for common mistakes. This note is moved to the section on
submitting patches via email as that is the place where most users will
run into patchwork/patchtest.

(From yocto-docs rev: 76506bc6125b551c5aa9c45f2b1e7b89e6bf6eae)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 09:07:27 +00:00
Paul Barker
715ad8daf9 dev-manual-common-tasks: Fix refs to testing branches
After discussions on IRC with Ross we concluded that the `ross/mut`
branch shouldn't really be listed in the docs as it's more of a personal
test branch. Instead we should list the -next branches for
openembedded-core and poky.

(From yocto-docs rev: a6bb1f7b677ea0b540735497fbbbda64ce3653ce)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-24 09:07:27 +00:00
Paul Barker
66e11989c0 documentation/README: Refer to top-level README for contributions
This may help anyone looking for patch contribution guidelines in the
documentation directory itself.

(From yocto-docs rev: 276740dd3780b0bdf04996efeed3c237fd26da1f)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Paul Barker
5c6f5a8f98 conf.py: Add oe_git directive
This simplifies linking to git repositories on openembedded.org.

(From yocto-docs rev: 03e13ca4d013e7712216a66eb4cdeb4a456be6a9)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
ba2e630546 Makefile: enable parallel build
>From sphinx-build man page:

-j N     build in parallel with N processes where possible
         (special value "auto" will set N to cpu-count)

(From yocto-docs rev: 1847aeea8b88c84f821610803264955e51e31d2f)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
4fcf21fb1d toaster-manual: remove unused labels
(From yocto-docs rev: 00551ac92a24fb1dcef966b585bf612aab228934)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
38c72f75fa sdk-manual: remove unused labels
(From yocto-docs rev: 7a57d4f34058d86f0494782b39656330a7236b20)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
b3b5d2e0e0 profile-manual: remove unused labels
(From yocto-docs rev: 4ee8a38f23f600fb9dac5d25bd884a195f7d72c0)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
d54b7f2e00 kernel-dev: remove unused labels
(From yocto-docs rev: 98c0f58fb88fe8dffb00751826bc2927fd488a42)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
8435f7498e bsp-guide: remove unused labels
(From yocto-docs rev: 555625c8a4c8cd444dce3b31090dd717c300d3ce)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
95b2d8a7fd test-manual: remove unused labels
(From yocto-docs rev: 3f7a065dafd24a3c1e6b7f68b522352606f8fd7b)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
043592a585 kernel-dev: replace labels with references to section title
(From yocto-docs rev: 0a0a5d3ad6c2e551db0d43b1e76b8c459c347dc5)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
e376c5c9cd dev-manual: replace labels with references to section title
(From yocto-docs rev: faa9ad6749d3dba2f49699e83840eacdb3374795)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
2cd13e03d6 ref-manual: replace labels with references to section title
(From yocto-docs rev: cc28ef86d557b2fc0ca3d682a2db2455049c8a2f)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
524772849c sdk-manual: replace labels with references to section title
(From yocto-docs rev: 90aba9699ad6639f72ab4fdc25684a748df37fb2)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Nicolas Dechesne
a087726bbe what-i-wish-id-known: replace labels with references to section title
(From yocto-docs rev: 27779317d5406d2f79c907bd1d6d5d3748afed7e)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 14:32:25 +00:00
Alexander Kanavin
0a2b76064c bitbake: lib/bb/fetch2/__init__.py: drop _PYTHON_SYSCONFIGDATA_NAME unsetting
With introduction of python3targetconfig class in core this is no longer
needed.

(Bitbake rev: 47b64cfacd7c498ef9ed5486d117f2d69a39f225)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 10:50:18 +00:00
Mert Kirpici
3ea2ace664 bitbake: doc/conf.py: add missing import sys
Due to the calls to sys.stderr.write() and sys.exit() in exception
handling in case of sphinx_rtd_theme not being installed, the
following exception is raised by Python due to the fact that sys
module not being imported.

(Bitbake rev: 5ddf0e5bee0de59d07295fc5693e20b1a0380fde)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-20 10:50:18 +00:00
Bruce Ashfield
d8f47a68a9 kernel: relocate copy of module.lds to module compilation task
There were two copies of this patch floating around, and the merged
variant has the copy in the wrong place.

module.lds is only created during modules_prepare, and that target is
not invoked during our main build of the kernel. We aren't about to
change the kernel build (there's no need), so we move the copy into
the compile_kernelmodules task. After that runs, we have module.lds
availble to copy.

This has been tested against clean kernel + out of tree module
builds, and the dependencies are correct that the file is copied
before the out of tree module build starts.

(From OE-Core rev: 7d94f9209ebaaf59ea001239a889dd7f928a0e7c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Joshua Watt
41e09418f3 python3-pycryptodomex: upgrade 3.9.8 -> 3.9.9
(From OE-Core rev: cf3305eb2d1d8cf38fdbcb75cd50fa523fbce006)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Bruce Ashfield
fb92b8c77e linux-yocto/5.4: update to v5.4.75
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    6e97ed6efa70 Linux 5.4.75
    6ce4da84e5f4 staging: octeon: Drop on uncorrectable alignment or FCS error
    b869f6b67274 staging: octeon: repair "fixed-link" support
    15506ee68893 staging: comedi: cb_pcidas: Allow 2-channel commands for AO subdevice
    4d934fe936fd staging: fieldbus: anybuss: jump to correct label in an error path
    8fd792948e76 KVM: arm64: Fix AArch32 handling of DBGD{CCINT,SCRext} and DBGVCR
    4cb29cdd5043 device property: Don't clear secondary pointer for shared primary firmware node
    26086875476f device property: Keep secondary firmware node secondary by type
    e793fc391351 ARM: s3c24xx: fix missing system reset
    2937774ef43a ARM: samsung: fix PM debug build with DEBUG_LL but !MMU
    0808ca98e67e arm: dts: mt7623: add missing pause for switchport
    f3d8023e0647 hil/parisc: Disable HIL driver when it gets stuck
    81190a9efde0 cachefiles: Handle readpage error correctly
    4bf2a744a4e7 arm64: berlin: Select DW_APB_TIMER_OF
    c2313d7818b9 tty: make FONTX ioctl use the tty pointer they were actually passed
    beb5d0dfc154 drm/amd/pm: increase mclk switch threshold to 200 us
    071b3300c951 mmc: sdhci: Use Auto CMD Auto Select only when v4_mode is true
    fb4e2a67e193 mmc: sdhci-of-esdhc: set timeout to max before tuning
    b7e1a637eae9 drm/ttm: fix eviction valuable range check.
    b60edf37d5d3 ext4: fix invalid inode checksum
    ae05fdc6d60a ext4: fix error handling code in add_new_gdb
    c0de3cf2f286 ext4: fix leaking sysfs kobject after failed mount
    b11e9dd66e3a vringh: fix __vringh_iov() when riov and wiov are different
    3cfbc13ab3f0 ring-buffer: Return 0 on success from ring_buffer_resize()
    0db6e7161e33 9P: Cast to loff_t before multiplying
    51135ffbb54d libceph: clear con->out_msg on Policy::stateful_server faults
    d4fdbedef767 ceph: promote to unsigned long long before shifting
    9cdccb4761e5 drm/amd/display: Fix kernel panic by dal_gpio_open() error
    d7e22dbc662d drm/amd/display: Don't invoke kgdb_breakpoint() unconditionally
    d1628cdacfb0 drm/amdgpu: increase the reserved VM size to 2MB
    adff3a805c97 drm/amd/display: Avoid MST manager resource leak.
    1e460aa7353d drm/amdkfd: Use same SQ prefetch setting as amdgpu
    d417026c4081 drm/amdgpu: correct the gpu reset handling for job != NULL case
    9887a48d49f0 drm/amd/display: Increase timeout for DP Disable
    987d3814c92c drm/amdgpu: don't map BO in reserved region
    2c58d5e0c754 i2c: imx: Fix external abort on interrupt in exit paths
    da3ccf5b2045 rtc: rx8010: don't modify the global rtc ops
    e17afa6d1de3 ia64: fix build error with !COREDUMP
    da3bb6fa23f1 ubi: check kthread_should_stop() after the setting of task state
    6d0beeebd15d ARC: perf: redo the pct irq missing in device-tree handling
    468811595833 perf python scripting: Fix printable strings in python3 scripts
    a99cbd20a5c5 ubifs: mount_ubifs: Release authentication resource in error handling path
    9ba6324ca9c4 ubifs: Don't parse authentication mount options in remount process
    748057df47b9 ubifs: Fix a memleak after dumping authentication mount options
    bc202c839b5d ubifs: journal: Make sure to not dirty twice for auth nodes
    a77927469760 ubifs: xattr: Fix some potential memory leaks while iterating entries
    213c836b2396 ubifs: dent: Fix some potential memory leaks while iterating entries
    c1ea3c4a4302 NFSD: Add missing NFSv2 .pc_func methods
    da86bb4c214f NFSv4.2: support EXCHGID4_FLAG_SUPP_FENCE_OPS 4.2 EXCHANGE_ID flag
    c342001cab7f NFSv4: Wait for stateid updates after CLOSE/OPEN_DOWNGRADE
    415043c3ec0d powerpc: Fix undetected data corruption with P9N DD2.1 VSX CI load emulation
    94e27f13694c powerpc/powermac: Fix low_sleep_handler with KUAP and KUEP
    61ed8c1b940d powerpc/powernv/elog: Fix race while processing OPAL error log event.
    7850dd0851a3 powerpc/memhotplug: Make lmb size 64bit
    3fa03b7f21a3 powerpc: Warn about use of smt_snooze_delay
    240baebeda09 powerpc/rtas: Restrict RTAS requests from userspace
    551bf7c4bc24 s390/stp: add locking to sysfs functions
    58a7dc5f521a MIPS: DEC: Restore bootmem reservation for firmware working memory area
    73597ab2a9b9 powerpc/drmem: Make lmb_size 64 bit
    829c0a9634b9 iio:gyro:itg3200: Fix timestamp alignment and prevent data leak.
    9f4f75df4b47 iio:adc:ti-adc12138 Fix alignment issue with timestamp
    96a5134423ae iio:adc:ti-adc0832 Fix alignment issue with timestamp
    a8c59abdbc6b iio: adc: gyroadc: fix leak of device node iterator
    ad877be5b983 iio:light:si1145: Fix timestamp alignment and prevent data leak.
    a4f02a81c7e6 dmaengine: dma-jz4780: Fix race in jz4780_dma_tx_status
    f707ccb2f10c udf: Fix memory leak when mounting
    93da9dcee2d2 HID: wacom: Avoid entering wacom_wac_pen_report for pad / battery
    87d398f348b8 vt: keyboard, extend func_buf_lock to readers
    eb4c460e2e06 vt: keyboard, simplify vt_kdgkbsent
    8c16ca600657 drm/i915: Force VT'd workarounds when running as a guest OS
    94478c1dc57d usb: host: fsl-mph-dr-of: check return of dma_set_mask()
    75d0d4ff5970 usb: typec: tcpm: reset hard_reset_count for any disconnect
    543432d078c0 usb: cdc-acm: fix cooldown mechanism
    2850f148cd7f usb: dwc3: gadget: END_TRANSFER before CLEAR_STALL command
    206dcd6ce82f usb: dwc3: gadget: Resume pending requests after CLEAR_STALL
    97224cdc0440 usb: dwc3: core: don't trigger runtime pm when remove driver
    726f638e7cd1 usb: dwc3: core: add phy cleanup for probe error handling
    f935b70cf724 usb: dwc3: gadget: Check MPS of the request length
    1c9e86c933ea usb: dwc3: ep0: Fix ZLP for OUT ep0 requests
    3468cbceb563 usb: dwc3: pci: Allow Elkhart Lake to utilize DSM method for PM functionality
    2600a131e1f6 usb: xhci: Workaround for S3 issue on AMD SNPS 3.0 xHC
    c964d386e849 btrfs: fix readahead hang and use-after-free after removing a device
    dfda50e882f5 btrfs: fix use-after-free on readahead extent after failure to create it
    834a61b2123b btrfs: tree-checker: validate number of chunk stripes and parity
    1cedc54ad3d4 btrfs: cleanup cow block on error
    d3ce2d0fb8b2 btrfs: tree-checker: fix false alert caused by legacy btrfs root item
    4b82b8aba08d btrfs: use kvzalloc() to allocate clone_roots in btrfs_ioctl_send()
    6ec4b82fc322 btrfs: send, recompute reference path after orphanization of a directory
    c2dcc9b03b7f btrfs: send, orphanize first all conflicting inodes when processing references
    e1cf034899b6 btrfs: reschedule if necessary when logging directory items
    223b462744b3 btrfs: improve device scanning messages
    c5f2a5091263 btrfs: qgroup: fix wrong qgroup metadata reserve for delayed inode
    1e2f16dd611b PM: runtime: Remove link state checks in rpm_get/put_supplier()
    a0bdb5b16392 scsi: qla2xxx: Fix crash on session cleanup with unload
    f0ef0e2299f5 scsi: mptfusion: Fix null pointer dereferences in mptscsih_remove()
    3fc2cbba4069 w1: mxc_w1: Fix timeout resolution problem leading to bus error
    a034ea12bdd4 acpi-cpufreq: Honor _PSD table setting on new AMD CPUs
    7f9d9a007e59 ACPI: EC: PM: Drop ec_no_wakeup check from acpi_ec_dispatch_gpe()
    0adf4dbae9c0 ACPI: EC: PM: Flush EC work unconditionally after wakeup
    e7f52fd6e0ef PCI/ACPI: Whitelist hotplug ports for D3 if power managed by ACPI
    6341984bef17 ACPI: debug: don't allow debugging when ACPI is disabled
    1a5f62a3c694 ACPI: video: use ACPI backlight for HP 635 Notebook
    9578d7381432 ACPI / extlog: Check for RDMSR failure
    5e25b44cc2eb ACPI: button: fix handling lid state changes when input device closed
    c75b77cb9f01 NFS: fix nfs_path in case of a rename retry
    f8a6a2ed4b7d fs: Don't invalidate page buffers in block_write_full_page()
    2f3cb993a6f2 media: uvcvideo: Fix uvc_ctrl_fixup_xu_info() not having any effect
    8ac92a5e5fd7 leds: bcm6328, bcm6358: use devres LED registering function
    a908e29705ee extcon: ptn5150: Fix usage of atomic GPIO with sleeping GPIO chips
    004fb028f22c spi: sprd: Release DMA channel also on probe deferral
    d789e1c5b1ce perf/x86/amd/ibs: Fix raw sample data accumulation
    2e2a324641f9 perf/x86/amd/ibs: Don't include randomized bits in get_ibs_op_count()
    f9a48ff99961 perf/x86/intel: Fix Ice Lake event constraint table
    3674b0445b70 selftests/x86/fsgsbase: Test PTRACE_PEEKUSER for GSBASE with invalid LDT GS
    2d1c48227780 seccomp: Make duplicate listener detection non-racy
    470c8c409e1c mmc: sdhci-acpi: AMDI0040: Set SDHCI_QUIRK2_PRESET_VALUE_BROKEN
    3f56e94b6f7c mmc: sdhci: Add LTR support for some Intel BYT based controllers
    b91d4797b3da md/raid5: fix oops during stripe resizing
    a7aa5d578fed nvme-rdma: fix crash when connect rejected
    c421c082088e sgl_alloc_order: fix memory leak
    742fd49cf811 nbd: make the config put is called before the notifying the waiter
    b71dbaf08f9f ARM: dts: s5pv210: remove dedicated 'audio-subsystem' node
    3ad1464467e7 ARM: dts: s5pv210: move PMU node out of clock controller
    8a9024f6e29f ARM: dts: s5pv210: move fixed clocks under root node
    8c1b47e8aa43 ARM: dts: s5pv210: remove DMA controller bus node name to fix dtschema warnings
    c6029d9bc68d memory: emif: Remove bogus debugfs error handling
    2f98e2843b69 ARM: dts: omap4: Fix sgx clock rate for 4430
    c70f909e7ad6 arm64: dts: renesas: ulcb: add full-pwr-cycle-in-suspend into eMMC nodes
    e2dca8845c37 cifs: handle -EINTR in cifs_setattr
    3c78eb161c26 gfs2: add validation checks for size of superblock
    9f7e4bfadfe9 gfs2: use-after-free in sysfs deregistration
    9b58c55ba81c KVM: PPC: Book3S HV: Do not allocate HPT for a nested guest
    d7d7920a7f66 ext4: Detect already used quota file early
    d01b63320799 drivers: watchdog: rdc321x_wdt: Fix race condition bugs
    229bdf0b1319 net: 9p: initialize sun_server.sun_path to have addr's value only when addr is valid
    660e2d9d1417 clk: ti: clockdomain: fix static checker warning
    f66125e1c4df rpmsg: glink: Use complete_all for open states
    dfcfccd05075 bnxt_en: Log unknown link speed appropriately.
    78452408bb3e md/bitmap: md_bitmap_get_counter returns wrong blocks
    4ebdad05129e btrfs: fix replace of seed device
    1f145a1193ea ARC: [dts] fix the errors detected by dtbs_check
    5759f38a63db drm/amd/display: HDMI remote sink need mode validation for Linux
    3ef6095d6587 power: supply: test_power: add missing newlines when printing parameters by sysfs
    cf5a6124f237 ACPI: HMAT: Fix handling of changes from ACPI 6.2 to ACPI 6.3
    37464a8a7f68 bus/fsl_mc: Do not rely on caller to provide non NULL mc_io
    0606a8df86fe drivers/net/wan/hdlc_fr: Correctly handle special skb->protocol values
    592cbc0a6a83 brcmfmac: Fix warning message after dongle setup failed
    cf9cc49cd881 ACPI: Add out of bounds and numa_off protections to pxm_to_node()
    5880a0d1c835 xfs: don't free rt blocks when we're doing a REMAP bunmapi call
    7551e2f4fddd can: flexcan: disable clocks during stop mode
    64129ad98b74 arm64/mm: return cpu_all_mask when node is NUMA_NO_NODE
    ea888a14ac6e SUNRPC: Mitigate cond_resched() in xprt_transmit()
    7f7f437277ac usb: xhci: omit duplicate actions when suspending a runtime suspended host.
    8fd52a21ab57 coresight: Make sysfs functional on topologies with per core sink
    2502107a9ccd uio: free uio id after uio file node is freed
    16b9e40d2989 USB: adutux: fix debugging
    65052761eeb9 cpufreq: sti-cpufreq: add stih418 support
    2eab702ee945 riscv: Define AT_VECTOR_SIZE_ARCH for ARCH_DLINFO
    7762afa04fd4 samples/bpf: Fix possible deadlock in xdpsock
    58c80462e467 selftests/bpf: Define string const as global for test_sysctl_prog.c
    8f71fb76a312 media: uvcvideo: Fix dereference of out-of-bound list iterator
    4801ffdd6962 bpf: Permit map_ptr arithmetic with opcode add and offset 0
    f7f7b77ee507 kgdb: Make "kgdbcon" work properly with "kgdb_earlycon"
    77fa5e15c933 ia64: kprobes: Use generic kretprobe trampoline handler
    b3142fe7ff63 printk: reduce LOG_BUF_SHIFT range for H8300
    80685a94f7c4 arm64: topology: Stop using MPIDR for topology information
    7975367a005f drm/bridge/synopsys: dsi: add support for non-continuous HS clock
    d3fb88a51c04 mmc: via-sdmmc: Fix data race bug
    67e18c92e081 media: imx274: fix frame interval handling
    448e5004ad85 media: tw5864: check status of tw5864_frameinterval_get
    47ab020f3290 usb: typec: tcpm: During PR_SWAP, source caps should be sent only after tSwapSourceStart
    5472c5d1d505 media: platform: Improve queue set up flow for bug fixing
    3a8568806285 media: videodev2.h: RGB BT2020 and HSV are always full range
    ac437801e3c2 selftests/x86/fsgsbase: Reap a forgotten child
    581940d9b9c8 drm/brige/megachips: Add checking if ge_b850v3_lvds_init() is working correctly
    ed0bd7b12939 ath10k: fix VHT NSS calculation when STBC is enabled
    b30a5c8d9def ath10k: start recovery process when payload length exceeds max htc length for sdio
    759721fb5886 video: fbdev: pvr2fb: initialize variables
    b2844ba3d37c xfs: fix realtime bitmap/summary file truncation when growing rt volume
    a10ed3b55fed power: supply: bq27xxx: report "not charging" on all types
    036b0f4d7671 NFS4: Fix oops when copy_file_range is attempted with NFS4.0 source
    13081d5ddb58 ARM: 8997/2: hw_breakpoint: Handle inexact watchpoint addresses
    df5b07f2172a f2fs: handle errors of f2fs_get_meta_page_nofail
    15c7ec03ddb8 um: change sigio_spinlock to a mutex
    fb9b18150e3f s390/startup: avoid save_area_sync overflow
    9804eda4a975 f2fs: fix to check segment boundary during SIT page readahead
    1544dcb514ad f2fs: fix uninit-value in f2fs_lookup
    40b357f7436d f2fs: add trace exit in exception path
    2eab8974aea8 sparc64: remove mm_cpumask clearing to fix kthread_use_mm race
    7d59323cff67 powerpc: select ARCH_WANT_IRQS_OFF_ACTIVATE_MM
    82e93f94ac65 mm: fix exec activate_mm vs TLB shootdown and lazy tlb switching race
    dc17b990ee90 powerpc/powernv/smp: Fix spurious DBG() warning
    2db759037152 futex: Fix incorrect should_fail_futex() handling
    87d9ac94c7e7 ata: sata_nv: Fix retrieving of active qcs
    da8e2fbe458c RDMA/qedr: Fix memory leak in iWARP CM
    d90dd1599cf3 mlxsw: core: Fix use-after-free in mlxsw_emad_trans_finish()
    f7e7de28d106 x86/unwind/orc: Fix inactive tasks with stack pointer in %sp on GCC 10 compiled kernels
    6937c143e3d3 firmware: arm_scmi: Add missing Rx size re-initialisation
    aedcfe9a02f8 firmware: arm_scmi: Fix ARCH_COLD_RESET
    85d9d02a49e2 xen/events: block rogue events for some time
    1d628c330fa6 xen/events: defer eoi in case of excessive number of events
    25c23f033457 xen/events: use a common cpu hotplug hook for event channels
    b7d6a66e2172 xen/events: switch user event channels to lateeoi model
    48b533aa838d xen/pciback: use lateeoi irq binding
    9396de462aa6 xen/pvcallsback: use lateeoi irq binding
    5441639a38df xen/scsiback: use lateeoi irq binding
    e6ea898e5602 xen/netback: use lateeoi irq binding
    ade6bd5af7f9 xen/blkback: use lateeoi irq binding
    df54eca9ae8a xen/events: add a new "late EOI" evtchn framework
    44a455e06d87 xen/events: fix race in evtchn_fifo_unmask()
    4bea575a1069 xen/events: add a proper barrier to 2-level uevent unmasking
    a01379671d67 xen/events: avoid removing an event channel while handling it
    b300b28b7814 Linux 5.4.74
    847c86d7f1d5 phy: marvell: comphy: Convert internal SMCC firmware return codes to errno
    aa3410cc232c misc: rtsx: do not setting OC_POWER_DOWN reg in rtsx_pci_init_ocp()
    a6db3aab9c40 openrisc: Fix issue with get_user for 64-bit values
    f73328c3192e crypto: x86/crc32c - fix building with clang ias
    29bbc9cb0b27 xen/gntdev.c: Mark pages as dirty
    8f640cd8ee60 ata: sata_rcar: Fix DMA boundary mask
    9f531583c1f0 PM: runtime: Fix timer_expires data type on 32-bit arches
    870d910e1afb serial: pl011: Fix lockdep splat when handling magic-sysrq interrupt
    44ef3b63c788 serial: qcom_geni_serial: To correct QUP Version detection logic
    c274d1f8baaf mtd: lpddr: Fix bad logic in print_drs_error
    bc67eeb9781b RDMA/addr: Fix race with netevent_callback()/rdma_addr_cancel()
    ebb0adcfbb1f cxl: Rework error message for incompatible slots
    125a229e52e7 p54: avoid accessing the data mapped to streaming DMA
    801863f634c4 evm: Check size of security.evm before using it
    dd2f800e9074 bpf: Fix comment for helper bpf_current_task_under_cgroup()
    860448e73ba2 fuse: fix page dereference after free
    4e1a23779bde ata: ahci: mvebu: Make SATA PHY optional for Armada 3720
    7aae7466f5db x86/xen: disable Firmware First mode for correctable memory errors
    47a4d5406389 arch/x86/amd/ibs: Fix re-arming IBS Fetch
    95daf621291c erofs: avoid duplicated permission check for "trusted." xattrs
    b8321829036f bnxt_en: Invoke cancel_delayed_work_sync() for PFs also.
    b1b5efe574cd bnxt_en: Fix regression in workqueue cleanup logic in bnxt_remove_one().
    aa4dba4e2226 bnxt_en: Re-write PCI BARs after PCI fatal error.
    5c86cda6a529 net: hns3: Clear the CMDQ registers before unmapping BAR region
    30d628ede582 tipc: fix memory leak caused by tipc_buf_append()
    8cc351a3d444 tcp: Prevent low rmem stalls with SO_RCVLOWAT.
    7740774940fc ravb: Fix bit fields checking in ravb_hwtstamp_get()
    4939183bb28c r8169: fix issue with forced threading in combination with shared interrupts
    f1493ab33679 net/sched: act_mpls: Add softdep on mpls_gso.ko
    4bffc9618caf netem: fix zero division in tabledist
    13a4843d3938 mlxsw: core: Fix memory leak on module removal
    c90459593f55 ibmvnic: fix ibmvnic_set_mac
    e781c67629ed gtp: fix an use-before-init in gtp_newlink()
    0ea202010b40 cxgb4: set up filter action after rewrites
    3a0d5b5358d1 chelsio/chtls: fix tls record info to user
    c5db8069776f chelsio/chtls: fix memory leaks in CPL handlers
    a5b9b28b22ba chelsio/chtls: fix deadlock issue
    c17d5aea3395 bnxt_en: Send HWRM_FUNC_RESET fw command unconditionally.
    72c17fadf3f8 bnxt_en: Check abort error state in bnxt_open_nic().
    8e1b40e57dca efivarfs: Replace invalid slashes with exclamation marks in dentries.
    c3019695f1d8 x86/PCI: Fix intel_mid_pci.c build error when ACPI is not enabled
    57a88e44b512 arm64: link with -z norelro regardless of CONFIG_RELOCATABLE
    7736c61080f1 arm64: Run ARCH_WORKAROUND_2 enabling code on all CPUs
    114c6930b351 arm64: Run ARCH_WORKAROUND_1 enabling code on all CPUs
    2dcb0c6c3818 scripts/setlocalversion: make git describe output more reliable
    c8a5496bc747 objtool: Support Clang non-section symbols in ORC generation
    a45c8c0a31a7 socket: don't clear SOCK_TSTAMP_NEW when SO_TIMESTAMPNS is disabled
    bded4de4a5e1 netfilter: nftables_offload: KASAN slab-out-of-bounds Read in nft_flow_rule_create

(From OE-Core rev: 16dc22108fcf7e53750424b90c0aeb8dba2dc5e5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Bruce Ashfield
03177c1540 linux-yocto/5.8: update to v5.8.18
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    ab435ce49bd1 Linux 5.8.18
    4a5649e0d379 phy: marvell: comphy: Convert internal SMCC firmware return codes to errno
    b8049438969b misc: rtsx: do not setting OC_POWER_DOWN reg in rtsx_pci_init_ocp()
    ad9ee9ce9d68 openrisc: Fix issue with get_user for 64-bit values
    f594998331bc xen/gntdev.c: Mark pages as dirty
    67e326e4f5df ata: sata_rcar: Fix DMA boundary mask
    f6b94060a123 PM: runtime: Fix timer_expires data type on 32-bit arches
    53faca2f4ca3 serial: pl011: Fix lockdep splat when handling magic-sysrq interrupt
    e3f6c126a3f7 serial: qcom_geni_serial: To correct QUP Version detection logic
    8f924c0a5665 drm/i915/gem: Serialise debugfs i915_gem_objects with ctx->mutex
    241bd102e337 mtd: lpddr: Fix bad logic in print_drs_error
    5868beda60c8 RDMA/addr: Fix race with netevent_callback()/rdma_addr_cancel()
    a8069b80a1fb cxl: Rework error message for incompatible slots
    9f9dc704c8cd p54: avoid accessing the data mapped to streaming DMA
    9f4ef6a90c1b evm: Check size of security.evm before using it
    a42b1273af73 bpf: Fix comment for helper bpf_current_task_under_cgroup()
    07d54b8dc56e fuse: fix page dereference after free
    78453a7dbb1a ata: ahci: mvebu: Make SATA PHY optional for Armada 3720
    4752a1313463 PCI: aardvark: Fix initialization with old Marvell's Arm Trusted Firmware
    b9cc04b049d8 x86/xen: disable Firmware First mode for correctable memory errors
    ea4e8cf5072e x86/traps: Fix #DE Oops message regression
    085f6be2fe88 arch/x86/amd/ibs: Fix re-arming IBS Fetch
    b4818cfc3f9c erofs: avoid duplicated permission check for "trusted." xattrs
    3a9e7db9a40e net: protect tcf_block_unbind with block lock
    af5d5b8afd12 tipc: fix memory leak caused by tipc_buf_append()
    519366f64c27 tcp: Prevent low rmem stalls with SO_RCVLOWAT.
    9ceecfdba701 ravb: Fix bit fields checking in ravb_hwtstamp_get()
    fa67cc69a8c8 r8169: fix issue with forced threading in combination with shared interrupts
    62d9cec6f928 net/sched: act_mpls: Add softdep on mpls_gso.ko
    2bc5d5c373ef net: ipa: command payloads already mapped
    1336d288b353 net: hns3: Clear the CMDQ registers before unmapping BAR region
    7fb8fbceb0e3 netem: fix zero division in tabledist
    25259932e1bb mlxsw: core: Fix memory leak on module removal
    d6f6e3f97885 ibmvnic: fix ibmvnic_set_mac
    4606d3512043 ibmveth: Fix use of ibmveth in a bridge.
    b520e574fdbf gtp: fix an use-before-init in gtp_newlink()
    9921e777a347 cxgb4: set up filter action after rewrites
    b97638e0f3be chelsio/chtls: fix tls record info to user
    eb592f2ae478 chelsio/chtls: fix memory leaks in CPL handlers
    c3208dec446a chelsio/chtls: fix deadlock issue
    b334112f20b7 bnxt_en: Send HWRM_FUNC_RESET fw command unconditionally.
    f739fc7e1072 bnxt_en: Re-write PCI BARs after PCI fatal error.
    7fe9514cfe68 bnxt_en: Invoke cancel_delayed_work_sync() for PFs also.
    bfbbfb501e74 bnxt_en: Fix regression in workqueue cleanup logic in bnxt_remove_one().
    0b17de4d67bf bnxt_en: Check abort error state in bnxt_open_nic().
    c328793e21fb efivarfs: Replace invalid slashes with exclamation marks in dentries.
    61ececc85274 x86/copy_mc: Introduce copy_mc_enhanced_fast_string()
    a092869e0351 x86, powerpc: Rename memcpy_mcsafe() to copy_mc_to_{user, kernel}()
    18703f749e99 x86/PCI: Fix intel_mid_pci.c build error when ACPI is not enabled
    4b0a9591dd78 arm64: link with -z norelro regardless of CONFIG_RELOCATABLE
    dfaa0f7d0832 arm64: Run ARCH_WORKAROUND_2 enabling code on all CPUs
    0ccd5c2c60e0 arm64: Run ARCH_WORKAROUND_1 enabling code on all CPUs
    4720b25e4ca3 fs/kernel_read_file: Remove FIRMWARE_EFI_EMBEDDED enum
    8b23af0ef2f7 efi/arm64: libstub: Deal gracefully with EFI_RNG_PROTOCOL failure
    865013fcf4c3 scripts/setlocalversion: make git describe output more reliable
    6f4c9772e195 io_uring: Convert advanced XArray uses to the normal API
    f7b24bee5e6e io_uring: Fix XArray usage in io_uring_add_task_file
    efce965a49f1 io_uring: Fix use of XArray in __io_uring_files_cancel
    5ee3fea0c227 io_uring: no need to call xa_destroy() on empty xarray
    0ca6ce23f4f6 io-wq: fix use-after-free in io_wq_worker_running
    4863be653425 io_wq: Make io_wqe::lock a raw_spinlock_t
    b6a6d1df552b io_uring: reference ->nsproxy for file table commands
    511abceaf0a0 io_uring: don't rely on weak ->files references
    fdc84c9bf131 io_uring: enable task/files specific overflow flushing
    3de61f9bcc1c io_uring: return cancelation status from poll/timeout/files handlers
    f34e674fbe6d io_uring: unconditionally grab req->task
    bf0305989241 io_uring: stash ctx task reference for SQPOLL
    dd1acc182c85 io_uring: move dropping of files into separate helper
    cecf78cc0890 io_uring: allow timeout/poll/files killing to take task into account
    07463d7da999 io_uring: don't run task work on an exiting task
    6e1f770fbc0a netfilter: nftables_offload: KASAN slab-out-of-bounds Read in nft_flow_rule_create

(From OE-Core rev: 8c81b83bfe7cb870eb12c93d0793cad27d1de162)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Bruce Ashfield
1d6a133214 linux-yocto/5.8: config cleanup / warnings
Integrating the following commit(s) to:

    d5ca337b7e9 bsp/mti-malta64: fix warning of CONFIG_SCSI_VIRTIO on qemumips64
    63c7a70c90f net/l2tp.cfg: fix CONFIG_PPPOL2TP mismatched warnings

(From OE-Core rev: bc51dcff0b23827fc05a6203c889154616f48014)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Bruce Ashfield
28196caa11 linux-yocto/5.4: config cleanup / warnings
Integrating the following commit(s):

    eadca496e9f bsp/mti-malta64: fix warning of CONFIG_SCSI_VIRTIO on qemumips64
    203911bc035 net/l2tp.cfg: fix CONFIG_PPPOL2TP mismatched warnings

(From OE-Core rev: e8df0a1f9607417f3f308b9ff852e287837b6cdf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Bruce Ashfield
e8169d5cc8 linux-yocto-dev: move to v5.10-rc
(From OE-Core rev: a04e56631c4bc7fac58e2f157beea3423195ad8e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Bruce Ashfield
036286a887 linux-yocto/5.4: update to v5.4.73
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    bde3f94035b0 Linux 5.4.73
    3c7ccd7d4ace usb: gadget: f_ncm: allow using NCM in SuperSpeed Plus gadgets.
    efb893a56cea eeprom: at25: set minimum read/write access stride to 1
    8011f45598cd usb: cdns3: gadget: free interrupt after gadget has deleted
    ed134662a62b USB: cdc-wdm: Make wdm_flush() interruptible and add wdm_fsync().
    2cc661ab2bde usb: cdc-acm: add quirk to blacklist ETAS ES58X devices
    1d2ce4350a01 tty: serial: fsl_lpuart: fix lpuart32_poll_get_char
    231146202650 tty: serial: lpuart: fix lpuart32_write usage
    a8a4b17bcc9d s390/qeth: don't let HW override the configured port role
    905f0d17a07f net: korina: cast KSEG0 address to pointer in kfree
    9bca56ad2f0a ath10k: check idx validity in __ath10k_htt_rx_ring_fill_n()
    18ec92b1ce29 dmaengine: dw: Activate FIFO-mode for memory peripherals only
    190bce292b73 dmaengine: dw: Add DMA-channels mask cell support
    bc94a025cfd2 scsi: ufs: ufs-qcom: Fix race conditions caused by ufs_qcom_testbus_config()
    e13f0d325a04 usb: core: Solve race condition in anchor cleanup functions
    5912b09c97cd brcm80211: fix possible memleak in brcmf_proto_msgbuf_attach
    36df67bd0097 scsi: smartpqi: Avoid crashing kernel for controller issues
    d00555d2255f ALSA: hda/ca0132 - Add new quirk ID for SoundBlaster AE-7.
    4529f9e5067c ALSA: hda/ca0132 - Add AE-7 microphone selection commands.
    752df39ed6e1 mwifiex: don't call del_timer_sync() on uninitialized timer
    045f29c16fcf reiserfs: Fix memory leak in reiserfs_parse_options()
    109f5845a60f ipvs: Fix uninit-value in do_ip_vs_set_ctl()
    8f8df766f75c Bluetooth: btusb: Fix memleak in btusb_mtk_submit_wmt_recv_urb
    4886c2cf3d91 tty: ipwireless: fix error handling
    e80b7ebcfda7 fbmem: add margin check to fb_check_caps()
    f14811c617b4 scsi: qedi: Fix list_del corruption while removing active I/O
    56b2fd0cbfb0 scsi: qedi: Protect active command list to avoid list corruption
    f8bf0bbee1cc scsi: qedf: Return SUCCESS if stale rport is encountered
    09e4f2271178 HID: ite: Add USB id match for Acer One S1003 keyboard dock
    f3c23dcff8fb Fix use after free in get_capset_info callback.
    a4638768b03d rtl8xxxu: prevent potential memory leak
    d5eb55b5f96f brcmsmac: fix memory leak in wlc_phy_attach_lcnphy
    061d2f3fce45 selftests/bpf: Fix test_sysctl_loop{1, 2} failure due to clang change
    d399015f191b scsi: qla2xxx: Warn if done() or free() are called on an already freed srb
    0bb4a0b5a0ec scsi: ibmvfc: Fix error return in ibmvfc_probe()
    ff9c607f0355 iomap: fix WARN_ON_ONCE() from unprivileged users
    6458e8e8689b drm/msm/a6xx: fix a potential overflow issue
    bab673eef853 Bluetooth: Only mark socket zapped after unlocking
    78a47ef68262 usb: ohci: Default to per-port over-current protection
    df01087859fa xfs: make sure the rt allocator doesn't run off the end
    09b63105d089 opp: Prevent memory leak in dev_pm_opp_attach_genpd()
    6ff3df752c06 reiserfs: only call unlock_new_inode() if I_NEW
    0e3f41b6bec0 misc: rtsx: Fix memory leak in rtsx_pci_probe
    3a8d86d8da1b bpf: Limit caller's stack depth 256 for subprogs with tailcalls
    6c3a1aabfcff drm/panfrost: add amlogic reset quirk callback
    a9990ed2d7ca ath9k: hif_usb: fix race condition between usb_get_urb() and usb_kill_anchored_urbs()
    85b757ca3005 can: flexcan: flexcan_chip_stop(): add error handling and propagate error value
    42e781da7b37 usb: dwc3: simple: add support for Hikey 970
    0e1fb72e27d7 USB: cdc-acm: handle broken union descriptors
    ca4261a249dd rtw88: increse the size of rx buffer size
    41ce99a3ef1a udf: Avoid accessing uninitialized data on failed inode read
    01d886b89eb8 udf: Limit sparing table size
    e9e791f5c39a usb: gadget: function: printer: fix use-after-free in __lock_acquire
    08045050c6bd usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc
    821dcabafded misc: vop: add round_up(x,4) for vring_size to avoid kernel panic
    85efddd97b72 mic: vop: copy data to kernel space then write to io memory
    e93b629d347e scsi: target: core: Add CONTROL field for trace events
    7cb5830b775a scsi: mvumi: Fix error return in mvumi_io_attach()
    267edd6478f9 PM: hibernate: remove the bogus call to get_gendisk() in software_resume()
    9ff197703e25 mac80211: handle lack of sband->bitrates in rates
    c8b6ad0a8afb ip_gre: set dev->hard_header_len and dev->needed_headroom properly
    16281bdd202f ntfs: add check for mft record size in superblock
    05f9cc28a954 media: venus: core: Fix runtime PM imbalance in venus_probe
    0ce7ba162b35 fs: dlm: fix configfs memory leak
    ed99b3e5117d media: venus: fixes for list corruption
    4f6af5a3c0f4 media: saa7134: avoid a shift overflow
    cb475ba4400f mmc: sdio: Check for CISTPL_VERS_1 buffer size
    67806a68d52c media: uvcvideo: Ensure all probed info is returned to v4l2
    6827d62a86de x86/mce: Make mce_rdmsrl() panic on an inaccessible MSR
    7aa3f954cd91 media: media/pci: prevent memory leak in bttv_probe
    ad3825eedb16 media: bdisp: Fix runtime PM imbalance on error
    e1285a73c5fa media: platform: sti: hva: Fix runtime PM imbalance on error
    8d727e1d261a media: platform: s3c-camif: Fix runtime PM imbalance on error
    6b3f0742f531 media: vsp1: Fix runtime PM imbalance on error
    7db4c3dfee01 media: exynos4-is: Fix a reference count leak
    f36a80bc7512 media: exynos4-is: Fix a reference count leak due to pm_runtime_get_sync
    8babe11e46ba media: exynos4-is: Fix several reference count leaks due to pm_runtime_get_sync
    62f3bc07008d media: sti: Fix reference count leaks
    e4d4abe6e86f media: st-delta: Fix reference count leak in delta_run_work
    d310c7437cb8 media: ati_remote: sanity check for both endpoints
    b4325c738f8f media: firewire: fix memory leak
    d06ea207e90b x86/mce: Add Skylake quirk for patrol scrub reported errors
    624c2782b49d x86/asm: Replace __force_order with a memory clobber
    fce2779e1c6e crypto: ccp - fix error handling
    b3a0ed411008 block: ratelimit handle_bad_sector() message
    a47cecbd2816 md/bitmap: fix memory leak of temporary bitmap
    44e2bc80a6ec i2c: core: Restore acpi_walk_dep_device_list() getting called after registering the ACPI i2c devs
    f224b8be9e31 perf: correct SNOOPX field offset
    78e27678db4e sched/features: Fix !CONFIG_JUMP_LABEL case
    13153509d8f3 NTB: hw: amd: fix an issue about leak system resources
    abd19984441c nvmet: fix uninitialized work for zero kato
    5ef1279abc74 powerpc/pseries: Avoid using addr_to_pfn in real mode
    72ccbd1481cb powerpc/powernv/dump: Fix race while processing OPAL dump
    d21b8c8fbf89 lightnvm: fix out-of-bounds write to array devices->info[]
    b0b10fa454ea ARM: dts: meson8: remove two invalid interrupt lines from the GPU node
    7de30421d646 arm64: dts: zynqmp: Remove additional compatible string for i2c IPs
    64b8f8fbe939 ARM: OMAP2+: Restore MPU power domain if cpu_cluster_pm_enter() fails
    55a7acbc0495 soc: fsl: qbman: Fix return value on success
    c7ffa707e657 ARM: dts: owl-s500: Fix incorrect PPI interrupt specifiers
    d725df0e2bbb arm64: dts: actions: limit address range for pinctrl node
    449ad29d76f7 arm64: dts: renesas: r8a774c0: Fix MSIOF1 DMA channels
    845e4eefd3c4 arm64: dts: renesas: r8a77990: Fix MSIOF1 DMA channels
    b78cdf1b51fc arm64: dts: qcom: msm8916: Fix MDP/DSI interrupts
    1e61c8fda1bb arm64: dts: qcom: pm8916: Remove invalid reg size from wcd_codec
    975dafc038f0 arm64: dts: qcom: msm8916: Remove one more thermal trip point unit name
    08ece4ba2a6e arm64: dts: imx8mq: Add missing interrupts to GPC
    93c3898ee8df memory: fsl-corenet-cf: Fix handling of platform_get_irq() error
    c072b76699a4 memory: omap-gpmc: Fix build error without CONFIG_OF
    afb15453ca4c memory: omap-gpmc: Fix a couple off by ones
    8426055fc960 arm64: dts: allwinner: h5: remove Mali GPU PMU module
    ec65c6a90621 ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix dcdc1 regulator
    46ac92161144 ARM: s3c24xx: fix mmc gpio lookup tables
    e118c1527ffe ARM: at91: pm: of_node_put() after its usage
    5c4c2f437cea ARM: dts: imx6sl: fix rng node
    c1430c876984 arm64: dts: meson: vim3: correct led polarity
    6dbdc81b2625 netfilter: nf_fwd_netdev: clear timestamp in forwarding path
    2f3839075a5f netfilter: ebtables: Fixes dropping of small packets in bridge nat
    4d1eec59628c netfilter: conntrack: connection timeout after re-register
    e6b7b40aced7 scsi: bfa: Fix error return in bfad_pci_init()
    48df327e4b04 KVM: x86: emulating RDPID failure shall return #UD rather than #GP
    ad87f31648ab Input: sun4i-ps2 - fix handling of platform_get_irq() error
    cb3b77359a26 Input: twl4030_keypad - fix handling of platform_get_irq() error
    2f967303cbdd Input: omap4-keypad - fix handling of platform_get_irq() error
    2106d1cbe1c2 Input: ep93xx_keypad - fix handling of platform_get_irq() error
    b205eef76388 Input: stmfts - fix a & vs && typo
    81e5e2c268e9 Input: imx6ul_tsc - clean up some errors in imx6ul_tsc_resume()
    6498597aeb4c SUNRPC: fix copying of multiple pages in gss_read_proxy_verf()
    e412625f38a4 clk: imx8mq: Fix usdhc parents order
    b4035b3d64b6 vfio iommu type1: Fix memory leak in vfio_iommu_type1_pin_pages
    f54d8a9e37b0 vfio/pci: Clear token on bypass registration failure
    f2f616f3e333 ext4: limit entries returned when counting fsmap records
    9c27185e12e8 svcrdma: fix bounce buffers for unaligned offsets and multiple pages
    120222811b2e watchdog: sp5100: Fix definition of EFCH_PM_DECODEEN3
    dbb9ef17777e watchdog: Use put_device on error
    a8bbb47d94af watchdog: Fix memleak in watchdog_cdev_register
    9a3ee7177f72 clk: bcm2835: add missing release if devm_clk_hw_register fails
    c10e3c919a69 clk: at91: clk-main: update key before writing AT91_CKGR_MOR
    1ed7508e684e module: statically initialize init section freeing data
    b213999028e6 clk: mediatek: add UART0 clock support
    56e68e2cd8fe clk: rockchip: Initialize hw to error to avoid undefined behavior
    72407e5aa058 pwm: img: Fix null pointer access in probe
    7e5155fdd061 clk: keystone: sci-clk: fix parsing assigned-clock data during probe
    5b8882b53b0c clk: qcom: gcc-sdm660: Fix wrong parent_map
    fddcf515454e vfio/pci: Decouple PCI_COMMAND_MEMORY bit checks from is_virtfn
    42f16b3add6c PCI/IOV: Mark VFs as not implementing PCI_COMMAND_MEMORY
    aafa4b4c38e8 rpmsg: smd: Fix a kobj leak in in qcom_smd_parse_edge()
    833f3c362f63 PCI: iproc: Set affinity mask on MSI interrupts
    bcb9394accb6 PCI: aardvark: Check for errors from pci_bridge_emul_init() call
    bf65e6c51ac4 clk: meson: g12a: mark fclk_div2 as critical
    423e65dcd594 i2c: rcar: Auto select RESET_CONTROLLER
    63bd88ba8865 mailbox: avoid timer start from callback
    fe1936208e3f rapidio: fix the missed put_device() for rio_mport_add_riodev
    bfab0711eb27 rapidio: fix error handling path
    c5df8ff043c3 ramfs: fix nommu mmap with gaps in the page cache
    410f50b41c14 lib/crc32.c: fix trivial typo in preprocessor condition
    a3a45516c70e mm/page_owner: change split_page_owner to take a count
    06727f797f45 RDMA/rxe: Handle skb_clone() failure in rxe_recv.c
    6fa4d484bada f2fs: wait for sysfs kobject removal before freeing f2fs_sb_info
    f08ae0c46198 selftests/powerpc: Fix eeh-basic.sh exit codes
    180cf2e5f722 maiblox: mediatek: Fix handling of platform_get_irq() error
    e7f0b9ab8b7d RDMA/rxe: Fix skb lifetime in rxe_rcv_mcast_pkt()
    7efb373881f7 IB/rdmavt: Fix sizeof mismatch
    bc2cba6b2d5a cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_reboot_notifier
    56c30ffe5fcd i3c: master: Fix error return in cdns_i3c_master_probe()
    ebe1a014d7ed powerpc/perf/hv-gpci: Fix starting index value
    271e53005a26 powerpc/perf: Exclude pmc5/6 from the irrelevant PMU group constraints
    dc1d4c658b9c RDMA/ipoib: Set rtnl_link_ops for ipoib interfaces
    c3a1c7b426b9 overflow: Include header file with SIZE_MAX declaration
    de47278648aa kdb: Fix pager search for multi-line strings
    626e2200f80b mtd: spinand: gigadevice: Add QE Bit
    8999f59944e3 mtd: spinand: gigadevice: Only one dummy byte in QUADIO
    2bb74bc921e0 mtd: rawnand: vf610: disable clk on error handling path in probe
    5e3782b1fae1 RDMA/hns: Fix missing sq_sig_type when querying QP
    eff57fbc2377 RDMA/hns: Fix the wrong value of rnr_retry when querying qp
    1e583b2948ae perf stat: Skip duration_time in setup_system_wide
    b79dd191680f i40iw: Add support to make destroy QP synchronous
    61ad14e24eba RDMA/mlx5: Disable IB_DEVICE_MEM_MGT_EXTENSIONS if IB_WR_REG_MR can't work
    4b1d559cc5c6 RDMA/hns: Set the unsupported wr opcode
    0ff75bfed10d perf intel-pt: Fix "context_switch event has no tid" error
    cee5080a0776 RDMA/cma: Consolidate the destruction of a cma_multicast in one place
    7c4fec28980d RDMA/cma: Remove dead code for kernel rdmacm multicast
    557c184df3c5 powerpc/64s/radix: Fix mm_cpumask trimming race vs kthread_use_mm
    148d4f4dc75e powerpc/tau: Disable TAU between measurements
    72407b8d08b3 powerpc/tau: Check processor type before enabling TAU interrupt
    68a8ec0b022f powerpc/tau: Remove duplicated set_thresholds() call
    c0578b423b5e powerpc/tau: Convert from timer to workqueue
    0305488040dc powerpc/tau: Use appropriate temperature sample interval
    a2087c04a2ac powerpc/book3s64/hash/4k: Support large linear mapping range with 4K
    8fd3154eb0ee RDMA/qedr: Fix inline size returned for iWARP
    97336c8296b5 RDMA/qedr: Fix return code if accept is called on a destroyed qp
    4c5f385ab49e RDMA/qedr: Fix use of uninitialized field
    e0a970d8f627 RDMA/qedr: Fix qp structure memory leak
    1738b03e34ad RDMA/umem: Prevent small pages from being returned by ib_umem_find_best_pgsz()
    85e40ba1c4a5 RDMA/umem: Fix ib_umem_find_best_pgsz() for mappings that cross a page boundary
    b1712ec30dfb xfs: fix high key handling in the rt allocator's query_range function
    b005b448daf2 xfs: fix deadlock and streamline xfs_getfsmap performance
    adc3e2698637 xfs: limit entries returned when counting fsmap records
    2577720d35e2 ida: Free allocated bitmap in error path
    3789f5cfd600 arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLER
    67c2e58b684e ARM: 9007/1: l2c: fix prefetch bits init in L2X0_AUX_CTRL using DT values
    baa7ea082f8e mtd: mtdoops: Don't write panic data twice
    b8d4f65c6ae2 RDMA/mlx5: Fix potential race between destroy and CQE poll
    935950e3190d pseries/drmem: don't cache node id in drmem_lmb struct
    eb327e98631e powerpc/pseries: explicitly reschedule during drmem_lmb list traversal
    937cdcc45aaa RDMA/umem: Fix signature of stub ib_umem_find_best_pgsz()
    a43f936da88f RDMA/hns: Add a check for current state before modifying QP
    4a5aaa1747a3 mtd: lpddr: fix excessive stack usage with clang
    1564884a4176 RDMA/ucma: Add missing locking around rdma_leave_multicast()
    cc8ebd76b10a RDMA/ucma: Fix locking for ctx->events_reported
    22d8bebf634a powerpc/icp-hv: Fix missing of_node_put() in success path
    d2575bf27279 powerpc/pseries: Fix missing of_node_put() in rng_init()
    4f74f179a335 IB/mlx4: Adjust delayed work when a dup is observed
    1fe669e9ad19 IB/mlx4: Fix starvation in paravirt mux/demux
    8d44d75812cf i3c: master add i3c_master_attach_boardinfo to preserve boardinfo
    e7f826cd20a6 selftests/ftrace: Change synthetic event name for inter-event-combined test
    17ed6448b00c fs: fix NULL dereference due to data race in prepend_path()
    91e4c12a3bf4 mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary
    9a1656f1d19b mm/memcg: fix device private memcg accounting
    04fabdfcbf5d mm/swapfile.c: fix potential memory leak in sys_swapon
    8194371c4d60 netfilter: nf_log: missing vlan offload tag and proto
    a6aaab712d6a net: korina: fix kfree of rx/tx descriptor array
    76c0e4b2a50f ipvs: clear skb->tstamp in forwarding path
    7c83fe15ecb1 mwifiex: fix double free
    91962ac35b48 platform/x86: mlx-platform: Remove PSU EEPROM configuration
    dddb49f4152a ipmi_si: Fix wrong return value in try_smi_init()
    b2a98fec2d1e scsi: be2iscsi: Fix a theoretical leak in beiscsi_create_eqs()
    9899e57bd714 scsi: target: tcmu: Fix warning: 'page' may be used uninitialized
    2fb431e69ad6 usb: dwc2: Fix INTR OUT transfers in DDMA mode.
    3fed2b5657e4 nl80211: fix non-split wiphy information
    6aa25d03dfb5 usb: gadget: u_ether: enable qmult on SuperSpeed Plus as well
    9af716ed41e4 usb: gadget: f_ncm: fix ncm_bitrate for SuperSpeed and above.
    2f002b5172b2 iwlwifi: mvm: split a print to avoid a WARNING in ROC
    1dbf9d994b12 mfd: sm501: Fix leaks in probe()
    df63949a2750 net: enic: Cure the enic api locking trainwreck
    7c48d6e80e70 iio: adc: stm32-adc: fix runtime autosuspend delay when slow polling
    cbe5109aa47b qtnfmac: fix resource leaks on unsupported iftype error return path
    1d3188378d9b ibmvnic: set up 200GBPS speed
    da012618c502 coresight: etm: perf: Fix warning caused by etm_setup_aux failure
    56365dbb3ec2 nl80211: fix OBSS PD min and max offset validation
    99e8886339fa nvmem: core: fix possibly memleak when use nvmem_cell_info_to_nvmem_cell()
    903bee2ebff1 HID: hid-input: fix stylus battery reporting
    1ad7f52fe668 ASoC: fsl_sai: Instantiate snd_soc_dai_driver
    56c1c45bb82d slimbus: qcom-ngd-ctrl: disable ngd in qmi server down callback
    5bfd32bb16dc slimbus: core: do not enter to clock pause mode in core
    9da3ff3368b7 slimbus: core: check get_addr before removing laddr ida
    b7e2b1fe04bf quota: clear padding in v2r1_mem2diskdqb()
    3fcd75ae29b5 usb: dwc2: Fix parameter type in function pointer prototype
    f70650083b9e ALSA: seq: oss: Avoid mutex lock for a long-time ioctl
    6f04266d084d misc: mic: scif: Fix error handling path
    a7bf4cf31f57 dmaengine: dmatest: Check list for emptiness before access its last entry
    4ca39ef88adc ath6kl: wmi: prevent a shift wrapping bug in ath6kl_wmi_delete_pstream_cmd()
    572a7d15f2d1 spi: omap2-mcspi: Improve performance waiting for CHSTAT
    98d0b2742fe0 net: dsa: rtl8366rb: Support all 4096 VLANs
    06ba92787790 ASoC: tlv320aic32x4: Fix bdiv clock rate derivation
    0f5203a88ca4 net: wilc1000: clean up resource in error path of init mon interface
    26751638ff09 net: dsa: rtl8366: Skip PVID setting if not requested
    11064fef1bb1 net: dsa: rtl8366: Refactor VLAN/PVID init
    09cb271bcbde net: dsa: rtl8366: Check validity of passed VLANs
    714ca2d03282 xhci: don't create endpoint debugfs entry before ring buffer is set.
    1a31fa71d979 coresight: etm4x: Handle unreachable sink in perf mode
    ed8b90d303cf drm: mxsfb: check framebuffer pitch
    c8bc46fc01e4 cpufreq: armada-37xx: Add missing MODULE_DEVICE_TABLE
    1122f2a7833c net: stmmac: use netif_tx_start|stop_all_queues() function
    148b49be7277 scsi: mpt3sas: Fix sync irqs
    e757a39c2d84 net/mlx5: Don't call timecounter cyc2time directly from 1PPS flow
    50185a14fe8e pinctrl: mcp23s08: Fix mcp23x17 precious range
    5e829cdd6d62 pinctrl: mcp23s08: Fix mcp23x17_regmap initialiser
    44a83bd3243b iomap: Clear page error before beginning a write
    82ef2b6a9b6c drm/panfrost: Ensure GPU quirks are always initialised
    a74f0f0a6265 drm/msm: Avoid div-by-zero in dpu_crtc_atomic_check()
    02bf8fbfb445 HID: roccat: add bounds checking in kone_sysfs_write_settings()
    4d861784f0eb ASoC: fsl: imx-es8328: add missing put_device() call in imx_es8328_probe()
    23159b4375a4 video: fbdev: radeon: Fix memleak in radeonfb_pci_register
    2370d94aed41 video: fbdev: sis: fix null ptr dereference
    67e65396cd56 video: fbdev: vga16fb: fix setting of pixclock because a pass-by-value error
    be700c52ae00 drivers/virt/fsl_hypervisor: Fix error handling path
    bf12e769ff2a pwm: lpss: Add range limit check for the base_unit register value
    34f326e702fd pwm: lpss: Fix off by one error in base_unit math in pwm_lpss_prepare()
    2b6fb30cb49d pty: do tty_flip_buffer_push without port->lock in pty_write
    bf94a8754f2a tty: hvcs: Don't NULL tty->driver_data until hvcs_cleanup()
    f3f79d92ca71 tty: serial: earlycon dependency
    2b150aa2e3ef binder: Remove bogus warning on failed same-process transaction
    48c121a74fb6 drm/crc-debugfs: Fix memleak in crc_control_write
    751c4cf0ee62 drm: panel: Fix bpc for OrtusTech COM43H4M85ULC panel
    d911c0e9fcf0 mm/error_inject: Fix allow_error_inject function signatures.
    ebc1d548a729 VMCI: check return value of get_user_pages_fast() for errors
    659da2df0c5d staging: emxx_udc: Fix passing of NULL to dma_alloc_coherent()
    f87f0236bdbb backlight: sky81452-backlight: Fix refcount imbalance on error
    517f0785cef9 scsi: csiostor: Fix wrong return value in csio_hw_prep_fw()
    a28b846431c6 scsi: qla2xxx: Fix wrong return value in qla_nvme_register_hba()
    835e3a595aa3 scsi: qla2xxx: Fix wrong return value in qlt_chk_unresolv_exchg()
    49fc81280f83 scsi: qla4xxx: Fix an error handling path in 'qla4xxx_get_host_stats()'
    58826ecb7385 drm/gma500: fix error check
    84b79c485356 staging: rtl8192u: Do not use GFP_KERNEL in atomic context
    dc432c231f4a mwifiex: Do not use GFP_KERNEL in atomic context
    7bf50ff5a32c brcmfmac: check ndev pointer
    eb4bb7e520a7 ASoC: qcom: lpass-cpu: fix concurrency issue
    cab19b7f827b ASoC: qcom: lpass-platform: fix memory leak
    0627ae9be941 wcn36xx: Fix reported 802.11n rx_highest rate wcn3660/wcn3680
    a3cf5b3ad12d ath10k: Fix the size used in a 'dma_free_coherent()' call in an error handling path
    9981ef0f9cfa ath9k: Fix potential out of bounds in ath9k_htc_txcompletion_cb()
    80ff60f046f4 ath6kl: prevent potential array overflow in ath6kl_add_new_sta()
    e2a1b94f7fd2 drm: panel: Fix bus format for OrtusTech COM43H4M85ULC panel
    0a5630dee31f drm/amd/display: Fix wrong return value in dm_update_plane_state()
    0d234d1135dc Bluetooth: hci_uart: Cancel init work before unregistering
    e99958ec096b drm/vkms: fix xrgb on compute crc
    0ae399b5da2a ath10k: provide survey info as accumulated data
    450d03435ca9 blk-mq: move cancel of hctx->run_work to the front of blk_exit_queue
    96bc5e4cb4c8 spi: spi-s3c64xx: Check return values
    a053db13b3e6 spi: spi-s3c64xx: swap s3c64xx_spi_set_cs() and s3c64xx_enable_datapath()
    fcf7bf406590 pinctrl: bcm: fix kconfig dependency warning when !GPIOLIB
    0120ec32a777 regulator: resolve supply after creating regulator
    cd68531d2981 media: ti-vpe: Fix a missing check and reference count leak
    5c4ffc07f92e media: stm32-dcmi: Fix a reference count leak
    a05590cc08e3 media: s5p-mfc: Fix a reference count leak
    0747ff17aa6c media: camss: Fix a reference count leak.
    28b21e02dce9 media: platform: fcp: Fix a reference count leak.
    4e954d4dea1e media: rockchip/rga: Fix a reference count leak.
    aa60f4ad0707 media: rcar-vin: Fix a reference count leak.
    55d01160af68 media: tc358743: cleanup tc358743_cec_isr
    de566409e3ad media: tc358743: initialize variable
    3c66762f0c64 media: mx2_emmaprp: Fix memleak in emmaprp_probe
    7fb271426a70 cypto: mediatek - fix leaks in mtk_desc_ring_alloc
    cc0f25040972 hwmon: (pmbus/max34440) Fix status register reads for MAX344{51,60,61}
    90e8f87c0b25 crypto: omap-sham - fix digcnt register handling with export/import
    0db26c777a25 media: rcar-csi2: Allocate v4l2_async_subdev dynamically
    7906b7a7ce1d media: rcar_drif: Allocate v4l2_async_subdev dynamically
    58e2bcb7fa43 media: rcar_drif: Fix fwnode reference leak when parsing DT
    79ec0578c7e0 media: i2c: ov5640: Enable data pins on poweron for DVP mode
    b2f8546056b3 media: i2c: ov5640: Separate out mipi configuration from s_power
    b9ccea540564 media: i2c: ov5640: Remain in power down for DVP mode unless streaming
    8409370ae02e media: omap3isp: Fix memleak in isp_probe
    79a41d2357c6 media: staging/intel-ipu3: css: Correctly reset some memory
    8bcc5c270771 media: uvcvideo: Silence shift-out-of-bounds warning
    8504250759f4 media: uvcvideo: Set media controller entity functions
    8b426d665a41 media: m5mols: Check function pointer in m5mols_sensor_power
    361a1b76b2d2 media: ov5640: Correct Bit Div register in clock tree diagram
    7052f4c5ab51 media: Revert "media: exynos4-is: Add missed check for pinctrl_lookup_state()"
    c6243d107c32 media: tuner-simple: fix regression in simple_set_radio_freq
    ac36f94d34df crypto: picoxcell - Fix potential race condition bug
    71444295839c crypto: ixp4xx - Fix the size used in a 'dma_free_coherent()' call
    3dd9ffbb6eda crypto: mediatek - Fix wrong return value in mtk_desc_ring_alloc()
    528acbf310ff crypto: algif_skcipher - EBUSY on aio should be an error
    d6623eea9abb x86/events/amd/iommu: Fix sizeof mismatch
    200f13d0d9a1 x86/nmi: Fix nmi_handle() duration miscalculation
    b257bb437dc3 perf/x86/intel/uncore: Reduce the number of CBOX counters
    e089a75b7786 perf/x86/intel/uncore: Update Ice Lake uncore units
    cfa97676cb44 sched/fair: Fix wrong cpu selecting from isolated domain
    500a98894821 drivers/perf: thunderx2_pmu: Fix memory resource error handling
    1731c693a62c drivers/perf: xgene_pmu: Fix uninitialized resource struct
    7e297c83e64d x86/fpu: Allow multiple bits in clearcpuid= parameter
    ab6bb1c1f1de perf/x86/intel/ds: Fix x86_pmu_stop warning for large PEBS
    9aee8216556e EDAC/ti: Fix handling of platform_get_irq() error
    64a9f5a30fbb EDAC/aspeed: Fix handling of platform_get_irq() error
    4d86328e42c3 EDAC/i5100: Fix error handling order in i5100_init_one()
    24543df3f491 crypto: caam/qi - add fallback for XTS with more than 8B IV
    66ec3755f791 crypto: algif_aead - Do not set MAY_BACKLOG on the async path
    68e3b25444cb ima: Don't ignore errors from crypto_shash_update()
    4a62024168c3 KVM: SVM: Initialize prev_ga_tag before use
    39ba2b6c3d11 KVM: x86/mmu: Commit zap of remaining invalid pages when recovering lpages
    413aeed19567 KVM: nVMX: Reload vmcs01 if getting vmcs12's pages fails
    f9ac2036344a KVM: nVMX: Reset the segment cache when stuffing guest segs
    a5513655cfee SMB3: Resolve data corruption of TCP server info fields
    aeaa30720d67 cifs: Return the error from crypt_message when enc/dec key not found.
    65604f3ea2f2 cifs: remove bogus debug code
    706538edacc6 ALSA: hda/realtek: Enable audio jacks of ASUS D700SA with ALC887
    5e19bf634c92 ALSA: hda/realtek - Add mute Led support for HP Elitebook 845 G7
    995a90e70429 ALSA: hda/realtek - set mic to auto detect on a HP AIO machine
    a40f49438a15 ALSA: hda/realtek - The front Mic on a HP machine doesn't work
    8df0ffe2f32c icmp: randomize the global rate limiter
    9fa95d101caf tcp: fix to update snd_wl1 in bulk receiver fast path
    c5e4e010f39e selftests: rtnetlink: load fou module for kci_test_encap_fou() test
    6f7c40767bf4 selftests: forwarding: Add missing 'rp_filter' configuration
    f93a27b0f301 r8169: fix operation under forced interrupt threading
    68db21094ee5 nfc: Ensure presence of NFC_ATTR_FIRMWARE_NAME attribute in nfc_genl_fw_download()
    2f58abe7708a nexthop: Fix performance regression in nexthop deletion
    d6d478290815 net/sched: act_tunnel_key: fix OOB write in case of IPv6 ERSPAN tunnels
    09ea22aa3681 net: Properly typecast int values to set sk_max_pacing_rate
    432336b3cf2a net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup
    62d366f8e570 net: hdlc: In hdlc_rcv, check to make sure dev is an HDLC device
    1a3c8d6acbfc net: ftgmac100: Fix Aspeed ast2600 TX hang issue
    7a6a016c5281 ibmvnic: save changed mac address to adapter->mac_addr
    416eec363622 chelsio/chtls: correct function return and return type
    15110ce6e26f chelsio/chtls: correct netdevice for vlan interface
    fe97af291fee chelsio/chtls: fix socket lock
    750e81e2dbc0 nvme-pci: disable the write zeros command for Intel 600P/P3100
    a86bf1d8b19c ALSA: hda/hdmi: fix incorrect locking in hdmi_pcm_close
    17784cec2da4 ALSA: hda: fix jack detection with Realtek codecs when in D3
    8bedcbceaaa3 ALSA: bebob: potential info leak in hwdep_read()
    401d4d79a8ed binder: fix UAF when releasing todo list
    711c0471ef17 cxgb4: handle 4-tuple PEDIT to NAT mode translation
    5f269cb9e513 r8169: fix data corruption issue on RTL8402
    c5b868eecb4f net_sched: remove a redundant goto chain check
    ba05057bd056 net/ipv4: always honour route mtu during forwarding
    46a55a44cc75 net: j1939: j1939_session_fresh_new(): fix missing initialization of skbcnt
    25bd9ea1ae5b can: j1935: j1939_tp_tx_dat_new(): fix missing initialization of skbcnt
    b0342b87cad8 can: m_can_platform: don't call m_can_class_suspend in runtime suspend
    c4099221dbc0 socket: fix option SO_TIMESTAMPING_NEW
    7d31e5722cbf tipc: fix the skb_unshare() in tipc_buf_append()
    dd3f58f499d0 net: usb: qmi_wwan: add Cellient MPL200 card
    65033e39f728 net/tls: sendfile fails with ktls offload
    926210cd8158 net/smc: fix valid DMBE buffer sizes
    cdd3c52a983e net: fix pos incrementment in ipv6_route_seq_next
    f08752a4498b net: fec: Fix PHY init after phy_reset_after_clk_enable()
    9e70485b40c8 net: fec: Fix phy_device lookup for phy_reset_after_clk_enable()
    0b41975f7b78 mlx4: handle non-napi callers to napi_poll
    3392c9d8f9aa ipv4: Restore flowi4_oif update before call to xfrm_lookup_route
    b7d2587f726a ibmveth: Identify ingress large send packets.
    b809bead48a3 ibmveth: Switch order of ibmveth_helper calls.

(From OE-Core rev: 13cc1130b778f60330534804153abef4c4833ea4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Bruce Ashfield
4d6c7dcc23 linux-yocto/5.8: update to v5.8.17
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    33156ccb29d9 Linux 5.8.17
    05981710aa5e usb: gadget: f_ncm: allow using NCM in SuperSpeed Plus gadgets.
    5a30d4a5afcc eeprom: at25: set minimum read/write access stride to 1
    d33abbe3b327 usb: cdns3: gadget: free interrupt after gadget has deleted
    5a118fc75b65 USB: cdc-wdm: Make wdm_flush() interruptible and add wdm_fsync().
    2e1905ce84a1 usb: cdc-acm: add quirk to blacklist ETAS ES58X devices
    3f7ebf3355ac usb: gadget: bcm63xx_udc: fix up the error of undeclared usb_debug_root
    3d53646d781b tty: serial: fsl_lpuart: fix lpuart32_poll_get_char
    40254b8d0f8b tty: serial: lpuart: fix lpuart32_write usage
    6a8a92d5770b s390/qeth: don't let HW override the configured port role
    941895dc705d net: korina: cast KSEG0 address to pointer in kfree
    574079593732 ath10k: check idx validity in __ath10k_htt_rx_ring_fill_n()
    f8ea12647fa6 dmaengine: dw: Activate FIFO-mode for memory peripherals only
    e106dc6c4c4d dmaengine: dw: Add DMA-channels mask cell support
    b6dead6f20e9 drm/amd/display: Screen corruption on dual displays (DP+USB-C)
    0666c173a061 scsi: ufs: ufs-qcom: Fix race conditions caused by ufs_qcom_testbus_config()
    4360db24d35a usb: core: Solve race condition in anchor cleanup functions
    19bcbc2ee12f brcm80211: fix possible memleak in brcmf_proto_msgbuf_attach
    044d8bfb9028 scsi: smartpqi: Avoid crashing kernel for controller issues
    651984d53d54 ASoC: Intel: sof_rt5682: override quirk data for tgl_max98373_rt5682
    85f1ad8c8644 ASoC: SOF: Add topology filename override based on dmi data match
    54e4b6262ca7 ALSA: hda/ca0132 - Add new quirk ID for SoundBlaster AE-7.
    4597e6f214c1 ALSA: hda/ca0132 - Add AE-7 microphone selection commands.
    5fa4faf96e44 mwifiex: don't call del_timer_sync() on uninitialized timer
    047a51bba8dc s390/qeth: strictly order bridge address events
    a527bf9df3af reiserfs: Fix memory leak in reiserfs_parse_options()
    72720eaa6c33 ipvs: Fix uninit-value in do_ip_vs_set_ctl()
    2e2b67844504 Bluetooth: btusb: Fix memleak in btusb_mtk_submit_wmt_recv_urb
    97811d992adb tty: ipwireless: fix error handling
    ffe1b711045f fbmem: add margin check to fb_check_caps()
    98d29fc2c451 scsi: qedi: Fix list_del corruption while removing active I/O
    ee3fc1103a40 scsi: qedi: Protect active command list to avoid list corruption
    5bbd0a791b7c scsi: qedi: Mark all connections for recovery on link down event
    95d42ebebc2c scsi: qedf: Return SUCCESS if stale rport is encountered
    3f07687e959e HID: ite: Add USB id match for Acer One S1003 keyboard dock
    0c1943f203c2 Fix use after free in get_capset_info callback.
    4d779accb71b rtl8xxxu: prevent potential memory leak
    437ee0e6c677 brcmsmac: fix memory leak in wlc_phy_attach_lcnphy
    445359b32632 selftests/bpf: Fix test_sysctl_loop{1, 2} failure due to clang change
    5ecc5ea6e1a7 scsi: qla2xxx: Warn if done() or free() are called on an already freed srb
    d6447b6646ef scsi: ibmvfc: Fix error return in ibmvfc_probe()
    458a89fa9015 iomap: fix WARN_ON_ONCE() from unprivileged users
    e653923ad7f1 drm/msm/a6xx: fix a potential overflow issue
    1d8181746a36 Bluetooth: Only mark socket zapped after unlocking
    76925b9ea722 drm: fix double free for gbo in drm_gem_vram_init and drm_gem_vram_create
    c64d4179f8ae usb: ohci: Default to per-port over-current protection
    0c0476d096d6 xfs: make sure the rt allocator doesn't run off the end
    0c35ab58c587 opp: Prevent memory leak in dev_pm_opp_attach_genpd()
    c31de74b342a reiserfs: only call unlock_new_inode() if I_NEW
    af90d9faf01a misc: rtsx: Fix memory leak in rtsx_pci_probe
    7a40d2814425 bpf: Limit caller's stack depth 256 for subprogs with tailcalls
    cc618717afdd drm/panfrost: add support for vendor quirk
    c246a3325c75 drm/panfrost: add amlogic reset quirk callback
    8159f330f25e drm/panfrost: add Amlogic GPU integration quirks
    7f5972267295 ath9k: hif_usb: fix race condition between usb_get_urb() and usb_kill_anchored_urbs()
    8951e760c038 HID: multitouch: Lenovo X1 Tablet Gen3 trackpoint and buttons
    3eb0b62e57c3 can: flexcan: flexcan_chip_stop(): add error handling and propagate error value
    5d2dd06ad8db habanalabs: cast to u64 before shift > 31 bits
    375d81cf16bb usb: dwc3: simple: add support for Hikey 970
    c373f8d5098f USB: cdc-acm: handle broken union descriptors
    739048988f1b rtw88: increse the size of rx buffer size
    eacaacfe8bd0 udf: Avoid accessing uninitialized data on failed inode read
    9a3d398af87d udf: Limit sparing table size
    6a71fc5ca9f5 rtw88: pci: Power cycle device during shutdown
    34f026263889 usb: gadget: function: printer: fix use-after-free in __lock_acquire
    b9c15de08dfd usb: dwc3: Add splitdisable quirk for Hisilicon Kirin Soc
    e7eec8654168 misc: vop: add round_up(x,4) for vring_size to avoid kernel panic
    226b5887720b mic: vop: copy data to kernel space then write to io memory
    f96fba04992c scsi: target: core: Add CONTROL field for trace events
    d805c83716ef scsi: mvumi: Fix error return in mvumi_io_attach()
    9f1960911919 PM: hibernate: remove the bogus call to get_gendisk() in software_resume()
    6cc0a248bcfa bpf: Use raw_spin_trylock() for pcpu_freelist_push/pop in NMI
    6afdaf29e4c2 libbpf: Close map fd if init map slots failed
    e1ec1c25b00e staging: wfx: fix handling of MMIC error
    858c56fa3741 mac80211: handle lack of sband->bitrates in rates
    148c3d23858d ip_gre: set dev->hard_header_len and dev->needed_headroom properly
    ec23aa8bb0e5 ntfs: add check for mft record size in superblock
    d5772580c109 media: venus: core: Fix runtime PM imbalance in venus_probe
    6ed15eebcb61 media: venus: core: Fix error handling in probe
    91cde7d5aa17 fs: dlm: fix configfs memory leak
    24f924dbf640 media: venus: fixes for list corruption
    6e5fdad5c10f media: atomisp: fix memleak in ia_css_stream_create
    93b6de835777 media: saa7134: avoid a shift overflow
    c0f64a9057e3 mmc: sdio: Check for CISTPL_VERS_1 buffer size
    60e8d95f72b5 media: uvcvideo: Ensure all probed info is returned to v4l2
    5b66aa6f52a1 x86/mce: Make mce_rdmsrl() panic on an inaccessible MSR
    9300f536c77e spi: fsi: Fix clock running too fast
    75d927fc5587 crypto: hisilicon - fixed memory allocation error
    cde267085992 x86/mce: Annotate mce_rd/wrmsrl() with noinstr
    71b3d6794ae7 media: media/pci: prevent memory leak in bttv_probe
    e4f08676d93c media: bdisp: Fix runtime PM imbalance on error
    bad248c1ec53 media: platform: sti: hva: Fix runtime PM imbalance on error
    59eb92867e9c media: platform: s3c-camif: Fix runtime PM imbalance on error
    9fa2286f1925 media: vsp1: Fix runtime PM imbalance on error
    2341407a05ea media: exynos4-is: Fix a reference count leak
    dcc6fbbab0dc media: exynos4-is: Fix a reference count leak due to pm_runtime_get_sync
    e7997018b45d media: exynos4-is: Fix several reference count leaks due to pm_runtime_get_sync
    30f5c4e91d14 media: sti: Fix reference count leaks
    236117a8bf3a media: st-delta: Fix reference count leak in delta_run_work
    fe8798e78292 media: ati_remote: sanity check for both endpoints
    49e06f165b9c media: firewire: fix memory leak
    ba3c07c18034 x86/mce: Add Skylake quirk for patrol scrub reported errors
    8336a00a5f4d x86/asm: Replace __force_order with a memory clobber
    5056a1b3f6fb crypto: ccp - fix error handling
    121ce5e30b64 x86/dumpstack: Fix misleading instruction pointer error message
    6337db2af4d1 block: ratelimit handle_bad_sector() message
    4c4b1a29c3d0 md/bitmap: fix memory leak of temporary bitmap
    44a58dd22c28 i2c: core: Restore acpi_walk_dep_device_list() getting called after registering the ACPI i2c devs
    c1c4b2d0dee1 perf: correct SNOOPX field offset
    c93a8cddf4d2 sched/features: Fix !CONFIG_JUMP_LABEL case
    62bb6c5a3cee ntb: intel: Fix memleak in intel_ntb_pci_probe
    06a3b0080eaa NTB: hw: amd: fix an issue about leak system resources
    990c91c323f3 KVM: ioapic: break infinite recursion on lazy EOI
    959d1d42f0b6 nvmet: fix uninitialized work for zero kato
    05eb719ac46a powerpc/pseries: Avoid using addr_to_pfn in real mode
    1eb1f681057b powerpc/powernv/dump: Fix race while processing OPAL dump
    cd85f97e424b lightnvm: fix out-of-bounds write to array devices->info[]
    bd396a2c1bc9 ARM: dts: meson8: remove two invalid interrupt lines from the GPU node
    68d2900fc0c8 arm64: dts: zynqmp: Remove additional compatible string for i2c IPs
    e1f385dfa255 drm/mediatek: reduce clear event
    632bf6c3b82b soc: mediatek: cmdq: add clear option in cmdq_pkt_wfe api
    fab5aff89c9e ARM: dts: iwg20d-q7-common: Fix touch controller probe failure
    a0b4366823d9 ARM: dts: stm32: Fix DH PDK2 display PWM channel
    abb56e08ed1d ARM: dts: stm32: Swap PHY reset GPIO and TSC2004 IRQ on DHCOM SOM
    937a5596d619 ARM: dts: stm32: Move ethernet PHY into DH SoM DT
    2e7e56a6af3f ARM: dts: stm32: lxa-mc1: Fix kernel warning about PHY delays
    f80f23f39e6b ARM: dts: stm32: Fix sdmmc2 pins on AV96
    1925f1fdf9a6 ARM: OMAP2+: Restore MPU power domain if cpu_cluster_pm_enter() fails
    fdb6b483eaaf soc: fsl: qbman: Fix return value on success
    342c29116aae ARM: dts: owl-s500: Fix incorrect PPI interrupt specifiers
    52c37b7f0e04 arm64: dts: actions: limit address range for pinctrl node
    251ab5b1f8e8 arm64: dts: mt8173: elm: Fix nor_flash node property
    6e4cd77c0235 arm64: dts: renesas: r8a774c0: Fix MSIOF1 DMA channels
    5c91fc9a6d16 arm64: dts: renesas: r8a77990: Fix MSIOF1 DMA channels
    70ca9a567129 dt-bindings: crypto: Specify that allwinner, sun8i-a33-crypto needs reset
    10c78d0a1a2f soc: qcom: apr: Fixup the error displayed on lookup failure
    e8bd4ce4e877 arm64: dts: qcom: msm8916: Fix MDP/DSI interrupts
    26a8ac2d6512 arm64: dts: qcom: pm8916: Remove invalid reg size from wcd_codec
    6747001ebcb5 arm64: dts: qcom: msm8916: Remove one more thermal trip point unit name
    64ca77e846b0 soc: qcom: pdr: Fixup array type of get_domain_list_resp message
    3ca890f0e5d2 arm64: dts: qcom: sc7180: Drop flags on mdss irqs
    d9aa6534e78b arm64: dts: imx8mq: Add missing interrupts to GPC
    6395b7702156 firmware: arm_scmi: Fix NULL pointer dereference in mailbox_chan_free
    afcd57ad541b memory: fsl-corenet-cf: Fix handling of platform_get_irq() error
    244c3ac190e3 arm64: dts: qcom: sc7180: Fix the LLCC base register size
    fe5a0679f7e7 memory: omap-gpmc: Fix build error without CONFIG_OF
    d69ca7a7dfa9 memory: omap-gpmc: Fix a couple off by ones
    cc0820957d0f arm64: dts: allwinner: h5: remove Mali GPU PMU module
    4f9e6b1be196 ARM: dts: sun8i: r40: bananapi-m2-ultra: Fix dcdc1 regulator
    9a3eb126861f ARM: s3c24xx: fix mmc gpio lookup tables
    ea25940ff19f ARM: at91: pm: of_node_put() after its usage
    ba11877a60f2 ARM: dts: imx6sl: fix rng node
    2c9966436d0e arm64: dts: meson: vim3: correct led polarity
    23e1e4451190 soc: xilinx: Fix error code in zynqmp_pm_probe()
    29e043f9016c netfilter: nf_fwd_netdev: clear timestamp in forwarding path
    735b4d75a1c7 netsec: ignore 'phy-mode' device property on ACPI systems
    51ba2945a8ef netfilter: ebtables: Fixes dropping of small packets in bridge nat
    ceb1eb6cbeaf netfilter: conntrack: connection timeout after re-register
    9dd95e294542 arm64: mm: use single quantity to represent the PA to VA translation
    4a0b1d0e70ac scsi: bfa: Fix error return in bfad_pci_init()
    bdde093c81f2 KVM: x86: emulating RDPID failure shall return #UD rather than #GP
    029525c89bf1 Input: sun4i-ps2 - fix handling of platform_get_irq() error
    e186019ad86f Input: twl4030_keypad - fix handling of platform_get_irq() error
    86f11d554a8c Input: omap4-keypad - fix handling of platform_get_irq() error
    d96fc374d241 Input: ep93xx_keypad - fix handling of platform_get_irq() error
    9b9746342d52 Input: stmfts - fix a & vs && typo
    0a721220eada Input: imx6ul_tsc - clean up some errors in imx6ul_tsc_resume()
    61b00bdcd281 Input: elants_i2c - fix typo for an attribute to show calibration count
    f81bd7468e3a platform/chrome: cros_ec_lightbar: Reduce ligthbar get version command
    565697e82267 SUNRPC: fix copying of multiple pages in gss_read_proxy_verf()
    f9fc8ae508e6 clk: imx8mq: Fix usdhc parents order
    7564d5bb2b11 vfio iommu type1: Fix memory leak in vfio_iommu_type1_pin_pages
    4f9ece8b888f vfio/pci: Clear token on bypass registration failure
    6d0590647b75 ext4: limit entries returned when counting fsmap records
    9ede401a6d21 ext4: disallow modifying DAX inode flag if inline_data has been set
    1da9c8a1784b ext4: discard preallocations before releasing group lock
    9cb6c6db999e ext4: fix dead loop in ext4_mb_new_blocks
    e38a4885c98f svcrdma: fix bounce buffers for unaligned offsets and multiple pages
    e8e81bf91992 watchdog: sp5100: Fix definition of EFCH_PM_DECODEEN3
    c3228ef8f8a3 watchdog: Use put_device on error
    f12e9c2f9708 watchdog: Fix memleak in watchdog_cdev_register
    e70232457bf1 kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n
    9f94507374a3 clk: bcm2835: add missing release if devm_clk_hw_register fails
    2290bfef3bbe clk: at91: clk-main: update key before writing AT91_CKGR_MOR
    963fc20cf561 module: statically initialize init section freeing data
    28270e928bae clk: mediatek: add UART0 clock support
    cab8d1bde580 clk: rockchip: Initialize hw to error to avoid undefined behavior
    b6bd62dc59e7 PCI: hv: Fix hibernation in case interrupts are not re-created
    83cf3166bd72 remoteproc/mediatek: fix null pointer dereference on null scp pointer
    1642d9e7095c pwm: img: Fix null pointer access in probe
    8db3dfe46548 pwm: rockchip: Keep enabled PWMs running while probing
    ec87b61ac31a clk: keystone: sci-clk: fix parsing assigned-clock data during probe
    2e415af55c34 clk: qcom: gcc-sdm660: Fix wrong parent_map
    ed4ce310b712 vfio/type1: fix dirty bitmap calculation in vfio_dma_rw
    01bec5d78c05 vfio: fix a missed vfio group put in vfio_pin_pages
    a1e9faa0d7c5 vfio/pci: Decouple PCI_COMMAND_MEMORY bit checks from is_virtfn
    0cdb91a009fa s390/pci: Mark all VFs as not implementing PCI_COMMAND_MEMORY
    b40bd0d87d1a vfio: add a singleton check for vfio_group_pin_pages
    7e4f15f7c99b PCI/IOV: Mark VFs as not implementing PCI_COMMAND_MEMORY
    167b37558b7f rpmsg: Avoid double-free in mtk_rpmsg_register_device
    ce43542b46a5 rpmsg: smd: Fix a kobj leak in in qcom_smd_parse_edge()
    edd546b3222f PCI: iproc: Set affinity mask on MSI interrupts
    c1e465c1a4dc PCI: aardvark: Check for errors from pci_bridge_emul_init() call
    48cc5b57cc46 PCI: aardvark: Fix compilation on s390
    50c4627222c2 PCI: designware-ep: Fix the Header Type check
    4f515d03d4f9 clk: meson: g12a: mark fclk_div2 as critical
    66a5d399702c i2c: rcar: Auto select RESET_CONTROLLER
    d39ced9254b6 rtc: ds1307: Clear OSF flag on DS1388 when setting time
    5e2918d95f79 clk: meson: axg-audio: separate axg and g12a regmap tables
    0d921fec7e59 mailbox: avoid timer start from callback
    efa544eda19e rapidio: fix the missed put_device() for rio_mport_add_riodev
    8838ee6189c3 rapidio: fix error handling path
    0a80f93ccd61 ramfs: fix nommu mmap with gaps in the page cache
    8cc3277e8e28 lib/crc32.c: fix trivial typo in preprocessor condition
    546f36709441 mm/page_owner: change split_page_owner to take a count
    99d1a5c21305 RDMA/rxe: Handle skb_clone() failure in rxe_recv.c
    ab5faad5bd33 afs: Fix cell removal
    0b6392c7ad1d afs: Fix cell purging with aliases
    e44b8d2aa154 afs: Fix cell refcounting by splitting the usage counter
    45045b6253e9 afs: Fix rapid cell addition/removal by not using RCU on cells tree
    1ad93f42c484 f2fs: wait for sysfs kobject removal before freeing f2fs_sb_info
    a08401b32a3a selftests/powerpc: Fix eeh-basic.sh exit codes
    bb24e3cb31cd perf trace: Fix off by ones in memset() after realloc() in arches using libaudit
    c6a8b7714cd7 maiblox: mediatek: Fix handling of platform_get_irq() error
    66f6ea1e0ed3 um: time-travel: Fix IRQ handling in time_travel_handle_message()
    e3ee6ff237eb um: vector: Use GFP_ATOMIC under spin lock
    fe4b4e47125d f2fs: reject CASEFOLD inode flag without casefold feature
    982f2438ac82 RDMA/rxe: Fix skb lifetime in rxe_rcv_mcast_pkt()
    1407e22fb4ca IB/rdmavt: Fix sizeof mismatch
    aae2a43ace26 cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_reboot_notifier
    a2b19fdbf29b powerpc/papr_scm: Add PAPR command family to pass-through command-set
    0e486cc3f8a2 i3c: master: Fix error return in cdns_i3c_master_probe()
    69a4718cb2bc perf stat: Fix out of bounds CPU map access when handling armv8_pmu events
    a4682cb94495 powerpc/perf/hv-gpci: Fix starting index value
    8d1d0dfb9df8 powerpc/perf: Exclude pmc5/6 from the irrelevant PMU group constraints
    bef320194790 powerpc/64: fix irq replay pt_regs->softe value
    281c47bcad03 powerpc/64: fix irq replay missing preempt
    938e97b946ec RDMA/ipoib: Set rtnl_link_ops for ipoib interfaces
    ea879d9c818e overflow: Include header file with SIZE_MAX declaration
    1519018b8c89 kdb: Fix pager search for multi-line strings
    473fb9250371 mtd: rawnand: ams-delta: Fix non-OF build warning
    dfc293422070 mtd: spinand: gigadevice: Add QE Bit
    ab0328ef3f83 mtd: spinand: gigadevice: Only one dummy byte in QUADIO
    86cb4ae61b64 mtd: rawnand: vf610: disable clk on error handling path in probe
    fbb2d15c177f mtd: rawnand: stm32_fmc2: fix a buffer overflow
    86e185a733a8 mtd: hyperbus: hbmc-am654: Fix direct mapping setup flash access
    3b5f3adce906 RDMA/hns: Fix missing sq_sig_type when querying QP
    69accfaa1033 RDMA/hns: Fix configuration of ack_req_freq in QPC
    d56447a8cdbb RDMA/hns: Fix the wrong value of rnr_retry when querying qp
    42ae1aebaaac RDMA/hns: Solve the overflow of the calc_pg_sz()
    5c80a3655565 RDMA/hns: Add check for the validity of sl configuration
    939faf121632 perf stat: Skip duration_time in setup_system_wide
    45397023c8c2 i40iw: Add support to make destroy QP synchronous
    fd8da32da3ee RDMA/mlx5: Disable IB_DEVICE_MEM_MGT_EXTENSIONS if IB_WR_REG_MR can't work
    7486a981eb88 RDMA/mlx5: Make mkeys always owned by the kernel's PD when not enabled
    af393dd73c14 RDMA/mlx5: Use set_mkc_access_pd_addr_fields() in reg_create()
    27ca3de942d1 RDMA/hns: Set the unsupported wr opcode
    dc8b27028c1c RDMA/qedr: Fix resource leak in qedr_create_qp
    be825f704b2f perf intel-pt: Fix "context_switch event has no tid" error
    b8d1adbff983 RDMA/cma: Fix use after free race in roce multicast join
    9ef5b6658d6b RDMA/cma: Consolidate the destruction of a cma_multicast in one place
    e3b942c76b24 RDMA/cma: Remove dead code for kernel rdmacm multicast
    7d31a74bcc01 RDMA/cma: Combine cma_ndev_work with cma_work
    d1926d0b50f5 powerpc/64s/radix: Fix mm_cpumask trimming race vs kthread_use_mm
    95219c4004fd powerpc/kasan: Fix CONFIG_KASAN_VMALLOC for 8xx
    ebeafdd0f221 powerpc/tau: Disable TAU between measurements
    19d39d5d682a powerpc/tau: Check processor type before enabling TAU interrupt
    c348ab2f7276 powerpc/tau: Remove duplicated set_thresholds() call
    b61bb0da35fc powerpc/tau: Convert from timer to workqueue
    d7f12e732190 powerpc/tau: Use appropriate temperature sample interval
    1c441d9aef74 powerpc/book3s64/hash/4k: Support large linear mapping range with 4K
    990cf02eb297 powerpc/watchpoint: Add hw_len wherever missing
    0fea340b870f powerpc/watchpoint: Fix handling of vector instructions
    b99d4986bc69 powerpc/watchpoint: Fix quadword instruction handling on p10 predecessors
    6f64ff9f30d1 powerpc/pseries/svm: Allocate SWIOTLB buffer anywhere in memory
    049ab4efdf9a RDMA/qedr: Fix inline size returned for iWARP
    b1010144c1eb RDMA/qedr: Fix return code if accept is called on a destroyed qp
    b3939bfc71ec RDMA/qedr: Fix use of uninitialized field
    fbe513321c49 RDMA/qedr: Fix doorbell setting
    e947bbb26f70 RDMA/qedr: Fix qp structure memory leak
    10200a0a5d3a RDMA/umem: Prevent small pages from being returned by ib_umem_find_best_pgsz()
    59f07434b297 RDMA/umem: Fix ib_umem_find_best_pgsz() for mappings that cross a page boundary
    7ac277a01f90 RDMA: Allow fail of destroy CQ
    7802648c1dad RDMA/core: Delete function indirection for alloc/free kernel CQ
    4a8e9dbc7fde RDMA/rtrs-srv: Incorporate ib_register_client into rtrs server init
    929cdbcce02f xfs: fix high key handling in the rt allocator's query_range function
    a6d831917953 nfs: add missing "posix" local_lock constant table definition
    6a5757946685 xfs: fix deadlock and streamline xfs_getfsmap performance
    29eedbf9e39d xfs: limit entries returned when counting fsmap records
    c32adb866dac ida: Free allocated bitmap in error path
    1e84d2a5c113 arc: plat-hsdk: fix kconfig dependency warning when !RESET_CONTROLLER
    bdb0da4659e3 m68knommu: include SDHC support only when hardware has it
    01d89b4a82a4 xfs: fix finobt btree block recovery ordering
    c85d7a847227 ARM: 9007/1: l2c: fix prefetch bits init in L2X0_AUX_CTRL using DT values
    93a6c893c4d6 tools feature: Add missing -lzstd to the fast path feature detection
    26b8aa1bec47 perf tools: Make GTK2 support opt-in
    a3872e54738b mtd: mtdoops: Don't write panic data twice
    0081545c66c1 RDMA/mlx5: Fix potential race between destroy and CQE poll
    2c9da663c149 pseries/drmem: don't cache node id in drmem_lmb struct
    b1cf3e9298de powerpc/pseries: explicitly reschedule during drmem_lmb list traversal
    78805c0d14f5 RDMA/umem: Fix signature of stub ib_umem_find_best_pgsz()
    9f101b8ad2fa RDMA/hns: Add a check for current state before modifying QP
    e91945de1531 mtd: lpddr: fix excessive stack usage with clang
    33c6484d377e RDMA/ucma: Add missing locking around rdma_leave_multicast()
    191627ddc46f RDMA/ucma: Fix locking for ctx->events_reported
    582da8e19991 rcutorture: Properly set rcu_fwds for OOM handling
    11539276e399 rcu/tree: Force quiescent state on callback overload
    3aee0ca521f0 powerpc/icp-hv: Fix missing of_node_put() in success path
    cc86827cef62 powerpc/pseries: Fix missing of_node_put() in rng_init()
    bcbeec5a9a19 IB/mlx4: Adjust delayed work when a dup is observed
    f735c10a4731 IB/mlx4: Fix starvation in paravirt mux/demux
    c5e25cf59765 i3c: master add i3c_master_attach_boardinfo to preserve boardinfo
    549642f490d2 tracing: Handle synthetic event array field type checking correctly
    826adb405a53 selftests/ftrace: Change synthetic event name for inter-event-combined test
    3b82bd94e0ec fs: fix NULL dereference due to data race in prepend_path()
    7871c282d292 mm, oom_adj: don't loop through tasks in __set_oom_adj when not necessary
    349fc836d5d1 mm/memcg: fix device private memcg accounting
    b9e60476c04f mm/swapfile.c: fix potential memory leak in sys_swapon
    43edc7232737 netfilter: nf_log: missing vlan offload tag and proto
    ebd09f1ad811 net: korina: fix kfree of rx/tx descriptor array
    733dcb4149ff bpf, sockmap: Remove skb_orphan and let normal skb_kfree do cleanup
    4cdfe55c067b ipvs: clear skb->tstamp in forwarding path
    2566242742c9 drm/panfrost: increase readl_relaxed_poll_timeout values
    87ea06ea9f8d mwifiex: fix double free
    a0f38fd8303e platform/x86: mlx-platform: Remove PSU EEPROM configuration
    455ecbd43d3a tracing: Fix parse_synth_field() error handling
    4372729d5201 ipmi_si: Fix wrong return value in try_smi_init()
    caa0fa6b36ca dmaengine: ioat: Allocate correct size for descriptor chunk
    3cdf3cbc3b48 scsi: be2iscsi: Fix a theoretical leak in beiscsi_create_eqs()
    4c35763fbb0c scsi: target: tcmu: Fix warning: 'page' may be used uninitialized
    03504f955527 usb: dwc2: Fix INTR OUT transfers in DDMA mode.
    0ff11535a204 nl80211: fix non-split wiphy information
    cff51e84cb83 ocxl: fix kconfig dependency warning for OCXL
    4a87896b4e91 bus: mhi: core: Fix the building of MHI module
    e44e0bea8b7b usb: gadget: u_ether: enable qmult on SuperSpeed Plus as well
    665ed7027a67 usb: gadget: u_serial: clear suspended flag when disconnecting
    ec69e8c7686b usb: gadget: f_ncm: fix ncm_bitrate for SuperSpeed and above.
    da0922d0f8b5 iwlwifi: dbg: run init_cfg function once per driver load
    2b021c85c224 iwlwifi: dbg: remove no filter condition
    be0f631711f9 iwlwifi: mvm: split a print to avoid a WARNING in ROC
    d97c35bd05dd ASoC: wm_adsp: Pass full name to snd_ctl_notify
    1ab21ba36a84 mfd: sm501: Fix leaks in probe()
    2eb24b3bf835 net: enic: Cure the enic api locking trainwreck
    cd29df4df421 iio: adc: stm32-adc: fix runtime autosuspend delay when slow polling
    5975fa6e0519 iommu/qcom: add missing put_device() call in qcom_iommu_of_xlate()
    a13766e01768 pinctrl: aspeed: Use the right pinconf mask
    a30a515f2773 qtnfmac: fix resource leaks on unsupported iftype error return path
    148a2543ca50 selftests: Remove fmod_ret from test_overhead
    c2ebc88260ff bpf: disallow attaching modify_return tracing functions to other BPF programs
    7c37b28e0b37 ibmvnic: set up 200GBPS speed
    4829beb0ce79 coresight: etm4x: Fix save and restore of TRCVMIDCCTLR1 register
    ccc73e031de6 coresight: cti: Fix bug clearing sysfs links on callback
    79589b73fb25 coresight: cti: Fix remove sysfs link error
    9d645e979fdf coresight: etm: perf: Fix warning caused by etm_setup_aux failure
    4d3adf453eec iomap: Use kzalloc to allocate iomap_page
    f5758f108b61 nl80211: fix OBSS PD min and max offset validation
    b6ca9ea12055 hv: clocksource: Add notrace attribute to read_hv_sched_clock_*() functions
    70f1f999e24d nvmem: core: fix possibly memleak when use nvmem_cell_info_to_nvmem_cell()
    b21749762534 tty: hvc: fix link error with CONFIG_SERIAL_CORE_CONSOLE=n
    f4e52bc14c84 HID: hid-input: fix stylus battery reporting
    aba2ee9e7425 ASoC: fsl_sai: Instantiate snd_soc_dai_driver
    184c5e17b926 slimbus: qcom-ngd-ctrl: disable ngd in qmi server down callback
    caf464017965 slimbus: core: do not enter to clock pause mode in core
    4d11ab5f0904 slimbus: core: check get_addr before removing laddr ida
    9da861400bfd quota: clear padding in v2r1_mem2diskdqb()
    3efc30bcd162 mt76: mt7915: fix possible memory leak in mt7915_mcu_add_beacon
    6f0f3ad5a602 rtw88: Fix potential probe error handling race with wow firmware loading
    762f48374c26 rtw88: Fix probe error handling race with firmware loading
    e611c92ab330 usb: dwc2: Add missing cleanups when usb_add_gadget_udc() fails
    f9a314f5aa59 usb: dwc3: core: Properly default unspecified speed
    0cf8eb3b9858 usb: dwc2: Fix parameter type in function pointer prototype
    21b7dcfbf378 ALSA: seq: oss: Avoid mutex lock for a long-time ioctl
    a0229d675455 misc: mic: scif: Fix error handling path
    3eb24fb8582c ASoC: cros_ec_codec: fix kconfig dependency warning for SND_SOC_CROS_EC_CODEC
    ed848b21eb91 dmaengine: dmatest: Check list for emptiness before access its last entry
    2dbfe8f6b97c phy: rockchip-dphy-rx0: Include linux/delay.h
    e43acbf29d76 drm: rcar-du: Put reference to VSP device
    0e8f4263125f ath6kl: wmi: prevent a shift wrapping bug in ath6kl_wmi_delete_pstream_cmd()
    5569ffd9e497 ath11k: Add checked value for ath11k_ahb_remove
    ec71c634dcbd spi: omap2-mcspi: Improve performance waiting for CHSTAT
    c00cdd1b966a ASoC: tas2770: Fix unbalanced calls to pm_runtime
    46701b00ed9d ASoC: SOF: control: add size checks for ext_bytes control .put()
    e06a18b78b43 net: dsa: rtl8366rb: Support all 4096 VLANs
    a8091e02962a ASoC: tlv320aic32x4: Fix bdiv clock rate derivation
    63ed07138636 ASoC: tas2770: Fix error handling with update_bits
    6ce4b0c4f3d5 ASoC: tas2770: Fix required DT properties in the code
    92cc64394bc9 ASoC: tas2770: Add missing bias level power states
    304c38230dfd ASoC: tas2770: Fix calling reset in probe
    da374cb21045 net: wilc1000: clean up resource in error path of init mon interface
    a74a1c39af96 net: dsa: rtl8366: Skip PVID setting if not requested
    b8d304cdf951 net: dsa: rtl8366: Refactor VLAN/PVID init
    6aa894ff3372 net: dsa: rtl8366: Check validity of passed VLANs
    701c56f56837 xhci: don't create endpoint debugfs entry before ring buffer is set.
    98d66a3bb9c0 selftests/bpf: Fix endianness issue in test_sockopt_sk
    f130c8a0eeac selftests/bpf: Fix endianness issue in sk_assign
    a1aff5c4417e selftests: mptcp: interpret \n as a new line
    6c87ffcb2bff nvmem: core: fix missing of_node_put() in of_nvmem_device_get()
    3a0f17922776 coresight: etm4x: Fix issues on trcseqevr access
    0c97523e87a8 coresight: etm4x: Handle unreachable sink in perf mode
    abea9d776fe9 coresight: cti: Write regsiters directly in cti_enable_hw()
    3857796b8b49 coresight: etm4x: Fix issues within reset interface of sysfs
    efd00a5ed569 coresight: etm4x: Ensure default perf settings filter user/kernel
    435fd705a501 coresight: cti: remove pm_runtime_get_sync() from CPU hotplug
    0d0d70e1b1da coresight: cti: disclaim device only when it's claimed
    9fe394b41ba6 coresight: fix offset by one error in counting ports
    3c5c980ece55 coresight: etm4x: Fix etm4_count race by moving cpuhp callbacks to init
    8f319155ef51 ASoC: tlv320adcx140: Fix digital gain range
    7d3dcc5d26e1 ASoC: topology: disable size checks for bytes_ext controls if needed
    4a4778394419 ima: Fix NULL pointer dereference in ima_file_hash
    453ed3d7f990 drm: mxsfb: check framebuffer pitch
    dec5fabe7202 cpufreq: armada-37xx: Add missing MODULE_DEVICE_TABLE
    f3ceea270494 xfs: force the log after remapping a synchronous-writes file
    5e78a6fe2d85 net: stmmac: use netif_tx_start|stop_all_queues() function
    be17fb81e944 net: stmmac: Fix incorrect location to set real_num_rx|tx_queues
    f817cdd6d1fd scsi: mpt3sas: Fix sync irqs
    3c33f586d090 net/mlx5: Don't call timecounter cyc2time directly from 1PPS flow
    9ba9292375df net/mlx5: Fix uninitialized variable warning
    b60c22ea6623 drm/msm/adreno: fix probe without iommu
    37c857ec136c pinctrl: devicetree: Keep deferring even on timeout
    151d4913e81e pinctrl: mcp23s08: Fix mcp23x17 precious range
    bbcbd596e676 pinctrl: mcp23s08: Fix mcp23x17_regmap initialiser
    dc7285e0f1f8 Bluetooth: Re-order clearing suspend tasks
    8141ec5a8f5a selftests/lkdtm: Use "comm" instead of "diff" for dmesg
    7c38731efb2f iomap: Mark read blocks uptodate in write_begin
    d69930b3ec0b iomap: Clear page error before beginning a write
    039ee8a6363d drm/panfrost: Ensure GPU quirks are always initialised
    dc48ca171bdc drm/msm: Avoid div-by-zero in dpu_crtc_atomic_check()
    b7d539816d06 HID: roccat: add bounds checking in kone_sysfs_write_settings()
    25529f1f6003 scsi: ufs: ufs-mediatek: Fix HOST_PA_TACTIVATE quirk
    8c230b3b3668 ASoC: fsl: imx-es8328: add missing put_device() call in imx_es8328_probe()
    7a702a885270 video: fbdev: radeon: Fix memleak in radeonfb_pci_register
    53d19f4bb131 video: fbdev: sis: fix null ptr dereference
    33b1e23741cb video: fbdev: vga16fb: fix setting of pixclock because a pass-by-value error
    d92db965ef66 ath11k: fix a double free and a memory leak
    c7072eda4093 drivers/virt/fsl_hypervisor: Fix error handling path
    38b319133226 pwm: lpss: Add range limit check for the base_unit register value
    25eb525f5bf9 pwm: lpss: Fix off by one error in base_unit math in pwm_lpss_prepare()
    04e819b2f765 pty: do tty_flip_buffer_push without port->lock in pty_write
    2e92899228ae tty: hvcs: Don't NULL tty->driver_data until hvcs_cleanup()
    45f20b6066c3 tty: serial: earlycon dependency
    5ec7b8a3b6e7 binder: Remove bogus warning on failed same-process transaction
    4f40c79cbe72 scsi: ufs: Make ufshcd_print_trs() consider UFSHCD_QUIRK_PRDT_BYTE_GRAN
    6852678afe96 selftests: vm: add fragment CONFIG_GUP_BENCHMARK
    e9f1340193b5 Bluetooth: Clear suspend tasks on unregister
    7a15bd2bae85 drm/crc-debugfs: Fix memleak in crc_control_write
    91c8e9e18580 samples/bpf: Fix to xdpsock to avoid recycling frames
    88b34c076be3 drm: panel: Fix bpc for OrtusTech COM43H4M85ULC panel
    71782955ade1 mm/error_inject: Fix allow_error_inject function signatures.
    9c5e9f50572e VMCI: check return value of get_user_pages_fast() for errors
    2e1356e81edd staging: emxx_udc: Fix passing of NULL to dma_alloc_coherent()
    ad5c72b65770 backlight: sky81452-backlight: Fix refcount imbalance on error
    39d464cdfe30 rtw88: don't treat NULL pointer as an array
    8976b0bf6d8b wilc1000: Fix memleak in wilc_bus_probe
    93feab00afca wilc1000: Fix memleak in wilc_sdio_probe
    2b87f9ce106e libbpf: Fix unintentional success return code in bpf_object__load
    6ff694ac40b9 scsi: csiostor: Fix wrong return value in csio_hw_prep_fw()
    d646554479f3 scsi: qla2xxx: Fix wrong return value in qla_nvme_register_hba()
    7e26ebb1a9d2 scsi: qla2xxx: Fix wrong return value in qlt_chk_unresolv_exchg()
    d1bfd5d44f4b scsi: qla2xxx: Fix the size used in a 'dma_free_coherent()' call
    66deb6aebe10 scsi: qla4xxx: Fix an error handling path in 'qla4xxx_get_host_stats()'
    34b42a17b99f drm/gma500: fix error check
    1b8b0d839d1b selftests/bpf: Fix test_vmlinux test to use bpf_probe_read_user()
    8135d168d84c drm/amd/display: fix potential integer overflow when shifting 32 bit variable bl_pwm
    c2f41d9b1d53 staging: rtl8192u: Do not use GFP_KERNEL in atomic context
    9959c2031233 mwifiex: Do not use GFP_KERNEL in atomic context
    027b25d74ffb brcmfmac: check ndev pointer
    e9e2a870a490 ath11k: Fix possible memleak in ath11k_qmi_init_service
    7d93d871e55b ASoC: qcom: lpass-cpu: fix concurrency issue
    41a33c66b6e6 ASoC: qcom: lpass-platform: fix memory leak
    d981fcece216 wcn36xx: Fix reported 802.11n rx_highest rate wcn3660/wcn3680
    2af670b21911 ath10k: Fix the size used in a 'dma_free_coherent()' call in an error handling path
    ef10e65b3d7e ath9k: Fix potential out of bounds in ath9k_htc_txcompletion_cb()
    7c81b8b6c0b3 ath6kl: prevent potential array overflow in ath6kl_add_new_sta()
    b395ec13f72b drm: panel: Fix bus format for OrtusTech COM43H4M85ULC panel
    31e3c7aefb96 drm/vkms: add missing platform_device_unregister() in vkms_init()
    199cb9d9336f drm/vgem: add missing platform_device_unregister() in vgem_init()
    2723170f9c1b drm/amd/display: Fix wrong return value in dm_update_plane_state()
    3fe978892ab4 Bluetooth: hci_uart: Cancel init work before unregistering
    0775947bf20b drm/vkms: fix xrgb on compute crc
    6a251056d920 ath10k: provide survey info as accumulated data
    1e2be69a0396 blk-mq: move cancel of hctx->run_work to the front of blk_exit_queue
    eb66ae00496f btrfs: add owner and fs_info to alloc_state io_tree
    6cc523c1ba7e hwmon: (bt1-pvt) Wait for the completion with timeout
    82f27fd04df6 hwmon: (bt1-pvt) Cache current update timeout
    f8896b1dc97f hwmon: (bt1-pvt) Test sensor power supply on probe
    283d31599577 spi: spi-s3c64xx: Check return values
    9c27047159fd spi: spi-s3c64xx: swap s3c64xx_spi_set_cs() and s3c64xx_enable_datapath()
    2d92aae41a06 pinctrl: bcm: fix kconfig dependency warning when !GPIOLIB
    96c6b5d57756 regulator: resolve supply after creating regulator
    539f606e1044 media: ti-vpe: Fix a missing check and reference count leak
    36ba112a7c8d media: stm32-dcmi: Fix a reference count leak
    344632d9b782 media: s5p-mfc: Fix a reference count leak
    00eff51ebd27 media: camss: Fix a reference count leak.
    445adb4113e8 media: platform: fcp: Fix a reference count leak.
    34b2032620a3 media: rockchip/rga: Fix a reference count leak.
    96b1dbdb92ad media: rcar-vin: Fix a reference count leak.
    0936f228c185 media: tc358743: cleanup tc358743_cec_isr
    e25e1421396d media: tc358743: initialize variable
    ffa1c6807c37 media: mx2_emmaprp: Fix memleak in emmaprp_probe
    19b283f0b3d4 crypto: sun8i-ce - handle endianness of t_common_ctl
    9748e867ac81 crypto: stm32/crc32 - Avoid lock if hardware is already used
    aee35828de88 cypto: mediatek - fix leaks in mtk_desc_ring_alloc
    abfdbdda990a hwmon: (w83627ehf) Fix a resource leak in probe
    20d16af9c0fb hwmon: (pmbus/max34440) Fix status register reads for MAX344{51,60,61}
    621368b5adfe crypto: omap-sham - fix digcnt register handling with export/import
    71452513b06b spi: dw-pci: free previously allocated IRQs if desc->setup() fails
    31a31b30b0f6 spi: fsi: Implement restricted size for certain controllers
    a2e41e4fcd8e spi: fsi: Fix use of the bneq+ sequencer instruction
    c2177e077841 spi: fsi: Handle 9 to 15 byte transfers lengths
    0f8c1ad5ed8f media: rcar-csi2: Allocate v4l2_async_subdev dynamically
    bd48c278ba33 media: rcar_drif: Allocate v4l2_async_subdev dynamically
    23b043e23923 media: rcar_drif: Fix fwnode reference leak when parsing DT
    c78cc511ff68 media: i2c: ov5640: Enable data pins on poweron for DVP mode
    d1bb697b085a media: i2c: ov5640: Separate out mipi configuration from s_power
    44046ac3fd90 media: i2c: ov5640: Remain in power down for DVP mode unless streaming
    2038c71aeea7 media: omap3isp: Fix memleak in isp_probe
    ae17eb2da566 media: staging/intel-ipu3: css: Correctly reset some memory
    fbd50e6e825f media: uvcvideo: Silence shift-out-of-bounds warning
    3eff11b54bac media: uvcvideo: Set media controller entity functions
    008efc8c2ec0 fscrypt: restrict IV_INO_LBLK_32 to ino_bits <= 32
    38cc20da3fd2 media: m5mols: Check function pointer in m5mols_sensor_power
    6cd272c1b1d3 media: ov5640: Correct Bit Div register in clock tree diagram
    3bc4af05a125 media: hantro: postproc: Fix motion vector space allocation
    841d6b2bb64a media: hantro: h264: Get the correct fallback reference buffer
    b076e6ad0081 media: Revert "media: exynos4-is: Add missed check for pinctrl_lookup_state()"
    2e35f75c9a14 crypto: ccree - fix runtime PM imbalance on error
    707041cc6852 media: tuner-simple: fix regression in simple_set_radio_freq
    1c1e39f91ffe media: vivid: Fix global-out-of-bounds read in precalculate_color()
    0ebbe42a9a4c crypto: picoxcell - Fix potential race condition bug
    5ec044fb819d crypto: ixp4xx - Fix the size used in a 'dma_free_coherent()' call
    df29e4415305 crypto: mediatek - Fix wrong return value in mtk_desc_ring_alloc()
    36c93e69cb80 crypto: algif_skcipher - EBUSY on aio should be an error
    ff57d46f868e perf/core: Fix race in the perf_mmap_close() function
    7e5248ec07bc perf/x86: Fix n_pair for cancelled txn
    2df4319976f9 pinctrl: qcom: Use return value from irq_set_wake() call
    9d371ffd8434 pinctrl: qcom: Set IRQCHIP_SET_TYPE_MASKED and IRQCHIP_MASK_ON_SUSPEND flags
    9a7d327326bd x86/events/amd/iommu: Fix sizeof mismatch
    5fd2c1240d75 x86/nmi: Fix nmi_handle() duration miscalculation
    6f9bc7071b53 perf/x86/intel/uncore: Fix the scale of the IMC free-running events
    32ce27005110 perf/x86/intel/uncore: Reduce the number of CBOX counters
    accdd0292919 perf/x86/intel/uncore: Update Ice Lake uncore units
    140596caef50 arm64: perf: Add missing ISB in armv8pmu_enable_counter()
    4792206af85f sched/fair: Use dst group while checking imbalance for NUMA balancer
    63829cb38a3c sched/fair: Fix wrong cpu selecting from isolated domain
    b75cbad81cfc drivers/perf: thunderx2_pmu: Fix memory resource error handling
    a071f86dd7c4 drivers/perf: xgene_pmu: Fix uninitialized resource struct
    e99cf7b5025a arm64: kprobe: add checks for ARMv8.3-PAuth combined instructions
    b45c14f9b0c6 x86/fpu: Allow multiple bits in clearcpuid= parameter
    4f596c780958 perf/x86/intel/ds: Fix x86_pmu_stop warning for large PEBS
    3b172044dc55 EDAC/ti: Fix handling of platform_get_irq() error
    0d0f50ecd85d EDAC/aspeed: Fix handling of platform_get_irq() error
    3a70ad440e20 EDAC/i5100: Fix error handling order in i5100_init_one()
    6411e8ea3086 microblaze: fix kbuild redundant file warning
    1b8e25772d8e sched/fair: Fix wrong negative conversion in find_energy_efficient_cpu()
    03e0226f1cfe RAS/CEC: Fix cec_init() prototype
    19212b1a2be3 crypto: caam/qi - add support for more XTS key lengths
    d0100d71efff crypto: caam/qi - add fallback for XTS with more than 8B IV
    b61aa1de53f4 crypto: algif_aead - Do not set MAY_BACKLOG on the async path
    dd5df0880122 ima: Don't ignore errors from crypto_shash_update()
    ee0e07130bd0 KVM: SVM: Initialize prev_ga_tag before use
    af216a426bcc KVM: x86: Intercept LA57 to inject #GP fault when it's reserved
    f7b5e3c6ab6e KVM: x86/mmu: Commit zap of remaining invalid pages when recovering lpages
    efd21b7274b0 KVM: nVMX: Reload vmcs01 if getting vmcs12's pages fails
    f7421220fd60 KVM: nVMX: Reset the segment cache when stuffing guest segs
    c5ec2a6618d3 KVM: nVMX: Morph notification vector IRQ on nested VM-Enter to pending PI
    dd6120a8e1f3 arm64: Make use of ARCH_WORKAROUND_1 even when KVM is not enabled
    cb6c316cd99a smb3: fix stat when special device file and mounted with modefromsid
    321cf0e88e25 smb3: do not try to cache root directory if dir leases not supported
    dd80b98bdf0a SMB3.1.1: Fix ids returned in POSIX query dir
    2ab6d3b441dd SMB3: Resolve data corruption of TCP server info fields
    55bf111d4e81 cifs: Return the error from crypt_message when enc/dec key not found.
    c5db0e593499 cifs: remove bogus debug code
    2d8b73fc38ae ALSA: hda/realtek: Enable audio jacks of ASUS D700SA with ALC887
    1fb41e21037e ALSA: hda/realtek - Add mute Led support for HP Elitebook 845 G7
    29050421372a ALSA: hda/realtek - set mic to auto detect on a HP AIO machine
    eba61e03eadf ALSA: hda/realtek - The front Mic on a HP machine doesn't work
    383fcddfbcaa ALSA: usb-audio: Line6 Pod Go interface requires static clock rate quirk
    70dcb923cc27 ALSA: hda - Fix the return value if cb func is already registered
    4e3c57b30473 ALSA: hda - Don't register a cb func if it is registered already
    618a54d780a5 net/sched: act_gate: Unlock ->tcfa_lock in tc_setup_flow_action()
    ed2c3b4a04c2 net: ethernet: mtk-star-emac: select REGMAP_MMIO
    9c70b53dda47 tcp: fix to update snd_wl1 in bulk receiver fast path
    e4d5d075c190 selftests: rtnetlink: load fou module for kci_test_encap_fou() test
    8ab1b9ef3974 selftests: forwarding: Add missing 'rp_filter' configuration
    11a3f1f851da r8169: fix operation under forced interrupt threading
    6c9e378d7579 nfc: Ensure presence of NFC_ATTR_FIRMWARE_NAME attribute in nfc_genl_fw_download()
    a81996aa6ee5 nexthop: Fix performance regression in nexthop deletion
    8672e0e1be10 net/sched: act_tunnel_key: fix OOB write in case of IPv6 ERSPAN tunnels
    e5b67266fb48 net/sched: act_ct: Fix adding udp port mangle operation
    f6bb7b012676 net: Properly typecast int values to set sk_max_pacing_rate
    08c6a8c61f9f net: hdlc_raw_eth: Clear the IFF_TX_SKB_SHARING flag after calling ether_setup
    6fe9d5ac3f76 net: hdlc: In hdlc_rcv, check to make sure dev is an HDLC device
    79a5e1726d4f net: ftgmac100: Fix Aspeed ast2600 TX hang issue
    7f0afe20abab mptcp: initialize mptcp_options_received's ahmac
    ec5c9273f731 icmp: randomize the global rate limiter
    ab91b97c5f92 ibmvnic: save changed mac address to adapter->mac_addr
    3f9420b4d3fc chelsio/chtls: fix writing freed memory
    d632d6da9724 chelsio/chtls: correct function return and return type
    ea95811a67e3 chelsio/chtls: Fix panic when listen on multiadapter
    8650467aa359 chelsio/chtls: fix panic when server is on ipv6
    e94a4b48d51b chelsio/chtls: correct netdevice for vlan interface
    958fc22dbc30 chelsio/chtls: fix socket lock
    eb7ee70b9226 tipc: fix incorrect setting window for bcast link
    a52c1d9114f1 tipc: re-configure queue limit for broadcast link
    760295f17597 ALSA: hda/hdmi: fix incorrect locking in hdmi_pcm_close
    2b7a2a0be104 ALSA: hda: fix jack detection with Realtek codecs when in D3
    f4b88ebd9b73 ALSA: bebob: potential info leak in hwdep_read()
    40d4418ea4db binder: fix UAF when releasing todo list
    dd5743391b5e r8169: fix data corruption issue on RTL8402
    7f1b0fa4805c net_sched: remove a redundant goto chain check
    f736e9e2f750 net/ipv4: always honour route mtu during forwarding
    7ef2b9748f88 net: j1939: j1939_session_fresh_new(): fix missing initialization of skbcnt
    3cda27a6e540 can: j1935: j1939_tp_tx_dat_new(): fix missing initialization of skbcnt
    46ebf7a3bdb0 can: m_can_platform: don't call m_can_class_suspend in runtime suspend
    575e9184885b socket: don't clear SOCK_TSTAMP_NEW when SO_TIMESTAMPNS is disabled
    d2bc51dbdecd socket: fix option SO_TIMESTAMPING_NEW
    a7d0ffde99d5 tipc: fix the skb_unshare() in tipc_buf_append()
    83e8af2ee339 net: usb: qmi_wwan: add Cellient MPL200 card
    01630fae60bd net/tls: sendfile fails with ktls offload
    91119131f8a8 net/smc: fix valid DMBE buffer sizes
    c0d0fad9bed7 net/smc: fix use-after-free of delayed events
    5e52ea477365 net: sched: Fix suspicious RCU usage while accessing tcf_tunnel_info
    b91a8c7486a3 net: mptcp: make DACK4/DACK8 usage consistent among all subflows
    a0f063a63afa net: ipa: skip suspend/resume activities if not set up
    8090c13d3e4b net: fix pos incrementment in ipv6_route_seq_next
    f17fe0c1addf net: fec: Fix PHY init after phy_reset_after_clk_enable()
    8a6ab151443c net: fec: Fix phy_device lookup for phy_reset_after_clk_enable()
    d6cc94152da1 net: dsa: microchip: fix race condition
    61d51568e43b mlx4: handle non-napi callers to napi_poll
    8536e300622a ipv4: Restore flowi4_oif update before call to xfrm_lookup_route
    bd0912cd125e ibmveth: Identify ingress large send packets.
    d673d278f59f ibmveth: Switch order of ibmveth_helper calls.
    68e3dec3c3e4 xgb4: handle 4-tuple PEDIT to NAT mode translation

(From OE-Core rev: eab49834f263a2727fa699050a8d01715f1e9d21)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Bruce Ashfield
eeb5c6a425 linux-yocto/5.4: update to v5.4.72
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    52f6ded2a377 Linux 5.4.72
    865b015e8d41 crypto: qat - check cipher length for aead AES-CBC-HMAC-SHA
    aa1167908ac4 crypto: bcm - Verify GCM/CCM key length in setkey
    564312e08892 xen/events: don't use chip_data for legacy IRQs
    041445d0d577 reiserfs: Fix oops during mount
    046616898a57 reiserfs: Initialize inode keys properly
    22ab9ca024a0 USB: serial: ftdi_sio: add support for FreeCalypso JTAG+UART adapters
    bfb1438e8c15 USB: serial: pl2303: add device-id for HP GC device
    aecf3a1c11dc staging: comedi: check validity of wMaxPacketSize of usb endpoints found
    8aff87284be6 USB: serial: option: Add Telit FT980-KS composition
    3c3eb734ef1f USB: serial: option: add Cellient MPL200 card
    b970578274e9 media: usbtv: Fix refcounting mixup
    6ad2e647d91f Bluetooth: Disconnect if E0 is used for Level 4
    21d2051d1f1c Bluetooth: Fix update of connection state in `hci_encrypt_cfm`
    ed6c361e3229 Bluetooth: Consolidate encryption handling in hci_encrypt_cfm
    155bf3fd4e8c Bluetooth: MGMT: Fix not checking if BT_HS is enabled
    66a14350de9a Bluetooth: L2CAP: Fix calling sk_filter on non-socket based channel
    0d9e9b6e1a26 Bluetooth: A2MP: Fix not initializing all members
    54f8badb9bc9 ACPI: Always build evged in
    30ddaa4c0c95 ARM: 8939/1: kbuild: use correct nm executable
    1bf467fdfeae btrfs: take overcommit into account in inc_block_group_ro
    39c5eb1482b2 btrfs: don't pass system_chunk into can_overcommit
    bc79abf4afea perf cs-etm: Move definition of 'traceid_list' global variable from header file

(From OE-Core rev: 5da55c543cf38ca1082bc160fd571b3c7c6a40ba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Bruce Ashfield
c6f07eac48 linux-yocto/5.8: update to v5.8.16
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    c5464f4be19b Linux 5.8.16
    4cadc0dd5ce2 reiserfs: Fix oops during mount
    492f415bb105 reiserfs: Initialize inode keys properly
    27319196d104 USB: serial: ftdi_sio: add support for FreeCalypso JTAG+UART adapters
    56eff3982215 USB: serial: pl2303: add device-id for HP GC device
    e95645fd1e28 staging: comedi: check validity of wMaxPacketSize of usb endpoints found
    75ea7049c9c6 USB: serial: option: Add Telit FT980-KS composition
    a7f0e37b29f4 USB: serial: option: add Cellient MPL200 card
    d6efa7525a59 media: usbtv: Fix refcounting mixup
    1b7150e1c95e Bluetooth: Disconnect if E0 is used for Level 4
    9e473bae14f3 Bluetooth: MGMT: Fix not checking if BT_HS is enabled
    ffddc73458e8 Bluetooth: L2CAP: Fix calling sk_filter on non-socket based channel
    a350bfd9a93f Bluetooth: A2MP: Fix not initializing all members
    8fae48c4bf67 crypto: qat - check cipher length for aead AES-CBC-HMAC-SHA
    c4ab0a2944b8 crypto: bcm - Verify GCM/CCM key length in setkey

(From OE-Core rev: 869f4a5edf70a88301646356c8d3faa55996e5a9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Bruce Ashfield
d8eef04c50 linux-yocto/5.4: update to v5.4.71
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    85b0841aab15 Linux 5.4.71
    22e6625babfc net_sched: commit action insertions together
    a5de4ee6d055 net_sched: defer tcf_idr_insert() in tcf_action_init_1()
    dbb763107d3e net: usb: rtl8150: set random MAC address when set_ethernet_addr() fails
    6c9edf2d855a Input: ati_remote2 - add missing newlines when printing module parameters
    536c767b14e3 net/mlx5e: Fix driver's declaration to support GRE offload
    8dc5025c6a44 net/tls: race causes kernel panic
    a42dbd059ef6 net/core: check length before updating Ethertype in skb_mpls_{push,pop}
    e39c9eba9bef tcp: fix receive window update in tcp_add_backlog()
    2729afe17987 mm: khugepaged: recalculate min_free_kbytes after memory hotplug as expected by khugepaged
    d94c1505fa91 mmc: core: don't set limits.discard_granularity as 0
    760c7a948bea perf: Fix task_function_call() error handling
    b750f86a62d1 rxrpc: Fix server keyring leak
    ae1a085b4aac rxrpc: The server keyring isn't network-namespaced
    513dd1609c9d rxrpc: Fix some missing _bh annotations on locking conn->state_lock
    422f5c5d3ef9 rxrpc: Downgrade the BUG() for unsupported token type in rxrpc_read()
    7e1f39b5c1d5 rxrpc: Fix rxkad token xdr encoding
    9a52da3f61b4 net/mlx5e: Fix VLAN create flow
    6b9752d85e72 net/mlx5e: Fix VLAN cleanup flow
    47e83c69fe14 net/mlx5e: Add resiliency in Striding RQ mode for packets larger than MTU
    1e7a94724b78 net/mlx5: Fix request_irqs error flow
    073fff810206 net/mlx5: Avoid possible free of command entry while timeout comp handler
    0955c774f32d virtio-net: don't disable guest csum when disable LRO
    15f84bdf6185 net: usb: ax88179_178a: fix missing stop entry in driver_info
    70877d04d41f r8169: fix RTL8168f/RTL8411 EPHY config
    7a96cbd74fcd mlxsw: spectrum_acl: Fix mlxsw_sp_acl_tcam_group_add()'s error path
    f3b35c3782ed mdio: fix mdio-thunder.c dependency & build error
    8d103b1f9ce5 bonding: set dev->needed_headroom in bond_setup_by_slave()
    3ce96a55b756 net: ethernet: cavium: octeon_mgmt: use phy_start and phy_stop
    e987ea087fd2 iavf: Fix incorrect adapter get in iavf_resume
    029ced5cce89 iavf: use generic power management
    84ab35eacdf2 xfrm: Use correct address family in xfrm_state_find
    4d3edb2e4d6e platform/x86: fix kconfig dependency warning for FUJITSU_LAPTOP
    dd2786a3e521 net: stmmac: removed enabling eee in EEE set callback
    e9a12de5a2be xfrm: clone whole liftime_cur structure in xfrm_do_migrate
    7ea7436c406c xfrm: clone XFRMA_SEC_CTX in xfrm_do_migrate
    c1becfebe33e xfrm: clone XFRMA_REPLAY_ESN_VAL in xfrm_do_migrate
    0bea401a9a5a xfrm: clone XFRMA_SET_MARK in xfrm_do_migrate
    f825fd534f8b iommu/vt-d: Fix lockdep splat in iommu_flush_dev_iotlb()
    bdffb36bcd38 drm/amdgpu: prevent double kfree ttm->sg
    4034664a733e openvswitch: handle DNAT tuple collision
    f89128ad358e net: team: fix memory leak in __team_options_register
    003269d8d6de team: set dev->needed_headroom in team_setup_by_port()
    fb3681c20fbf sctp: fix sctp_auth_init_hmacs() error path
    040e3110d49c i2c: owl: Clear NACK and BUS error bits
    abe997f632d1 i2c: meson: fixup rate calculation with filter delay
    6db69c390622 i2c: meson: fix clock setting overwrite
    209549c1c0f0 cifs: Fix incomplete memory allocation on setxattr path
    0afdda28eb2b xfrmi: drop ignore_df check before updating pmtu
    49af88ac6534 nvme-tcp: check page by sendpage_ok() before calling kernel_sendpage()
    15cac17d9d39 tcp: use sendpage_ok() to detect misused .sendpage
    d23dd3864b4c net: introduce helper sendpage_ok() in include/linux/net.h
    5c62d335317c mm/khugepaged: fix filemap page_to_pgoff(page) != offset
    1317469fa05b macsec: avoid use-after-free in macsec_handle_frame()
    20f96fee81c6 nvme-core: put ctrl ref when module ref get fail
    c0f3c5386995 btrfs: allow btrfs_truncate_block() to fallback to nocow for data space reservation
    e531fd7f8b3a btrfs: fix RWF_NOWAIT write not failling when we need to cow
    1f90600e259b btrfs: Ensure we trim ranges across block group boundary
    6a0f5da2db3b btrfs: volumes: Use more straightforward way to calculate map length
    5aefd1fa9f4d Btrfs: send, fix emission of invalid clone operations within the same file
    19d8412679f2 Btrfs: send, allow clone operations within the same file
    f02dc39bbb20 arm64: dts: stratix10: add status to qspi dts node
    e8e1d16e0b89 i2c: i801: Exclude device from suspend direct complete optimization
    2118c7ba5f2a perf top: Fix stdio interface input handling with glibc 2.28+
    2499c15115ac perf test session topology: Fix data path
    7c1847aa4932 driver core: Fix probe_count imbalance in really_probe()
    3fd2647f9d68 platform/x86: thinkpad_acpi: re-initialize ACPI buffer size when reuse
    da4cdc87dfeb platform/x86: intel-vbtn: Switch to an allow-list for SW_TABLET_MODE reporting
    6440fb9bda91 bpf: Prevent .BTF section elimination
    67a57230b4bf bpf: Fix sysfs export of empty BTF section
    9bd694ccfd44 platform/x86: thinkpad_acpi: initialize tp_nvram_state variable
    d101961ce588 platform/x86: intel-vbtn: Fix SW_TABLET_MODE always reporting 1 on the HP Pavilion 11 x360
    2293272345ff Platform: OLPC: Fix memleak in olpc_ec_probe
    ce8432912f1b usermodehelper: reset umask to default before executing user process
    920a61ddd3b5 vhost: Use vhost_get_used_size() in vhost_vring_set_addr()
    57b47abc1a4a vhost: Don't call access_ok() when using IOTLB
    456d77c1bdfa drm/nouveau/mem: guard against NULL pointer access in mem_del
    8ece83bf754f net: wireless: nl80211: fix out-of-bounds access in nl80211_del_key()
    ee413b2915bf io_uring: Fix double list add in io_queue_async_work()
    efb1cef27d59 io_uring: Fix remove irrelevant req from the task_list
    75524f753318 io_uring: Fix missing smp_mb() in io_cancel_async_work()
    d9e81b2fb372 io_uring: Fix resource leaking when kill the process
    4f46ef7bec86 Revert "ravb: Fixed to be able to unload modules"
    1b2fcd82c0ca fbcon: Fix global-out-of-bounds read in fbcon_get_font()
    f51ec3fd7128 Fonts: Support FONT_EXTRA_WORDS macros for built-in fonts
    eebe3685701b fbdev, newport_con: Move FONT_EXTRA_WORDS macros into linux/font.h
    d22f99d235e1 Linux 5.4.70
    253052b636e9 netfilter: ctnetlink: add a range check for l3/l4 protonum
    27423bb05e25 ep_create_wakeup_source(): dentry name can change under you...
    8e58bad666bb epoll: EPOLL_CTL_ADD: close the race in decision to take fast path
    099b7a1bc791 epoll: replace ->visited/visited_list with generation count
    8993da3d4d3a epoll: do not insert into poll queues until all sanity checks are done
    8db44b30d392 nvme: consolidate chunk_sectors settings
    03f4f85bbd7d nvme: Introduce nvme_lba_to_sect()
    34b939695f28 nvme: Cleanup and rename nvme_block_nr()
    9626c1a63703 mm: don't rely on system state to detect hot-plug operations
    42b7153dd6a6 mm: replace memmap_context by meminit_context
    2334b2d5a2bd block/diskstats: more accurate approximation of io_ticks for slow disks
    1d13c3a5000b random32: Restore __latent_entropy attribute on net_rand_state
    4faf2c3a97ec scripts/dtc: only append to HOST_EXTRACFLAGS instead of overwriting
    ea4c691b58d7 Input: trackpoint - enable Synaptics trackpoints
    21b9387253a7 i2c: cpm: Fix i2c_ram structure
    811ac052e264 gpio: aspeed: fix ast2600 bank properties
    f2a2380812c6 gpio/aspeed-sgpio: don't enable all interrupts by default
    8323d1e09037 gpio/aspeed-sgpio: enable access to all 80 input & output sgpios
    eddeff708c15 iommu/exynos: add missing put_device() call in exynos_iommu_of_xlate()
    08e66c0c1c0e clk: samsung: exynos4: mark 'chipid' clock as CLK_IGNORE_UNUSED
    0ded28e3c468 clk: tegra: Always program PLL_E when enabled
    2f37a1ef1e5d nfs: Fix security label length not being reset
    6c5a11ead942 pinctrl: mvebu: Fix i2c sda definition for 98DX3236
    ae68b15839b0 phy: ti: am654: Fix a leak in serdes_am654_probe()
    543ea1af5744 gpio: sprd: Clear interrupt when setting the type as edge
    8c03d0ef62dd nvme-fc: fail new connections to a deleted host or remote port
    2b217eafcf74 nvme-pci: fix NULL req in completion handler
    157ccdf7eb2c spi: fsl-espi: Only process interrupts for expected events
    8cc5eb809aa5 tools/io_uring: fix compile breakage
    4e4646c85e89 tracing: Make the space reserved for the pid wider
    a0fe7f705457 mac80211: do not allow bigger VHT MPDUs than the hardware supports
    355a710f0813 mac80211: Fix radiotap header channel flag for 6GHz band
    126e6099b8c1 drivers/net/wan/hdlc: Set skb->protocol before transmitting
    3ba3fc3e7ea6 drivers/net/wan/lapbether: Make skb->protocol consistent with the header
    89fd103fbbb0 fuse: fix the ->direct_IO() treatment of iov_iter
    44b4baf850bd nvme-core: get/put ctrl and transport module in nvme_dev_open/release()
    0bcc3480393b rndis_host: increase sleep time in the query-response loop
    f19ff011027b net: dec: de2104x: Increase receive ring size for Tulip
    e9af030ddd4b drm/sun4i: mixer: Extend regmap max_register
    985a56c58c4f drivers/net/wan/hdlc_fr: Add needed_headroom for PVC devices
    91d59157b103 libbpf: Remove arch-specific include path in Makefile
    688aa0e0aaf9 clocksource/drivers/timer-gx6605s: Fixup counter reload
    3d54a640e20c drm/amdgpu: restore proper ref count in amdgpu_display_crtc_set_config
    de21eb7f8cb0 memstick: Skip allocating card when removing host
    c524a17312d4 ftrace: Move RCU is watching check after recursion check
    5ac7065e0866 iio: adc: qcom-spmi-adc5: fix driver name
    ac3bf99fc26a Input: i8042 - add nopnp quirk for Acer Aspire 5 A515
    aee38af574a1 xfs: trim IO to found COW extent limit
    aed60a1746ba net: virtio_vsock: Enhance connection semantics
    215459ff3666 vsock/virtio: add transport parameter to the virtio_transport_reset_no_sock()
    14c79ef213c2 clk: socfpga: stratix10: fix the divider for the emac_ptp_free_clk
    79c8ebdce55c gpio: tc35894: fix up tc35894 interrupt configuration
    035f59ad4ba8 gpio: mockup: fix resource leak in error path
    b079337f697a gpio: siox: explicitly support only threaded irqs
    57bd08a301f7 USB: gadget: f_ncm: Fix NDP16 datagram validation
    23389cf97aa1 mmc: sdhci: Workaround broken command queuing on Intel GLK based IRBIS models
    09c826447cb0 btrfs: fix filesystem corruption after a device replace

(From OE-Core rev: 8f9352782e610775efbb059fbfb5a6b997d2ec88)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Bruce Ashfield
67aa88e032 linux-yocto/5.8: update to v5.8.15
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    665c6ff082e2 Linux 5.8.15
    03b7311c2d35 net_sched: commit action insertions together
    1e02bbf908d3 net_sched: defer tcf_idr_insert() in tcf_action_init_1()
    b6a788af71ed net: qrtr: ns: Protect radix_tree_deref_slot() using rcu read locks
    691847cc626c net: usb: rtl8150: set random MAC address when set_ethernet_addr() fails
    624143319921 Input: ati_remote2 - add missing newlines when printing module parameters
    2cdb64863860 tty/vt: Do not warn when huge selection requested
    af2c68e241ba net/mlx5e: Fix driver's declaration to support GRE offload
    13e623dc2772 net/tls: race causes kernel panic
    d1a1891a5865 net: bridge: fdb: don't flush ext_learn entries
    54d2034e1d13 net/core: check length before updating Ethertype in skb_mpls_{push,pop}
    912721b3ad72 netlink: fix policy dump leak
    85355299d6fa tcp: fix receive window update in tcp_add_backlog()
    a4c5f912c926 mm: khugepaged: recalculate min_free_kbytes after memory hotplug as expected by khugepaged
    0d600018dde7 mm: validate inode in mapping_set_error()
    270974601ea5 mmc: core: don't set limits.discard_granularity as 0
    23030fd91348 perf: Fix task_function_call() error handling
    02b573f11b1c afs: Fix deadlock between writeback and truncate
    29c60e82c6a5 net: mscc: ocelot: divide watermark value by 60 when writing to SYS_ATOP
    9fd541ad02bd net: mscc: ocelot: extend watermark encoding function
    13c116784250 net: mscc: ocelot: split writes to pause frame enable bit and to thresholds
    43e89f7e3c98 net: mscc: ocelot: rename ocelot_board.c to ocelot_vsc7514.c
    78272109f44d rxrpc: Fix server keyring leak
    bf1235365637 rxrpc: The server keyring isn't network-namespaced
    0fb27a1f99c1 rxrpc: Fix some missing _bh annotations on locking conn->state_lock
    6343a701ca68 rxrpc: Downgrade the BUG() for unsupported token type in rxrpc_read()
    3a15888ff3df rxrpc: Fix rxkad token xdr encoding
    41d0598c0f43 net: mvneta: fix double free of txq->buf
    d5c6f130b6f0 vhost-vdpa: fix page pinning leakage in error path
    ec7257845d40 vhost-vdpa: fix vhost_vdpa_map() on error condition
    72d41c97e736 net: hinic: fix DEVLINK build errors
    a974b4bddae3 net: stmmac: Modify configuration method of EEE timers
    d0eb9588f724 net/mlx5e: Fix race condition on nhe->n pointer in neigh update
    eef0da156040 net/mlx5e: Fix VLAN create flow
    b6dc435f3603 net/mlx5e: Fix VLAN cleanup flow
    f2140d0c6b93 net/mlx5e: Fix return status when setting unsupported FEC mode
    96e80a346634 net/mlx5e: Add resiliency in Striding RQ mode for packets larger than MTU
    4dc4c132f27f net/mlx5: Fix request_irqs error flow
    91ddbc505218 net/mlx5: Add retry mechanism to the command entry index allocation
    963f9da02730 net/mlx5: poll cmd EQ in case of command timeout
    da87ea137373 net/mlx5: Avoid possible free of command entry while timeout comp handler
    eb50f5c289e6 net/mlx5: Fix a race when moving command interface to polling mode
    04f31610f34f pipe: Fix memory leaks in create_pipe_files()
    ce1dde198079 octeontx2-pf: Fix synchnorization issue in mbox
    5cfc870ede16 octeontx2-pf: Fix the device state on error
    7778b8860228 octeontx2-pf: Fix TCP/UDP checksum offload for IPv6 frames
    921dfb5fec6b octeontx2-af: Fix enable/disable of default NPC entries
    b9f0dcfbfc07 net: phy: realtek: fix rtl8211e rx/tx delay config
    9d41929ceea9 virtio-net: don't disable guest csum when disable LRO
    f5f8861d01d3 net: usb: ax88179_178a: fix missing stop entry in driver_info
    fb4fb78d23fc r8169: fix RTL8168f/RTL8411 EPHY config
    0ea7fe7c26ef mlxsw: spectrum_acl: Fix mlxsw_sp_acl_tcam_group_add()'s error path
    698075baae0b mdio: fix mdio-thunder.c dependency & build error
    c83ed7bb7469 bonding: set dev->needed_headroom in bond_setup_by_slave()
    665298cbd6bd net: ethernet: cavium: octeon_mgmt: use phy_start and phy_stop
    2cb43007e060 net: stmmac: Fix clock handling on remove path
    39d93de64749 vmxnet3: fix cksum offload issues for non-udp tunnels
    6ececc888c0c ice: fix memory leak in ice_vsi_setup
    c4b9b9d7eb10 ice: fix memory leak if register_netdev_fails
    33e948635e65 iavf: Fix incorrect adapter get in iavf_resume
    1e0cdecfb896 iavf: use generic power management
    13685508abf3 xfrm: Use correct address family in xfrm_state_find
    3e835221d670 net: dsa: felix: convert TAS link speed based on phylink speed
    24bc1ec457c8 hinic: fix wrong return value of mac-set cmd
    43b7d340cb3a hinic: add log in exception handling processes
    5f8c48c299bc platform/x86: fix kconfig dependency warning for FUJITSU_LAPTOP
    6d9886e6081b platform/x86: fix kconfig dependency warning for LG_LAPTOP
    046add2ce07c net: stmmac: removed enabling eee in EEE set callback
    ac25c357463b xsk: Do not discard packet when NETDEV_TX_BUSY
    38dd384ce429 xfrm: clone whole liftime_cur structure in xfrm_do_migrate
    8baab8024028 xfrm: clone XFRMA_SEC_CTX in xfrm_do_migrate
    3ab37554e6ce xfrm: clone XFRMA_REPLAY_ESN_VAL in xfrm_do_migrate
    958c224a99d3 xfrm: clone XFRMA_SET_MARK in xfrm_do_migrate
    954adf701189 iommu/vt-d: Fix lockdep splat in iommu_flush_dev_iotlb()
    31bc10ac6d01 btrfs: move btrfs_rm_dev_replace_free_srcdev outside of all locks
    b50aa502610f drm/amd/display: fix return value check for hdcp_work
    b02b690b4bb3 drm/amd/pm: Removed fixed clock in auto mode DPM
    9e184961ddb7 io_uring: fix potential ABBA deadlock in ->show_fdinfo()
    287d8f00338d btrfs: move btrfs_scratch_superblocks into btrfs_dev_replace_finishing
    cefd370cb723 drm/amdgpu: prevent double kfree ttm->sg
    9c6944b53f1d openvswitch: handle DNAT tuple collision
    0388ffce1059 net: team: fix memory leak in __team_options_register
    70af9c28d423 team: set dev->needed_headroom in team_setup_by_port()
    9360901e714d sctp: fix sctp_auth_init_hmacs() error path
    d63492ab001b i2c: owl: Clear NACK and BUS error bits
    08a1313bfca0 i2c: meson: fixup rate calculation with filter delay
    3531df70c312 i2c: meson: keep peripheral clock enabled
    fe6124585cfe i2c: meson: fix clock setting overwrite
    d681bce5bc03 cifs: Fix incomplete memory allocation on setxattr path
    80683929112b espintcp: restore IP CB before handing the packet to xfrm
    1427c13cc16f xfrmi: drop ignore_df check before updating pmtu
    c2a55388bada nvme-tcp: check page by sendpage_ok() before calling kernel_sendpage()
    f4abc5911a9e tcp: use sendpage_ok() to detect misused .sendpage
    854828e10e2d net: introduce helper sendpage_ok() in include/linux/net.h
    89bec0adbf50 mm/khugepaged: fix filemap page_to_pgoff(page) != offset
    f994c81fe4c5 gpiolib: Disable compat ->read() code in UML case
    987c12d56402 RISC-V: Make sure memblock reserves the memory containing DT
    659a68b11df3 macsec: avoid use-after-free in macsec_handle_frame()
    8c995b27d066 nvme-core: put ctrl ref when module ref get fail
    3113391293be platform/x86: thinkpad_acpi: re-initialize ACPI buffer size when reuse
    46a00e3e9275 platform/x86: intel-vbtn: Switch to an allow-list for SW_TABLET_MODE reporting
    402ee2f96fb9 r8169: consider that PHY reset may still be in progress after applying firmware
    a73bb4ddee83 bpf: Prevent .BTF section elimination
    bc33b9bb0757 bpf: Fix sysfs export of empty BTF section
    944e354acfc3 platform/x86: asus-wmi: Fix SW_TABLET_MODE always reporting 1 on many different models
    88ddba3ebc3c platform/x86: thinkpad_acpi: initialize tp_nvram_state variable
    b9c0333ac6c8 platform/x86: intel-vbtn: Fix SW_TABLET_MODE always reporting 1 on the HP Pavilion 11 x360
    6b010ed04d50 Platform: OLPC: Fix memleak in olpc_ec_probe
    6ad52d3ee278 splice: teach splice pipe reading about empty pipe buffers
    c679280057ee usermodehelper: reset umask to default before executing user process
    3d36be053e58 vhost: Use vhost_get_used_size() in vhost_vring_set_addr()
    3480587d9b9d vhost: Don't call access_ok() when using IOTLB
    145a5510ef6a block/scsi-ioctl: Fix kernel-infoleak in scsi_put_cdrom_generic_arg()
    128f5fe7c102 partitions/ibm: fix non-DASD devices
    ef29249b066f drm/nouveau/mem: guard against NULL pointer access in mem_del
    e82867e1c2b4 drm/nouveau/device: return error for unknown chipsets
    bc7382371b2d net: wireless: nl80211: fix out-of-bounds access in nl80211_del_key()
    82dfd230b0c0 exfat: fix use of uninitialized spinlock on error path
    6a4bf26a176d crypto: arm64: Use x16 with indirect branch to bti_c
    fc5b5ae8ac3c bpf: Fix scalar32_min_max_or bounds tracking
    849d01ef1894 Revert "ravb: Fixed to be able to unload modules"
    e57db2fee8b1 fbcon: Fix global-out-of-bounds read in fbcon_get_font()
    34873e40e8d8 Fonts: Support FONT_EXTRA_WORDS macros for built-in fonts
    3714c5596a9d fbdev, newport_con: Move FONT_EXTRA_WORDS macros into linux/font.h
    70b225d0a8ca Linux 5.8.14
    8eec10e1335d ep_create_wakeup_source(): dentry name can change under you...
    4306cae1d98a epoll: EPOLL_CTL_ADD: close the race in decision to take fast path
    a6a47119b527 epoll: replace ->visited/visited_list with generation count
    bdb43b31e65d epoll: do not insert into poll queues until all sanity checks are done
    5e6bc9b1f1ae scsi: sd: sd_zbc: Fix ZBC disk initialization
    a12f67b54771 scsi: sd: sd_zbc: Fix handling of host-aware ZBC disks
    ecd72c95c278 drm/i915/gvt: Fix port number for BDW on EDID region setup
    115b0aed8b74 gpiolib: Fix line event handling in syscall compatible mode
    b4b93f8c92bb random32: Restore __latent_entropy attribute on net_rand_state
    d4ff049a3463 pipe: remove pipe_wait() and fix wakeup race with splice
    f6e5c604d67b iommu/amd: Fix the overwritten field in IVMD header
    7af706248ce2 gpio: pca953x: Correctly initialize registers 6 and 7 for PCA957x
    b7d423041485 pinctrl: mediatek: check mtk_is_virt_gpio input parameter
    1b62e4935b0c pinctrl: qcom: sm8250: correct sdc2_clk
    5f040ac168f3 autofs: use __kernel_write() for the autofs pipe writing
    b06582ae5052 scripts/dtc: only append to HOST_EXTRACFLAGS instead of overwriting
    c53cd1877406 blk-mq: call commit_rqs while list empty but error happen
    a6141f191d83 Input: trackpoint - enable Synaptics trackpoints
    83884333497f i2c: npcm7xx: Clear LAST bit after a failed transaction.
    95b874d021f6 i2c: cpm: Fix i2c_ram structure
    f6ae5ac641a8 gpio: aspeed: fix ast2600 bank properties
    cf7f69852717 gpio/aspeed-sgpio: don't enable all interrupts by default
    7dc4222171ce gpio/aspeed-sgpio: enable access to all 80 input & output sgpios
    20d7a2cbc339 gpio: pca953x: Fix uninitialized pending variable
    c8a8adc7df57 iommu/exynos: add missing put_device() call in exynos_iommu_of_xlate()
    32b462c501ee scsi: target: Fix lun lookup for TARGET_SCF_LOOKUP_LUN_FROM_TAG case
    40e2e6c71ac1 clk: samsung: exynos4: mark 'chipid' clock as CLK_IGNORE_UNUSED
    f6e9c4310f5a dmaengine: dmatest: Prevent to run on misconfigured channel
    ec9002ead04b clk: tegra: Fix missing prototype for tegra210_clk_register_emc()
    ef3f3611b462 clk: tegra: Always program PLL_E when enabled
    63cd394fa3f0 pNFS/flexfiles: Ensure we initialise the mirror bsizes correctly on read
    ac376f2245bb NFSv4.2: fix client's attribute cache management for copy_file_range
    a98e3583bd8d nfs: Fix security label length not being reset
    6846eb762344 pinctrl: mvebu: Fix i2c sda definition for 98DX3236
    fdf8212f0260 phy: ti: am654: Fix a leak in serdes_am654_probe()
    9f6c717ffa47 gpio: sprd: Clear interrupt when setting the type as edge
    6bef7d4b4770 scripts/kallsyms: skip ppc compiler stub *.long_branch.* / *.plt_branch.*
    a50ea89d1ae5 nvme-fc: fail new connections to a deleted host or remote port
    7d2120bc38b9 nvme-pci: fix NULL req in completion handler
    189c154bc593 net: dsa: felix: fix some key offsets for IP4_TCP_UDP VCAP IS2 entries
    b23f9f0dc930 spi: fsl-espi: Only process interrupts for expected events
    cbbc927e0e62 cpuidle: psci: Fix suspicious RCU usage
    f833ed7a202b io_uring: mark statx/files_update/epoll_ctl as non-SQPOLL
    fc4b56ae9e76 tools/io_uring: fix compile breakage
    4ff709d00af4 tracing: Make the space reserved for the pid wider
    f2465c7d069c mac80211: do not allow bigger VHT MPDUs than the hardware supports
    9c72951f9e97 mac80211: Fix radiotap header channel flag for 6GHz band
    2dd5f2a99bf3 drivers/net/wan/hdlc: Set skb->protocol before transmitting
    3074634461c5 drivers/net/wan/lapbether: Make skb->protocol consistent with the header
    74e81de01e49 fuse: fix the ->direct_IO() treatment of iov_iter
    72adaf934802 nvme-core: get/put ctrl and transport module in nvme_dev_open/release()
    f3f3da8c1ff9 nvme-pci: disable the write zeros command for Intel 600P/P3100
    33701f04a59a rndis_host: increase sleep time in the query-response loop
    21f41dd7e883 net: dec: de2104x: Increase receive ring size for Tulip
    9c524f9df9c7 hv_netvsc: Cache the current data path to avoid duplicate call and message
    caac35688ac1 drm/sun4i: mixer: Extend regmap max_register
    b92f98f9307c Revert "wlcore: Adding suppoprt for IGTK key in wlcore driver"
    73fadce8c80b drivers/net/wan/hdlc_fr: Add needed_headroom for PVC devices
    1017b151fb4a libbpf: Remove arch-specific include path in Makefile
    9f183485e888 mt76: mt7915: use ieee80211_free_txskb to free tx skbs
    057c9ed4565b vboxsf: Fix the check for the old binary mount-arguments struct
    4a1db91e697a clocksource/drivers/timer-gx6605s: Fixup counter reload
    5d48f7b0ed06 xen/events: don't use chip_data for legacy IRQs
    e99ecd62bb9c drm/amdgpu: restore proper ref count in amdgpu_display_crtc_set_config
    b64a43b072c7 memstick: Skip allocating card when removing host
    13cee195a180 tracing: Fix trace_find_next_entry() accounting of temp buffer size
    7f5d5928b9cc ftrace: Move RCU is watching check after recursion check
    1f0038ad6eed iio: adc: qcom-spmi-adc5: fix driver name
    14f6276e202f Input: i8042 - add nopnp quirk for Acer Aspire 5 A515
    6901d792bc35 i2c: i801: Exclude device from suspend direct complete optimization
    7d29e9507663 scsi: iscsi: iscsi_tcp: Avoid holding spinlock while calling getpeername()
    c32f1ee1d6d0 clk: socfpga: stratix10: fix the divider for the emac_ptp_free_clk
    a77ae2f6d900 clk: samsung: Keep top BPLL mux on Exynos542x enabled
    9705d89518ae gpio: amd-fch: correct logic of GPIO_LINE_DIRECTION
    f67837215194 gpio: tc35894: fix up tc35894 interrupt configuration
    baeac67ee6e2 gpio: mockup: fix resource leak in error path
    cb2480639590 gpio: siox: explicitly support only threaded irqs
    5ae75e1e510d usbcore/driver: Accommodate usbip
    ab3edda370ee usbcore/driver: Fix incorrect downcast
    dc1e84d05a96 usbcore/driver: Fix specific driver selection
    36ec30f02a00 Revert "usbip: Implement a match function to fix usbip"
    9c69e3a769db USB: gadget: f_ncm: Fix NDP16 datagram validation
    26be1c145cfe mmc: sdhci: Workaround broken command queuing on Intel GLK based IRBIS models
    a8183e677fc1 btrfs: fix filesystem corruption after a device replace
    f2a5cb2f24ae io_uring: always delete double poll wait entry on match

(From OE-Core rev: 20a986da54728af38cac4556d01e39ef4bd558d6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-18 13:59:27 +00:00
Jose Quaresma
c2776db1be gstreamer1.0-plugins-good: add package config knob for the Raspberry Pi
* 0001-rpicamsrc-add-vchostif-library-as-it-is-required-to-.patch
      Upstream-Status: Submitted [https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/merge_requests/818]

(From OE-Core rev: fe828754467db0a09bbc5d6fd54bf6245bd0a747)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:14 +00:00
Max Krummenacher
faa6d2be71 linux-firmware: rdepend on license for all nvidia packages
Fixes commit 0671d04978 ("linux-firmware: package nvidia firmware")

(From OE-Core rev: 59789dea33629a96f0fe5646eb684aa131e167bf)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:14 +00:00
Alistair
26935848a4 weston-init: Fix incorrect idle-time setting
(From OE-Core rev: 84b3a6b7bd73ebad90865ee4351578c2109358fb)

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:14 +00:00
Jose Quaresma
0de203889f ffmpeg: add srt package config knob
* 0001-lavf-srt-fix-build-fail-when-used-the-libsrt-1.4.1.patch
      Upstream-Status: Backport [7c59e1b0f2]

(From OE-Core rev: 5b9c0fa129308180d6d3acf0a321433652ecd9dc)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:14 +00:00
Jose Quaresma
8c193032c5 gstreamer1.0-plugins-bad: add srt package config knob
(From OE-Core rev: 4546cab3ceb3a737d88bb3e0f0dc6f6eb35c1bdb)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:14 +00:00
Joshua Watt
b72597b049 systemd: Re-enable chvt as non-root user without polkit
systemd 245 introduced a regression in behavior where they removed
support for non-root users to chvt from a service file. This prevents
running compositors (e.g. weston) as any user other than root. The
intention is for polkit to be used to allow this (and in fact the
default polkit rules that ship with systemd allow this). However, polkit
is a huge dependency to bring in for an embedded system, and isn't
support by OE-core.

The patch has been proposed upstream to restore the previous behavior of
allowing a non-root user to chvt to unbreak the regression without
requiring polkit.

Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/17494]
(From OE-Core rev: ef8cf581b680f8b8ee35d50c75891b4fd8b91f2f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:14 +00:00
Khem Raj
3c9268f6a0 arch-riscv: Enable qemu-usermode on rv32
Current version of Qemu in OE-core now works fine in rv32/user-mode the
said nvalid instruction errors are gone, so we can enable it now

(From OE-Core rev: f3fa54f91eef5b1b967a6a14b53a07de052dd17a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:14 +00:00
Khem Raj
c8bb402a3e python-numpy: Add support for riscv32
(From OE-Core rev: 151bb4a369fd1eab83d68b06010c282eec551517)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:14 +00:00
Loic Domaigne
3ca9265dbe roofs_*.bbclass: fix missing vardeps for do_rootfs
As per lib/oe/rootfs.py and lib/oe/package_manager/???/__init__.py
the PACKAGE_FEED baseurl is defined as the joined paths of:
URIS/BASE_PATHS/ARCHS

Therefore, the do_rootfs task should depend furthermore on
PACKAGE_FEED_{BASE_PATHS,ARCHS} to properly retrigger a build if
the value changes.

(From OE-Core rev: e5329464f5ebad909c4c9bd27a718bbd8f4cc221)

Signed-off-by: Loic Domaigne (ljd) <tech@domaigne.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:14 +00:00
zangrc
749091eac9 libdrm: upgrade 2.4.102 -> 2.4.103
files/0001-xf86drm.c-fix-build-failure.patch
Removed since this is included in 2.4.103.

(From OE-Core rev: 689df7eb86103b59304ceb5b69bf544cc3fe3f6c)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:14 +00:00
zangrc
414d1f6108 enchant2: upgrade 2.2.12 -> 2.2.13
(From OE-Core rev: 4d69d2ca9c82030421756810cc324dab4f3e7cea)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:14 +00:00
zangrc
0bfd261977 libinput: upgrade 1.16.2 -> 1.16.3
(From OE-Core rev: e710f7cf11d494c057f7065f9fc271b7e4e85d62)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:13 +00:00
zangrc
68ba1c6656 libdnf: upgrade 0.54.2 -> 0.55.0
(From OE-Core rev: 43fe8c3878c01933a32fba0ca3b59a595bfb1ad1)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:13 +00:00
Wonmin Jung
60a0a2fb1e kernel: Set proper LD in KERNEL_KCONFIG_COMMAND
With 'ld-is-gold' and linux kernel 5.4 or later, menuconfig
task for kernel recipes will fail with:

$ bitbake -c menuconfig virtual/kernel
...
scripts/kconfig/mconf  Kconfig
scripts/Kconfig.include:43:  gold linker 'x86_64-poky-linux-ld' not supported
/OE/build/tmp/work-shared/qemux86-64/kernel-source/scripts/kconfig/Makefile:29:
 recipe for target 'menuconfig' failed
make[2]: *** [menuconfig] Error 1
/OE/build/tmp/work-shared/qemux86-64/kernel-source/Makefile:606:
 recipe for target 'menuconfig' failed
make[1]: *** [menuconfig] Error 2
/OE/build/tmp/work-shared/qemux86-64/kernel-source/Makefile:185:
 recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2
Command failed.

This is because that the KERNEL_LD variable already set in
kernel-arch.bbclass isn't used by do_menuconfig function of
cml1.bbclass.

To fix this issue specify LD variable while calling the kernel
menuconfig command through KERNEL_KCONFIG_COMMAND.

(From OE-Core rev: 1faf66ce0b1f8f5165277161e07e25e672370c3f)

Signed-off-by: Wonmin Jung <wonmin82@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-17 21:53:13 +00:00
Alexander Kamensky
eced9bcb33 kexec: arm64: disabled check if kaslr-seed dtb property was wiped
qemuarm64 fails to kexec secondary kernel with following message:

setup_2nd_dtb: kaslr-seed is not wiped to 0.
kexec: setup_2nd_dtb failed.
kexec: load failed.

It happens because kaslr-seed is not wiped in case when CONFIG_RANDOMIZE_BASE
is not set and qemu generates chosen/kaslr-seed property.

Solution is to remove check in kexec-tools that kaslr-seed is 0.

(From OE-Core rev: c11ce15b594c2d988378728701e7e5b0ddaba406)

Signed-off-by: Alexander Kamensky <alexander.kamensky42@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16 14:27:46 +00:00
Martin Jansa
a51ebb8d2d weston: add pam to REQUIRED_DISTRO_FEATURES
* it was added to weston-init in 72dd74c5d384dbe641cc7c02ecf766ff8d5f555f now world
  builds are failing with:

  ERROR: Nothing RPROVIDES 'weston-init' (but openembedded-core/meta/recipes-graphics/wayland/weston_9.0.0.bb RDEPENDS on or otherwise requires it)
  weston-init was skipped: missing required distro feature 'pam' (not in DISTRO_FEATURES)
  NOTE: Runtime target 'weston-init' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston-init']
  ERROR: Nothing RPROVIDES 'weston-dev' (but openembedded-core/meta/recipes-graphics/wayland/weston_9.0.0.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'weston-dev'
  NOTE: Runtime target 'weston-dev' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston-dev']
  ERROR: Nothing RPROVIDES 'weston' (but openembedded-core/meta/recipes-graphics/wayland/weston_9.0.0.bb RDEPENDS on or otherwise requires it)
  No eligible RPROVIDERs exist for 'weston'
  NOTE: Runtime target 'weston' is unbuildable, removing...
  Missing or unbuildable dependency chain was: ['weston']

(From OE-Core rev: 0a882490fe75915c7a119f3498df6750be25f8e0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16 14:27:46 +00:00
Alexander Kanavin
de2a5404d3 gpgme: use python3targetconfig
(From OE-Core rev: 38ecb83c444406b5157712d87aef3bbb320b45ec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16 14:27:46 +00:00
Alexander Kanavin
acfdab8daa meta: drop _PYTHON_SYSCONFIGDATA_NAME hacks
(From OE-Core rev: d3a81dd0e72a3495bfc7cc969c2bb806b666023d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16 14:27:46 +00:00
Alexander Kanavin
3ec7f79ad2 distutils3-base.bbclass: use python3targetconfig
(From OE-Core rev: 9c8f666097802cb594a759989edcf01603a22df3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16 14:27:46 +00:00
Alexander Kanavin
5077e7abba python3-pycairo: use python3targetconfig
(From OE-Core rev: dadf001c85938b831def8da5851a40dc0977e3d0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16 14:27:46 +00:00
Alexander Kanavin
c9f7ed88a9 python3: split python target configuration into own class
Setting _PYTHON_SYSCONFIGDATA_NAME in python3native class globally was
problematic as it was leaking into host python environment, which
was causing tracebacks depending on host distro and action
(typically anything involving importing sysconfig module).

The new class sets the variable only in specific tasks where it is needed,
and should be inherited explicitly:
- use python3native to run scripts with native python
- use python3targetconfig to run scripts with native python
if those scripts need to access target config data (such
as correct installation directories). This also adds a dependency
on target python, so should be used carefully to avoid lengthening builds.

(From OE-Core rev: 5a118d4e7985fa88f04c3611f8db813f0dafce75)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16 14:27:46 +00:00
Luca Boccassi
029c05595e dbus: split -common and -tools out of main package
Certain config files and units are shared between dbus-daemon and
dbus-broker (available in meta-openembedded), so split them out to
allow installing dbus-broker without pulling in dbus-daemon and its
dependencies.
Stand-alone command line tools can also be used regardless of whether
the buses are provided by dbus-daemon or dbus-broker, so split them
out into dbus-tools.
Finally, move the XML schema files out of the main package and into
the development package.

All these changes follow the same pattern used by Fedora, which was
one of the first distro to switch to dbus-broker by default:

https://src.fedoraproject.org/rpms/dbus/blob/master/f/dbus.spec

(From OE-Core rev: cdabc65298f58b3d0ae0de187a7114dd0c445846)

Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16 14:27:46 +00:00
Bruce Ashfield
92eceb5f1d kernel: provide module.lds for out of tree builds in v5.10+
The upstream commit 596b0474d3d [kbuild: preprocess module linker
script], adds a dependency on module.lds for external module
building.

Since module.lds is generated as part of 'modules_prepare', we
must make it available with the other kernel artifacts in the
kernel shared workdir, otherwise out of tree builds fail.

This fixes errors like:

    | make[4]: *** No rule to make target 'scripts/module.lds', needed by
        'build/tmp/work/qemuarm64-poky-linux/cryptodev-module/1.11-r0/git/cryptodev.ko'.
        Stop.
    | make[4]: *** Waiting for unfinished jobs....

We also ensure that kernel-devsrc has a copy to support on
target module builds that are often prepared with 'make scripts
prepare'. Those targets won't regenerate it, so the build fails.
If 'make modules_prepare' is used, the file will be regenerated
and overwrite our copy (as expected).

(From OE-Core rev: 0fc66a0b64953aae38d0124b57615fffaec8de52)

Signed-off-by: Pan, Kris <kris.pan@intel.com>
Signed-off-by: Lili Li <lili.li@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-16 14:27:46 +00:00
Nicolas Dechesne
aaf6aa3e53 sphinx: releases: add link to 3.1.3
(From yocto-docs rev: bf395d0af044f6e9826a8235b760b2d285602b26)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:36:51 +00:00
Paul Barker
52c71e41d4 conf.py: Improve TOC and Outline depth in PDF output
The default PDF output shows only chapter headings in the table of
contents and in the outline (aka PDF bookmarks). We should override
these defaults to set something more suitable.

With a depth of 2 for the TOC we see both section and subsection
headings which is enough to get the list of classes in the reference
manual and the list of topics under "Common Tasks" in the development
manual. Going to a deeper level would make the TOC unwieldy but we do
want to make sure we can navigate more precisely using the outline
(commonly shown in a left tab in PDF viewers) so we set the depth to 5
for the outline.

(From yocto-docs rev: 5db16d3b01da0a138b6413347fcf2321a1bfae08)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:36:51 +00:00
Mark Jonas
2788b47041 libbsd: Remove BSD-4-Clause from main package
libbsd contains a multitude of licenses. For (commercial) projects the
3rd clause of the BSD-4-Clause license can be problematic. But only a
few man pages use this license. This means that the main package
containing the binary library itself is not under BSD-4-Clause ruling.

(From OE-Core rev: 9c3e3f83b5fb162d161a7b9773d426418a22c05f)

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Tom Hochstein
0e826df574 mesa: Add xcb-fixes to loader when using x11 and dri3
Backport fix for undefined symbol for xcb_xfixes_create_region in loader_dri3_helper.c.

(From OE-Core rev: fd55d41c9d2e79fd7f7665107d1640a2dd9a3dc3)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Yann Dirson
9c06fbbbee systemtap: split runtime material in its own package
Note the _class-target qualifier, here to prevent a funky dependency of
systemtap-native on systemtap-native-runtime-native.  This possibly hints
to something deeper ?

(From OE-Core rev: 440dc8bacf6e6307ae8617194b75504702011b16)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Yann Dirson
c606515ab5 systemtap: fix install when python3-probes is disabled in PACKAGECONFIG
(From OE-Core rev: 75bca65ccdfe05da434a5c2b561e13f623499d53)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Yann Dirson
fc556f5e52 systemtap: clarify the relation between exporter and python3-probes feature
(From OE-Core rev: 70e3c46a4df90fc6f59698d5e347087522ca85dd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Yann Dirson
7412e2f2b2 systemtap: remove extra dependencies
Most of the RDEPENDS part of PACKAGECONFIG[translator] appears to be related to
examples only.

(From OE-Core rev: 01372c667371a3749c485459d35033a29d150988)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Yann Dirson
abad536ddf systemtap: split examples and python scripts out of main package
(From OE-Core rev: ddc82d153f19c6738ec2fa57fc2fe0c787a893f1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Matt Madison
33e95fdb0b layer.conf: fix syntax error in PATH setting
Commit 05a87be51b44608ce4f77ac332df90a3cd2445ef introduced
a Python conditional expression when updating PATH that
generates syntax warnings in bitbake-cookerdaemon.log:

  Var <PATH[:=]>:1: SyntaxWarning: "is not" with a literal. Did you mean "!="?

Fix this by using the more appropriate '!=' comparison
operator.

(From OE-Core rev: 2e753a12cf6bb98f9e0940e5ed6255ce8c538eed)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Dan Callaghan
403851d344 gdb: add PACKAGECONFIG for xz (lzma) compression support
Similar to elfutils, when xz support is built into gdb it will be able
to read xz-compressed ELF sections containing debuginfo. This is used by
the "mini debuginfo" format:
https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html

(From OE-Core rev: b7e2f53745977f3f4a472f352e318b4bea8b20f9)

Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Alban Bedel
35a939b7ba systemd: Fix systemd when used with busybox less
Per default systemd use a pager for the output of most of its tools
and it expect this pager to be color capable. But that is not the case
when the busybox `less` is used, which lead to output garbled by color
escape sequences.

To fix this issue add a profile frament that disable the systemd pager
when busybox `less` is detected.

(From OE-Core rev: de7e36a7858ebca4615975967fcad1c399eacdb0)

Signed-off-by: Alban Bedel <alban.bedel@aerq.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Khem Raj
f35343550a lto.inc: Disable LTO for webkit
webkit fails to link with LTO on at this point.  Some of the issues
are being worked on upstream and disabling LTO should be re-evaluated as
we update this change.

(From OE-Core rev: fb24d6504c30d3302fda42b6e6a918d674323a8f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Randy MacLeod
e23f5b063a libsdl2: Disable video-rpi
When building on Raspbery Pi OS/64-bit, libsdl2 fails with
the error:
   .../tmp/work/aarch64-linux/libsdl2-native/2.9.12-r0/SDL2-2.0.12/src/video/raspberry/SDL.rpivideo.h:47:5:
     error: unknown type name 'EGL_DISPMANX_WINDOW_T'
     EGL_DISPMANX_WINDOW_T dispman_window;

Disable video-rpi to avoid the problem since video suppport is
not needed for rpi and this configuration option is harmless when
building on x86-64 hosts.

(From OE-Core rev: 51009ed1b88aa391aae819fd800b907badc2be8c)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Khem Raj
8527cab923 gawk: Avoid using host ar during cross compile
(From OE-Core rev: 5bc83ca06d0d38a6eb9fcc0343d081021dafb2ce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Khem Raj
e9b2734886 lrzsz: Use Cross AR during compile
Current code hardcodes archiver to be 'ar' from build host

(From OE-Core rev: 74ed1d10434213ad3fcf54ded49879090f979e1e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Peter Bergin
dae0e406ae Revert "rt-tests: Enable only for x86/ppc64 architectures"
This reverts commit 44010756b0ae91e0ac7715b7840285d59f991141.

With the packported patch from rt-tests (67da9d8af7d8a0e1a0822e6ee99d68fa3d5a46d2)
that allows build for all archs this patch can be reverted. An error is dumped in
run-time is frc() is not present.

(From OE-Core rev: 89ca044a9aeb73e15dbe4e29aae1b38d9823fbea)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Peter Bergin
361c1fb811 rt-tests: backport patch that enable build for all archs
Upstream rt-tests has applied a patch that allow builds for all archs.
The problem is that oslat using frc() that is not present for all archs.
With this backported patch oslat is building but in run-time an error
message is dumped if frc() is not present.

(From OE-Core rev: bf5b9c531e0b5199b3d406e73d5592f215f482ce)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-13 14:32:00 +00:00
Nicolas Dechesne
345b5cf155 poky.yaml: updates for 3.2
Updates global variables for 3.2 / Gategarth release.

(From yocto-docs rev: 505d4551d47db03b47164321e4559023d9473e21)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-12 13:04:10 +00:00
Nicolas Dechesne
b1d18afd10 poky.yaml: remove unused variables
There are plenty of variables in poky.yaml which are not used anywhere
in the docs. So let's remove them. We can always add the one we need
later.

Note ORGEMAIL could be used in boilerplate.rst, however this file is
not parsed but included, and somehow the yocto-vars.py exenstion does
not process this file, so we cannot use a variable there.

(From yocto-docs rev: f1164d2e6401d93e0b4e484b090abbe0f72a6ac7)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-12 13:04:10 +00:00
Joshua Watt
89a4534f81 documentation: Add Pipenv support
Adds a Pipfile so that Pipenv can be used to automatically install all
the dependencies required to build the documentation

(From yocto-docs rev: 31658ad30827d38dcd4ea83bcfb828441c7c3eca)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-12 13:04:10 +00:00
Richard Purdie
a8ec1f72ba overview-manual-concepts: Fix the compiler bootstrap process
gcc-cross-initial and glibc-inital were removed a while ago and this
flow is incorrect anyway. Fix it to match what happens (adding libgcc
and libgcc-initial which are now important in this context).

(From yocto-docs rev: 047bff2b79c7742abc19d549b78c175dd3b5a8f5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-12 13:04:10 +00:00
Alexander Kanavin
e949e76d0f poky/conf-notes.txt: mention more important images than just sato
(From meta-yocto rev: c9321f75f1f830d5a3f2831f4cbdbffdcbc82bf0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:09:38 +00:00
Chris Laplante
6898b8e383 bitbake: cookerdata: tweak to avoid mutable default argument
(Bitbake rev: 36ee858415866a122784b05f06e2af0c92dfcafd)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:09:18 +00:00
Chris Laplante
d8babbe08a bitbake: bb.ui: delete __init__.py to make bb.ui a namespace package
This would permit creation of third-party UI modules without having to
incorporate them directly into BitBake, with BitBake able to
automatically discover them in the same way it finds its built-in UIs.

See https://packaging.python.org/guides/packaging-namespace-packages/

(Bitbake rev: 991f92b4d15b0571b6a540964e5216d1b9728539)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:09:18 +00:00
Chris Laplante
1eb5b30329 bitbake: main: extract creation of argument parser into function so it can be utilized externally, e.g. by unit tests
(Bitbake rev: 9599059672cc4ae88ba212e34336e0325d37bd75)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:09:18 +00:00
Denys Zagorui
7b94fa5d96 binutils: reproducibility: reuse debug-prefix-map for stabs
powerpc 32bit Linux Kernel widely uses .stabs pseudo-op to
produce debugging information in stabs format. Faced an issue
that during Linux Kernel build with Yocto build system for 32bit
powerpc platform resulting vmlinux contains absolute path in
.stabstr section that cannot be remapped with -fdebug-prefix-map
option.

Yocto uses scripts/mkmakefile Linux Kernel build approach that
allows to store all generated files outside of kernel source
tree. With this approach each compilier invocation is performed
with an absolute path to a file that will be compiled and this
absolute path is recorded in init stab. There is no way to remap
this path.

Reuse remap_debug_filename api to make -fdebug-prefix-map flag
aplicable for init stab.

(From OE-Core rev: 4dce4e01cfa153fb12cfd1684d36e0432bef6741)

Signed-off-by: Denys Zagorui <dzagorui@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Konrad Weihmann
e8fd6bb2ec testimage: print results for interrupted runs
When a run is ended by overall timeout, print the already executed
testcases, to provide some hints which testcase might made the
test suite reach global timeout.
Nonetheless make the testrun exit with an error

(From OE-Core rev: 2bcc643195a3b3c66d698fac8b7af037c08545ac)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Konrad Weihmann
3c4147880e oeqa/core/context: initialize _run_end_time
with _run_start_time as value. For partial results of interrupted runs,
this info might be otherwise missing for at least one testcase

(From OE-Core rev: 1c5e8baf57fa2a33b9ef507b11d9ea9acaa77238)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Konrad Weihmann
02be651f88 oeqa/core/context: expose results as variable
register an unittest handler for testresults and expose it as
variable result.
With this even partial results from an interrupted test suite run
can be made available

(From OE-Core rev: a97ae47525157871b6c098ffc352293e365a4335)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Steve Sakoman
8d8a840d02 openssh: whitelist CVE-2014-9278
The OpenSSH server, as used in Fedora and Red Hat Enterprise
Linux 7 and when running in a Kerberos environment, allows remote
authenticated users to log in as another user when they are listed
in the .k5users file of that user, which might bypass intended
authentication requirements that would force a local login.

Whitelist the CVE since this issue is Redhat specific.

(From OE-Core rev: 309132e50d23b1e3f15ef8db1a101166b35f7ca4)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Ross Burton
c967114b0e webkitgtk: fix build with ICU 68.1
ICU 68.1 doesn't expose TRUE/FALSE macros anymore, so backport a patch
to fix the build from upstream.

(From OE-Core rev: 55e09fff01758088bba51ab6a24f833a8846683e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Ross Burton
57f75912e9 libical: backport a patch to fix build with ICU 68.1
(From OE-Core rev: b5950dbe48cace0370ff513ad8117c355a310ff8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
zangrc
78dc72be45 icu: upgrade 67.1 -> 68.1
-License-Update:The address changes are as follows:
  # Project: http://code.google.com/p/lao-dictionary/
  # Dictionary: http://lao-dictionary.googlecode.com/git/Lao-Dictionary.txt
  # License: http://lao-dictionary.googlecode.com/git/Lao-Dictionary-LICENSE.txt

(From OE-Core rev: 1b12900a223a929ad884c9f69d17c4bd5b681e6e)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Federico Pellegrin
7d2fd032cd openssl: Add c_rehash to misc package and add perl runtime dependency
The following changes since commit f075071761:

  conf: update for release 3.2 (2020-11-09 13:16:13 +0000)

are available in the Git repository at:

  git://push.yoctoproject.org/poky-contrib fedepell/bug14083

Federico Pellegrin (1):
  openssl: Add c_rehash to misc package and add perl runtime dependency

c_rehash implemented in perl is back (in history was moved to shell for
some time), so handle it inside the -misc package so just that one will
carry the heavy runtime dependency on perl and not the whole openssl
package. Note: in misc there were already before a few perl files
(tsget.pl and CA.pl) so the added perl dependency will fix those too.

[YOCTO #14083]

(From OE-Core rev: 70da1f956bfbb627691c47eba7451182aca758e3)

Signed-off-by: Federico Pellegrin <fede@evolware.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Joseph Reynolds
834ef343b3 add new extrausers command passwd-expire
This enhances extrausers with a new passwd-expire command that causes
a local user's password to be expired as if the `passwd --expire`
command was run, so the password needs to be changed on initial login.

Example: EXTRA_USERS_PARAMS += " useradd ... USER; passwd-expire USER;"

Tested: on useradd accounts
When configured with Linux-PAM, console login prompts for and can
successfully change the password.  OpenSSH server works.  Dropbear
SSH server notes the password must be changed but does not offer a
password change dialog and rejects the login request.

(From OE-Core rev: 1bdcfa4b0d378947a6759fb91872a4edc9a42622)

Signed-off-by: Joseph Reynolds <joseph-reynolds@charter.net>
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
zangrc
2b5e7e4276 iproute2: upgrade 5.8.0 -> 5.9.0
0001-devlink.c-add-missing-include.patch
Removed since this is included in 5.9.0.

(From OE-Core rev: e434627b29a1a01b06473efeb291783a4afdd50f)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Alejandro Hernandez Samaniego
82c9a7c82e python3: Update manifest
Update the python3-manifest to match the files installed by the
new version of python3.
- Kept tkinter the way it was although tk isnt part of OE-Core
- Made typing part of python3-core
- Update other packages with new dependencies such as filecmp and dataclasses.

(From OE-Core rev: 5933d7bae8103eaad5b204438704ea04ebc0d291)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Alexander Kanavin
21c1658945 wayland-utils: introduce a recipe
wayland-utils contains wayland-info utility which deprecates
and replaces weston-info from weston.

(From OE-Core rev: bb8fa9950e716fdcee818a38dc4df3a19b1f3c2f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Alexander Kanavin
fb8b3eeed9 weston-init: fall back to fbdev under x32
Otherwise, there's a crash in swrast - the same issue as with
X11.

(From OE-Core rev: 09ef3dacc55544143a146190c3d66fcf5dc697ad)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Alexander Kanavin
a839c9ba88 weston-init: correctly start under systemd
Several issues are addressed:
1. weston requires pam when starting under systemd
2. systemd was attempting to launch weston twice (from
sysvinit script and from systemd unit file) which caused confusion
and errors.
3. runtime test should stop/start weston via systemd only if systemd
actually controls system startup, not merely when systemd is present.

(From OE-Core rev: 72dd74c5d384dbe641cc7c02ecf766ff8d5f555f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Alexander Kanavin
65993a90a6 conf-notes.txt: mention more important images than just sato
(From OE-Core rev: f89138e12c3021ed49aa7ccdf90543d2aaaad279)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Khem Raj
a6b373ba95 musl: Update to latest master
fix erroneous pthread_cond_wait mutex waiter count logic due to typo

https://git.musl-libc.org/cgit/musl/log/?qt=range&q=27b2fc9d6db956359727a66c262f1e69995660aa..d91a6cf6e369a79587c5665fce9635e5634ca201

(From OE-Core rev: 09ffd51416da9475c3a2aadc7423d791fdcf21ae)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Khem Raj
19d9a1915c gcc: Handle duplicate names for variables
PREFIXVAR is defined in cppdefaults.c as well which shows up as error
when LTO is enabled to build gcc, therefore rename the one instance to PREFIXVAR1

(From OE-Core rev: 984da023a595a10ae62d4fc2a1f2fe96c4701223)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Khem Raj
d3598e429b lto.inc: Disable LTO for perf
perf invokes kernel sources, and currently fails in multiple places for
now therefore disable LTO for perf

(From OE-Core rev: f59a2db89a245d3ef9acd094f2055fb07dd4f42b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Khem Raj
4f62a09c6e puzzles: Check for excessive constant arguments
Fixes an issue found with LTO builds

(From OE-Core rev: 4698e7868b34f6d0676842340659fb3a5f58d532)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:12 +00:00
Khem Raj
c55b6ce9ed gcc: Do no parameterize LTO configuration flags
These flags are redundant as LTO now enabled in GCC by default for
sometime, Moreover, dropping LTO variable here avoids a conflict with
global LTO variable being added for distrowide LTO support

(From OE-Core rev: 50cd8edc9849d6ab6249d4c49c7e41bb476dcb71)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:11 +00:00
Khem Raj
d0b24abaf2 lto.inc: Disable LTO for xserver-xorg
It ends up with undefined symbol when LTO is enabled
Fixes
test/xi2/protocol-xiquerydevice.c:345: undefined reference to `GrabButton'

(From OE-Core rev: 129ec897a25ed9ba2657f0ed44ccaf2f429ce6ac)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:11 +00:00
Khem Raj
b526b13f62 weston: Fix linking with LTO
weston uses --no-undefined option during linking which does not work
with LTO therefore override it with -z undefs when lto is enabled in
distro

(From OE-Core rev: c5252fc88938ab3425595dcf31f892ed4aba6bc1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:11 +00:00
Khem Raj
7eb6bb8490 libaio: Disable LTO
Libaio uses ASMs to implement symbol versioning which does not work with LTO

(From OE-Core rev: 2b59fe1076d930a685fa7f443163da70a1d168b3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:11 +00:00
Khem Raj
352446a2ee lto: Introduce LTOEXTRA variable
Certain packages may need additional flags to enable LTO, therefore
LTOEXTRA can be used to pass those flags

Add -flto-partition=none for alsa-lib

(From OE-Core rev: 0a5778f40f0d1a252f38151a1d4103fa7cbe7796)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:11 +00:00
Khem Raj
d20e270ecc lto.inc: Add -ffat-lto-objects and -fuse-linker-plugin
This helps to improve LTO and ensure the libs can be linked with non-LTO
objects too

(From OE-Core rev: 770c69c51f87223eee7bd968fd28a5dc15a955d6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:11 +00:00
Khem Raj
3487d920f6 python3: Enable lto if its in DISTRO_FEATURES
python3 configure compiles on object file and then greps for strings in
it for endianness for target ,when using LTO the .o files are not nomal
ELF onjects so this test fails, since we are using --enable-lto to
enable this here we dont need to inject extra paths via bitbake anyway
therefore reset LTO variable for target

(From OE-Core rev: 2ccaa99871af8cb5b41e12a619e1bfbea4ca6f33)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:11 +00:00
Khem Raj
9df7ab8089 lto: Add global LTO distro policy file
Distros which want to enable LTO can utilize this file, it only covers
packages from OE-Core, other layers should include there own exclusion
list for recipe which dont work with LTO

Document the needed changes in local.conf.extended

(From OE-Core rev: 228b5a91516cdf9d5a1df3c721ba8e5619b188ab)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-11 10:08:11 +00:00
Nicolas Dechesne
f075071761 conf: update for release 3.2
switchers.js:
* add 3.2 release
* update 'dev' to 3.3

(From yocto-docs rev: f8b5e11bf31f2df9d86abfa5f7fcf7f3d66a4f85)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-09 13:16:13 +00:00
Lee Chee Yang
03f8c9d9f9 bitbake: BBHandler: prompt error when task name contain expression
Task name contain expresion (eg, do_foo_remove_bar) can cause fatal error.

Check for naming before addtask. Prompt with understandable error message
when expression found in task name.

[YOCTO #8805]

(Bitbake rev: 5b4a5bb0960386f9c524c220e43a16e60e38964d)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:04:42 +00:00
Yongxin Liu
bf0e7912c8 grub: clean up CVE patches
Clean up several patches introduced in commit 6732918498 ("grub:fix
several CVEs in grub 2.04").

1) Add CVE tags to individual patches.
2) Rename upstream patches and prefix them with CVE tags.
3) Add description of reference to upstream patch.

(From OE-Core rev: bcb8b6719beaf6625e6b703e91958fe8afba5819)

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:21 +00:00
Martin Jansa
81a925ac9e webkitgtk: fix build with x11 enabled
(From OE-Core rev: e060925735a274164b43db5eb70af29ebf2b046e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:21 +00:00
Martin Jansa
f465c6fa30 webkitgtk: fix opengl PACKAGECONFIG
* ENABLE(OPENGL) was renamed to ENABLE(GRAPHICS_CONTEXT_GL) in r254064:
  92f9916b4a
  and
  b3cb3ba4fa
  but AUH doesn't notice that and builds without opengl in DISTRO_FEATURES are now
  failing with:
  | CMake Error at Source/cmake/OptionsGTK.cmake:323 (message):
  |   Either OpenGL or OpenGLES2 is needed for ENABLE_GRAPHICS_CONTEXT_GL.
  | Call Stack (most recent call first):
  |   Source/cmake/WebKitCommon.cmake:58 (include)
  |   CMakeLists.txt:173 (include)

(From OE-Core rev: 82ac2a91ea6adc33f2f10634fe0a3f1ad4d12e66)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Yi Zhao
a1be6b8b07 dhcpcd: upgrade 9.3.1 -> 9.3.2
(From OE-Core rev: daddb89daf8c1048375cd2102b9819f8f1c2e41c)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Yi Zhao
10dc1748bd dhcpcd: install dhcpcd to /sbin rather than /usr/sbin
The dhcpcd path is hardcoded to /sbin in ifupdown package. Move dhcpcd
from /usr/sbin to /sbin to make sure ifup/ifdown can find it when dhcpcd
as the dhcp client backend.

(From OE-Core rev: ed7cdf95f1dcb3df6e954551f9578a8ac15f2795)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Khem Raj
29a911b5ff rt-tests: Enable only for x86/ppc64 architectures
It needs frc() implementation for oslat, this is new tool added to
rt-tests recently, and there is no easy knob to configure it out at
present

(From OE-Core rev: 44010756b0ae91e0ac7715b7840285d59f991141)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Alexander Kanavin
07c2be331a clutter-gst-3.0: do not call out to host gstreamer plugin scanner
This is host contamination and can also fail for all kinds of
reasons when running under usermode qemu.

(From OE-Core rev: fb60d0920b660dffb346b2212dc6f8ba2a0b9fde)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Purushottam choudhary
ec37a2be66 systemd: selinux hook handling to enumerate nexthop
When selinux is enabled, the call of
manager_rtnl_enumerate_nexthop() fails.
This fix is to facilitate selinux hook handling
for enumerating nexthop.

In manager_rtnl_enumerate_nexthop() there is a check
if "Not supported" is returned by the send_netlink() call.
This check expects that -EOPNOTSUPP is returned,
the selinux hook seems to return -EINVAL instead.
This happens in kernel older than 5.3
(more specificallytorvalds/linux@65ee00a) as it does not support
nexthop handling through netlink.
And if SELinux is enforced in the order kernel, callingRTM_GETNEXTHOP
returns -EINVAL.

Thus adding a call in the manager_rtnl_enumerate_nexthop for the
extra return -EINVAL.

Note: systemd version is different in yocto project (v246.6) and
systemd master(v247) and In systemd verison(246.6)
mac_selinux_enforcing() function is not declared and defined.

(From OE-Core rev: c521df3f0a86521ce78fd5c057293b2c242fba79)

Signed-off-by: Purushottam choudhary <purushottam.choudhary@kpit.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Nathan Rossi
ce447d70df cml1.bbclass: Handle ncurses-native being available via pkg-config
The linux kernel will by default use pkg-config to get ncurses(w) paths,
falling back to absolute path checks otherwise. If the build host does
not have ncurses installed this will fail as pkg-config will not search
the native sysroot for ncurses.

To more all kernel/kconfig sources, inject the equivalent native
pkg-config variables similar to what is done by the pkg-config-native
script. This only affects the menuconfig python task itself and the
oe_terminal call inside it.

(From OE-Core rev: abb95c421bb67d452691819e3f63dabd02e2ba37)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Khem Raj
c278a8171b gstreamer: Fix build on 32bit arches with 64bit time_t
Fixes

| ../gstreamer-1.18.1/gst/gstsystemclock.c:330:1: error: static_assert failed due to requirement 'size
of(struct _GstClockEntryPThread) <= sizeof(struct _GstClockEntryImpl)' "Expression evaluates to false"
| G_STATIC_ASSERT (sizeof (GstClockEntryImpl) <=                                                      | ^                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

(From OE-Core rev: bafbe8bc0976d4c3ccf7e97979cd956f6374f53d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Khem Raj
af1ed1aaf4 numactl: Link with libatomic on rv64/rv32
bring a missing commit from meta-oe

Fixes
riscv64-yoe-linux/10.2.0/ld: ./.libs/libnuma.so: undefined reference to `__atomic_fetch_and_1'

(From OE-Core rev: ea70d7f8f78cd793242cf6804840507d2ebd2871)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Chaitanya Vadrevu
ea5880f9f9 isoimage-isohybrid.py: Support adding files/dirs
Add "payload_dir" parameter so user can add other files/dirs
to the ISO.

(From OE-Core rev: bbe84a33c81066fee96dd28a4009d8404b51e642)

Signed-off-by: Chaitanya Vadrevu <chaitanya.vadrevu@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Ross Burton
da439ffb15 json-glib: update patch status
(From OE-Core rev: 26b77f9a995aea9d7d77d216b31385012cad2523)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Ross Burton
e32e279b32 json-glib: use PACKAGECONFIG for tests
json-glib 1.6 has an option to enable or disable the tests, so use that
instead of a do_install_append.

(From OE-Core rev: cbfa29cda670222928ca692406114839c5e41e0c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Nathan Rossi
7183f0712c diffstat: add nativesdk to BBCLASSEXTEND
The diffstat tool is part of HOSTTOOLS. To support hosts that do not
have it installed with buildtools-tarball it must be enabled for
nativesdk.

(From OE-Core rev: 0ed002422bc46539f1d71ed19ee17358b6691bf0)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Yi Zhao
56aa4f69c8 pulseaudio: unify volatiles file name
Make the volatiles file name start with a numeric value to unified
volatiles file naming. I searched in oe-core, only pluseaudio volatiles
file name is not start with number.

On a default sato-sdk image:
$ ls /etc/default/volatiles/
00_core 01_bootlogd 99_dbus 99_sshd 99_wpa_supplicant volatiles.04_pulse

This is just a name change and will not affect the functionality.

(From OE-Core rev: 8e7b8db0e6b3f5c7267afca16133e9369a43d45f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Nathan Rossi
decd9f224f rsync: add nativesdk to BBCLASSEXTEND
(From OE-Core rev: 6852b66ee03e7ee61e4705eadd1957140b217f9c)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Ross Burton
e4c3655d0a syslinux: add link to upstream discussion in patch
(From OE-Core rev: dfc2b114e9d62f0eee04129009a24a8edb2a8dd1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Richard Leitner
08bff53ecd weston-init: introduce WESTON_GROUP
Currently the WESTON_USER variable is used as user and group name for
chown'ing XDG_RUNTIME_DIR. If WESTON_USER has no group with the same
name this fails.

Therefore add a new WESTON_GROUP variable which is set to WESTON_USER if
not specified to ensure backwards compatibility.

(From OE-Core rev: 8d4e0ac61671646749a30c72782376307b3e0c82)

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Andrej Valek
fad3498a79 autotools: CONFIG_SHELL defaults
Do not hard-code default shell to /bin/bash even if CONFIG_SHELL is already
set to other shell, but keep /bin/bash as a default. This will fix a shadow
issue, where CONFIG_SHELL is exported to /bin/sh, but /bin/bash is used
even if it's not installed.

(From OE-Core rev: 019d9128af813cb87b702ae10aa630c79fc24c00)

Signed-off-by: Andrej Kozemcak <andrej.kozemcak@siemens.com>
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Gratian Crisan
da85f7389e kernel-module-split.bbclass: identify kernel modconf files as configuration files
Currently the modconf fragments representing the configuration for
kernel modules are written out to appropriate .conf files and added to
the FILES variable. However they are not identified as 'configuration
files' and installing a new version of a kernel module results in a
conflict and a failed installed because the respective .conf file is
already in place from a previous install.

Add the generated .conf files to the CONFFILES variable denoting their
true nature.

(From OE-Core rev: 1a70a92d1f1006be115429a4262259c9084f484d)

Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Anibal Limon
dafed0b6c9 recipes-graphics: libxkbcommon disable build of libxkbregistry
This library depends on libxml2 causing a build failure,

...
07:50:36 Run-time dependency xcb-xkb found: YES 1.14
07:50:36 Found CMake: NO
07:50:36 Run-time dependency libxml-2.0 found: NO (tried pkgconfig)
07:50:36
07:50:36 ../libxkbcommon-1.0.1/meson.build:329:4: ERROR: Dependency "libxml-2.0" not found, tried pkgconfig
07:50:36
07:50:36 A full log can be found at /srv/oe/build/tmp-rpb-glibc/work/cortexa53-linaro-linux/libxkbcommon/1.0.1-r0/build/meson-logs/meson-log.txt
07:50:36 WARNING: exit code 1 from a shell command.
...

According libxkbcommon PACKAGING file the libxkbregistry is suggested to
be packaged separately, users of libxkbcommon dosen't require
libxkbregistry and vice-versa, see:

https://github.com/xkbcommon/libxkbcommon/blob/master/PACKAGING

(From OE-Core rev: 3d46e53459c93babbd0918e243a488cce5471c23)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Nathan Rossi
803fb7e487 vim: add nativesdk to BBCLASSEXTEND
Enable nativesdk build support in order to be able to include vim in
nativesdk targets (e.g. buildtools-tarball/sdk). It is useful to be able
to provide an editor in a relocatable form for when hosts do not provide
an editor. Additionally the vim recipe provides the xxd tool.

(From OE-Core rev: 72399c0c2eca21d2c27c3ba668d456375453b809)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Richard Purdie
8aca690ea7 alsa-utils: Fix license to GPLv2 only
Parts of alsa-utils are v2 only, parts are v2 or later. The effect is
the end result is GPLv2 and there seems little value in marking everything
as being a mixture of both. Fix LICENSE to match reality.

(From OE-Core rev: a9a17a991174b732597e21045763ea851f486a01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Richard Purdie
738dba650c libdnf: Fix license as it contains 'or later' clause
The license headers are clear that the code is "or later", fix LICENSE
to match.

(From OE-Core rev: e565e0b908c71ad5106d1c6c73d269b819787e55)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Richard Purdie
744a463831 ptest-runner: Fix license as it contains 'or later' clause
The license headers are clear that the code is "or later", fix LICENSE
to match.

(From OE-Core rev: 5f0b5cdfcb104ac50222a47652e090ad8770e49f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Yi Zhao
1dd508683d connman: set service to conflict with systemd-networkd
Do not run systemd-networkd and connman simultaneously. These two
network managers may conflict with each other.

(From OE-Core rev: 5303420ead25817f5caec276b79eec7ee797271a)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Alexander Kanavin
4b22009db5 mesa: fix a build race
(From OE-Core rev: df243fa624f3acf20abc7574909bd43db2ed9d12)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Ricardo Salveti
c173b349ca dosfstools: add mkfs.vfat to ALTERNATIVE
The mkfs.vfat tool can also be provided by busybox via the CONFIG_MKFS_VFAT
configuration (not enabled by default in OE but can be enabled on
systems avoiding components based on GPLv3).

(From OE-Core rev: 1227a29974671fd52014deaca7ac859a037cdeb5)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Jason Wessel
781d6a8316 systemd-serialgetty: Switch to TERM=linux
Long ago in commit 473ff65c2f69de4ece3204fadfae7c5cb992149a
(serial-getty service: Add xterm as default TERM), the xterm
became the default for the serial port terminal.

Using the version of vim.tiny in oe-core master with the
serial port connected in xterm version 322 (which is one
of the most widely deployed versions at the current time)
causes artifacts and missed characters.

The example sequence is the following:
  * Start vim
  * Press "i" to enter input mode
  * Type "123"
  * Press Escape to enter command mode
  * Press "a" to enter append mode
  * Type "456"

At this point if you are using xterm less than version 535 you will
see on your screen "12456" instead of "123456".

Changing the TERM variable to "linux" will still allow you to have all
the same functionality with colorization, ansi character escapes
etc..., but will avoid the extra xterm specific escape sequence that
only exists in the most recent versions of xterm.

This patch allows the end user to set the serial terminal type to
something other than the new default of "linux" by changing the
SERIAL_TERM variable in local.conf.  For example:
    SERIAL_TERM = "xterm"

(From OE-Core rev: 3de72f45135d7c79b43ad25b539f117d040aa246)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Jason Wessel
017cdf751d base-files/profile: Add universal resize function
Using an editor or any kind of command line that wraps beyond the
column width of the session on a serial port is quite problematic
unless you are using an 80x24 session.

The original /etc/profile tried to use the resize binary if it was
available.  The problem is that you only get the resize binary if
xterm, or busybox is installed.

This updated /etc/profile will add a resize function available to the
shell when no xterm or busybox resize binary is found.  More care is
taken in this new version to test that terminal is interactive.  The
EDITOR and SHLVL environment variables are checked to prevent resize
from running necessarily.

The function definitions are not indented intentionally to keep them
to the 80 column width.

(From OE-Core rev: 3743892996172c8595a1cbe884c4a0e6ef50dcda)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Alexander Kanavin
3bbe49bc02 kea: use odd-even version scheme for updates
(From OE-Core rev: ac5e0fd67d268dbf6fa80df101bc3f0d3f16d303)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-08 14:03:20 +00:00
Alexander Kanavin
1ad2836451 numactl: upgrade 2.0.13 -> 2.0.14
(From OE-Core rev: a59c246be05ca284fa27df87b5db09a70f527cc2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
521b77177d libsoup-2.4: upgrade 2.70.0 -> 2.72.0
(From OE-Core rev: 8fde4056c359dccc551bce2764219d0416626524)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
b0beea349e libmpc: upgrade 1.2.0 -> 1.2.1
(From OE-Core rev: 62e8f093c794cfd7cc65368b56777bca0101d51b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
38250886b8 libgcrypt: upgrade 1.8.6 -> 1.8.7
(From OE-Core rev: 15f1143ad34586740dd782506ff393c4f3735614)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
b6721c66de libevdev: upgrade 1.9.1 -> 1.10.0
(From OE-Core rev: 82c40ab7d218c676a011a74e1ee653097d5d5b11)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
0090431b10 libcap-ng: upgrade 0.7.11 -> 0.8
(From OE-Core rev: 299ebab6ac6e0c0c2d688054191cdb227de46a4d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
55ffc0c040 libassuan: upgrade 2.5.3 -> 2.5.4
(From OE-Core rev: 8ee0bc7a8aab9369f6c09b561b9d2702a2fc6391)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
77dc687d00 enchant2: upgrade 2.2.9 -> 2.2.12
License-Update: reformatting
(From OE-Core rev: 53971a92b7a1b7c94fefc6ea89db6e1e715f1972)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
faef5ddfab diffoscope: upgrade 160 -> 161
(From OE-Core rev: 1d2d6b801d553d63db671e5f574c892f4623b753)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
3da35c697d webkitgtk: upgrade 2.30.1 -> 2.30.2
(From OE-Core rev: 0a412e9c7c53932f804657fcf49b5c3900038300)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
1929a1e359 rt-tests/hwlatdetect: upgrade 1.8 -> 1.9
(From OE-Core rev: 3276fdb880979bb3572cbb36602b7eefb7896929)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
dd0ecfcf06 x264: upgrade to latest revision
(From OE-Core rev: 5e66e24137ca39fee7431424127360a897d5b819)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
da390c5a3a gstreamer1.0: upgrade 1.18.0 -> 1.18.1
License-Update: COPYING replaces gpl2 with lgpl2.1, COPYING.LIB removed.
This does not change the overall licensing situation as explained here:
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1422

(From OE-Core rev: d375ad9f36f3c8be8f8d5fe26fbbf43e84bd17ed)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
1d9c874a91 alsa: upgrade 1.2.3 -> 1.2.4
Backport a patch to fix musl builds.

(From OE-Core rev: 5cafc3721cbe0193fb444adba4cc82a820f3f33f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
68faa826df linux-firmware: upgrade 20200817 -> 20201022
License-Update: WHENCE file names updates
(From OE-Core rev: bca259699d79bb16a6f07afa80f2768f9c62ceec)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
048645e033 freetype: upgrade 2.10.2 -> 2.10.4
(From OE-Core rev: a6b5ff561322d760eac46998de3e9e3520b0e02a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
f28d84844c libhandy: upgrade 1.0.0 -> 1.0.1
(From OE-Core rev: 26030503e882a8f6078abd334860470e6f900f06)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
fb980bba3b stress-ng: upgrade 0.11.21 -> 0.11.23
(From OE-Core rev: e279b1b6ff956b7a4d17e7b7ea3b5de3d84d397e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
d37052f06f libsolv: upgrade 0.7.14 -> 0.7.16
(From OE-Core rev: 23fb5c3a4eeb349a84c110f8d4d55bd79e75e991)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
cbd6e6e32a iptables: upgrade 1.8.5 -> 1.8.6
(From OE-Core rev: d81f9f3ed497241d6ac93d3c756eb55747eb07a0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
9ada2c0601 asciidoc: upgrade 9.0.2 -> 9.0.4
(From OE-Core rev: 9fcdf7b7c3236a92f417c5c4969440fcc3f7ac01)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
08ecc250b6 python3-setuptools: upgrade 49.6.0 -> 50.3.2
(From OE-Core rev: f563777a1db24665223de246375df35285ba780a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
bcc2b20272 python3-pygments: upgrade 2.6.1 -> 2.7.2
License-Update: copyright years
(From OE-Core rev: 6d0fde1ca6127efdbbbbb8822f4f57f767782bdf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
e651eeec56 python3-pyelftools: upgrade 0.26 -> 0.27
(From OE-Core rev: 61c32e90aaa95a10c0827cb8adb9d0cc397e0904)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
a020d0ca29 python3-git: upgrade 3.1.7 -> 3.1.11
(From OE-Core rev: 4861630f014ddb011f2cdbe3dbf156685ad259da)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
6d009048cc python3-numpy: upgrade 1.19.1 -> 1.19.3
License-Update: reformatting
(From OE-Core rev: 6156d393285784f97f24995e8ee0148faefa5965)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
12be61d63d mtools: upgrade 4.0.24 -> 4.0.25
(From OE-Core rev: f3a389990035d4a93136479120c2a2ab94cf5664)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
2cf8d92f44 go: upgrade 1.15.2 -> 1.15.3
Set PV directly to allow automated version updates between point releases.

(From OE-Core rev: 84034ea18a9fb1a012a1ecdc3a84296b08d3cc23)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
bb986b4207 git: upgrade 2.28.0 -> 2.29.2
(From OE-Core rev: 335ff8e20068c45b6794f6ef5ed302726e5f46f1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
4e6ff213ba btrfs-tools: upgrade 5.7 -> 5.9
(From OE-Core rev: 10a43505acc84b73d7bfcf0da0ddeef3c5a23a3c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
c7ef37c86a dropbear: upgrade 2020.80 -> 2020.81
(From OE-Core rev: 92a6ab079fdbf7166073eb23df0269bc437ba7a4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
30762126f8 nfs-utils: upgrade 2.5.1 -> 2.5.2
Drop chunks from clang-warnings.patch that are merged upstream.

(From OE-Core rev: ef0312566e53de693d5b0071afbec07b2840feae)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
85e44db4da usbutils: upgrade 012 -> 013
(From OE-Core rev: 450f4ec6e76f742800a684f278e84e8268297573)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:12 +00:00
Alexander Kanavin
c88bcad588 u-boot: upgrade 2020.07 -> 2020.10
License-Update: added MIT license to README; overall license remains as it was
(From OE-Core rev: 32e754ec89e8f33e5b6e83a8ac359ffc3690282f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
c35646464b xkeyboard-config: upgrade 2.30 -> 2.31
Add python3native, as at least python 3.6 is needed during build, and not
all hosts have that.

(From OE-Core rev: a53586bd5230f66be8a44428d1a29235cf4ca2a7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
5915e20513 wpebackend-fdo: upgrade 1.7.1 -> 1.8.0
(From OE-Core rev: 19a9b1dde127eb08b985491d0fd4956f54201905)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
06a7eda41a vala: upgrade 0.48.9 -> 0.50.1
(From OE-Core rev: f7cdcb7e5ff31f83446af4869c7735bc3d336fd2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
97d452a6b8 sudo: upgrade 1.9.3 -> 1.9.3p1
(From OE-Core rev: bdc1f9006331391d83e1982339dfe0449b48db99)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
09f7f44c2e strace: upgrade 5.8 -> 5.9
(From OE-Core rev: bceb1a78c372118f4640d9396b46739deef4ea1b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
ebab3cc8ff openssl: upgrade 1.1.1g -> 1.1.1h
(From OE-Core rev: 37d19b346894c751184ec1e5e97fbdee244f47a0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
2620339051 openssh: upgrade 8.3p1 -> 8.4p1
(From OE-Core rev: fc394ade8a0033bc695d979e592e8e92a882c54d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
234dfd2f78 libxkbcommon: upgrade 0.10.0 -> 1.0.1
(From OE-Core rev: 7136d9db6d5056702758c96b665aae7963812662)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
3f30f1b540 libwpe: upgrade 1.7.1 -> 1.8.0
(From OE-Core rev: ab286e500457a03fc95fd9598b4dedc3463d7011)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
7d57f189c0 libva-utils: update 2.8.0 -> 2.9.1
(From OE-Core rev: 1587ecc714c70451327b506b4c3be8f448124d6b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
b9fd33560e libva: upgrade 2.8.0 -> 2.9.0
(From OE-Core rev: 69a25c4fa5fc8fb1d16622836a9b468398154ad7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
7944a0ff04 libuv: upgrade 1.39.0 -> 1.40.0
(From OE-Core rev: b55173eacf07e0ad9cb4c5a8ee2e00aceec1f1ed)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
3bd1fbc359 libinput: upgrade 1.16.1 -> 1.16.2
(From OE-Core rev: 8a12190d495d3915a06ac5a908712510caad0669)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
4da8ce9932 libgudev: upgrade 233 -> 234
(From OE-Core rev: c6004c580169a6d0a03c208ddf69b43091e8e80e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
42daaa4c23 libdnf: upgrade 0.48.0 -> 0.54.2
(From OE-Core rev: 9ba4e6300d6d461ca9878018191825ce140b07fe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
b1702f130a less: upgrade 562 -> 563
(From OE-Core rev: 6f25ff8f413e47f285d8aa846c73f93377f9f0f0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
752a3ba36a kmscube: upgrade to latest revision
(From OE-Core rev: 27fb1996a45a359f2cc0e8f4b43980c9c1b1c1f1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
a23cf71017 iw: upgrade 5.8 -> 5.9
(From OE-Core rev: 9f4538b718a418940a700acac5602b5559ba3311)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
bc493016c7 i2c-tools: upgrade 4.1 -> 4.2
(From OE-Core rev: c9bc1fffd5f59261bd6833dae3cd25cfc5a98af5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
f81b6c8e3b help2man: upgrade 1.47.15 -> 1.47.16
(From OE-Core rev: f18bd4c6ad7a9d761862eda360d9fb727be93ef1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
315a413b33 gtk+3: upgrade 3.24.22 -> 3.24.23
(From OE-Core rev: 29944db7bda2294350dc0c2e8a864cc67cdeb876)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
5f2494b32e glib-networking: upgrade 2.64.3 -> 2.66.0
(From OE-Core rev: efdcf699486c9dff6004cbde371898ac8cb34eb0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
2baa2105b4 gcr: upgrade 3.36.0 -> 3.38.0
(From OE-Core rev: d0d33f2aa7028593768e0ad2d09c729d170c858e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
2e522b777b expat: upgrade 2.2.9 -> 2.2.10
License-Update: copyright years
(From OE-Core rev: ef7e5fbd460e136aa20a519372d4d69574ce73b9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
3f737de776 ethtool: upgrade 5.8 -> 5.9
(From OE-Core rev: 7ed1a8ee627b69d54c91d3e18d22a4679b9c10d5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
ca1d13276b dnf: upgrade 4.2.23 -> 4.4.0
(From OE-Core rev: 06303c3a66f981928d49530118e89b1a5616d964)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
e2abc40756 dmidecode: upgrade 3.2 -> 3.3
(From OE-Core rev: 528790d8a79f9d7234c877ff07c12f53057b6d20)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
9343264bc3 dhcpcd: upgrade 9.2.0 -> 9.3.1
(From OE-Core rev: c2a21a7f9d458fa7a13e533d8ecf10c8bc7b9909)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
1b90929ef5 debianutils: upgrade 4.11.1 -> 4.11.2
(From OE-Core rev: cb9bfb2af9af3fffb7f5ae8ec3444e5943b145fc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
3c2594f435 curl: upgrade 7.72.0 -> 7.73.0
(From OE-Core rev: f9aa9f075674e3908d950c3107be3e6230786f0b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
8e5064561f createrepo-c: upgrade 0.16.0 -> 0.16.1
(From OE-Core rev: db325c6da2efa3f882c96a2aa04accf4df9d60d8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
56b270a680 bison: upgrade 3.7.2 -> 3.7.3
(From OE-Core rev: edd3364029531c06ab12c18f486f95e493dd6405)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
d7ff4f5def at-spi2-core: upgrade 2.36.1 -> 2.38.0
(From OE-Core rev: f6b63942cb61de64a2648cbdb72c852b8f7fd401)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:11 +00:00
Alexander Kanavin
82695056fd at-spi2-atk: upgrade 2.34.2 -> 2.38.0
(From OE-Core rev: 8a53803f3b520420449b3e1794b3e336c7267ed9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
63a9359529 adwaita-icon-theme: upgrade 3.36.1 -> 3.38.0
(From OE-Core rev: ada61419ac96a7591231d62ee1d10d4b61b1fe56)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
ba96536452 acpica: upgrade 20200717 -> 20200925
(From OE-Core rev: 2b54f98ced3db235bc9c7f425c41b0303f0095c5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
e27a459edc piglit: upgrade to latest revision
Un-break musl builds with 0001-Add-a-missing-include-for-htobe32-definition.patch.

(From OE-Core rev: 394746d1cb918da33dcfe6e9b5803ab3616f3cbc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
a9973bb87d vulkan-samples: replace vulkan-demos
vulkan-samples is the official collection, and vulkan-demos
author has stated that he will be mostly contributing there:
https://github.com/SaschaWillems/Vulkan#Khronossamples

(From OE-Core rev: 76a25391d09de06f832c1053d3dbc901dee3b912)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
2a157f114c vulkan: update 1.2.135 -> 1.2.154
(From OE-Core rev: 4a79e438842b177588320f2e0d123c7652c252f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
4a1407d62e shaderc: upgrade 2019.0 -> 2020.3
Remove 0002-shaderc-2019.0-fix-build-against-new-glslang.patch
as issue fixed upstream.

Rebase 0001-Fix-the-link-order-of-libglslang-and-libHLSL.patch.

(From OE-Core rev: b37a544ac67ff4ad8ea56de51064b0a2f9216937)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
ecb65340d9 glslang: bump to a newer commit
This is needed to support the latest release of shaderc.

(From OE-Core rev: 1a55c32875f6ab324e05489c0f7c0816417a4dcf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
6f2d48512b glslang: upgrade 8.13.3559 -> 8.13.3743
(From OE-Core rev: 137143a0488484d39303cdd18c1f2b0bdeffc8e2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
92e71b099a glslang: fix upstream version check
(From OE-Core rev: 8bf099e40abfccdf57aa79e9ecd048f1fdb308f1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
5cf7c8c8b6 spirv-tools: upgrade 2019.5 -> 2020.5
(From OE-Core rev: 2a6fe25769236ec7d5ead3c29864f2292ffb3fd5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Alexander Kanavin
4a7ca52c9e spirv-tools: correctly set PV
(From OE-Core rev: 21cbfb796ec9bb7d6e4cfaf4ec5bfa88798b9857)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Mark Jonas
e956531526 libsdl2: Fix directfb SDL_RenderFillRect
Refactoring of SDL2 internal API has broken SDL_RenderFillRect for
DirectFB. The problem has already been fixed upstream.

(From OE-Core rev: a7c8dfc1f9beebeb9da7f61b323d85fba82ec1cb)

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Mark Jonas
9e9871de01 libsdl2: Fix directfb syntax error
Build of libsdl2 with directfb is broken due to a spurious '}' and a
missing 'E' since version 2.0.12. The upstream is already fixed.

(From OE-Core rev: 8963daba093c3c5e2c60e1e4e057862971b84cb0)

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Ross Burton
7661beb222 rpm: use libgcrypt instead of OpenSSL for cryptography
RPM 4.16 uses libgcrypt by default[1], so change our build to follow.

[1] 5c0801a1a3

(From OE-Core rev: 196855101f28aeb8ab44f5ca1e02bfb02a11a256)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Richard Purdie
235101a662 sstatesig: Remove workaround for bitbake taskhash bug
When trying to lock an individual signature, we see the checksum calculations
of dependent tasks failing. The fix is to remove a bad optimisation within
bitbake but with the removed, we need to remove some bogus code with
OE-Core's sstatesig code too.

(From OE-Core rev: 9923392539b1ce6d70f713527373d6bbc03f3021)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Richard Purdie
bd98ef572d bitbake: fetch2/git: Document that we won't support passwords in git urls
This keeps coming up, document why we don't do this and the alternatives.

(Bitbake rev: aded964eed4ce5a725ed1ab477efabc86b1aa481)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Mert Kirpici
41ea50dcc8 bitbake: fetch2: add zstd support to unpack
This commit adds unpack support to fetched files with extensions:
'.tar.zst', '.tzst' and '.zst'

(Bitbake rev: 4348743a7e36f3a495e2dc48f83989d9481060f2)

Signed-off-by: Mert Kirpici <mert.kirpici@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Richard Purdie
72060138fa bitbake: siggen: Remove broken optimisation
When a single signature is locked, dependent task checksum calculations
fail. This in turn is because get_unihash cannot be cached correctly
by this function. Remove that has turned out to be a poor optimisation
to avoid that bug.

(Bitbake rev: 7ae2b73d131491ab5bf09fd6055e1fdb67a560c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-03 08:21:10 +00:00
Richard Purdie
d0152bd6f5 libxcb: Fix install file owner/group
The makefile uses cp -P behind the scenes for installing the tutorial files
and this preserves the build user identity. Fix this to the correct
owner/group. Usually do_package fixes and hides this but it can be seen
in do_install.

(From OE-Core rev: 34ef5c2a8d77fcb4a51c875a443f7b97b409586e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-02 11:35:10 +00:00
Andrey Zhizhikin
8978115d3b insane: add GitLab /archive/ tests
Archives produced by GitLab should be avoided in the same way as those
produced by GitHub.

Extend SRC_URI check to include GitLab and inform user that recipe
should be converted to use git protocol.

Link: https://www.mail-archive.com/openembedded-devel@lists.openembedded.org/msg73109.html
Link: https://lists.openembedded.org/g/openembedded-core/message/144035
Cc: Martin Jansa <martin.jansa@gmail.com>
(From OE-Core rev: d76b33c6a8489378a1f5500554367127199ae19d)

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-02 11:35:10 +00:00
Khem Raj
548a9f0640 gdb: Update to 10.x release
here is full announcement [1]

Do not add --disable-static, without adding --enable-shared
because certain libraries e.g. libctf expects the default
to be static which is only disabled if --enable-shared is specified

Do not limit make subdirs, this is only needed when building in a
unified tree, here builds are happening from a release tarball so it is
redundant

[1] https://www.gnu.org/software/gdb/download/ANNOUNCEMENT

(From OE-Core rev: 8fb5fe5a82d173428d96ab43bab25b89ac6f25ea)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-02 11:35:10 +00:00
Khem Raj
4f9ef652c4 rpm: Fix error.h handing properly on musl
Ignoring configure fragments when error.h does not exist on system
leaves eflutils half configured, which is seen when gold linker is
enabled because librpm does not have proper dependencies added,
therefore add error.h for non-glibc case and include it when glibc is
not used.

(From OE-Core rev: 0b45dc1d611a7c96b528a5c62a2f18a00651d121)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-02 11:35:10 +00:00
Martin Jansa
3e56ca6d0a gnutls: explicitly set --with-librt-prefix
* it will try to link with librt from host and if you have it on host (libc6-dev-i386 in ubuntu)
  it fails with:
  /usr/lib32/librt.so: error: undefined reference to '__clock_settime', version 'GLIBC_PRIVATE'
  /usr/lib32/librt.so: error: undefined reference to '__clock_getcpuclockid', version 'GLIBC_PRIVATE'
  /usr/lib32/librt.so: error: undefined reference to '__clock_getres', version 'GLIBC_PRIVATE'
  /usr/lib32/librt.so: error: undefined reference to '__clock_nanosleep', version 'GLIBC_PRIVATE'
  collect2: error: ld returned 1 exit status

  in older 3.6.14 it was using /usr/lib32/librt.so from host as well, but without do_compile
  failing

  configure:17539: checking for librt
  configure:17563: i686-oe-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type --sysroot=/tmpdir/work/qemux86-oe-linux/gnutls/3.6.14-r0/recipe-sysroot -o conftest  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/tmpdir/work/qemux86-oe-linux/gnutls/3.6.14-r0=/usr/src/debug/gnutls/3.6.14-r0                      -fdebug-prefix-map=/tmpdir/work/qemux86-oe-linux/gnutls/3.6.14-r0=/usr/src/debug/gnutls/3.6.14-r0                      -fdebug-prefix-map=/tmpdir/work/qemux86-oe-linux/gnutls/3.6.14-r0/recipe-sysroot=                      -fdebug-prefix-map=/tmpdir/work/qemux86-oe-linux/gnutls/3.6.14-r0/recipe-sysroot-native=    -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now conftest.c /usr/lib32/librt.so  >&5
  configure:17563: $? = 0
  configure:17573: result: yes
  configure:17580: checking how to link with librt
  configure:17582: result: /usr/lib32/librt.so

  with --with-librt-prefix passed, it finds the right one as shown in build/config.log:

  configure:17551: checking for librt
  configure:17575: i686-oe-linux-gcc  -m32 -march=core2 -mtune=core2 -msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Werror=return-type --sysroot=/tmpdir/work/qemux86-oe-linux/gnutls/3.6.15-r0/recipe-sysroot -o conftest  -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/tmpdir/work/qemux86-oe-linux/gnutls/3.6.15-r0=/usr/src/debug/gnutls/3.6.15-r0                      -fdebug-prefix-map=/tmpdir/work/qemux86-oe-linux/gnutls/3.6.15-r0=/usr/src/debug/gnutls/3.6.15-r0                      -fdebug-prefix-map=/tmpdir/work/qemux86-oe-linux/gnutls/3.6.15-r0/recipe-sysroot=                      -fdebug-prefix-map=/tmpdir/work/qemux86-oe-linux/gnutls/3.6.15-r0/recipe-sysroot-native=   -I/tmpdir/work/qemux86-oe-linux/gnutls/3.6.15-r0/recipe-sysroot/usr/include -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now conftest.c /tmpdir/work/qemux86-oe-linux/gnutls/3.6.15-r0/recipe-sysroot/usr/lib/librt.so  >&5
  configure:17575: $? = 0
  configure:17585: result: yes
  configure:17592: checking how to link with librt
  configure:17594: result: /tmpdir/work/qemux86-oe-linux/gnutls/3.6.15-r0/recipe-sysroot/usr/lib/librt.so

(From OE-Core rev: d355cd38904460f3add2b0b9477e8ddfd42b22e1)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-11-02 11:35:10 +00:00
Alexander Kanavin
0f34a5b105 json-glib: fix reproducibility
(From OE-Core rev: fd7e1a40bf29b552b90e3b20863b8c79594bcd85)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:13 +00:00
Khem Raj
ebf52f90d8 musl: Update to latest
Fixes pthread_condvars add support for SIGEV_THREAD_ID times

* 27b2fc9d fix missing-wake regression in pthread_cond_wait
* 7c71792e add support for SIGEV_THREAD_ID timers
* f70375df fix sem_close unmapping of still-referenced semaphore
* 613ccabe refactor setxid return path to use __syscall_ret
* ccba2345 ldso: notify the debugger when we're doing a dlopen
* 4209a7b1 fix setgroups behavior in multithreaded process
* 6ce91ef0 avoid __synccall for setrlimit on kernels with prlimit syscall
* 3437e478 fix reintroduction of errno clobbering by atfork handlers
* 2d0bbe6c fix pthread_cond_wait paired with with priority-inheritance mutex

Details are here [1]

[1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=0b87551bdfb74ac411caa335d8ad0b89a7f139c6..27b2fc9d6db956359727a66c262f1e69995660aa

(From OE-Core rev: bb230e7e00beb0ee5d2e7f453f282693f3efadbf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:13 +00:00
Richard Leitner
7a9019a8ec deb: export INTERCEPT_DIR for remove actions
During the do_populate_sdk task apt-get purge is called by deb's remove
function. This fails with error messages similiar to the following one
if any of the included packages uses intercepts as the INTERCEPT_DIR
isn't exported:

.../*.postinst: line 4: /postinst_intercept: No such file or directory

Therefore fix it by exporting the INTERCEPT_DIR variable within the
remove function.

(From OE-Core rev: f18adf53dd4bf5dd3adef82b2dcc34a6cdfd0c89)

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Mingli Yu
994ca65e6f update_udev_hwdb: clean hwdb.bin
Steps to reproduce:
echo "IMAGE_INSTALL_append = \" udev-hwdb lib32-udev-hwdb\"" >> conf/local.conf

When install both udev-hwdb and lib32-udev-hwdb as above,
there comes below do_populate_sdk error:
 $ bitbake core-image-sato  -c populate_sdk
 ERROR: Task (/path/core-image-sato.bb:do_populate_sdk) failed with exit code '134'
 NOTE: Tasks Summary: Attempted 5554 tasks of which 0 didn't need to be rerun and 1 failed.

 $ cat /path/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r5/pseudo/pseudo.log
 [snip]
 inode mismatch: '/path/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r5/sdk/image/usr/local/oecore-x86_64/sysroots/core2-64-poky-linux/lib/udev/hwdb.bin' ino 427383040 in db, 427383042 in request.
 [snip]

It is because both udev-hwdb and lib32-udev-hwdb will generate
${SDK_OUTPUT}/${SDKTARGETSYSROOT}/lib/udev/hwdb.bin during do_populate_sdk
and it triggers pseudo error.

So clean hwdb.bin before generate hwdb.bin to avoid conflict to
fix the above do_populate_sdk error.

(From OE-Core rev: c7472925feb53ce92c1799feba2b7a9104e3f38f)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Yi Zhao
b4ef5f1107 resolvconf: do not install dhclient hooks
Do not install the dhclient hooks
/etc/dhcp/dhclient-enter-hooks.d/resolvconf because the dhclient has
been removed from oe-core.

(From OE-Core rev: 6a7c6b0b654d8a9b062526fa86644ac21a13189f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Khem Raj
4bbb748e08 musl: Add .file directive in crt assembly files
This helps linker to noot emit absolute paths into .debug_line sections
of liked binaries and libraries and therefore make them reproducible

Reported-by: Andrei Gherzan <andrei@gherzan.ro>
(From OE-Core rev: cc4b464e31fec68b32592cc84344a9704eae8e02)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Martin Jansa
b375af7af8 tune-arm9tdmi.inc: include arm9tdmi in PACKAGE_ARCHS
* when ARM_INSTRUCTION_SET isn't set to thumb, the tune-arm9tdmi.inc isn't
  usable and fails with:
  ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    Error, the PACKAGE_ARCHS variable (all any noarch arm armv4 armv4t arm9tdmit fake_arm9tdmi) for DEFAULTTUNE (arm9tdmi) does not contain TUNE_PKGARCH (arm9tdmi).

  Summary: There was 1 ERROR message shown, returning a non-zero exit code.

(From OE-Core rev: 7c2f9bf09c930da335aa88a201656df1e62f3bbd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Chee Yang Lee
916c86b9cb ruby: update to 2.7.2
updates also fix CVE-2020-25613

(From OE-Core rev: fe588448adec9fb5de374fb8b9c2c548068328e6)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Chee Yang Lee
6fa6afd532 bluez5: update to 5.55
Release note:
5a180f2ec9

(From OE-Core rev: c2895e3e4eabca64cbcc8682e72d25026df5e5f0)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
a2fd71bb0f gstreamer1.0-libav: add comercial license flags as ffmpeg needs this
(From OE-Core rev: ef37f17693c9be3d251a17086fb732eb9e56f2ba)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
41bba2b226 gstreamer1.0-plugins-good: on wayland qt5 needs qtwayland
The code in ext/qt/meson.build looks for the Qt5WaylandClient pkg-config file.
Without this module, qmlglsink will not work with Wayland.
This can be tested by checking whether or not HAVE_QT_WAYLAND has
been added to the cflags in the autogenerated ninja file.

Writen by:
Carlos Rafael Giani
https://lists.openembedded.org/g/openembedded-core/message/143574

(From OE-Core rev: ba2e0f647894b51d2f365b1d2eee7b673ddf8b7e)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
e61d9f3c08 orc: Upgrade 0.4.31 -> 0.4.32
(From OE-Core rev: db856f00d92a0bd4c31008027791266b460e13f8)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
556b099158 gst-devtools: add version 1.18.0 (gst-validate -> gst-devtools)
The gst-validate tarball has been superseded by the gst-devtools tarball for consistency with the git module name.

(From OE-Core rev: 4af4c8d56da67545d2e5e1e2242ff6878b909e44)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
c648b1d1b4 gstreamer1.0-libav: upgrade to version 1.18.0
License-Update: All code is now LGPL-2.1+

Starting with 1.17, we will not ship a copy of FFmpeg in our release
tarballs, and all the remaining code is LGPL2.
c437e175ad

(From OE-Core rev: 9bd130cc66248fa984e8ca4adbab2a505e4fb1fa)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
dc88d7e098 gstreamer1.0-omx: upgrade to version 1.18.0
(From OE-Core rev: 40380a262900fbb065bbbb12e5ff01a07e0b6808)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
e2809c0610 gst-examples: upgrade to version 1.18.0
DEPENDS:
 - Upstream now depends on libsoup-2.4 and json-glib

(From OE-Core rev: 03945a165bd0b95f9ec70f7d2c08331e8038f180)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
e45136d86a gstreamer1.0-vaapi: upgrade to version 1.18.0
* 0001-vaapsink-downgrade-to-marginal.patch
      Removed since these are included in 1.18.0
      13d090b566

    API and plugin documentation are no longer built with gtk_doc.
    The gtk_doc documentation has been removed in favour of a new unified
    documentation module built with hotdoc.
    Distributors should use the documentation release tarball instead of trying
    to package hotdoc and building the documentation from scratch.

(From OE-Core rev: 864421dffcddb1e62de9c0a26767cb4cea7a82c9)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
d1a625b4e7 gstreamer1.0-rtsp-server: upgrade to version 1.18.0
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
      Removed since these are included in 1.18.0

(From OE-Core rev: 5a33280453f275dbf6bd2b551916efd6647ddf36)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
cfe5e85398 gstreamer1.0-python: install append is not need any more
(From OE-Core rev: e49dea3064e012825c6049ebfcfc8b0f3a6b8e22)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
202648ec26 gstreamer1.0-python: upgrade to version 1.18.0
* 0001-meson.build-fix-builds-with-python-3.8.patch
      Removed since these are included in 1.18.0

DEPENDS:
RDEPENDS:
 - Upstream now depends gstreamer1.0-plugins-base

(From OE-Core rev: 1d2b86327e63f091e8e677b6c853948d7a00fc8a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
b11035627f gstreamer1.0-plugins-ugly: upgrade to version 1.18.0
(From OE-Core rev: 62c670c7708c0a4b666a71d40af50f6d6cf8dc1a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
737d5b11e6 gstreamer1.0-plugins-bad: add new meson options as PACKAGECONFIG
(From OE-Core rev: c344d7bdb6ad5edd204963cc47c946834a7ac0d2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
c8e44b8f23 gstreamer1.0-plugins-bad: disable new meson options
(From OE-Core rev: 2324f4336e6f6508f7b63c88a265d85c1e1700a4)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
0be89e058d gstreamer1.0-plugins-bad: upgrade to version 1.18.0
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
      Removed since these are included in 1.18.0

PACKAGECONFIG:
 - vdpau has been removed upstream
 - vulkan needs now needs shaderc-native to build

EXTRA_OEMESON:
 - yadif has been removed upstream
 - nvdec and nvenc has been replaced with nvcodec

FILES:
 - add new files for transcode plugin

(From OE-Core rev: b4916863bc0bc685344dd3637ef890d90af15c5f)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
40f827d2f2 gstreamer1.0-plugins-good: add new meson option as PACKAGECONFIG
(From OE-Core rev: f27825243ccc4a7de4526d453ba60039f0b350ff)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
bf84b963a7 gstreamer1.0-plugins-good: disable new meson options
(From OE-Core rev: 641ac41c2f55f691b2a59c954ce787e0b06a9ad4)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
af090eec2b gstreamer1.0-plugins-good: upgrade to version 1.18.0
* 0001-qmlgl-ensure-Qt-defines-GLsync-to-fix-compile-on-som.patch
      Removed since these are included in 1.18.0

License-Update: remove file://common/coverage/coverage-report.pl
Upstream dont have it any more.

(From OE-Core rev: 06f51b0ae0e5a3071778f7d4134bf719b25a103f)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
ce6b2b57ad gstreamer1.0-plugins-base: add new meson option as PACKAGECONFIG
- gl_winsys have a new meson option to set egl

(From OE-Core rev: a54a70083cbe350d9fb6caef1567780bf4a0cbfb)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
4650ec0450 gstreamer1.0-plugins-base: upgrade to version 1.18.0
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
    * 0002-meson-Add-variables-for-gir-files.patch
      Removed since these are included in 1.18.0

License-Update: remove file://common/coverage/coverage-report.pl
Upstream dont have it any more.

    API and plugin documentation are no longer built with gtk_doc.
    The gtk_doc documentation has been removed in favour of a new unified
    documentation module built with hotdoc.
    Distributors should use the documentation release tarball instead of trying
    to package hotdoc and building the documentation from scratch.

(From OE-Core rev: 5485ecd65987f5a2c0824cf6f691ccb3f529c86e)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
673ca00315 gstreamer1.0: upgrade to version 1.18.0
* 0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
      Submited
      https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/669

    * 0002-meson-build-gir-even-when-cross-compiling-if-introsp.patch
      Removed since these are included in 1.18.0

    * 0003-meson-Add-valgrind-feature.patch
      Removed because upstream don't depend anymore on valgrind
      https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/595

    * 0002-Remove-unused-valgrind-detection.patch
      Upstream-Status: Backport [a2cbf75523cdf8a4df1baa7007d86ef455972245]
      a2cbf75523

    API and plugin documentation are no longer built with gtk_doc.
    The gtk_doc documentation has been removed in favour of a new unified
    documentation module built with hotdoc.
    Distributors should use the documentation release tarball instead of trying
    to package hotdoc and building the documentation from scratch.

(From OE-Core rev: 4d74baf4f56771215bc6350bfb37d24d327ab91b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Jose Quaresma
6d4707d56d gstreamer1.0: Fix reproducibility issue around libcap
Currently gstreamer configuration depends libcap and on whether
setcap is found on the host system.

Removing libcap from DEPENDS and only use it when the 'setcap' is enabled.

    * capfix.patch
      Removed as the same goals can be achieved only with the PACKAGECONFIG 'setcap'

(From OE-Core rev: 7fc8f6a6c8c7c2c23689749084170a0bd9721841)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-31 08:54:12 +00:00
Robert P. J. Day
43e3a19c19 adt-manual: delete obsolete ADT manual, and related content
Since the ADT manual has long been superseded by the SDK manual,
remove the entire adt-manual directory, and the references to it in
the two top-level files "conf.py" and "poky.yaml".

(From yocto-docs rev: 64b2e83bddf6af0439ac7089ac95e60faa696cfc)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 16:03:19 +00:00
Alejandro Hernandez Samaniego
507717949f poky-tiny: Enable size optimization by default
Compiler size optimization reduces the size of the root
filesystem by 15%, since poky-tiny is meant to be used
on size constrained devices, enable it by default

(From meta-yocto rev: 5e3a784ec7f1456cd3a43ff235719dbfd42a17a6)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:26:16 +00:00
Alejandro Hernandez Samaniego
39a0775c26 poky-tiny: Reduce busybox size by 13%
Busybox has released several new verisions since this config was last
generated, they come with new features, new defaults as well as
dropping some existing features.

This patch updates the defconfig used in poky-tiny to reflect the
changes mentioned above, it also reduces some seldom used functionality,
reducing the installed size by 13%, this can certainly be reduced
further if required.

[YOCTO #12170]

(From meta-yocto rev: b03bda01316d79b53ed2cac97566e647cdaada4f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro.hernandez@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:26:16 +00:00
Richard Purdie
bd15b47a4c poky.conf: Post release version bump
(From meta-yocto rev: 66ecf3bcc112be5ac10c83a97e326130672ffdcb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:26:16 +00:00
Maxime Roussin-Bélanger
31405f086e bitbake: monitordisk: remove unused function parameter
(Bitbake rev: f3f5d6d0ceae79da5e5ee46ac79dfa86eb391e97)

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:26:16 +00:00
Maxime Roussin-Bélanger
3ef540749e bitbake: cache: remove unused variables.
(Bitbake rev: 28475ae752967b0a14ed2554c1b835e96390f850)

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:26:16 +00:00
Richard Purdie
288e3283af bitbake: bitbake: Post release version bump
(Bitbake rev: 20ef79a328be280e8779f31924ec33c1a4ca1758)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:26:16 +00:00
Alexander Kanavin
30c4c48b8a glib-2.0: update 2.66.1 -> 2.66.2
(From OE-Core rev: c85b640fcbd0ea7c921dff02879fccb8dc60b8ee)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
354f96bf78 python: update 3.8.5 -> 3.9.0
Drop 0001-Do-not-hardcode-lib-as-location-for-site-packages-an.patch,
0001-configure.ac-fix-LIBPL.patch and 0001-python3-Do-not-hardcode-lib-for-distutils.patch
as they are all replaced by the new --platlibdir option to ./configure

Rename 0001-Lib-sysconfig.py-fix-another-place-where-lib-is-hard.patch to
0001-Lib-sysconfig.py-use-libdir-values-from-configuratio.patch
and describe the changes better.

License-Update: documentation now dual license under PSF & BSD
(not relevant for the recipe.
(From OE-Core rev: 7347556b18b45c5f9afc2cade565a75c95876914)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
bb5bfc3ac7 libxml2: add a patch to fix python 3.9 support
(From OE-Core rev: 0d0acc5fefc96ee0f0a856f7fa34caf92e03138f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
6c9e07e650 opkg-utils: correct priority matching in update-alternatives
(From OE-Core rev: 82baab5bd5e5ec4369eaad393feeee3132f0c087)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
600cb136cd apt: remove host contamination with gtest
(From OE-Core rev: 41aa60cdb1e26617e1eeac95a6ffcdd6561c539f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
fb55c447ad rpm: adjust MIPS64 N32 support
upstream has switched from libmagic to elfutils to determine
file 'colors', and so this adapts the existing patch accordingly.

(From OE-Core rev: 0d420c8f6a6718b54ef9a1278bfa8fec6709d3bd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
711a89cc8e gtk-doc: upgrade 1.32 -> 1.33.0
(From OE-Core rev: 12b008386d7e546db51dbb0c871a4e6d87e34dfe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
d3a464fd74 epiphany: upgrade 3.36.4 -> 3.38.1
libportal is a new hard dependency.

(From OE-Core rev: 118dbb137adb11a8d92bdbf60ab3696176d64aa0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
0ec584a236 libportal: add a recipe
This is a new build requirement of epiphany browser.

(From OE-Core rev: 6a0888a146ab015c25309bafd8b2d5ebdd81b8a4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
3d6d6cb77d libhandy: upgrade 0.0.13 -> 1.0.0
(From OE-Core rev: f6ce78a0bb50ab1411ecb8cf66a52d4e85273188)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
0dceb63e7d vte: update 0.60.3 -> 0.62.1
(From OE-Core rev: 9559873a8d9530d866c9a1f4d785b50d684d46e3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
74da10f775 libcap: update 2.43 -> 2.44
Rebase the patches.

(From OE-Core rev: bae7cbaa7509fa2f05b8e3ef66e9b181589db032)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
96dbd86d67 gnutls: update 3.16.4 -> 3.16.5
(From OE-Core rev: 2f38d5c97abbc84a55ad22dcd328f627380e79a8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
faee04a9cc dos2unix: update 7.4.1 -> 7.4.2
License-Update: copyright years
(From OE-Core rev: 5473f246e85c968540dd8112174c939e90479e0e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
3846c15172 webkitgtk: update 2.28.4 -> 2.30.1
Drop 0001-OptionsGTK.cmake-drop-the-hardcoded-introspection-gt.patch and
cross-compile.patch as upstream has removed the code.

Rebase 0001-Enable-THREADS_PREFER_PTHREAD_FLAG.patch.

Add a systemd config option, subject to systemd in DISTRO_FEATURES.

(From OE-Core rev: 98d7a2b593eee33e0bc015778712cd8b68146588)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
9624092cd6 lttng-modules: update 2.12.2 -> 2.12.3
Drop a pile of backports.

(From OE-Core rev: fba843f79ac6ad2636385de2bd63e90e08c04fcd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
6d3c1edca5 xf86-video-vesa: update 2.4.0 -> 2.5.0
(From OE-Core rev: 4b0afd5440ed49513844f98553816dc6925e9b89)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
b6da9774f3 mesa: update 20.1.8 -> 20.2.1
Build tweaks:
- drop separate dri option and the patch that adds it; just setting -Ddri-drivers='' is enough
- strip leading/trailing commas from drivers' lists, as upstream no longer allows blank entries if the list
is not empty (e.g. -Ddri-drivers=,driver1,driver2 is now producing an error).
- drop the long-obsolete llvm 3.3/3.2 logic

License-Update: reformatted into rst
(From OE-Core rev: 8682024ef029241c75e224174fd0b93835f88df3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
afbdf052cb libsecret: update 0.20.3 -> 0.20.4
Drop the patch as it is merged upstream.

(From OE-Core rev: 05bd45017b9eaffc835d5cc42747ae21c0135fe8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:49 +00:00
Alexander Kanavin
560e32b74f gsettings-desktop-schemas: update 3.36.1 -> 3.38.0
Drop 0001-Do-not-skip-gir-installation-for-cross-compiling.patch as
upstream has done the same change.

(From OE-Core rev: 50ecc0ae003895e416d5835b5a75ed4b246deea1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
b443fc8207 ltp: update 20200515 -> 20200930
Drop backports.

Remove 0001-sigwaitinfo-Do-not-run-invalid-undefined-test-cases.patch as
upstream has removed the code being patched.

(From OE-Core rev: 8d24f8e5278eedef987480bef151ce9ba7c05f1a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
2d787812e8 ghostscript: update 9.52 -> 9.53.3
ghostscript-9.15-parallel-make.patch rebased; one of the
chunks removed upstream.

Remove bundled jpeg source, as that seems to be the only way
to get ghostscript to fall back to system jpeg library.

(From OE-Core rev: ad8c8ffc5a008872d40a36ea825da30accd6a11a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
50feea207e elfutils: update 0.180 -> 0.181
Add a config option for client debuginfod library.

(From OE-Core rev: 2c282ee6a8961d23ae9146eb0303824e0f234933)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
d22a91051e rpm: update 4.15.1 -> 4.16.0
Drop backports.
Drop 0001-rpmfc.c-do-not-run-file-classification-in-parallel.patch as
enabling compression support in libmagic finally allows us to use
parallel file classification.

Add a backported patch that fixes musl builds.

License-Update: formatting
(From OE-Core rev: 36c014428b8088abb024287e9841f72e7368ce5b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
52a31bd5ba file: enable all built-in compression checkers
This allows re-enabling parallel file classification in rpm
in particular, as otherwise libmagic calls out to external
executables, which isn't implemented in a thread-safe way.

(From OE-Core rev: 0515567a846adc5302384cb0a6bfcdb6dd1d8431)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
4b495d5bd9 gnu-config: update to latest revision
(From OE-Core rev: c139c93a699b15adf6e0bf243b744f85a8e8c0ea)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
fdee18c6b0 ovmf: update edk2-stable202005 -> edk2-stable202008
(From OE-Core rev: 61cc9acb54be09a12aac7c79f4b14e7e525d5596)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
1817c97687 json-glib: upgrade 1.4.4 -> 1.6.0
(From OE-Core rev: e241f48c2eaaa7c19b1665b2d3896722553ba8a1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
f918575ab3 gobject-introspection: upgrade 1.64.1 -> 1.66.1
Add a patch to avoid build errors if building g-i data is disabled.

(From OE-Core rev: e2c4cd1cebbd9e83e90759671147442d7f77d7c5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
c957d02d79 libdazzle: upgrade 3.36.0 -> 3.38.0
(From OE-Core rev: f564fddd78e39cadefcd0c3a72414f263a648bbc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
5b8cdc8ff7 python3-pygobject: upgrade 3.36.1 -> 3.38.0
(From OE-Core rev: 475134563c4a2a50972a6e4fb8e5546d4c05b2c4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
ca3ae1bbe5 cmake: update 3.18.2 -> 3.18.4
(From OE-Core rev: 615d3b52a5447914aad0e880c89e9cf9778c07ed)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
c64ddedd6a glib-2.0: upgrade 2.64.5 -> 2.66.1
Drop the timezone changes as these are included in the upgraded version.

(From OE-Core rev: fc28a94eb67373ba2dc2d290e7caca96aabb29db)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Alexander Kanavin
b98ab561b2 systemd-boot: upgrade 246.2 -> 246.6
As systemd-boot shares SRCREV with the main systemd recipe, the version
should be kept in sync with it.

(From OE-Core rev: 16ff7f3c9d38898b936340c28fd6820c036c62d5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Yann E. MORIN
0776bf6600 recipes-core/busybox: fixup licensing information
Commit 7d32417b4d (busybox: Correct the name of the bzip2 license)
changes the licesne from 'bzip2' to 'bzip2-1.0.6' on the rationale
that the 'bzip2 license was renamed from "bzip2" to "bzip2-1.0.6"
[...] to match the official SPDX identifier.'

Though the above is true for the bzip2 and pbzip2 packages, the bzip2
code bundled in busybox is a copy from the bzip2 1.0.4 version, not the
1.0.6 version.

As such, using bzip2-1.0.6 is wrong.

Unfortunately, there is no official SPDX license identifier for this
bzip2 1.0.4 version, so we just mimick the existing ones (bzip2-1.0.5
and bzip2-1.0.6) by using bzip2-1.0.4.

Also, there is a license file attached to that, so we add it to the
list.

(From OE-Core rev: 6238ee3ecd385cbadd8e75eb8b22a96d9cb13639)

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Cc: Alexandre BELLONI <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Yann E. MORIN
f3f62ed09d common-licenses: add bzip2-1.0.4
The bzip2 license changes with each version; the changes are subtle, but
that makes it a different license everytime:
  - copyright year
  - authorship identification and address
  - version of the release
  - date of the release

Although we currently only have bzip2 and pbzip2 packages, we're going
to need this license for busybox, which uses code from bzip2-1.0.4.

Add it, as copied from the upstream bzip2 git tree at tag 'bzip2-1.0.4'
(commit f10a33538e9bab6deb61779b3d8aae168824ef48).

(From OE-Core rev: f303c31b813f371737c9a9d7a93e9f920f84e75a)

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Khem Raj <raj.khem@gmail.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Khasim Mohammed
dd4c4d71d8 grub: add grub-nativesdk
Add nativesdk support to make grub-mkimage tool part of Host tools
in the generated SDK.

The conf file should have "TOOLCHAIN_HOST_TASK_append = " nativesdk-grub"
for the grub-mkimage to show up.

(From OE-Core rev: cc88a1b04c062373e0db15f7f7e6a26013c050fb)

Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Richard Leitner
6a8d75d478 xcb-proto: update to 1.14.1
This fixes [1] the following build error for nativesdk on Fedora 33
which is caused by the removal of fractions.gcd() in favor of math.gcd()
in python 3.9 [2]:

ImportError: cannot import name 'gcd' from 'fractions' (/usr/lib64/python3.9/fractions.py)

Furthermore the SRC_URI is adapted as the old one doesn't provide the
1.14.1 archive.

[1] 426ae35bee
[2] https://bugs.python.org/issue39350

(From OE-Core rev: 1476d40d3ef4f959f7c0e61a3c1dc63acaa90b31)

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Changqing Li
cc24bcf076 timezone: upgrade to 2020d
(From OE-Core rev: 365787658cffc3b2dedb88db311a33012be9d70d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Khem Raj
aea9a37ae3 qemuboot.bbclass: Fix a typo
(From OE-Core rev: 2b5fb66344432390aa0cc199ad3f9ec2a4da26bb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Maxime Roussin-Bélanger
b11f7236a2 meta: fix some unresponsive homepages and bugtracker links
remove some extra whitespaces

(From OE-Core rev: 32ce3716761165b9df12306249418645724122cc)

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Khem Raj
10d1463de1 musl: Update to latest master
Changes in this revision bump are
* 0b87551b (upstream/master) lift sigaction abort locking to fix posix_spawn child deadlock
* 99d5098a update crypt_blowfish to support $2b$ prefix
* 957c2763 remove unused weak definition of __tl_sync in membarrier.c
* 55767360 move aio implementation details to a proper internal header
* 37337660 remove long-unused struct __timer from pthread_impl.h
* 85e16aec drop use of pthread_once in timer_create
* 6ae2568b remove unused SIGTIMER handler in timer_create
* 47baa030 remove incorrect fflush from assert failure handler
* da845d52 fix getgrouplist when nscd reports an empty list
* b7bc9665 fix posix_spawn interaction with fork and abort by taking lock
* 25ea9f71 fix unintended observability of SIGABRT disposition reset via sigaction
* bd153422 implement _Fork and refactor fork using it
* e1e98d86 rename fork source file
* 50716702 ldso: use pthread_t rather than kernel tid to track ctor visitor
* 1efc8eb2 fix stale lock when allocation of ctor queue fails during dlopen
* 69a1b390 drop use of pthread_once in mutexattr kernel support tests
* b115bee4 fix missing synchronization of fork with abort
* 3cd3de61 move __abort_lock to its own file and drop pointless weak_alias trick
* 34904d83 fix fork of processes with active async io contexts

Details are here [1]

[1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=a5aff1972c9e3981566414b09a28e331ccd2be5d..0b87551bdfb74ac411caa335d8ad0b89a7f139c6

(From OE-Core rev: 3024a517e7cb0b1e038beae0ff462d292d6edd16)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Jose Quaresma
835411152d maintainers.inc: Add Jose Quaresma
Jose Quaresma is responsible for the maintenance as follows:

shaderc
glslang
spirv-tools

(From OE-Core rev: 67895f86640866ad3c5827d6b2b65708dd5c601b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Jose Quaresma
15a23fa2fd spirv-tools: fix identation and cleanup install append
- replace tabs with spaces and remove extra spaces
- remove extra slash from '${D}/' on install append

(From OE-Core rev: 82b2d4bc2761da5a388998cbcc538ff439737fb1)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Jose Quaresma
54ed922f7f shaderc: add receipe
A collection of tools, libraries and tests for shader compilation

This receipe is needed to build the gstreamer vulkan plugin
as it provides the binary glslc.

It is based on arch linux shaderc packge including the patches
91f0fa6ee3/trunk/PKGBUILD

    * 0001-fix-glslang-link-order.patch
      Upstream-Status: Backport [21c8be385b3fab5edcb934a6d99f69fd389c4e67]

    * 0002-shaderc-2019.0-fix-build-against-new-glslang.patch
      Upstream-Status: Pending

    * 0003-cmake-de-vendor-libs-and-disable-git-versioning.patch
      Upstream-Status: Inappropriate [configuration]

(From OE-Core rev: 2947b0385e342886cbc712cd551f854a5cbbdb1f)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Jose Quaresma
3449463bed glslang: add receipe
Glslang is the official reference compiler front end for the
OpenGL ES and OpenGL shading languages. It implements a strict interpretation
of the specifications for these languages. It is open and free for anyone to use,
either from a command line or programmatically.

This receipe is needed to build the new shaderc

(From OE-Core rev: 1cd89eccd7db79eb9bdc67b620daf138e22391a4)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Jose Quaresma
aaf55a597a spirv-tools: enable native build and install more header files
(From OE-Core rev: ffcab997dd504922b4b55c78a88b97063668e42a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Jose Quaresma
5f6470eb2c spirv-tools: import from meta-oe to OE core
This receipe is needed to build the new shaderc

(From OE-Core rev: 4f76d1e5252385a34b3f975cade1c114b0a9a42a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Denys Dmytriyenko
85aabe1e26 grep: upgrade 3.4 -> 3.5
(From OE-Core rev: 06c737faf45fe71611e473d195438241d9cec170)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Randy Witt
f78ab0b39f rt-tests: Update recipes to use 1.8
John Kacur(the maintainer of rt-tests), recommends "that they use
unstable/devel/latest as the maintained stable branch". I received this
information on IRC, I couldn't find it documented anywhere else.

This means that both rt-tests and hwlatdetect can be updated to be 1.8,
the latest release on unstable/devel/latest.

0001-gzip-with-n-for-build-reproducibilty.patch was removed because
upstream now uses "gzip -n" by default.

(From OE-Core rev: 92b2386f0be0eac8ca761e2008288671c6f1dbb0)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:48 +00:00
Randy Witt
f3763062c3 numactl: Skip the ptests when numa is not supported
When numa is not supported, there is no reason to run the ptests since
they will fail. While the best scenario would be for the upstream tests
to skip themselves when numa is not supported, for now skip them in
run-ptest.

(From OE-Core rev: a1e498be7904bb9e961653f6d64acb6bbfe0894c)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:47 +00:00
Randy Witt
6e109fc770 numactl: Remove COMPATIBLE_HOST restrictions
Since there may be recipes that depend on libnuma, even though the
hardware doesn't support numa, remove the COMPATIBLE_HOST restrictions.

(From OE-Core rev: 1d5574645076bc4cbc8b6e7b7a0606a5c9a9f9ae)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:47 +00:00
Richard Purdie
1c4ed6768f maintainers: Add myself as numactl maintainer to avoid QA errors
(From OE-Core rev: 3ccd06d61b769d82d34aef58256a4ac27fc5e46c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:47 +00:00
Randy Witt
595d57bd46 numactl: Add the recipe for numactl
This is a direct copy of numactl from meta-openembedded. numactl is
being moved to oe-core since the latest versions of rt-tests(which is in
oe-core) require libnuma.

(From OE-Core rev: dda815792b0939b2f233aa3ec7c140fc114a37d1)

Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:47 +00:00
zangrc
e547cfcd90 python3-pycairo: upgrade 1.19.1 -> 1.20.0
(From OE-Core rev: 96095adebc9fa622aa92cfd933b6c4b280df3e2e)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:22:47 +00:00
Richard Purdie
98df63020d scripts/buildhistory_analysis: Avoid tracebacks from file comparision code
We're seeing tracebacks from buildhistory analysing the python 3.8 -> 3.9
upgrade due to the significant file renames. Avoid these by checking before
removal as they can happen multiple times.

(From OE-Core rev: b1eb390bbcb995c0da70478e17f9170721c75341)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:04:39 +00:00
Richard Leitner
6fd014b7c4 deb: replace deprecated apt force-yes argument
apt-get deprecated --force-yes in favor of various options starting with
--allow [1]. Replace it to avoid the following warning:

W: --force-yes is deprecated, use one of the options starting with --allow instead.

[1] https://salsa.debian.org/apt-team/apt/-/blob/master/debian/changelog

(From OE-Core rev: 4af737e2643f498d1ff4c387207bd8c4f3d405b8)

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:04:39 +00:00
Richard Purdie
b788bc672b netbase: Add whitespace to purge bogus hash equivalence from autobuilder
(From OE-Core rev: 57173fd5a02a01654c4eb8f36d363002cdedc60d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:04:39 +00:00
Steve Sakoman
1ccddd3fd0 netbase: update SRC_URI to reflect new file name
The netbase_6.1.tar.xz file was removed and replaced with
netbase_6.1_bpo10+1.tar.xz.  File contents are identical except
for the changelog:

$ diff -rup netbase-6.1 netbase-6.1~bpo10+1/
 diff -rup netbase-6.1/debian/changelog netbase-6.1~bpo10+1/debian/changelog
 --- netbase-6.1/debian/changelog	2020-02-16 13:22:04.000000000 -1000
 +++ netbase-6.1~bpo10+1/debian/changelog	2020-08-26 23:10:59.000000000 -1000
 @@ -1,3 +1,9 @@
 +netbase (6.1~bpo10+1) buster-backports; urgency=medium
 +
 +  * Rebuild for buster-backports. (Closes: #969058)
 +
 + -- Arturo Borrero Gonzalez <arturo@debian.org>  Thu, 27 Aug 2020 11:10:59 +0200
 +
  netbase (6.1) unstable; urgency=medium

    * services: added isakmp (500/udp) which was removed by mistake in

[YOCTO #14084]

(From OE-Core rev: d8a09c2fcf2f8c91b7e3fea16f5c484e56187bbf)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:04:39 +00:00
Khem Raj
71e37693d6 init-ifupdown: Merge all interface files for differnet qemus
all these were exact copies, therefore just use qemuall to house this
file as it will be same across all qemu machines

Additionally, it can support out of tree qemu definitions better eg.
qemuppc64

(From OE-Core rev: 7822880443ba474431a6a2c43c52406be995d9d4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:04:39 +00:00
Khem Raj
95ec138f10 init-ifupdown: Define interfaces file for riscv emulators
(From OE-Core rev: 24d7c6224533b64c6c1f1a7d4c523dfb61a3c23b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:04:39 +00:00
Richard Purdie
cc840dfc9d sstatesig: Log timestamps for hashequiv in reprodubile builds for do_package
Currently if a task generates the same output with different timestamps,
hasequiv won't detect it but reproducibile builds will fail tests due
to the different timestamps.

Add do_package timestamps to the hash when reproducibile builds are enabled
to avoid this.

(From OE-Core rev: 11e8200ccec765ff6a4263e06512e5751eca261a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:04:39 +00:00
Khem Raj
b0f2ad4f6b webkitgtk: Disable gold linker and JIT on riscv
both unsupported _yet_ on RISCV

(From OE-Core rev: 40742b98cd25225e95029316539f66b1cbef8ef1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:04:39 +00:00
Mingli Yu
cb4ddd78e0 bitbake.conf: Exclude ${CCACHE_DIR} from pseudo database
When ccache enabled as below:
INHERIT += "ccache"
CCACHE_DIR = "/path/build/ccache"

There comes do_install failure for some recipes randomly, take
linux-libc-headerswhen as example.
 $ cat /path/build/tmp/work/corei7-64-wrs-linux/linux-libc-headers/5.8-r0/pseudo/pseudo.log
 [snip]
 path mismatch [1 link]: ino 243004209 db '/path/build/ccache/6/stats' req '/path/build/ccache/7/stats.lock'.
 [snip]

Exclude ${CCACHE_DIR} from pseudo database to fix the potential
do_install failure.

(From OE-Core rev: b65e5280bf9e7f1f9c8e6acabab79bcf209e5342)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:04:39 +00:00
Yongxin Liu
141bf3fdb6 grub: fix several CVEs in grub 2.04
Backport patches from https://git.savannah.gnu.org/git/grub.git
to fix some CVEs. Here is the list.

CVE-2020-14308:
0001-calloc-Make-sure-we-always-have-an-overflow-checking.patch
0002-lvm-Add-LVM-cache-logical-volume-handling.patch
0003-calloc-Use-calloc-at-most-places.patch

CVE-2020-14309, CVE-2020-14310, CVE-2020-14311:
0004-safemath-Add-some-arithmetic-primitives-that-check-f.patch
0005-malloc-Use-overflow-checking-primitives-where-we-do-.patch

CVE-2020-15706:
0006-script-Remove-unused-fields-from-grub_script_functio.patch
0007-script-Avoid-a-use-after-free-when-redefining-a-func.patch

CVE-2020-15707:
0008-linux-Fix-integer-overflows-in-initrd-size-handling.patch

(From OE-Core rev: 67329184985a03534f11f95e9df5f9fb2305a261)

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 13:04:39 +00:00
Robert P. J. Day
a65148ba0a README: "yocto-project-qs" -> "brief-yoctoprojectqs"
Directory has been renamed, so fix README and add a bit more white
space to keep everything lined up.

(From yocto-docs rev: cdd4c705f7271e31e44a94c79b050eda1fba5945)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:22 +00:00
Robert P. J. Day
2a5574f698 ref-manual/ref-variables: "PACKAGE_FEEDS_ARCHS" -> "PACKAGE_FEED_ARCHS"
Fix single misspelling.

(From yocto-docs rev: e1a47857f4ff3edb105e7fa80ff8d29dcc3ece03)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:22 +00:00
Richard Purdie
e9f0895627 dev-manual: Add a note about prelink changing prebuild binaries
(From yocto-docs rev: 6c023ee1328bb31ececd9e1daaac67351c8320e3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Paul Eggleton
6de21a42a6 ref-manual: add migration info about MLPREFIX changes
Add a migration subsection on the need to add MLPREFIX to conditional
package dependencies in gatesgarth.

(From yocto-docs rev: e202beabfc1282d6999fde0ced89e41c993da27f)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Paul Eggleton
4f91a3339c ref-manual: add migration info for image-artifact-names
Add some info on the image-artifact-names class change in gatesgarth.

(From yocto-docs rev: 71dd9d92bf58c73f5fb3bd14cf8031bfc794fd3f)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Paul Eggleton
778ef21609 ref-manual: add IMAGE_LINK_NAME
Add IMAGE_LINK_NAME to the variable glossary.

(From yocto-docs rev: 370551f961a291f7090a8a40a0beea3511274bc1)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Richard Purdie
0079a04644 ref-manual/faq: Add entry for why binaries are changed in images
(From yocto-docs rev: 843a91187783b2e11512c45b8dd8302b19113569)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Paul Eggleton
38a2462bc7 ref-manual: add migration section for 3.2
This covers most of the changes that would require action on the part of
the user that I was able to see by scouring the commits. Some of the text
was borrowed from commit messages and edited.

(From yocto-docs rev: 35e9349ba6417765274d7d1ce542e7e6f19dbe26)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Paul Eggleton
2e59fedd52 ref-manual: add IMAGE_NAME_SUFFIX variable
Add a variable glossary entry for IMAGE_NAME_SUFFIX, which was added way
back in krogoth.

(From yocto-docs rev: 78920a8ea5fb991606300c1fcb48aa6a7c20f8c1)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Paul Eggleton
eac7b4bc3e ref-manual: add IMAGE_VERSION_SUFFIX variable
Add an entry to the variable glossary for IMAGE_VERSION_SUFFIX (which
was added in thud) and update the IMAGE_NAME and KERNEL_ARTIFACT_NAME
entries whose defaults use this variable.

(From yocto-docs rev: 1a02c4be8e348687d4f7e09aefc408aaed5f1be5)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Paul Eggleton
5f2e106d61 ref-manual: add PSEUDO_IGNORE_PATHS
Add a brief variable glossary entry for the new PSEUDO_IGNORE_PATHS
variable.

(From yocto-docs rev: a337bb317dacdeb174397e7ee8258bc74560436b)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Paul Eggleton
209aa9805a ref-manual: QA check updates
* Update for changes to messages
* Add missing QA checks - some added recently, others several releases
  ago

Some of this was borrowed from commit messages (with editing) - in
particular thanks to Alexander Kanavin for the writeup on patch-fuzz.

(From yocto-docs rev: 6a5e846a92068758e49d1810789638b6990bf83d)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Paul Eggleton
249e789fed ref-manual: fix for features_check class change
distro_features_check was renamed to features_check and extended to
support MACHINE_FEATURES, COMBINED_FEATURES and ANY_OF_*_FEATURES in
dunfell, but the documentation still needed to be updated.

(From yocto-docs rev: 274eb596582a22883e8b386a07cf32ed45a77d79)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Paul Eggleton
266e1d6ae8 ref-manual: add reference anchors for each QA check
Make it possible to link to the explanation for a particular QA check.

(From yocto-docs rev: 3f6dc24e0a371feca8fe66c1be8c86e599307854)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-30 12:09:21 +00:00
Nicolas Dechesne
7231c10430 dev-manual/dev-manual-common-tasks: fix typos and use extlinks
* fixed a couple of typos
* added a 'nicer' link to the repo using :yocto_git:

(From yocto-docs rev: 14d0c205c671c4c670d7a887d307d359f70e1b7a)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-27 13:23:00 +00:00
Quentin Schulz
bb08435ebf docs: kernel-dev-faq: update outdated RDEPENDS_kernel-base
Since 2.5 (sumo), RDEPENDS_kernel-base has been replaced by
RDEPENDS_${KERNEL_PACKAGE_NAME}-base, so let's use this one instead.

(From yocto-docs rev: 0639160185969a6761e9911a166b897a015f4d59)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-27 13:23:00 +00:00
Quentin Schulz
4dc272c4b9 docs: kernel-dev-common: add .patch file extension to SRC_URI files
Patches provided in SRC_URI are only applied if their extension is .diff or
.patch. The examples do not use those extensions and would probably result
in user confusion as to why the patches aren't being applied to the
sources.

Let's fix this by giving them a .patch file extension.

(From yocto-docs rev: 0858e86ed8e3e3005207980041fe4f2117750663)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-27 13:23:00 +00:00
Quentin Schulz
08d7d5c243 docs: kernel-dev: fix typos, highlights and links
(From yocto-docs rev: a69247321ff34cb0a2b9a8cc62020ec7f3aad834)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-27 13:23:00 +00:00
Richard Purdie
5d75168a13 build-appliance-image: Update to master head revision
(From OE-Core rev: d3114ca369792201a5316c1ede29eb72f0868d35)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:14:40 +00:00
Nicolas Dechesne
1dfd37d309 sphinx: add 3.1.3 and 3.0.4 release in the switcher
(From yocto-docs rev: 64c7cb54e031b5b0babc8ee33dac0b9162a5f391)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:12:42 +00:00
Stacy Gaikovaia
c0f18b8bf5 bitbake: main: Handle cooker daemon startup error
On startup, bitbake spawns a cooker daemon and waits for
it's acknowledgement signal.  If the acknowledgement
doesn't happen in time,the bitbake object will fail to
initialize and exit.

The error that occurs in this case isn't handled by
the existing try - catch block because SystemExit inherits
from a different base Exception class.

This commit adds SystemExit to the list of expected bitbake
server startup errors.

[YOCTO #13993]

(Bitbake rev: fec2b85689bba1d26ad6f376bc11cc29bb27cbe5)

Signed-off-by: Stacy Gaikovaia <stacy.gaikovaia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:12:42 +00:00
Khem Raj
8de1cd3886 packagegroup-core-tools-profile: Remove lttng-tools and perf for rv32/glibc
They still lack riscv32 ports

(From OE-Core rev: 8fdc92e023d6f8bf98d81f2bcc495fc9efe826de)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:58 +00:00
Ross Burton
5689a70b23 glib-2.0: fix parsing of slim encoded tzdata
As of tzcode 2020b the timezone data is encoded using the 'slim' format
instead of the previous 'fat'.  This exposes a number of bugs in GLib,
so backport the fixes to improve the parser.

[ YOCTO #14106 ]

(From OE-Core rev: 09aec7ea87ffc28d1b22d904b20dc23ea55225c9)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:36 +00:00
Richard Purdie
ad818f8b23 valgrind: Fix build on musl after drd fixes
(From OE-Core rev: 6a74caa115298e594ae22a9de91b132db62e4b5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:36 +00:00
Stacy Gaikovaia
6dddb2345b valgrind: drd: fix pthread intercept test failures
After glibc uprev 2.31 -> 2.32, the following drd ptests
fail with the error "condition variable has not been initialized".

drd/tests/annotate_hb_err
drd/tests/annotate_sem
drd/tests/annotate_rwlock
drd/tests/annotate_order_2
drd/tests/annotate_smart_pointer
drd/tests/annotate_spinlock
drd/tests/monitor_example
drd/tests/pth_cond_race
drd/tests/pth_inconsistent_cond_wait

In glibc 2.32, the POSIX thread functions are in both
libc and libpthread, causing valgrind to misinterpert
test behaviour. This patch tells valgrind to intercept
both the libc and the libpthread functions, resolving
these ptest failures.

Here are the latest test results on qemux86-64:
=== Test Summary ===
TOTAL: 728
PASSED: 688
FAILED: 1
SKIPPED: 39

The failed test is in helgrind:
FAIL: helgrind/tests/pth_destroy_cond

Patch can be removed once we uprev valgrind.
See valgrind commit 15330adf7c2471fbaa6a0818db07078d81dbff97.

(From OE-Core rev: e8f265e957e187b4f84f566aaeec8f514e3044d6)

Signed-off-by: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:36 +00:00
Richard Purdie
14335a18dd Revert "classes/buildhistory: also save recipe info for native recipes"
This reverts commit d123606c4bef85c2436b40f51e47b602b7600c0b.

This change contains races as it will start poking into do_package task
directories from do_populate_sysroot. If we want to do this for native
recipes, we need to add guards around the package code and only make
this happen for native in populate_sysroot, not target in
populate_sysroot too. Backtrace from an example problem below:

ERROR: openssl-1.1.1g-r0 do_populate_sysroot: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:buildhistory_emit_pkghistory(d)
     0003:
File: '/home/ross/Yocto/poky/meta/classes/buildhistory.bbclass', lineno: 319, function: buildhistory_emit_pkghistory
     0315:
     0316:        write_pkghistory(pkginfo, d)
     0317:
     0318:    # Create files-in-<package-name>.txt files containing a list of files of each recipe's package
 *** 0319:    bb.build.exec_func("buildhistory_list_pkg_files", d)
     0320:}
     0321:
     0322:python buildhistory_emit_outputsigs() {
     0323:    if not "task" in (d.getVar('BUILDHISTORY_FEATURES') or "").split():
File: '/home/ross/Yocto/poky/bitbake/lib/bb/build.py', lineno: 256, function: exec_func
     0252:    with bb.utils.fileslocked(lockfiles):
     0253:        if ispython:
     0254:            exec_func_python(func, d, runfile, cwd=adir)
     0255:        else:
 *** 0256:            exec_func_shell(func, d, runfile, cwd=adir)
     0257:
     0258:    try:
     0259:        curcwd = os.getcwd()
     0260:    except:
File: '/home/ross/Yocto/poky/bitbake/lib/bb/build.py', lineno: 503, function: exec_func_shell
     0499:    with open(fifopath, 'r+b', buffering=0) as fifo:
     0500:        try:
     0501:            bb.debug(2, "Executing shell function %s" % func)
     0502:            with open(os.devnull, 'r+') as stdin, logfile:
 *** 0503:                bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
     0504:        except bb.process.ExecutionError as exe:
     0505:            # Find the backtrace that the shell trap generated
     0506:            backtrace_marker_regex = re.compile(r"WARNING: Backtrace \(BB generated script\)")
     0507:            stdout_lines = (exe.stdout or "").split("\n")
File: '/home/ross/Yocto/poky/bitbake/lib/bb/process.py', lineno: 184, function: run
     0180:        if not stderr is None:
     0181:            stderr = stderr.decode("utf-8")
     0182:
     0183:    if pipe.returncode != 0:
 *** 0184:        raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
     0185:    return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/yocto/ross/build/tmp/work/neoversen1-poky-linux/openssl/1.1.1g-r0/temp/run.buildhistory_list_pkg_files.4158804' failed with exit code 2:
/yocto/ross/build/tmp/work/neoversen1-poky-linux/openssl/1.1.1g-r0/temp/run.buildhistory_list_pkg_files.4158804: 183: cd: can't cd to /yocto/ross/build/tmp/work/neoversen1-poky-linux/openssl/1.1.1g-r0/packages-split/openssl-engines

(From OE-Core rev: 59aac6e134289d657d80bfb1d6f25b388d539818)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:36 +00:00
Max Krummenacher
a6d28c3b22 linux-firmware: package nvidia firmware
Add packages for the firmware required by the Nvidia chipsets.
Split it in Tegra K1, all other Tegras and desktop GPU packages.

(From OE-Core rev: f03b7bc5f164afd9cbb0c2bd3a932bb85d968bf7)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:36 +00:00
Max Krummenacher
9c8783532c linux-firmware: package marvel sdio 8997 firmware
Add package for the firmware required by the Marvell 8997 chipset when
connected over SDIO.

(From OE-Core rev: d8b69d826702db9f5a3482754db8967c924a156d)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:36 +00:00
Khairul Rohaizzat Jamaluddin
fe15f9983b imagefeatures: New test case, test_empty_image, added
An empty image build file exists under the meta-selftest folder, test-empty-image.bb,
which builds an image with no additional packages. However, there were no further
selftest created to verify its emptiness

This change consists of the selftest related to the said image to verify its
emptiness and the 'import glob' moved as global import instead of local import.

The expected outcome of the test should be TRUE or 1 if the .manifest file content
is empty.

[YOCTO #8455]

(From OE-Core rev: 1f8bdaa746c6e7efc07789256d5c050780c81f4c)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:36 +00:00
Zang Ruochen
73fe05a48c harfbuzz: Refresh patch
Because two modifications conflict in the patch, do_patch will make an error when using patch as a patchtool.

(From OE-Core rev: 5a0237ad40457bbaedcc3f0e6c130612981eece3)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:36 +00:00
Alistair
2d800e8e32 weston-init: Allow setting idle time to 0
Add a PACKAGECONFIG that can be used to set the idle-time to 0. This is
useful for always on machine (such as kiosks) and for debugging.

(From OE-Core rev: 082902a3e97020f0b02097feb3c2173c64a017bf)

Signed-off-by: Alistair Francis <alistair@alistair23.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:35 +00:00
Mingli Yu
8c7cb2d1d2 tcl: adapt to potential pseudo changes
It failed as below when rerun do_install for tcl:
 $ bitbake tcl
 $ bitbake tcl -f -cinstall
 [snip]
 | NOTE: make -j 72 DESTDIR=/build/tmp/work/core2-64-wrs-linux/tcl/8.6.10-r0/image install
 | abort()ing pseudo client by server request. See https://wiki.yoctoproject.org/wiki/Pseudo_Abort for more details on this.
 | /build/tmp/work/core2-64-wrs-linux/tcl/8.6.10-r0/temp/run.do_install.3490694: line 184: 3499214 Aborted                 (core dumped) make -j 72 "$@"

By default the S is ${WORKDIR}/${BPN}-${PV}, but after unpack,
the tcl source [1] unpacked to ${WORKDIR}/${BPN}${PV} and all the
files under ${WORKDIR}/${BPN}${PV} are acutally the source files.

But the the main Makefile.in is under ${WORKDIR}/${BPN}${PV}/unix
for tcl, so there is below logic in tcl recipe:
S = "${WORKDIR}/${BPN}${PV}/unix"

To adapt the potential pseudo changes, there is a general logic to
exclude ${S} from pseudo database in base.bbclass in [2]. That's to
say, just the dir ${WORKDIR}/${BPN}${PV}/unix is excluded from the
pseudo database.

But it's not enough for tcl, we need to exclude the actual source dir
${WORKDIR}/${BPN}${PV} from pseudo database specifically to fix the
above do_install failure.

[1] https://downloads.sourceforge.net/tcl/tcl8.6.0-src.tar.gz
[2] https://git.openembedded.org/openembedded-core/tree/meta/classes/base.bbclass#n396

(From OE-Core rev: 0d835f8069a336fd6bab1058d4e605a81c844212)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:35 +00:00
Robert Yang
0eebc82cc0 weston: Fix PACKAGECONFIG for remoting
Fix a typo: gstreamer-1.0 -> gstreamer1.0.

(From OE-Core rev: d5b030dd9b9ada796f90919c97c887b00612cfc0)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:35 +00:00
Alejandro Hernandez Samaniego
6091dc5455 baremetal-helloworld: Fix install path since S doesnt have a trailing slash
(From OE-Core rev: f099a4ec8e722f590fbf9b5ae87bb6ec29a5e6e6)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:08:35 +00:00
Richard Purdie
68cb0075c5 bitbake: tests/fetch: Update upstream master->main branchname transition
(Bitbake rev: 8b9471e02528320f6ef8d35840b5618883e85447)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 22:06:37 +00:00
Nicolas Dechesne
577eadd373 dev-manual/dev-manual-common-tasks: fix warning
A new warning was introduced in
59908cecb528 (docs: Updated the status of spdx module.)

The code-block section belongs to the #3 item in the enumerated
list. While at it, also fixed a typo in the text.

(From yocto-docs rev: 0e301503883222da702e2418404ee6f04a25dbc1)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 14:56:18 +00:00
Joshua Watt
6594c312ab ref-manual: Document wic --offset option
Adds documentation that describes how to use the --offset argument in a
kickstart file

(From yocto-docs rev: 0fbb2d71fe866b4ae7721f2f70d5b50dbc019030)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-26 14:56:18 +00:00
Richard Purdie
4e4a302e37 build-appliance-image: Update to master head revision
(From OE-Core rev: ea8ba9a15bcec7f5fbce1f40170298f87a808249)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:21:54 +01:00
Richard Purdie
b7591c86c1 poky.conf: Bump version for 3.2 gatesgarth release
(From meta-yocto rev: 269f81c2b2ac64219c65953bc56bd41317a8db0f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:21:46 +01:00
Quentin Schulz
f7fa3e7d66 docs: bsp-guide: bsp: fix typos, highlights and links
(From yocto-docs rev: cb0e11170b34b332b41f8b533545c69b05c696c0)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:07 +01:00
Quentin Schulz
7c18b7227a docs: ref-manual: ref-terms: add links to terms in glossary
Everything declared in a glossary has a "term-" link that is usable as an
HTML anchor. The link already works, one just cannot get a link from
within the ref-terms page.

Let's make this possible.

Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(From yocto-docs rev: fcbb267fba968834d4d9d011fc71cc371f910447)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:07 +01:00
Joshua Watt
9360f09e57 ref-variables: Given example for naming sources
Adds an example to SRC_URI that explains how to name sources in SRC_URI
and how to associate SRCREVs and checksums with the names

(From yocto-docs rev: 900af0addab7d6ea465922957f881a13012429ed)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:07 +01:00
Quentin Schulz
ce8ff73294 docs: dev-manual: fix typos, highlights, indentation and links
(From yocto-docs rev: ab244dcd48968ea6d0e328808c9aac4aef281032)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Quentin Schulz
5d11024031 docs: dev-manual-common-tasks: update python webserver example to python3
SimpleHTTPServer is python2 only, the module in python3 is http.server.

Let's use this one since everything in Yocto Project is using python3
nowadays.

(From yocto-docs rev: 75338f17b116afadb7360181d071875a68272708)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Quentin Schulz
5a154344cb docs: dev-manual-common-tasks: remove paragraph about race when missing DEPENDS
Missing DEPENDS were an issue before rocko (2.4) because of a shared global
sysroot. Since then, every recipe has its own sysroot, it is not possible
to build successfully a recipe without all DEPENDS. Therefore, races in
tasks possibly triggered by missing DEPENDS are a thing of the past.

This paragraph is misleading and can be safely removed.

(From yocto-docs rev: 9aec42794846a4bca37b49a9f920fa2887974ddf)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Nicolas Dechesne
9f8e2c0ea6 sdk-manual: use built-in footnotes
The current HTML output is bogus, because we have a fix of * and \.
Sphinx has built-in footnotes that can be used in this specific
example. let's use that instead.

(From yocto-docs rev: 5be36103ca1102c995915a20bf881e43920595e3)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Quentin Schulz
9d93373540 docs: poky.yaml: fix identation in host packages variables
This unfortunately makes the variables probably unusable for proper
replacement in other indentation blocks.

(From yocto-docs rev: adf240b8db9597328324bbfb0095f573bea217f9)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Quentin Schulz
d97ad8cf1a docs: sphinx: yocto-vars: rebuild files when poky.yaml has changed
poky.yaml changes aren't detected by Sphinx by default.

In order to detect changes in poky.yaml, its md5sum is stored in the
app.outdir (BUILDDIR/html when building html) and checked against the
md5sum of the poky.yaml under use.

If the md5sum has changed, find all rst files in app.srcdir that have at
least an occurence of `&.*;` and mark them as requiring a rebuild.

(From yocto-docs rev: 59537c7fa49e3ea6918f45b3201ad16d56988b9b)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Quentin Schulz
c04e9aa806 docs: ref-manual: ref-system-requirements: update requirements to build Sphinx docs
Tested with containers on all supported distributions.

Debian 8 (Jessie) still has Python3.4 and an old pip3, which makes it
impossible to build typing module which is a requirement of "new" Sphinx
python module.

One cannot update to latest pip3 from within pip in Jessie's version.
One cannot get a newer pip from upstream because newer pip don't support
Python3.4 anymore.
One cannot build with python3-sphinx package from Jessie because the
package is too old (1.2.3) and does not have sphinx.ext.autosectionlabel
module which appeared in 1.4 version.

(From yocto-docs rev: 14da565986a573ac7e0b5c5943e55b7b74f99dd5)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Quentin Schulz
5ab3c28b03 docs: ref-manual: ref-classes: remove dropped tinderclient class
tinderclient class was dropped in dunfell.

Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(From yocto-docs rev: 241059880bbfa61b61cf1843447e1b6d57c71ebe)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Quentin Schulz
706aaae6bd docs: ref-manual: migration-2.3: specify 2.3 version instead of DISTRO
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(From yocto-docs rev: 19b3ce7bc46b76207a6f3733881f3f16deab5a0d)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Quentin Schulz
f27fe90c7c docs: ref-manual: fix typos
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(From yocto-docs rev: f21e92f74c8357b23fd4059af6815fbba9487147)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Quentin Schulz
7db69417c1 docs: remove OE_INIT_FILE variable
There's probably no need for such a variable (the name of the script is
unlikely to change any time soon) and not all instances of
oe-init-build-env were actually using this variable.

For consistency sake, let's just remove the OE_INIT_FILE variable.

Suggested-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(From yocto-docs rev: 6fd4421283005b0ecc980e9ef25770d383b93937)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Quentin Schulz
8dd785f120 docs: ref-manual: indentation, links and highlights fixes
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(From yocto-docs rev: f5688a74cd9d100dee270edb9a33c02015cfabda)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Quentin Schulz
e2a2c80de0 docs: poky.yaml: use HTTPS for links
Manually tested, ran linkcheck on it too.

Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
(From yocto-docs rev: 46912c4c7e429f01dba52071efa649e8c4fbaf06)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
leimaohui
c7e06033bb docs: Updated the status of spdx module.
- Deleted content about old spdx.bbclass.
- Added usage of meta-spdxscanner.

(From yocto-docs rev: 59908cecb5283ebdea1800c4d86a6310a45159bf)

Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Naoki Hayama
abf85840ab dev/test/ref-manual: Fix typos
Fix some typos.
s/necesary/necessary/
s/overriden/overridden/

(From yocto-docs rev: f4ce6ae80b1d96f9b8bead013642aeda0c776182)

Signed-off-by: Naoki Hayama <naoki.hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:12:06 +01:00
Richard Purdie
dfc54a477b oeqa: Add sync call to command execution
We previously put a sync call into devtool to try and combat the bitbake
timeout issues on the autobuilder. It isn't enough as the timeouts occur
mid test. They are also occurring on non-devtool tests.

Add in sync calls around command execution instead.

(From OE-Core rev: ceca5ed121e2b54415a7ab3a217882e4ea86923a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Victor Kamensky
67377bbd0b qemu: change TLBs number to 64 in 34Kf mips cpu model
Replace OE private qemu patch with one that got upstreamed
and solves the same problem: increase qemumips CI performance
by increasing number of TLBs in CPU model and reduce need to
run software TLB refill code.

(From OE-Core rev: a99dace7463d310688f4098a51316dc0743651e2)

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Victor Kamensky
c2adcca4bf Revert "qemu: add 34Kf-64tlb fictitious cpu type"
This reverts commit 4470a04943352224955f17e004962f0f9e1c9b0c.

Will be replaced with upstreamed solution instead, that just
bumped number of TLBs to 64 in original 34Kf CPU model.

(From OE-Core rev: 894f1d58d93073d290f35d1090b03717bc7b4dc0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Victor Kamensky
f27fa7ad97 Revert "qemumips: use 34Kf-64tlb CPU emulation"
This reverts commit 6a9568401cbf8bed89d1f63dae61a07a83a20b50.

Will be replaced with upstreamed solution instead, that just
bumped number of TLBs to 64 in original 34Kf CPU model.

(From OE-Core rev: f64cc9e747765d51e5bb01321d41d063718c8e83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Paul Eggleton
1932b04a1e classes/buildhistory: also save recipe info for native recipes
If we want to also collect SRC_URI for native recipes we need to ensure
that the code that writes out all of the recipe info is called - there
isn't a do_packagedata for native recipes so we need to piggyback on
do_populate_sysroot instead.

(From OE-Core rev: d123606c4bef85c2436b40f51e47b602b7600c0b)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Paul Eggleton
71191e8e7a classes/buildhistory: record SRC_URI
It can be useful to record SRC_URI into buildhistory for the purposes of
tracking exactly which sources got built (we already have SRCREV) as
well as getting an indication when changes to the SRC_URI relate to
changes in the output.

(From OE-Core rev: 70714795aafc98a6df1df7f944867093eb8cafc7)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Khem Raj
fef9e98ead packagegroup-core-tools-debug: Disable for rv32/glibc as well
strace for rv32 is not yet ported

(From OE-Core rev: bec777887e7eed9a12b08231a612aaf19b622614)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Alexander Kanavin
6a6dbae43d selftest/virgl: drop the custom 30 sec timeout
This is occasionally reached on the AB; I am not sure if it is due to
host overload, or guest malfunction, but let's use the default 300 sec and
see if it helps.

[YOCTO #14097]

(From OE-Core rev: 93a0352e2e8539d109f6d3ddc0ed02b3b9256e86)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Alexander Kanavin
16200010ef boost-build-native: fix upstream version check
(From OE-Core rev: 2a2238a04f79042a18f886dfbeb9d3af3fc8f12e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Alexander Kanavin
714ee386e6 python3: fix upstream version check
(From OE-Core rev: c8a6512b36e12f48d8713c5c3b48d83a431c8191)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Alexander Kanavin
0abb5a03ab ncurses: only include upstream releases in version check
(From OE-Core rev: 7381ec1e55ebe0f79a6e93076c0f146b988f9f13)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Konrad Weihmann
7048d3d1f0 lib/oe/rootfs: introduce IMAGE_LOG_CHECK_EXCLUDES
When using rpm as package manager and trying to install a file called
'/usr/share/doc/What to when an Error occurs.txt'
log_check falsely errors out on the build, because used regex match on
'DEBUG:  Removing manifest: /path/usr/share/doc/What
to when an Error occurs.txt'.
To handle such cases introduce IMAGE_LOG_CHECK_EXCLUDES, to allow
user to add custom exclude regex to log_check exclude list

(From OE-Core rev: 7c7555a79b8bdef0a8d7fbd57e9ddf059066de76)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Khem Raj
fbc879c351 mesa: Fix build on 32bit arches supporting 64bit time_t only
Fixes
../mesa-20.1.8/src/util/futex.h:47:19: error: use of undeclared identifier 'SYS_futex'; did you mean 'sys_futex'?
   return syscall(SYS_futex, addr1, op, val1, timeout, addr2, val3);
                  ^~~~~~~~~
                  sys_futex

(From OE-Core rev: 21bdff510a7673ccf7f27f551b641a5ba84d656c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Khem Raj
8f03a64edd boost: Fix build on 32-bit arches with 64bit time_t only
(From OE-Core rev: 7a218adf9990f5e18d0b6a33eb34091969f979c7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Lee Chee Yang
bd56c17ba5 grub2: fix CVE-2020-10713
(From OE-Core rev: ec6a2258ca27d5709df4fe18d94841332395bcb2)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:46 +01:00
Ross Burton
92e46629b0 scripts/install-buildtools: Update to 3.2 M3 buildtools
(From OE-Core rev: 89a94ad07b641434089b0684bec0acd8fa8f97c1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-20 11:11:45 +01:00
Reyna, David
5504b3a921 bitbake: toaster: Update documentation links to new URLs
Update the Toaster documentation links to the new
Yocto Project URLs.

[YOCTO #14092]

(Bitbake rev: 9345d257ced432adc2d16af20ace58cc7c086aab)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-19 23:43:30 +01:00
Richard Purdie
c9b60b8bff bitbake: bitbake: Bump version to 1.48.0 ready for the new release
(Bitbake rev: f421de9effc2ba40145373881d20b8e823cf23f8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-19 23:43:09 +01:00
Martin Jansa
52276e385d siteinfo: Recognize bigendian sh3be and sh4be
* seems to be broken for many years, does someone still use sh3/sh4?

  scripts/tune/log.fake-sh3.sh3eb:
  Parsing recipes...
  ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-devtools/vala/vala_0.48.9.bb: Unable to determine endianness for architecture 'sh3eb'
  ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-devtools/vala/vala_0.48.9.bb: Please add your architecture to siteinfo.bbclass

  scripts/tune/log.fake-sh4.sh4aeb
  scripts/tune/log.fake-sh4.sh4eb:
  Parsing recipes...
  ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/vim/vim-tiny_8.2.bb: Unable to determine endianness for architecture 'sh4eb'
  ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/vim/vim-tiny_8.2.bb: Please add your architecture to siteinfo.bbclass

(From OE-Core rev: 1f26495884b8f567aecadc5936651846dfeed3f5)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Martin Jansa
acd3354e93 siteinfo: Recognize 32bit PPC LE
* since this commit, all powerpc little-endians (both 32bit and 64bit) use "le" suffix:
  commit b6ac40f1cbabb20896bf113568f7735a462ed1a6
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Sun Dec 29 10:44:03 2019 -0800

    powerpc, powerpc64: Append little-endianness to tune arch

* 64bit variants were already fixed in:
  commit e62cdb9b88b575b5cfcdd65ca558edc237c43b2a
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Sun Dec 29 10:44:02 2019 -0800

    siteinfo: Recognize 64bit PPC LE

* but 32bit are still failing:
  scripts/tune/log.fake-power5.powerpcle
  scripts/tune/log.fake-power5.powerpcle-nf
  scripts/tune/log.fake-power6.powerpcle
  scripts/tune/log.fake-power6.powerpcle-nf
  scripts/tune/log.fake-power7.powerpcle
  scripts/tune/log.fake-power7.powerpcle-nf
  scripts/tune/log.fake-power9.powerpcle
  scripts/tune/log.fake-power9.powerpcle-nf
  scripts/tune/log.fake-power9.ppcp9le
  scripts/tune/log.fake-ppc476.powerpcle
  scripts/tune/log.fake-ppc476.powerpcle-nf
  scripts/tune/log.fake-ppc603e.powerpcle
  scripts/tune/log.fake-ppc603e.powerpcle-nf
  scripts/tune/log.fake-ppc7400.powerpcle
  scripts/tune/log.fake-ppc7400.powerpcle-nf
  scripts/tune/log.fake-ppce300c2.powerpcle
  scripts/tune/log.fake-ppce300c2.powerpcle-nf
  scripts/tune/log.fake-ppce300c3.powerpcle
  scripts/tune/log.fake-ppce300c3.powerpcle-nf
  scripts/tune/log.fake-ppce500.powerpcle
  scripts/tune/log.fake-ppce500.powerpcle-nf
  scripts/tune/log.fake-ppce500mc.powerpcle
  scripts/tune/log.fake-ppce500mc.powerpcle-nf
  scripts/tune/log.fake-ppce500v2.powerpcle
  scripts/tune/log.fake-ppce500v2.powerpcle-nf
  scripts/tune/log.fake-ppce5500.powerpcle
  scripts/tune/log.fake-ppce5500.powerpcle-nf
  scripts/tune/log.fake-ppce6500.powerpcle
  scripts/tune/log.fake-ppce6500.powerpcle-nf

  Parsing recipes...
  ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/debianutils/debianutils_4.11.1.bb: Unable to determine endianness for architecture 'powerpcle'
  ERROR: /OE/build/oe-core/openembedded-core/meta/recipes-support/debianutils/debianutils_4.11.1.bb: Please add your architecture to siteinfo.bbclass
  ...

(From OE-Core rev: a31436f38da27883b42810adf3066ea498ca4a5d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Martin Jansa
4bfcfd13d5 tune-thunderx.inc: don't append _be to ARMPKGARCH for tune-thunderx_be
* the _be suffix is already included in ARMPKGARCH with:
  ARMPKGARCH_tune-thunderx ?= "thunderx"
  ARMPKGARCH_tune-thunderx_be ?= "thunderx_be"

  and then it was appended again through ARMPKGSFX_ENDIAN_64 in
  meta/conf/machine/include/arm/arch-arm64.inc:
  TUNE_PKGARCH_64 = "${ARMPKGARCH}${ARMPKGSFX_ENDIAN_64}"

* broken since:
  commit 08433cc58abf0cf3e42b22d20870a50287cfb8bc
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Tue May 26 16:10:37 2020 -0700

    armv8/tunes: Set TUNE_PKGARCH_64 based on ARMPKGARCH

* fixes:
  scripts/tune/log.fake-thunderx.thunderx_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be thunderx_be fake_thunderx) for DEFAULTTUNE (thunderx_be) does not contain TUNE_PKGARCH (thunderx_be_be).

(From OE-Core rev: 8f477b9cf456b9ad7c7fab9768ba47daa124ada7)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Neil Armstrong
c597ac0807 linux-firmware: add Amlogic VDEC firmware package
Add package for the Amlogic VDEC firmwares.

(From OE-Core rev: aeb014b50433f254ced275711bee940cde9c1c8a)

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Martin Jansa
f9e368a779 tune-supersparc.inc: remove
* it doesn't seem actively used

* last change in this file was:
  commit 3a3c69a1bc3cf0b6f6a3b13d86c12ed21798d48e
  Author: Richard Purdie <richard.purdie@linuxfoundation.org>
  Date:   Fri Jul 22 15:13:03 2011 +0100

    conf/machine/include: Set TUNE_CCARGS instead of TARGET_CC_ARCH

  but it was probably broken long before that

* it was never migrated to use DEFAULTTUNE mechanism, currently failing with:
  scripts/tune/log.fake-supersparc:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}} fake_supersparc) for DEFAULTTUNE (None) does not contain TUNE_PKGARCH (supersparc).Toolchain tunings invalid:

(From OE-Core rev: 861519337b6e5e986c3c4b8ba253e8339caf0805)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Changqing Li
61dbba9fab toolchain-shar-extract.sh: don't print useless info
useless info "gcc: command not found" is printed when run
buildtools-extended on system without gcc.

(From OE-Core rev: 289a58ddbbd8bb3f5ae0d3421cfe8e75b60b0fbe)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Chen Qi
a5b9fa3c45 cups: use /run instead /var/run in systemd's unit file
/var/run has been deprecated by systemd, so use /run instead,
as suggested by systemd.

(From OE-Core rev: 6c3f56020da7a26c2daea73e39c2f324f1f597db)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Martin Jansa
b5d4671d38 tune-riscv.inc: use nf suffix also for TUNE_PKGARCH
* broken since introduction:
  commit 5263b2ebc57fe289d64c74bfb10da39ed7c98828
  Author: Alistair Francis <alistair.francis@wdc.com>
  Date:   Thu Dec 19 13:24:10 2019 -0800

    tune-riscv: Add support for no float

* fixes:
  scripts/tune/log.fake-riscv.riscv32nf:    Error, the PACKAGE_ARCHS variable (all any noarch riscv32nf fake_riscv) for DEFAULTTUNE (riscv32nf) does not contain TUNE_PKGARCH (riscv32).
  scripts/tune/log.fake-riscv.riscv64nf:    Error, the PACKAGE_ARCHS variable (all any noarch riscv64nf fake_riscv) for DEFAULTTUNE (riscv64nf) does not contain TUNE_PKGARCH (riscv64).

(From OE-Core rev: 58088dce12775e325df8428b750e19616d264464)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Martin Jansa
2f52f93c1b tune-ep9312.inc: add t suffix for thumb to PACKAGE_EXTRA_ARCHS_tune-ep9312
* broken since:
  commit 805dd4807d322dc70cef97edd68fdb3142b60fb1
  Author: Andre McCurdy <armccurdy@gmail.com>
  Date:   Fri Aug 23 13:51:36 2019 -0700

    feature-arm-thumb.inc: fix ARM_THUMB_SUFFIX

* since this commit the 't' suffix is set ARM_THUMB_SUFFIX by
  armv4 override (which does apply for ep9312 tune) instead of
  armv4 in TUNE_FEATURES - so the comment in the file was no
  longer correct and ep9312 wasn't usable

* fixes:
  scripts/tune/log.fake-ep9312:    Error, the PACKAGE_ARCHS variable (all any noarch arm armv4 armv4t ep9312 fake_ep9312) for DEFAULTTUNE (ep9312) does not contain TUNE_PKGARCH (ep9312t).

(From OE-Core rev: f23c7f23c64cbd70d38a01dfda3a4d0809b33bdd)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Martin Jansa
44de42c3d0 tune-mips64r6.inc: fix typo in mipsisa64r6-nf
(From OE-Core rev: 63cf38058283395eca1324a2c68701218a2a3768)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Ross Burton
b6e1e3150e waf: add ${B} to do_configure[cleandirs]
As waf is always out-of-tree, we can delete ${B} before every build.

(From OE-Core rev: 92bf649f16926f8e3b2f7b8aab9cd7f31bbc5082)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Ross Burton
85b6301c61 waf: don't assume the waf intepretter is good
Waf typically uses `python` as the intepretter but inside a task this
does not exist.  Typically this is solved by patching waf (see the
glmark2 recipe) but not all versionf of Waf support Python 3 so we can't
assume a specific interpretter.

Instead, create a new variable WAF_PYTHON for the correct interpretter,
and default this to `python3`.  If the user has a recipe that needs
Python 2 then this can be changed in the recipe.

(From OE-Core rev: 802e80d35e6374b9b80f89068d00b84fe2d04ca1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Martin Jansa
2b5c0c68a3 arch-arm64.inc: don't append _be to ARMPKGARCH for tune-aarch64_be
* the _be suffix is already included in ARMPKGARCH with:
  ARMPKGARCH_tune-aarch64 ?= "aarch64"
  ARMPKGARCH_tune-aarch64_be ?= "aarch64_be"

  and then it was appended again through ARMPKGSFX_ENDIAN_64
  TUNE_PKGARCH_64 = "${ARMPKGARCH}${ARMPKGSFX_ENDIAN_64}"

* broken since:
  commit 08433cc58abf0cf3e42b22d20870a50287cfb8bc
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Tue May 26 16:10:37 2020 -0700

    armv8/tunes: Set TUNE_PKGARCH_64 based on ARMPKGARCH

* fixes:
  scripts/tune/log.fake-cortexa32.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa32) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa34.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa34) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa35.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa35) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa53.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa53) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa55.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa55) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa57.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa57) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa57-cortexa53.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa57_cortexa53) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa65.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa65) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa65ae.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa65ae) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa72.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa72) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa72-cortexa53.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa72_cortexa53) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa73.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa73) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa73-cortexa35.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa73_cortexa35) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa73-cortexa53.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa73_cortexa53) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa75.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa75) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa75-cortexa55.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa75_cortexa55) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa76.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa76) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa76ae.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa76ae) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa76-cortexa55.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa76_cortexa55) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-cortexa77.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_cortexa77) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-neoversee1.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_neoversee1) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-neoversen1.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_neoversen1) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-thunderx.aarch64_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be fake_thunderx) for DEFAULTTUNE (aarch64_be) does not contain TUNE_PKGARCH (aarch64_be_be).
  scripts/tune/log.fake-thunderx.thunderx_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be thunderx_be fake_thunderx) for DEFAULTTUNE (thunderx_be) does not contain TUNE_PKGARCH (thunderx_be_be).

(From OE-Core rev: e218c2d8973ed9978eed279dd167779e459f1eb0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Martin Jansa
90184687c1 arch-mips.inc: remove duplicated mips64el-o32 from PACKAGE_EXTRA_ARCHS_tune-mips64el-o32
* broken since:
  commit ae5073c4abd8935c01d14d3e6395124f815bd10b
  Author: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
  Date:   Fri Sep 23 15:28:08 2016 +0100

    arch-mips: Add mips64-o32 tunes

* fixes:
  scripts/tune/log.fake-mips-24k.mips64el-o32:    Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
  scripts/tune/log.fake-mips32.mips64el-o32:    Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
  scripts/tune/log.fake-mips32r2.mips64el-o32:    Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
  scripts/tune/log.fake-mips32r6.mips64el-o32:    Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
  scripts/tune/log.fake-mips64.mips64el-o32:    Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
  scripts/tune/log.fake-mips64r2.mips64el-o32:    Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
  scripts/tune/log.fake-mips64r6.mips64el-o32:    Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
  scripts/tune/log.fake-mips-74k.mips64el-o32:    Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32
  scripts/tune/log.fake-octeon.mips64el-o32:    Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: mips64el-o32

(From OE-Core rev: f8f07d1249a9a86307c1121edd4df3b64162c61b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Martin Jansa
39e8e54b93 arch-armv7a.inc: fix typo
* broken since:
  commit 594f8584268d5179c18512beada2bae4a21325de
  Author: Phil Edworthy <phil.edworthy@renesas.com>
  Date:   Wed Nov 28 10:09:57 2018 +0000

    arch-armv7*.inc: Add Cortex vfpv4-d16 support

    Some ARM Cortex devices have the VFPv4-D16, but no NEON.

* fixes:
  scripts/tune/log.fake-cortexa15.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa15) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa17.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa17) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa32.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa32) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa34.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa34) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa35.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa53.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa55.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa57.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa57) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa57-cortexa53.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa57_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa5.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa5) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa65ae.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa65ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa65.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa65) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa72.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa72) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa72-cortexa53.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa72_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa73.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa73-cortexa35.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73_cortexa35) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa73-cortexa53.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa73_cortexa53) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa75.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa75) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa75-cortexa55.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa75_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa76ae.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76ae) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa76.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa76-cortexa55.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa76_cortexa55) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa77.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa77) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa7.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa7) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa8.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa8) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-cortexa9.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_cortexa9) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-neoversee1.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_neoversee1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-neoversen1.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_neoversen1) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).
  scripts/tune/log.fake-thunderx.armv7atb-vfpv4d16:    Error, the PACKAGE_ARCHS variable (all any noarch ${PACKAGE_EXTRA_ARCHS_tune-armv7atb-vfpv4d16} fake_thunderx) for DEFAULTTUNE (armv7atb-vfpv4d16) does not contain TUNE_PKGARCH (armv7at2b-vfpv4d16).

(From OE-Core rev: 1c01e2b1c68bad89c5c9bba5b731fd5da4435e5b)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 23:22:19 +01:00
Richard Purdie
7cad26d585 bitbake: ui/toasterui: Fix startup faults from incorrect event sequencing
Toaster has been failing to start correctly when in interactive mode. The
issue is due to setEventMask being called (which triggers parsing) before
the environment has been sent from the UI over to the server. This means
PATH isn't setup, which causes the sanity checks on HOSTTOOLS to fail
in base.bbclass.

The fix is to ensure the environment is sent to the server before
other commands are run.

The pain in debugging this highlights other improvements to the logging
are needed.

[YOCTO #14079]

Reviewed-by: Tim Orling <timothy.t.orling@linux.intel.com>
Tested-by: Tim Orling <timothy.t.orling@linux.intel.com>
(Bitbake rev: a8efff5c83cd5a25f4b6720e6414a7aa35d04bc7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:36:14 +01:00
David Reyna
1613cd01d0 bitbake: toaster: Enable Gatesgarth branch in place of Zeus
Toaster directly supports the last two stable branches
of Yocto Project. With "Gatesgarth " being released, it
is time to replace "Zeus".

[YOCTO #14086]

(Bitbake rev: de578cd8f8b582c7bea83c75d06b7f667c07578a)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:36:14 +01:00
Tim Orling
98e5d24fa9 bitbake: lib/bb/ui/knotty: fix typo in parseprogress
After parseprogress.finish() it was intended to
set parseprogress to None, but a typo means this
is not happening.

(Bitbake rev: f504d6f6598f62aa20fbf69c30fea95569858edb)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:36:14 +01:00
Charlie Davies
b50b6007e5 bitbake: bitbake: fetch/git: use shlex.quote() to support spaces in SRC_URI url
This commit replaces the instances where escaped double quotes
are used to support SRC_URI url containing spaces with the more
pythonic shlex.quote().

(Bitbake rev: 4f9ba9c794de55bea0343267467bddea99844374)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:36:14 +01:00
Akira Shibakawa
8aedc04676 License-Update: gdk-pixbuf: Fix LICENSE.
As README.md says gdk-pixbuf is under not only LGPLv2.1 but also its
later version, I fixed LICENSE value.

(From OE-Core rev: e9800fecbae1e4565275cd1528397c3cec81bcab)

Signed-off-by: Akira Shibakawa <arabishi900@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:30 +01:00
Akira Shibakawa
c3f00f9b18 License-Update: kmod: Add a missing file to LIC_FILES_CHKSUM.
Although components under tools/ are licensed under GPLv2+ and
a binary from them are packaged by default, LIC_FILES_CHKSUM
does not include GPLv2 license file, tools/COPYING.

(From OE-Core rev: f5f1507a4ec7d7bac14dd152215b3695f8d50c1e)

Signed-off-by: Akira Shibakawa <arabishi900@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:30 +01:00
Akira Shibakawa
588170c125 License-Update: attr: Add a missing file to LIC_FILES_CHKSUM.
Although attr is licensed under LGPLv2.1 and GPLv2, LIC_FILES_CHKSUM
does not include license file of LGPLv2.1, COPYING.LGPL.

(From OE-Core rev: 61e87573b6e56e73f0283bb20d38b8c9df659924)

Signed-off-by: Akira Shibakawa <arabishi900@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:30 +01:00
Sourabh Banerjee
0033983cf3 layer.conf: fix sanity error for PATH variable in extensible SDK workflow
Sanity checker reports following error for the PATH variable,
when bitbake -e <recipe> command is run in an extensible SDK workspace.
   PATH contains '.', './' or '' (empty element), which will break the build

In case of extensible SDK, PATH variable is formed with two consecutive ':'
as bb.utils.which(d.getVar('PATH'),'bitbake') call returns an empty string.

This change adds ':' if BITBAKEPATH is a non empty string.

(From OE-Core rev: 05a87be51b44608ce4f77ac332df90a3cd2445ef)

Signed-off-by: Sourabh Banerjee <sbanerje@codeaurora.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:30 +01:00
Martin Jansa
2afdfbb70d tune-cortexa76ae.inc: Correct TUNE_FEATURES
* as shown by sanity checker:
    Toolchain tunings invalid:
    Tuning 'cortexa76ae' has no defined features, and cannot be used.

(From OE-Core rev: 5092e64c71930b9ff82cbba6ef6517ae4fed3475)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:30 +01:00
Richard Purdie
a1a735e9cf layer.conf: Switch to gatesgarth only in preparation for release
Update the core layer release series to gatesgarth in readiness for release.

(From OE-Core rev: d2e0d82f3e34a6c49066e39775572c5b8cd3c392)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:29 +01:00
Chen Qi
ac1879d33b watchdog: use /run instead of /var/run in systemd service file
/var/run in deprecated by systemd, use /run instead, as suggested by systemd.

(From OE-Core rev: 85c92455eb6a133ae5ce8e70d46cac4fcd55ffe4)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:29 +01:00
Lee Chee Yang
458b7e9369 libproxy: fix CVE-2020-25219
(From OE-Core rev: 3b1701a8e6bbeb51d2415a7a361efdadaae29b0b)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:29 +01:00
akuster
d4ecc90268 kea: add init scripts
[ Yocto # 14074 ]

Add init scripts for dhcp4,6 and ddns

(From OE-Core rev: 6d20bfda696fc6c6c3989ecf9996d2494953e232)

Signed-off-by: Armin kuster <akuster808@gmail.com>

--
V2]

remove 'status' from usage
add patch to fix ps -p in keactrl.in

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:29 +01:00
akuster
044b20737a busybox: add rev and pgrep
(From OE-Core rev: a288c0f440b0e3f63213798ec977a3b44339764b)

Signed-off-by: akuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:29 +01:00
Yi Zhao
ab716982a0 dhcpcd: add PACKAGECONFIG for ntp/chrony/ypbind hooks
By default, the dhcpcd will search ntp/chrony/ypbind in host path when
configuring and install the hooks once it find them. Add PACKAGECONFIG
for these hooks to avoid the host contamination.

(From OE-Core rev: 5039d313df6cb2c477766ada936806e4ffd5a8ec)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:29 +01:00
Khem Raj
b6d0627f25 autotools.bbclass: Order CONFIG_SHELL before CACHED_CONFIGUREVARS
This helps in overriding CACHED_CONFIGUREVARS with wrappers to run
configure under e.g. for static analysers like scan-build from clang,
while it should not change the functionality in normal case.

Since CONFIG_SHELL was introduced, it silently broke this use case and
failed running static analyser on autotool based recipes

(From OE-Core rev: 14c3454db0108ff78b73eecfae179a69241d9f5c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:29 +01:00
zangrc
400359f1d2 classes: Fixed the problem of undefined variables when compiling meta-toolchain.
The product name when compiling meta-toolchain is:
poky-glibc-x86_64-${IMAGE_BASENAME}-cortexa57-qemuarm64-toolchain-3.1+snapshot.host.manifest
poky-glibc-x86_64-${IMAGE_BASENAME}-cortexa57-qemuarm64-toolchain-3.1+snapshot.target.manifest
poky-glibc-x86_64-${IMAGE_BASENAME}-cortexa57-qemuarm64-toolchain-3.1+snapshot.testdata.json
poky-glibc-x86_64--cortexa57-qemuarm64-toolchain-3.1+snapshot.sh

inherit image-artifact-names to solve this problem.

(From OE-Core rev: 1a566f1685258bdd6da50c8d2183ff21bed41bb3)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:29 +01:00
Roland Hieber
a6c9ee99b3 devtool: make sure .git/info exists before writing to .git/info/excludes
If nothing else is specified, 'git init' uses its default repository
template from the install location (e.g. /usr/share/git-core/templates),
which already includes an info/ subdirectory. However, when setting
init.templateDir to a different template path in ~/.gitconfig, this
isn't necessarily the case, and it can lead to setup_git_repo() failing
with stack traces like:

    File: '.../scripts/lib/devtool/__init__.py', lineno: 234, function: setup_git_repo
         0230:        pass
         0231:    if 'singletask.lock\n' not in excludes:
         0232:        excludes.append('singletask.lock\n')
         0233:    bb.warn("try writing excludefile")
     *** 0234:    with open(excludefile, 'w') as f:
         0235:        for line in excludes:
         0236:            f.write(line)
         0237:
         0238:    bb.process.run('git checkout -b %s' % devbranch, cwd=repodir)
    Exception: FileNotFoundError: [Errno 2] No such file or directory: '.../devtooltmp-6m36b181/workdir/foobar-1.0.1/.git/info/exclude'

Fix this edge case by creating the .git/info/ directory first.

Fixes: 334ba846c795fc0d8c73 (2018-02-01, "devtool: set up git repos so that singletask.lock is ignored")
(From OE-Core rev: 148a23e4d5ceaf655ccacb52deca4ba501f12975)

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:29 +01:00
Douglas Royds
7e38f67127 externalsrc: No single-task lock if S != B
Allow different recipes to build things from the one external source tree in
parallel, but only if the build is happening outside the source tree.

(From OE-Core rev: 8c6b12683c3160a5b7c62d1fe00a9f848e062df0)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-17 12:34:29 +01:00
Naoki Hayama
ad30a6d470 local.conf.sample.extended: Fix comment typo
Fix comment typo.
s/overriden/overridden/
s/spefying/specifying/

(From meta-yocto rev: 5c73a7a8cc2ab739128ffe79f29ac5a6acb51c0e)

Signed-off-by: Naoki Hayama <naoki.hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13 09:42:08 +01:00
Naoki Hayama
8566644d31 local.conf.sample: Fix comment typo
Fix comment typo.
s/necesary/necessary/

(From meta-yocto rev: 94d1714f8ecbedb6fabad72c58d3e4e86c087202)

Signed-off-by: Naoki Hayama <naoki.hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13 09:42:08 +01:00
Naveen Saini
893c644215 linux-yocto: update genericx86* SRCREV for 5.8
Bump to kernel release v5.8.13

(From meta-yocto rev: 1c7a7a43213d53d2b9cd1dd850ae1b859400426a)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13 09:42:08 +01:00
Naveen Saini
13fb0d14d5 linux-yocto: update genericx86* SRCREV for 5.4
Bump to kernel release v5.4.69

(From meta-yocto rev: 672c04902d733e150a5bbdbcb6cc9ce1cc5ee9a9)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13 09:42:08 +01:00
Michael Thalmeier
acc22a2753 IMAGE_LOCALES_ARCHIVE: add option to prevent locale archive creation
Under some circumstances it is not desirable to create a combined locale
archive (/usr/lib/locale/locale-archive).
The new variable IMAGE_LOCALES_ARCHIVE defaults to '1', so the default
behaviour is not changed.

(From OE-Core rev: 8d78b819c2ec33fce3a34254fa90864ee5fa7617)

Signed-off-by: Michael Thalmeier <michael.thalmeier@hale.at>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13 09:42:08 +01:00
Naoki Hayama
a1f503df6e uninative: Fix typo in error message
Fix typo in an error message.
s/verson/version/

(From OE-Core rev: bc96db2e0b5b8a9cc2c909ea70df290e03a50b94)

Signed-off-by: Naoki Hayama <naoki.hayama@lineo.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13 09:42:08 +01:00
Peter Kjellerstedt
500fa84551 tune-cortexa65.inc: Correct TUNE_FEATURES_tune-cortexa65
It incorrectly specified "cortexa55" instead of "cortexa65".

(From OE-Core rev: 25317c51d4d0ac922f4bd555aae9fbfe48a1aa40)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13 09:42:08 +01:00
Jon Mason
57a607fb2a tune-cortexa32: fix cortexa32 tune
Cortex-A32 is 32bit only, but the recent changes had it working as
64bit (causing build breaks).  This reverts that change in this file.

(From OE-Core rev: 2957379c85c245f183e7e94e30c2b504fc25cedf)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13 09:42:08 +01:00
Joshua Watt
633652284b classes/waf: Add build and install arguments
Adds variables that can be used to allow a recipe to pass extra
arguments to `waf build` and `waf install`. In most cases, you want to
pass the same arguments to `build` and `install` (since install is a
superset of `build`), so by default setting EXTRA_OEWAF_BUILD also
affects `waf install`, but this can be overridded.

(From OE-Core rev: 493e17a2f5cbbbe3b1e435dadb281b007bca2cbf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-13 09:42:08 +01:00
Richard Purdie
0c0b236b4c bitbake: process: Show command exceptions in the server log as well
There are autobuilder logs where the server commands are failing
but we have no debug info in the server log. Improve this to try and
understand what is failing.

(Bitbake rev: 04d3a79226c9ea448b22f4efbab33876a72c9bdb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-11 13:44:26 +01:00
Richard Purdie
aa7a09569a oeqa/selftest/runtime_test: Exclude gpg directory from pseudo database
Avoid pseudo abort()s like:
path mismatch [1 link]: ino 6295376 db '/tmp/oeqa-feed-sign-2mw7z81v/S.gpg-agent.yocto-native' req '/tmp/jwkivmu6'.

(From OE-Core rev: 189630ca6cdf7ceb6cf9b8f9d86c58997f505efc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10 23:37:59 +01:00
Richard Purdie
8dd784b2dd skeleton/baremetal-helloworld: Fix trailing slash
This fixes a warning about a trailing slash on ${S}.

(From OE-Core rev: 0685dac31a7ae614d9f75cd51b59c45dd050f52e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10 13:37:56 +01:00
Yann Dirson
68aa8a24b1 rngd: fix --debug to also filter syslog() calls
Debug logs were only controlled by --debug flag while in --foreground mode.
In --daemon mode (the default for us) /var/log/message got stuffed with
details of entropy pool refilling, which is useless in production, and
hamful when log rotation then gets rid of the more useful logs.

This change makes the two modes consistently only produce debug logs when
--debug is specified.

(From OE-Core rev: 914526868656fd279b13ba8e4d721d27cb2a8792)

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10 13:37:56 +01:00
Yoann Congal
c46b3352aa bitbake-bblayers/create: Make the example recipe print its message
The example recipe is setup to print a message using bb.plain() in the
"do_build" task but this task is "noexec" so the message never prints.
This might be confusing.

This moves the message printing into another "do_display_banner" task
and add it to the do_build "before" list.

(From OE-Core rev: 252385bef9b226f32691b8513869ea3e41813b40)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10 13:37:56 +01:00
Richard Purdie
57a1ccaa19 oe-build-perf-report: Ensure correct data is shown for multiple branch options
If --branch and --branch2 are the same, there is extra confusing data plotted
onto the graph. Only do that if the branches are actually different.

(From OE-Core rev: c263d810b7eb47ee90f2adeb5ab6decf7332bec2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10 13:37:56 +01:00
Richard Purdie
5088e3b64b scripts/oe-build-perf-report: Allow operation with no buildstats
If buildstats is missing, avoid a backtrace.

(From OE-Core rev: 23c4b21f947c7aae1303ca6526fc5aaaa9fc7bb8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10 13:37:56 +01:00
Martin Jansa
f5b4cd065f base.bbclass: warn when there is trailing slash in S or B variables
* to make sure we won't hit such corner cases in future add a warning
  to prevent trailing slashes and duplicated slashes even when they
  in most cases don't cause harm

* only a few cases were found in layers included in my world builds:
  oe-core: 1
  meta-oe: 7
  meta-python2: 1
  meta-qt5: 1
  meta-aws: 1

  will send patches for these once this warning is approved for oe-core

(From OE-Core rev: 8a4c473c07cba159cf88ed775b9f073c6adf31d4)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10 13:37:56 +01:00
Martin Jansa
0576fb4b6f mtd-utils: don't use trailing slash in S
(From OE-Core rev: c77651549dd382007c60767076a1a1c72e282bca)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10 13:37:56 +01:00
Martin Jansa
a5ab8d428f base.bbclass: use os.path.normpath instead of just comparing WORKDIR and S as strings
* cannot use os.path.samefile, because S/B might not exist at this time yet

* there is issue with PSEUDO_IGNORE_PATHS when some recipe sets e.g.
  S = "${WORKDIR}/"
  whole WORKDIR gets added to PSEUDO_IGNORE_PATHS and then the build
  can fail with various strange errors, in my case do_package was
  failing when do_package calls:
  fix_perms(.../1.0-r0/package/etc, 755, 0, 0, /etc)
  and fails with "[Errno 1] Operation not permitted:"

(From OE-Core rev: 50b11a61ab29acb8ec990668353e0b7305114628)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10 13:37:56 +01:00
Richard Purdie
ebaa3e3f51 bitbake: tinfoil: When sending commands we need to process events
The server may be displaying useful information for the user through log
messages so we should display anything that has been sent. Its either this
or expecting every UI to implement this code around every command call
which isn't good API.

[YOCTO #14054]

(Bitbake rev: 64ae9d7e2fad804dd9e12706c6d76b4b22f9586b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10 13:37:56 +01:00
Richard Purdie
20397f8d4b bitbake: command: Ensure exceptions inheriting from BBHandledException are visible
Previous changes allowed BBHandledException to be detected but not exceptions
which inherit from it. Fix this. The code really needs totally reworking
to preserve the exceptions.

[YOCTO #14054]

(Bitbake rev: ef762d92df6c2554c6248e80212f984d9ec4c651)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-10 13:37:56 +01:00
Richard Purdie
e3cab68b9a poky.conf: Drop OELAYOUT_ABI poking
This has been the same as OE-Core for a long time, drop our custom settings.

(From meta-yocto rev: 8c1084f3fd4ca987c3307f4c4c1475b40060ce3f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09 12:03:31 +01:00
Richard Purdie
d446d8b818 pseudo: Upgrade to include mkostemp64 wrapper
Newer systems are using this currently unwrapped glibc function,
add it.

[YOCTO #14080]

(From OE-Core rev: cba4f51f0166e2c20e854ee0344be0c58769eaca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09 12:03:31 +01:00
Richard Purdie
78b2a07710 pseudo: Update to account for patches merged on branch
(From OE-Core rev: ea22fb3aa1c5dd3edcd1d8b415a0843a9ee4677c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09 12:03:31 +01:00
Richard Purdie
49bc76ec33 abi_version,sanity: Tell users TMPDIR must be clean after pseudo changes
After the recent path ignore changes, there are invalid entries in exiting
pseudo databases which will trip up users with the new abort() (proving
how common the pseudo potential corrpution is!). Inform them a clean TMPDIR
is needed.

(From OE-Core rev: 016ee90e210c9b15b80e8370d83f41a14867a413)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09 12:01:24 +01:00
Armin Kuster
601449ff5c timezone: update to 2020b
For more info see: https://github.com/eggert/tz/blob/master/NEWS

(From OE-Core rev: b19bc7ae71a59673bd725e1de3251667c2026ed5)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09 12:01:24 +01:00
Jon Mason
16bbaba389 armv8/tunes: Add tunes for supported ARMv8.2a cores
Add tunes for all the ARMv8.2a cores currently supported in GCC.  This
is: Cortex-A65, Cortex-A65AE, Cortex-A75, Cortex-A76, Cortex-A76AE,
Cortex-A77, Neoverse-E1, Neoverse-N1, Cortex-A75-Cortex-A55, and
Cortex-A76-Cortex-A55.

(From OE-Core rev: f15e83df1d4ed4172b43d5b353cf42640862a28e)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09 12:01:24 +01:00
Jon Mason
92b96222b9 armv8/tunes: Add tunes for supported ARMv8a cores
Add tunes for all the ARMv8a cores currently supported in GCC.  This
is: Cortex-A34, Cortex-A73, and Cortex-A73-Cortex-A35.

(From OE-Core rev: fdf6921f145658b1f1c2e7413a2cde6857ddb768)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09 12:01:24 +01:00
Jon Mason
6af96ac134 armv8/tunes: reference parent's TUNE_FEATURES
Uniformity clean-up, have the individual tunes reference the armv8a TUNE_FEATURES.

(From OE-Core rev: 3ac533127d444f39ad550ce923f494d0eb766ab5)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09 12:01:23 +01:00
Jon Mason
18c510e05c armv8/tunes: Move TUNECONFLICTS
Move TUNECONFLICTS to the generic arm64 inc file, so that it can provide
coverage for more than just the big.LITTLE tunes.

(From OE-Core rev: 8022543d79b62b0daa4c988e17cd3e2c364d3cf1)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-09 12:01:23 +01:00
Victor Kamensky
ba6780568d qemumips: use 34Kf-64tlb CPU emulation
In order to improve performance of qemumips autobuilder
test runs, let's use 34Kf-64tlb cpu type that was introduced
in OE version of qemu. 34Kf-64tlb cpu type is identical to
34Kf but it has 64 TLBs configure vs original 16 TLBs.

The change in number of TLBs in emulated CPU reduces
TLB trash and reduces number of times TLB refill kernel
code runs, and therefore siginificantly improves tests
execution time.

Note 34Kf-64tlb qemu cpu type does not exist in upstream,
so far it is added as patch in OE. See qemu 34Kf-64tlb
cpu addition commit for more details.

Fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=13992

(From OE-Core rev: 6a9568401cbf8bed89d1f63dae61a07a83a20b50)

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 11:28:58 +01:00
Victor Kamensky
f6f5d09205 qemu: add 34Kf-64tlb fictitious cpu type
In Yocto Project PR 13992 it was reported that qemumips
in autobuilder runs almost twice slower then qemumips64 and
some times hit time out.

Upon investigations of qemu-system with perf, gdb, and
SystemTap and comparing qemumips and qemumips64 machines
behavior it was noticed that qemu soft mmu code behaves
quite different and in case if qemumips tlbwr instruction
called 16 times more oftern. It happens that in qemumips64
case qemu runs with cpu type that contains 64 TLB, but in case
of qemumips qemu runs with cpu type that contains only
16 TLBs.

The idea of proposed qemu patch is to introduce fictitious
34Kf-64tlb cpu type that defined exactly as 34Kf but has
64 TLBs, instead of original 16 TLBs.

Testing of core-image-full-cmdline:do_testimage with
34Kf-64tlb shows 40% or so test execution real time
improvement.

Note for future porters of the patch: easiest way to update
the patch and be in sync with 34Kf definition is to copy
34Kf machine definition and apply the following changes to
it (just change 15 to 63 of CP0C1_MMU bits value)

[kamensky@coreos-lnx2 qemu]$ diff ~/34Kf.c ~/34Kf-64tlb.c
2c2
<         .name = "34Kf",
>         .name = "34Kf-64tlb",
6c6
<         .CP0_Config1 = MIPS_CONFIG1 | (1 << CP0C1_FP) | (15 << CP0C1_MMU) |
>         .CP0_Config1 = MIPS_CONFIG1 | (1 << CP0C1_FP) | (63 << CP0C1_MMU) |

Fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=13992

Upstream Status: Inappropriate

(From OE-Core rev: 4470a04943352224955f17e004962f0f9e1c9b0c)

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 11:28:58 +01:00
Richard Purdie
fe74a4edd2 docs: Fix license CC-BY-2.0-UK -> CC-BY-SA-2.0-UK
When the license identifier tags were added, an incorrect string was used
and the Share-Alike clause was lost. Fix this to match the license
description in the files and add back the lost piece (its clear from
the history it should be there)

(From yocto-docs rev: 8d30c3d792755a7bfdb74b331dad98f51d3516af)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 11:28:30 +01:00
Ross Burton
6242625416 boost: consolidate and update library list
Add some new libraries to the list (fiber, headers, type_erasure).

Move context/coroutine to the list instead of using overrides as it
builds everywhere I can test it.

Remove the mips16e override for wave as Boost fails so dramatically with
mips16e enabled that this isn't even close to a fix. Someone who cares
can fix this properly.

(From OE-Core rev: 092228f2df6869e31b157ea08766b3e94bee6e29)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 10:22:10 +01:00
Ross Burton
a685e07a44 boost: don't specify gcc version
There's no need to specify an ancient GCC version here as Boost will
probe it.

(From OE-Core rev: 2339bf5b0aceb8e55f4b38e44b2383389e514393)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 10:22:10 +01:00
Ross Burton
af7b126c7a boost: build a standalone boost.build
Boost is a huge unirepo made from multiple submodules. To bootstrap it we
need boost.build (previously bjam) which is also available as a solo
repository. This smaller repository can unpack/build/package faster than
the Boost unirepo can unpack.

Rename the recipe to the current name of Boost.Build that installs a b2
binary, use the solo repository, and update the Boost recipe to use
the b2 binary instead of bjam.

(From OE-Core rev: 76079f921e596125b0e281ca95e2394d7688aaf2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 10:22:10 +01:00
Richard Purdie
b6d30c21b0 bitbake.conf: Extend PSEUDO_IGNORE_PATHS to ${COREBASE}/meta
Unfortunately, .pyc files can be generated in meta/lib/oe which corrupt the pseudo
database so we need to extend the ignore list to cover this as well.

(From OE-Core rev: e0cb6dd689a362d8433caa14cc5a9fdd5eb44923)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 08:08:32 +01:00
Khem Raj
244d3a8464 strace: Fix value of IPPROTO_MAX
This should also fix build with musl

../strace-5.8/xlat/inet_protocols.h:239:1: error: static assertion failed: "IPPROTO_MAX != 256"
  239 | static_assert((IPPROTO_MAX) == (256), "IPPROTO_MAX != 256");
      | ^~~~~~~~~~~~~

(From OE-Core rev: 8b0438b5d4850aaca0f725f9ad5d040b90b1347b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 08:08:32 +01:00
Khem Raj
f7819da364 musl: Update to master
Brings following changes, supports linux 5.8 syscalls [1]

* a5aff197 avoid set*id/setrlimit misbehavior and hang in vforked/cloned child
* 55fb9a17 use new SYS_faccessat2 syscall to implement faccessat with flags
* f035c7b1 netinet/if_ether.h: add ETH_P_MRP from linux v5.8
* 6b1741aa elf.h: add .note.gnu.property related definitions
* 9b7ed970 bits/syscall.h: add __NR_faccessat2 from linux v5.8
* 616a8bf6 netinet/tcp.h: update to linux v5.7
* a6c302be sys/mman.h: add MREMAP_DONTUNMAP from linux v5.7
* 8adf42f7 sys/fanotify.h: update to linux v5.7
* 94ab68c2 aarch64: add new HWCAP2_ macros from linux v5.6
* 0296baff aarch64: add HWCAP2_ macros from linux v5.3
* 43b640c2 sched.h: add CLONE_NEWTIME from linux v5.6
* 3da18e69 sys/random.h: add GRND_INSECURE from linux v5.6
* 8f4aa78a sys/prctl.h: add PR_{SET,GET}_IO_FLUSHER from linux v5.6
* 1ab341e8 netinet/udp.h: add TCP_ENCAP_ESPINTCP from linux v5.6
* c6321616 netinet/tcp.h: update for linux v5.6
* 8fca0ea4 netinet/in.h: add IPPROTO_ macros from linux v5.6
* d9900903 add pidfd_getfd and openat2 syscall numbers from linux v5.6
* d4f29814 netinet/tcp.h: update tcp_info for linux v5.5

[1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=ffac0c229986725c0d0f3c806bafa7e3ca409f3b..a5aff1972c9e3981566414b09a28e331ccd2be5d
(From OE-Core rev: e104d235cb14f0d58bfefe48e3888430503ba619)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 08:08:32 +01:00
Ross Burton
4a35bcc9d1 devtool: fix modify with patches in override directories
If a recipe applies patches which are in machine-specific override
directories, devtool will fail to fetch the patches that don't match the
default configuration.  For example where there are patches at
qemux86/x86.patch and qemuarm/arm.patch:

SRC_URI = "file://source"
SRC_URI_append_qemuarm = " file://arm.patch"
SRC_URI_append_qemux86 = " file://x86.patch"

The patch apply phase sets OVERRIDES but does not set FILESOVERRIDES, so
it cannot find the patch files as the search path isn't correct.  Fix
this by setting FILESOVERRIDES too.

Also when iterating through the overrides we need to be sure that other
overrides that are used are not enabled, so extend no_overrides instead of
simply appending the current override.

Fixes most but not all of [ YOCTO #14060 ].

(From OE-Core rev: a372cdf8e175423c47faeecc98ad076ee26bbec8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 08:08:32 +01:00
Ross Burton
d6bc178f33 selftest: add test for recipes with patches in overrides
devtool doesn't quite behave right when a recipe has patches applied in overrides, so
add a test case to exercise that behaviour.

(From OE-Core rev: ad89c3254cc6c06026f1bebe23ec3717c1546633)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 08:08:32 +01:00
Ross Burton
961de02fd1 selftest: skip npm tests if nodejs-native isn't available
The tests are actually skipped if meta-oe isn't present which isn't
quite the same thing, but hopefully close enough.

(From OE-Core rev: d22ed015d8f38241acb783e1a468fb15d4317670)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 08:08:32 +01:00
Ross Burton
197cec77f5 devtool: remove unused variable
This variable isn't used at all.

(From OE-Core rev: 9676ee24d190b144cb50be6ebde3990644a6df2a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 08:08:32 +01:00
Richard Purdie
a5d7936202 pseudo: Fix statx function usage
There is magic in the posts where specific variable names have specific
magic. For that magic to work, "path" needs to be used not "pathname" as
is currently there. Fix this, which fixes path issues on systems using
statx (Ubuntu 20.04 in particular).

(From OE-Core rev: f9ae80aee98a7bb59c83ac9ebf9d317302507cec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-08 08:08:32 +01:00
Richard Purdie
c194e5fac6 wic: Handle new PSEUDO_IGNORE_PATHS variable
Adjust wic to correctly handle the new PSEUDO_IGNORE_PATH variable and avoid
inode corruption issues.

(From OE-Core rev: 13500f5234361385c365c7c35e83f99435500481)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 11:18:38 +01:00
Richard Purdie
a2db4fa127 base/bitbake.conf: Enable pseudo path filtering
This is a pretty big change to the way pseudo operates when used in OpenEmbedded.
Normally, pseudo monitors and logs (adds to its database) any file created or
modified whilst in a fakeroot environment. There are large numbers of files
we simply don't care about the permissions of whilst in that fakeroot context,
for example ${S}, ${B}, ${T}, ${SSTATE_DIR}, the central sstate control
directories,

This change uses new functionality in pseudo to ignore these directory trees,
resulting in a cleaner database with less chance of "stray" mismatches if files
are modified outside pseudo context. It also should reduce some overhead from
pseudo as the interprocess round trip to the server is avoided.

There is a possible complication where some existing recipe may break, for
example, we found a recipe which was writing to "${B}/install" for
"make install" in do_install and since we listed ${B} as not to be tracked,
there were errors trying to chown root for files in this location.

This patch fixes a few corner cases in OE-Core when used with this new
ignore list:

* The archiver directory matched a "${WORKDIR}/deploy*" pattern so was renamed
  to something else since that directory does need its root permissions
* The ${S} and ${B} ignoring is conditional on them being different to ${WORKDIR}
* package_write_* task output (the debs/rpms/ipks) are now owned by the build
  user so we don't want the file ownership information in the hashequiv outhash
  calculation even if they are built under pseudo.
* The fontcache postinstall intercept is run under qemu outside of pseudo context
  so delete files it may delete up front where pseudo can see this.
* SSTATE_DIR is in PSEUDO_PATHS_IGNORE, which is in FAKEROOTENV which is cached
  by bitbake. We therefore need to trigger reparsing if this changes, which means
  SSTATE_DIR can be in BB_HASHBASE_WHITELIST but not BB_HASHCONFIG_WHITELIST.
  Rework the variables to handle this. This otherwise breaks some of our sstate
  tests in oe-selftest.
* Ignore the temp directory wic uses for rebuilding rootfs.

(From OE-Core rev: ad8f5532ffaead9a5ad13e1034fe9e5e1b7979f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 11:18:38 +01:00
Richard Purdie
ed9789d54d pseudo: Add pathfix patch
Add a path to fix up handling of dirfd being passed as a full file
and with path="".

(From OE-Core rev: 3006bbe7768e4efe33d3d2d3f5786a561ecbe96f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 11:18:38 +01:00
Richard Purdie
bd34ad3c2a pseudo: Add may unlink patch
Mark files which are unlinked (nlink == 0) but open with fd's as
"may-unlink" to avoid problematic database entries.

(From OE-Core rev: e1e481f3608c05ab14c61bf45cd0837d7287b6a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 11:18:38 +01:00
Richard Purdie
958447ff2f pseudo: Fix xattr segfault
Fix a NULL pointer dereference exposed by the path ignore code in
xattr handling.

(From OE-Core rev: 929a27bf6cbca94d1141d2094ae0c915d93bd3f4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 11:18:38 +01:00
Richard Purdie
842de9dbba psuedo: Add tracking of linked files for fds
Where files are link()'d and one is unlink()'d, pseudo's fd mappings
can become confused. Add a patch to try and improve this for the common
usecases we see.

(From OE-Core rev: 9ce621fa2099608ca0ccbb8420b31d71cdd7b00e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 11:18:38 +01:00
Richard Purdie
84e0642ed6 pseudo: Abort on mismatch patch
Rather than doing what turns out to be a rather dangerous "fixup" if
we see a file with a different path but the same inode as another file
we've previously seen, throw and abort. Direct the user to a wiki page
where we can maintain information about what this error means.

(From OE-Core rev: 2db491d97da08d44ebd257f98489550a82a7935c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 11:18:38 +01:00
Richard Purdie
84d006b9fb pseudo: Add support for ignoring paths from the pseudo DB
Add PSEUDO_IGNORE_PATHS, a comma separated list of path prefixes, where
any files underneath are not handled by pseudo. This allows files to
be left out of the pseudo datanase where we know we don't need the
fake root emulation. This is particularly useful if we know these files
can be deleted outside of pseudo context.

(From OE-Core rev: 8defb687a2c0ffac232c4d0d63a590871c453a2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 11:18:38 +01:00
Richard Purdie
b5c5d84b8b pseudo: Ignore mismatched inodes from the db
Currently, where pseudo finds a database entry for an inode but the path
doesn't match, it reuses that database entry metadata. This is causing
real world "corruption" of file attributes.

See [YOCTO #14057] for an example of this.

This can happen when files are deleted outside of pseudo context and the
inode is reused by a new file which pseduo then "sees".

Its possible the opposite could happen, it needs to reuse attributes
but this change would prevent it. As far as I can tell, we don't want
pseuo to reuse these attributes though so this code should be safer
and avoid bugs like the above.

(From OE-Core rev: 1c13149b81e03a1ac48b27a208a139d5493c3ce7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 11:18:38 +01:00
Bruce Ashfield
6bf9067603 linux-yocto/5.8: update to v5.8.13
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    cdcec6869074 Linux 5.8.13
    510c51ff61e3 clocksource/drivers/timer-ti-dm: Do reset before enable
    af56dabe31d1 dm: fix bio splitting and its bio completion order for regular IO
    8b76d62a9986 KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch
    3bd50397031b io_uring: ensure open/openat2 name is cleaned on cancelation
    4545633b037b s390/zcrypt: Fix ZCRYPT_PERDEV_REQCNT ioctl
    862f8bb32f4f mm: don't rely on system state to detect hot-plug operations
    b8fdce317826 mm: replace memmap_context by meminit_context
    2a4b8662dd4f mm/gup: fix gup_fast with dynamic page table folding
    488b66f91a2d mm, THP, swap: fix allocating cluster for swapfile by mistake
    3907be9020ee dmabuf: fix NULL pointer dereference in dma_buf_release()
    22dd2387ee81 MIPS: Loongson2ef: Disable Loongson MMI instructions
    464b2d4cba99 media: cec-adap.c: don't use flush_scheduled_work()
    d242377a12af btrfs: fix overflow when copying corrupt csums for a message
    22ee6b8fda41 btrfs: fix put of uninitialized kobject after seed device delete
    913d4c0dcdba kprobes: tracing/kprobes: Fix to kill kprobes on initmem after boot
    247c62ebdfae kprobes: Fix to check probe enabled before disarm_kprobe_ftrace()
    a1ab267999b8 lib/bootconfig: Fix to remove tailing spaces after value
    dce326c2b35b lib/bootconfig: Fix a bug of breaking existing tree nodes
    6540544b78f8 mt76: mt7615: use v1 MCU API on MT7615 to fix issues with adding/removing stations
    f176cd6084b2 s390/dasd: Fix zero write for FBA devices
    e3a23511638a tracing: fix double free
    c321af82cae2 lib/string.c: implement stpcpy
    3396e0ad33da ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520
    ad0643252831 ALSA: hda/realtek - Couldn't detect Mic if booting with headset plugged
    7a08dbd8764c ALSA: usb-audio: Add delay quirk for H570e USB headsets
    fdf44bc9f55d scsi: lpfc: Fix initial FLOGI failure due to BBSCN not supported
    ade8f2c5ff7a x86/ioapic: Unbreak check_timer()
    e45e8ddf3cfc x86/irq: Make run_on_irqstack_cond() typesafe
    ba1c60853057 arch/x86/lib/usercopy_64.c: fix __copy_user_flushcache() cache writeback
    9d6bd4901bbd mm: validate pmd after splitting
    15f6c3869c6c KVM: SVM: Add a dedicated INVD intercept routine
    ef4f69a46824 KVM: x86: Reset MMU context if guest toggles CR4.SMAP or CR4.PKE
    8a8354700cb2 spi: bcm-qspi: Fix probe regression on iProc platforms
    fce9400de340 regulator: axp20x: fix LDO2/4 description
    2f24ab64b8cc MIPS: Add the missing 'CPU_1074K' into __get_cpu_type()
    7b7b64dda978 PM / devfreq: tegra30: Disable clock on error in probe
    324f8ff1e09b MIPS: Loongson-3: Fix fp register access if MSA enabled
    482082d22a41 net/mlx5e: mlx5e_fec_in_caps() returns a boolean
    93e864762dcb regmap: fix page selection for noinc writes
    de74a520081f regmap: fix page selection for noinc reads
    2e00a8682cb5 SUNRPC: Fix svc_flush_dcache()
    96c45a01f443 io_uring: fix openat/openat2 unified prep handling
    21aaa0fc9b94 ALSA: asihpi: fix iounmap in error handler
    0c9fadf3a3c2 mac80211: fix 80 MHz association to 160/80+80 AP on 6 GHz
    7c094f2da8be cfg80211: fix 6 GHz channel conversion
    3414cdb97ce1 mac80211: do not disable HE if HT is missing on 2.4 GHz
    a8241c165aea lib80211: fix unmet direct dependendices config warning when !CRYPTO
    bf75119ad09d bpf: Fix a rcu warning for bpffs map pretty-print
    5ed1d040d0cc batman-adv: mcast: fix duplicate mcast packets from BLA backbone to mesh
    5ae4340c6782 batman-adv: mcast: fix duplicate mcast packets in BLA backbone from mesh
    c7f13870d54a batman-adv: mcast: fix duplicate mcast packets in BLA backbone from LAN
    06dd1ca3b637 nvme-tcp: fix kconfig dependency warning when !CRYPTO
    a9bc6ff7d24a xsk: Fix number of pinned pages/umem size discrepancy
    e4e1b0f1fdea batman-adv: Add missing include for in_interrupt()
    38c2ce543647 RDMA/core: Fix ordering of CQ pool destruction
    9003be1fb4d0 spi: spi-fsl-dspi: use XSPI mode instead of DMA for DPAA2 SoCs
    a634ff2bb06a hv_netvsc: Switch the data path at the right time during hibernation
    086ca81d03c3 drm/sun4i: sun8i-csc: Secondary CSC register correction
    1fc50966df11 igc: Fix not considering the TX delay for timestamps
    df1aefc64878 igc: Fix wrong timestamp latency numbers
    60b4cd514ca4 net: qed: RDMA personality shouldn't fail VF load
    1c89c047143e net: qede: Disable aRFS for NPAR and 100G
    0f5479c614a4 net: qed: Disable aRFS for NPAR and 100G
    c0560d7cfa3c drm/vc4/vc4_hdmi: fill ASoC card owner
    3305c8444ee9 tools/libbpf: Avoid counting local symbols in ABI check
    c86dff4cd392 bpf: Fix clobbering of r2 in bpf_gen_ld_abs
    36133c2c75f4 mac802154: tx: fix use-after-free
    d5bc41a812ee netfilter: nft_meta: use socket user_ns to retrieve skuid and skgid
    b47342e6341d netfilter: conntrack: nf_conncount_init is failing with IPv6 disabled
    e38f49e00baf netfilter: ctnetlink: fix mark based dump filtering regression
    24c4f2ae019b netfilter: ctnetlink: add a range check for l3/l4 protonum
    e49aff08701c batman-adv: mcast/TT: fix wrongly dropped or rerouted packets
    27f214ea565b atm: eni: fix the missed pci_disable_device() for eni_init_one()
    c50fd3ecb3f7 libbpf: Fix build failure from uninitialized variable warning
    a5307da48a93 batman-adv: bla: fix type misuse for backbone_gw hash indexing
    120333e77b20 mwifiex: Increase AES key storage size to 256 bits
    ab7eeefd46b5 clocksource/drivers/h8300_timer8: Fix wrong return value in h8300_8timer_init()
    bdcc262d50da ieee802154/adf7242: check status of adf7242_read_reg
    59a84157c5a5 ieee802154: fix one possible memleak in ca8210_dev_com_init
    9a04354bdb3a riscv: Fix Kendryte K210 device tree
    b05a20baaa2f i2c: mediatek: Send i2c master code at more than 1MHz
    337e96e14843 objtool: Fix noreturn detection for ignored functions
    953fc770d069 i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices()
    55e8cc72415c drm/amd/display: Don't log hdcp module warnings in dmesg
    a42f8e6ba427 drm/amdgpu/dc: Require primary plane to be enabled whenever the CRTC is
    5535013c64fb drm/amd/display: update nv1x stutter latencies
    d3adac3cfbdb drm/amd/display: Don't use DRM_ERROR() for DTM add topology
    8f85ebcc0e9d drm/amdkfd: fix a memory leak issue
    3f9f1a29290c EDAC/ghes: Check whether the driver is on the safe list correctly
    3c98a2f74a07 lockdep: fix order in trace_hardirqs_off_caller()
    8cf6f7188ad2 s390/init: add missing __init annotations
    b7b5742eb70b i2c: aspeed: Mask IRQ status to relevant bits
    af5681dfa0aa RISC-V: Take text_mutex in ftrace_init_nop()
    5a73735ee5b2 clk: versatile: Add of_node_put() before return statement
    39f785132eee ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN Converter9 2-in-1
    700fefbe8c67 ASoC: wm8994: Ensure the device is resumed in wm89xx_mic_detect functions
    2e1e2b748af2 ASoC: wm8994: Skip setting of the WM8994_MICBIAS register for WM1811
    ad22ff03adc6 ASoC: pcm3168a: ignore 0 Hz settings
    0b2f403ff302 device_cgroup: Fix RCU list debugging warning

(From OE-Core rev: 429efe4d8a74b5cb2ab1f76088642a078a6f8829)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Bruce Ashfield
96728e2ad2 linux-yocto/5.4: update to v5.4.69
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    a9518c1aec5b Linux 5.4.69
    9fb8e10b0519 ata: sata_mv, avoid trigerrable BUG_ON
    e11c83520cd0 ata: make qc_prep return ata_completion_errors
    b6e503c0a0ff ata: define AC_ERR_OK
    b4a9fdf062e8 kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE
    3d9f39d274ea dm: fix bio splitting and its bio completion order for regular IO
    c9bfb7b4d944 KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch
    5dcb66f970a8 s390/zcrypt: Fix ZCRYPT_PERDEV_REQCNT ioctl
    4f5260ee0ce3 mm/gup: fix gup_fast with dynamic page table folding
    20a5e4272b65 mm, THP, swap: fix allocating cluster for swapfile by mistake
    198d9f7e905c dmabuf: fix NULL pointer dereference in dma_buf_release()
    aded5dee7fb2 btrfs: fix overflow when copying corrupt csums for a message
    c4ab0a837093 kprobes: tracing/kprobes: Fix to kill kprobes on initmem after boot
    3995f7a60fec kprobes: Fix to check probe enabled before disarm_kprobe_ftrace()
    31efa3b5b592 s390/dasd: Fix zero write for FBA devices
    e92c490f1049 tracing: fix double free
    f05f667f8764 lib/string.c: implement stpcpy
    26a6452b27ec ALSA: hda/realtek: Enable front panel headset LED on Lenovo ThinkStation P520
    2a2ae4831ff7 ALSA: hda/realtek - Couldn't detect Mic if booting with headset plugged
    86f6af05ffa0 ALSA: usb-audio: Add delay quirk for H570e USB headsets
    4cb7f229823c scsi: lpfc: Fix initial FLOGI failure due to BBSCN not supported
    6890a6f5665f x86/ioapic: Unbreak check_timer()
    361a4b17e88d arch/x86/lib/usercopy_64.c: fix __copy_user_flushcache() cache writeback
    fe932d4c9ea2 mm: validate pmd after splitting
    5d4431c9de06 KVM: SVM: Add a dedicated INVD intercept routine
    16788dc19fa1 KVM: x86: Reset MMU context if guest toggles CR4.SMAP or CR4.PKE
    87f7a4910e57 regulator: axp20x: fix LDO2/4 description
    5c58104841fe MIPS: Add the missing 'CPU_1074K' into __get_cpu_type()
    283a3234550c regmap: fix page selection for noinc writes
    47fef0ebc150 regmap: fix page selection for noinc reads
    a8cebb4a5931 ALSA: asihpi: fix iounmap in error handler
    83b9a250d774 lib80211: fix unmet direct dependendices config warning when !CRYPTO
    43cdb648e1da bpf: Fix a rcu warning for bpffs map pretty-print
    d9fadccbf25e batman-adv: mcast: fix duplicate mcast packets from BLA backbone to mesh
    5d8774492819 batman-adv: mcast: fix duplicate mcast packets in BLA backbone from mesh
    24e5e941d804 batman-adv: mcast: fix duplicate mcast packets in BLA backbone from LAN
    b0632590cbec nvme-tcp: fix kconfig dependency warning when !CRYPTO
    8c6ba1878a92 batman-adv: Add missing include for in_interrupt()
    248c25e7725a drm/sun4i: sun8i-csc: Secondary CSC register correction
    12bea822dbe6 net: qed: RDMA personality shouldn't fail VF load
    7e74a6d6f99c net: qede: Disable aRFS for NPAR and 100G
    82dfe9c32dea net: qed: Disable aRFS for NPAR and 100G
    f301585195a0 drm/vc4/vc4_hdmi: fill ASoC card owner
    5e77009e33a1 bpf: Fix clobbering of r2 in bpf_gen_ld_abs
    2e1a95f450d8 mac802154: tx: fix use-after-free
    eb5f810e06da netfilter: conntrack: nf_conncount_init is failing with IPv6 disabled
    b6112ff05f5f batman-adv: mcast/TT: fix wrongly dropped or rerouted packets
    5b0a13a03b8b atm: eni: fix the missed pci_disable_device() for eni_init_one()
    e0117ad11b3e batman-adv: bla: fix type misuse for backbone_gw hash indexing
    a63798d53489 mwifiex: Increase AES key storage size to 256 bits
    f43500892470 clocksource/drivers/h8300_timer8: Fix wrong return value in h8300_8timer_init()
    f77f4586bdd7 ieee802154/adf7242: check status of adf7242_read_reg
    22936fa7a295 ieee802154: fix one possible memleak in ca8210_dev_com_init
    d85044145fdd objtool: Fix noreturn detection for ignored functions
    a53d9b3ae9c8 i2c: core: Call i2c_acpi_install_space_handler() before i2c_acpi_register_devices()
    65f452b7a2c1 drm/amdgpu/dc: Require primary plane to be enabled whenever the CRTC is
    8c48b7617b7c drm/amd/display: update nv1x stutter latencies
    c48363d19fcb drm/amdkfd: fix a memory leak issue
    b11f2d6b80f4 EDAC/ghes: Check whether the driver is on the safe list correctly
    c7be1f4d4e60 lockdep: fix order in trace_hardirqs_off_caller()
    43d750a0994c s390/init: add missing __init annotations
    fdd60315b931 i2c: aspeed: Mask IRQ status to relevant bits
    66d987b80dc3 RISC-V: Take text_mutex in ftrace_init_nop()
    487e3a1bc9ab ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN Converter9 2-in-1
    4a07fbecfa55 ASoC: wm8994: Ensure the device is resumed in wm89xx_mic_detect functions
    7cdb35fc858f ASoC: wm8994: Skip setting of the WM8994_MICBIAS register for WM1811
    927a024487dc ASoC: pcm3168a: ignore 0 Hz settings
    8ebf2b77d7e5 device_cgroup: Fix RCU list debugging warning
    5b84cd71c1da nvme: explicitly update mpath disk capacity on revalidation
    765f47c425aa net: openvswitch: use div_u64() for 64-by-32 divisions
    caa44b67f4d3 ALSA: hda: Workaround for spurious wakeups on some Intel platforms
    862dd508c6f2 ALSA: hda: Always use jackpoll helper for jack update after resume
    1f160738d9a8 perf parse-events: Use strcmp() to compare the PMU name
    4d8d6f71b60f opp: Increase parsed_static_opps in _of_add_opp_table_v1()
    87e6e1957cf0 mt76: fix LED link time failure
    ca1704f177dc ubi: fastmap: Free unused fastmap anchor peb during detach
    74924e407bf7 scsi: qla2xxx: Retry PLOGI on FC-NVMe PRLI failure
    e1ad5cf63e40 perf tests: Fix test 68 zstd compression for s390
    85c417050fc7 btrfs: qgroup: fix data leak caused by race between writeback and truncate
    af60d80598b3 vfio/pci: fix racy on error and request eventfd ctx
    eb7833e0ee01 selftests/x86/syscall_nt: Clear weird flags after each test
    7292e6e9d82c scsi: libfc: Skip additional kref updating work event
    1e15d5237c1e scsi: libfc: Handling of extra kref
    2ad1397c8815 mac80211: skip mpath lookup also for control port tx
    8bfd43a5180f nvme: fix possible deadlock when I/O is blocked
    8b85da354c74 cifs: Fix double add page to memcg when cifs_readpages
    3bb9b0ad76e5 vfio/pci: Clear error and request eventfd ctx after releasing
    781a4bf652b8 NFS: nfs_xdr_status should record the procedure name
    bc65336acddc x86/speculation/mds: Mark mds_user_clear_cpu_buffers() __always_inline
    c63613b93479 mtd: parser: cmdline: Support MTD names containing one or more colons
    f7b07311ff0f rapidio: avoid data race between file operation callbacks and mport_cdev_add().
    92514a7bb941 mm: memcontrol: fix stat-corrupting race in charge moving
    a9e87c5beeb9 mm/swap_state: fix a data race in swapin_nr_pages
    3e4ca8bf5809 ceph: fix potential race in ceph_check_caps
    dac34dd4efc6 PCI: tegra: Fix runtime PM imbalance on error
    5cddba546a00 mtd: rawnand: omap_elm: Fix runtime PM imbalance on error
    63f600d87b05 mtd: rawnand: gpmi: Fix runtime PM imbalance on error
    ec705f9ffbba wlcore: fix runtime pm imbalance in wlcore_regdomain_config
    a0f8499fba8d wlcore: fix runtime pm imbalance in wl1271_tx_work
    7555bb003417 ASoC: img-i2s-out: Fix runtime PM imbalance on error
    13e1951aa3b8 PCI: tegra194: Fix runtime PM imbalance on error
    7415f52e2e95 perf kcore_copy: Fix module map when there are no modules loaded
    ff793fe02ca8 perf metricgroup: Free metric_events on error
    2076ee4ae512 perf util: Fix memory leak of prefix_if_not_in
    b10dd4b3c104 perf stat: Fix duration_time value for higher intervals
    eddcc70de8da perf trace: Fix the selection for architectures to generate the errno name tables
    feaaa88ffce7 perf evsel: Fix 2 memory leaks
    ad9940e377fd KVM: PPC: Book3S HV: Close race with page faults around memslot flushes
    f9c47a0cc513 vfio/pci: fix memory leaks of eventfd ctx
    bb6e9827da75 gpio: rcar: Fix runtime PM imbalance on error
    1aa9de56d762 btrfs: fix double __endio_write_update_ordered in direct I/O
    b3b21823d68e btrfs: don't force read-only after error in drop snapshot
    859748f8cd8c usb: dwc3: Increase timeout for CmdAct cleared by device controller
    5c7f727e8ad6 printk: handle blank console arguments passed in.
    482466b67d87 drm/nouveau/dispnv50: fix runtime pm imbalance on error
    bd39447bad06 drm/nouveau: fix runtime pm imbalance on error
    f6331bfcccc8 drm/nouveau/debugfs: fix runtime pm imbalance on error
    2477158bfd3e e1000: Do not perform reset in reset_task if we are already down
    62962e08b9c3 drm/amdkfd: fix restore worker race condition
    180e60f154a3 arm64/cpufeature: Drop TraceFilt feature exposure from ID_DFR0 register
    196d14cea6a3 scsi: cxlflash: Fix error return code in cxlflash_probe()
    af02933d59bd arm64: acpi: Make apei_claim_sea() synchronise with APEI's irq work
    502bd98a8e27 coresight: etm4x: Fix use-after-free of per-cpu etm drvdata
    c3fa2949c272 USB: EHCI: ehci-mv: fix less than zero comparison of an unsigned int
    89e6cf1c0ab5 fuse: update attr_version counter on fuse_notify_inval_inode()
    e431e923c8a6 fuse: don't check refcount after stealing page
    55c3e7fac92e svcrdma: Fix backchannel return code
    7c972122cab5 powerpc/traps: Make unrecoverable NMIs die instead of panic
    004cb15b1e4c ipmi:bt-bmc: Fix error handling and status check
    09197d39cab3 drm/exynos: dsi: Remove bridge node reference in error handling path in probe function
    7ce7dd0a6f1d ALSA: hda: Fix potential race in unsol event handler
    942a6ff2146a tty: serial: samsung: Correct clock selection logic
    202ae05859ea tipc: fix memory leak in service subscripting
    97cf50cc4e5c KVM: x86: handle wrap around 32-bit address space
    c7a403d16fd7 USB: EHCI: ehci-mv: fix error handling in mv_ehci_probe()
    3515b56cc0b7 Bluetooth: Handle Inquiry Cancel error after Inquiry Complete
    b5a49bb741e9 phy: samsung: s5pv210-usb2: Add delay after reset
    e3d47125a42c power: supply: max17040: Correct voltage reading
    44a3faa00887 i2c: tegra: Restore pinmux on system resume
    00519f4da8da mm/slub: fix incorrect interpretation of s->offset
    0eb69a66083e perf mem2node: Avoid double free related to realloc
    bd60439f4950 media: venus: vdec: Init registered list unconditionally
    fa7c336dd1c8 atm: fix a memory leak of vcc->user_back
    9325e9e5abf6 devlink: Fix reporter's recovery condition
    4ac87b6af491 dt-bindings: sound: wm8994: Correct required supplies based on actual implementaion
    8ff65ea6c77c dpaa2-eth: fix error return code in setup_dpni()
    527378a0dfd7 sched/fair: Eliminate bandwidth race between throttling and distribution
    8e32fed034ed arm64: cpufeature: Relax checks for AArch32 support at EL[0-2]
    294e26f89163 sparc64: vcc: Fix error return code in vcc_probe()
    f1723949cf81 staging:r8188eu: avoid skb_clone for amsdu to msdu conversion
    b6cee18cba12 scsi: aacraid: Fix error handling paths in aac_probe_one()
    cd6f892ba542 net: openvswitch: use u64 for meter bucket
    545c261f22b4 KVM: arm64: vgic-its: Fix memory leak on the error path of vgic_add_lpi()
    beb8e0254197 KVM: arm64: vgic-v3: Retire all pending LPIs on vcpu destroy
    4998dc5ff868 drivers: char: tlclk.c: Avoid data race between init and interrupt handler
    a48b609c8dfd bdev: Reduce time holding bd_mutex in sync in blkdev_close()
    c8317e9fc412 perf stat: Force error in fallback on :k events
    4f4e29789525 KVM: Remove CREATE_IRQCHIP/SET_PIT2 race
    e4e024e89cca btrfs: fix setting last_trans for reloc roots
    26d261f32f43 serial: uartps: Wait for tx_empty in console setup
    ab1d9bad6097 scsi: qedi: Fix termination timeouts in session logout
    61192ac4a1f2 ALSA: hda: Skip controller resume if not needed
    51396da04425 mm/mmap.c: initialize align_offset explicitly for vm_unmapped_area
    cb1dfad688ef drm/amdgpu/sriov add amdgpu_amdkfd_pre_reset in gpu reset
    644148cd1537 workqueue: Remove the warning in wq_worker_sleeping()
    74c28abcb301 nvmet-rdma: fix double free of rdma queue
    5e3c0dae5f96 SUNRPC: Don't start a timer on an already queued rpc task
    19b9ff11464e mm/vmscan.c: fix data races using kswapd_classzone_idx
    b569d92b1d03 mm/swapfile: fix data races in try_to_unuse()
    6eed4b3392c6 mm/filemap.c: clear page error before actual read
    336df1dcf92d mm/kmemleak.c: use address-of operator on section symbols
    685a1e317a64 powerpc/perf: Implement a global lock to avoid races between trace, core and thread imc events.
    7cafcc37c57e drm/amdgpu/vcn2.0: stall DPG when WPTR/RPTR reset
    24c56b6fe0ba NFS: Fix races nfs_page_group_destroy() vs nfs_destroy_unlinked_subrequests()
    4667358dab9c PCI: pciehp: Fix MSI interrupt race
    ca767cf0152d ALSA: usb-audio: Fix case when USB MIDI interface has more than one extra endpoint descriptor
    af574e78e7e4 ubifs: Fix out-of-bounds memory access caused by abnormal value of node_len
    49bc26b7653f ubifs: ubifs_add_orphan: Fix a memory leak bug
    17bc3bff02a7 ubifs: ubifs_jnl_write_inode: Fix a memory leak bug
    535943c46dfc PCI: Use ioremap(), not phys_to_virt() for platform ROM
    aa325ff72c80 netfilter: nf_tables: silence a RCU-list warning in nft_table_lookup()
    cf2d7883e84c svcrdma: Fix leak of transport addresses
    5f8174bfb9ff SUNRPC: Fix a potential buffer overflow in 'svc_print_xprts()'
    4f7b6eef7921 scsi: hpsa: correct race condition in offload enabled
    6e3b662d86a5 IB/iser: Always check sig MR before putting it to the free pool
    d5e7198bcf7e RDMA/rxe: Set sys_image_guid to be aligned with HW IB devices
    f812e43e727f xfs: prohibit fs freezing when using empty transactions
    1ed8ad923787 brcmfmac: Fix double freeing in the fmac usb data path
    9aca5e655a29 nvme: Fix controller creation races with teardown flow
    509730002abc nvme: Fix ctrl use-after-free during sysfs deletion
    eef1e9e876e9 nvme-multipath: do not reset on unknown status
    a48cf1c921a7 perf: Use new infrastructure to fix deadlocks in execve
    ba7eb0e48e76 proc: io_accounting: Use new infrastructure to fix deadlocks in execve
    4301db49e556 proc: Use new infrastructure to fix deadlocks in execve
    0cd97836869e kernel/kcmp.c: Use new infrastructure to fix deadlocks in execve
    2f7a0de4e5da selftests/ptrace: add test cases for dead-locks
    d8d15a4c445a exec: Fix a deadlock in strace
    b796d94921ce exec: Add exec_update_mutex to replace cred_guard_mutex
    32d9453c208c tools: gpio-hammer: Avoid potential overflow in main
    3b63e4b7045b cpufreq: powernv: Fix frame-size-overflow in powernv_cpufreq_work_fn
    1ad72297146d net: axienet: Propagate failure of DMA descriptor setup
    468f2bc2bb5b net: axienet: Convert DMA error handler to a work queue
    79f60d5bd0dd perf cpumap: Fix snprintf overflow check
    47e276e1c40e serial: 8250: 8250_omap: Terminate DMA before pushing data on RX timeout
    09a2cf677105 serial: 8250_omap: Fix sleeping function called from invalid context during probe
    93ec0b575aca serial: 8250_port: Don't service RX FIFO if throttled
    0557e5f8d69c r8169: improve RTL8168b FIFO overflow workaround
    5dc170aee1d1 btrfs: free the reloc_control in a consistent way
    c88596d593ab btrfs: do not init a reloc root if we aren't relocating
    98c921e6be06 perf parse-events: Fix 3 use after frees found with clang ASAN
    048892dfab4d KVM: LAPIC: Mark hrtimer for period or oneshot mode to expire in hard interrupt context
    157ff88660c8 thermal: rcar_thermal: Handle probe error gracefully
    e978d00a3d16 tracing: Use address-of operator on section symbols
    cb9841c5119c drm/msm/a5xx: Always set an OPP supported hardware value
    8db4810dd5cc drm/msm: fix leaks if initialization fails
    5d09e3edf5d9 KVM: PPC: Book3S HV: Treat TM-related invalid form instructions on P9 like the valid ones
    63b7647dd0e1 intel_th: Disallow multi mode on devices where it's broken
    c3e39fa0aa10 RDMA/cm: Remove a race freeing timewait_info
    0300cda5009a nfsd: Don't add locks to closed or closing open stateids
    cdb785710edd rtc: ds1374: fix possible race condition
    45c1212d91f7 rtc: sa1100: fix possible race condition
    22de4a5d5791 tpm: ibmvtpm: Wait for buffer to be set before proceeding
    be4ff3a49c5d ext4: mark block bitmap corrupted when found instead of BUGON
    152875a0f094 xfs: mark dir corrupt when lookup-by-hash fails
    cb72c9f84219 xfs: don't ever return a stale pointer from __xfs_dir3_free_read
    b1f5989a23c1 tty: sifive: Finish transmission before changing the clock
    abbe59ca91f3 media: tda10071: fix unsigned sign extension overflow
    b432ea85ab84 Bluetooth: L2CAP: handle l2cap config request during open state
    ae3dffdbe42b scsi: aacraid: Disabling TM path and only processing IOP reset
    62602774e5aa ath10k: use kzalloc to read for ath10k_sdio_hif_diag_read
    f6acb4ae6b6c perf cs-etm: Correct synthesizing instruction samples
    f7ba2eeb0c6f perf cs-etm: Swap packets for instruction samples
    fc1d08a2023d s390/irq: replace setup_irq() by request_irq()
    37b972bf8070 cpu-topology: Fix the potential data corruption
    2d4e6ce22c58 clk: imx: Fix division by zero warning on pfdv2
    6fc325a4d35d drm/amd/display: Stop if retimer is not available
    10a144b77f64 ARM: OMAP2+: Handle errors for cpu_pm
    d1a749c01d03 drm/amdgpu: increase atombios cmd timeout
    3a220956aaaf mm: avoid data corruption on CoW fault into PFN-mapped VMA
    2da77d2d0d89 perf jevents: Fix leak of mapfile memory
    26005b604cef ext4: fix a data race at inode->i_disksize
    d0c298030382 drm/amd/display: fix image corruption with ODM 2:1 DSC 2 slice
    f2118308295d powerpc/book3s64: Fix error handling in mm_iommu_do_alloc()
    efc95f2ef743 timekeeping: Prevent 32bit truncation in scale64_check_overflow()
    202e2ff9de40 Bluetooth: guard against controllers sending zero'd events
    a94159403430 media: go7007: Fix URB type for interrupt handling
    657e50f8cdbf ASoC: SOF: ipc: check ipc return value before data copy
    29c25e69492b bus: hisi_lpc: Fixup IO ports addresses to avoid use-after-free in host removal
    3193035ec136 random: fix data races at timer_rand_state
    1edfaecc30a9 firmware: arm_sdei: Use cpus_read_lock() to avoid races with cpuhp
    21e2f6bf0863 iavf: use tc_cls_can_offload_and_chain0() instead of chain check
    0d5984ba936b drm/omap: dss: Cleanup DSS ports on initialisation failure
    b4bca7b2a6e2 drm/amd/display: dal_ddc_i2c_payloads_create can fail causing panic
    3e6f9c20bd32 soundwire: bus: disable pm_runtime in sdw_slave_delete
    c4b62a7e52ee dmaengine: tegra-apb: Prevent race conditions on channel's freeing
    cdf63c29af1e dmaengine: stm32-dma: use vchan_terminate_vdesc() in .terminate_all
    f60007c9e914 bpf: Remove recursion prevention from rcu free callback
    e8b95c29cdef x86/pkeys: Add check for pkey "overflow"
    321c5b279313 media: staging/imx: Missing assignment in imx_media_capture_device_register()
    5132f9f3d3e2 dmaengine: stm32-mdma: use vchan_terminate_vdesc() in .terminate_all
    484de771d637 KVM: nVMX: Hold KVM's srcu lock when syncing vmcs12->shadow
    d1da39644709 KVM: x86: fix incorrect comparison in trace event
    a4d17715a852 RDMA/rxe: Fix configuration of atomic queue pair attributes
    45901923749f perf test: Fix test trace+probe_vfs_getname.sh on s390
    e2d439c2000d ALSA: usb-audio: Don't create a mixer element with bogus volume range
    78344a4dc43e mt76: fix handling full tx queues in mt76_dma_tx_queue_skb_raw
    9b42bfb06d37 mt76: clear skb pointers from rx aggregation reorder buffer during cleanup
    1841613e97e7 crypto: chelsio - This fixes the kernel panic which occurs during a libkcapi test
    671e6c9c6b7b clk: stratix10: use do_div() for 64-bit calculation
    ef6eb8121321 locking/lockdep: Decrement IRQ context counters when removing lock chain
    8e88cdd3223a drm/omap: fix possible object reference leak
    41b71eff2777 scsi: lpfc: Fix coverity errors in fmdi attribute handling
    e0ddd176a302 scsi: lpfc: Fix release of hwq to clear the eq relationship
    4935732e8821 scsi: lpfc: Fix RQ buffer leakage when no IOCBs available
    f72a51eab2de selinux: sel_avc_get_stat_idx should increase position index
    d96fcfd58c21 audit: CONFIG_CHANGE don't log internal bookkeeping as an event
    26eae6def780 drm/amd/display: fix workaround for incorrect double buffer register for DLG ADL and TTU
    1f483c3ef050 nfsd: Fix a perf warning
    980040c7ae69 skbuff: fix a data race in skb_queue_len()
    2b22cead0478 ALSA: hda: Clear RIRB status before reading WP
    a13d21ed8526 KVM: fix overflow of zero page refcount with ksm running
    54d9839877f2 Bluetooth: prefetch channel before killing sock
    4c67f0b1eabb mm: pagewalk: fix termination condition in walk_pte_range()
    dac81f1ddce5 mm/swapfile.c: swap_next should increase position index
    8f54d39da5f4 Bluetooth: Fix refcount use-after-free issue
    60d539ff1cd8 tools/power/x86/intel_pstate_tracer: changes for python 3 compatibility
    f15dd13158ad selftests/ftrace: fix glob selftest
    379deeac55da ceph: ensure we have a new cap before continuing in fill_inode
    5a5fa8876291 ar5523: Add USB ID of SMCWUSBT-G2 wireless adapter
    47634c0fc94c ARM: 8948/1: Prevent OOB access in stacktrace
    5093d01f0809 tracing: Set kernel_stack's caller size properly
    0c81861ae903 Bluetooth: btrtl: Use kvmalloc for FW allocations
    821bf0bf652c powerpc/eeh: Only dump stack once if an MMIO loop is detected
    fed639f7e1d5 nfsd: Fix a soft lockup race in nfsd_file_mark_find_or_create()
    4f726a2afb99 s390/cpum_sf: Use kzalloc and minor changes
    26966e89ca14 dmaengine: zynqmp_dma: fix burst length configuration
    d64f6dfdf4ab btrfs: tree-checker: Check leaf chunk item size
    2bbe85d911fe i2c: tegra: Prevent interrupt triggering after transfer timeout
    1e4a6a0e03bc drm/amd/display: Initialize DSC PPS variables to 0
    65f2f192526f scsi: ufs: Fix a race condition in the tracing code
    1ac994f80be2 scsi: ufs: Make ufshcd_add_command_trace() easier to read
    3d05b3072232 ACPI: EC: Reference count query handlers under lock
    95ceefc6f0ce sctp: move trace_sctp_probe_path into sctp_outq_sack
    a9e53499f4de scsi: lpfc: Fix incomplete NVME discovery when target
    64d2887486d1 scsi: qla2xxx: Fix stuck session in GNL
    9f7d28075ae4 opp: Replace list_kref with a local counter
    8c324ef0b466 media: ti-vpe: cal: Restrict DMA to avoid memory corruption
    4a4c78cf0cf7 drm/scheduler: Avoid accessing freed bad job.
    06a90303633f seqlock: Require WRITE_ONCE surrounding raw_seqcount_barrier
    a9d4bca63493 drm/mcde: Handle pending vblank while disabling display
    c89925822f82 ipv6_route_seq_next should increase position index
    046e79cca228 rt_cpu_seq_next should increase position index
    2ba309f086b8 neigh_stat_seq_next() should increase position index
    f508c5d99343 vcc_seq_next should increase position index
    8c926e159afa tipc: fix link overflow issue at socket shutdown
    f99f4372f544 ALSA: hda: enable regmap internal locking
    b56212ddca0f xfs: fix log reservation overflows when allocating large rt extents
    16d40ce11521 module: Remove accidental change of module_enable_x()
    566b1bb7d393 KVM: arm/arm64: vgic: Fix potential double free dist->spis in __kvm_vgic_destroy()
    c306458a2bd0 kernel/sys.c: avoid copying possible padding bytes in copy_to_user
    e95e4ba3efd8 kernel/notifier.c: intercept duplicate registrations to avoid infinite loops
    425582bd448c selftests/bpf: De-flake test_tcpbpf
    3283bd6d19cd arm64: insn: consistently handle exit text
    c8662aa75a42 drm/amdgpu: fix calltrace during kmd unload(v3)
    6a74132beed2 xfs: fix realtime file data space leak
    a04223019c22 s390: avoid misusing CALL_ON_STACK for task stack setup
    a1a6f8a14cb0 xtensa: fix system_call interaction with ptrace
    f9f47ef869eb ASoC: max98090: remove msleep in PLL unlocked workaround
    273589e82cb1 f2fs: stop GC when the victim becomes fully valid
    84b15c4e1550 CIFS: Properly process SMB3 lease breaks
    2005c32ec99e CIFS: Use common error handling code in smb2_ioctl_query_info()
    3ce5297c0b40 SUNRPC: Capture completion of all RPC tasks
    80f766742244 debugfs: Fix !DEBUG_FS debugfs_create_automount
    14bbbfbafef1 mt76: add missing locking around ampdu action
    5eee23bc19a8 mt76: do not use devm API for led classdev
    773dc2922719 scsi: pm80xx: Cleanup command when a reset times out
    714dbaf2f814 gfs2: clean up iopen glock mess in gfs2_create_inode
    a21260928bd3 mmc: core: Fix size overflow for mmc partitions
    cbd2ee90d3c1 ubi: Fix producing anchor PEBs
    40afadc05771 RDMA/iw_cgxb4: Fix an error handling path in 'c4iw_connect()'
    be45bce4ad8e xfs: fix attr leaf header freemap.size underflow
    424388f0c534 fix dget_parent() fastpath race
    797f6c19abce PCI: Avoid double hpmemsize MMIO window assignment
    3161ea673382 RDMA/i40iw: Fix potential use after free
    f3ebf81ee634 RDMA/qedr: Fix potential use after free
    04f4f09502f1 x86/kdump: Always reserve the low 1M when the crashkernel option is specified
    21c82e8d4201 dmaengine: mediatek: hsdma_probe: fixed a memory leak when devm_request_irq fails
    fd3572bd5bc1 bcache: fix a lost wake-up problem caused by mca_cannibalize_lock
    9f81aa5d4493 tracing: Adding NULL checks for trace_array descriptor pointer
    8e0d54aa4005 tracing: Verify if trace array exists before destroying it.
    6405d5c5c5b8 tpm_crb: fix fTPM on AMD Zen+ CPUs
    b3a1fb675eb8 drm/amdgpu/powerplay/smu7: fix AVFS handling with custom powerplay table
    022a2a0728cb mfd: mfd-core: Protect against NULL call-back function pointer
    deb34c91ebd4 mtd: cfi_cmdset_0002: don't free cfi->cfiq in error path of cfi_amdstd_setup()
    bcd4bbf99535 ice: Fix to change Rx/Tx ring descriptor size via ethtool with DCBx
    3642887a4031 drm/amdgpu/powerplay: fix AVFS handling with custom powerplay table
    c5505813d01f clk/ti/adpll: allocate room for terminating null
    5eb67d3843ed f2fs: avoid kernel panic on corruption test
    5657f17bcd9c iomap: Fix overflow in iomap_page_mkwrite
    4c7d4dd210a1 dax: Fix alloc_dax_region() compile warning
    6670a2a397d4 net: silence data-races on sk_backlog.tail
    75a1c456944f powerpc/64s: Always disable branch profiling for prom_init.o
    f5abdca0c2ef scsi: lpfc: Fix kernel crash at lpfc_nvme_info_show during remote port bounce
    1a4c4df21728 scsi: fnic: fix use after free
    4241376371ad PM / devfreq: tegra30: Fix integer overflow on CPU's freq max out
    d550b07e1a3f dm table: do not allow request-based DM to stack on partitions
    e645b649c418 leds: mlxreg: Fix possible buffer overflow
    36f11775da75 xfs: properly serialise fallocate against AIO+DIO
    50afba5c129c drm/amd/display: Free gamma after calculating legacy transfer function
    252e8b514a98 media: smiapp: Fix error handling at NVM reading
    e0731a6503b0 soundwire: intel/cadence: fix startup sequence
    d9adb4deef16 ASoC: kirkwood: fix IRQ error handling
    8b4e9c1bb05a gma/gma500: fix a memory disclosure bug due to uninitialized bytes
    8c355ed61996 xfs: fix inode fork extent count overflow
    ff099d7c845d m68k: q40: Fix info-leak in rtc_ioctl
    bbe4f5e44a75 scsi: aacraid: fix illegal IO beyond last LBA
    2c25b9511178 mm: fix double page fault on arm64 if PTE_AF is cleared
    bdb830d101e7 PCI/IOV: Serialize sysfs sriov_numvfs reads vs writes
    a34a9a4c31e2 ath10k: fix memory leak for tpc_stats_final
    b8ef4aaf6e32 ath10k: fix array out-of-bounds access
    abc15be19f4c scsi: qla2xxx: Add error handling for PLOGI ELS passthrough
    ac559369050f dma-fence: Serialise signal enabling (dma_fence_enable_sw_signaling)
    3e7bf6336084 drm/amdkfd: Fix race in gfx10 context restore handler
    c08ecda2cf31 drm/amd/display: Do not double-buffer DTO adjustments
    1333ce263ad9 media: mc-device.c: fix memleak in media_device_register_entity
    b7316f505fe5 selinux: allow labeling before policy is loaded
    e14f1f8f1bfe scsi: mpt3sas: Free diag buffer without any status check
    6b8fbd9b2db0 scsi: lpfc: Fix pt2pt discovery on SLI3 HBAs
    03c4d42e3c14 kernel/sysctl-test: Add null pointer test for sysctl.c:proc_dointvec()

(From OE-Core rev: f9c04e164cc0f64fcb3df6cc893608668e66f93d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Bruce Ashfield
a6a07be166 linux-yocto/5.8: update to v5.8.12
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    0c52d2a4d9e9 Linux 5.8.12
    973f3e32fefe net/mlx5e: Fix endianness when calculating pedit mask first bit
    1fa560ecd2ca net/mlx5e: Use synchronize_rcu to sync with NAPI
    cb02cd23a450 net/mlx5e: Use RCU to protect rq->xdp_prog
    bb67766834c8 Revert "netns: don't disable BHs when locking "nsid_lock""
    e1338ca16300 net: macb: fix for pause frame receive enable bit
    d8c79a8b0671 net: dsa: microchip: ksz8795: really set the correct number of ports
    86ae8bdee923 net: dsa: link interfaces with the DSA master to get rid of lockdep warnings
    150feba39d80 hv_netvsc: Fix hibernation for mlx5 VF driver
    5b569fc51689 hinic: fix rewaking txq after netif_tx_disable
    3a3aab5bd46f net/mlx5e: Fix memory leak of tunnel info when rule under multipath not ready
    e77ae86a2830 net: ipa: fix u32_replace_bits by u32p_xxx version
    f41a9b68b2e5 wireguard: peerlookup: take lock before checking hash in replace operation
    1aa173b4181a wireguard: noise: take lock when removing handshake entry from table
    9346c24848d6 net: ethernet: ti: cpsw_new: fix suspend/resume
    b42148e2270e net: add __must_check to skb_put_padto()
    9cb51c5f22f1 net: qrtr: check skb_put_padto() return value
    410c186dc45e net: phy: Do not warn in phy_stop() on PHY_DOWN
    3fa1f8461a5d net: phy: Avoid NPD upon phy_detach() when driver is unbound
    318d2408a81d net: lantiq: Disable IRQs only if NAPI gets scheduled
    c36c06305afe net: lantiq: Use napi_complete_done()
    5e0c1c65c7da net: lantiq: use netif_tx_napi_add() for TX NAPI
    345fa127e965 net: lantiq: Wake TX queue again
    786c627c377f bnxt_en: Protect bnxt_set_eee() and bnxt_set_pauseparam() with mutex.
    138ded90a311 bnxt_en: return proper error codes in bnxt_show_temp
    693ba8c81ca3 bnxt_en: Use memcpy to copy VPD field info.
    6229623f54cb net/mlx5e: TLS, Do not expose FPGA TLS counter if not supported
    46ef5581c432 net/mlx5e: Enable adding peer miss rules only if merged eswitch is supported
    41f2b0bd1713 tipc: use skb_unshare() instead in tipc_buf_append()
    d8e7be19d2bd tipc: fix shutdown() of connection oriented socket
    7ada162ea056 tipc: Fix memory leak in tipc_group_create_member()
    817ff50796c5 taprio: Fix allowing too small intervals
    b193ee2ad417 nfp: use correct define to return NONE fec
    5bda4b3ec1c9 net: sctp: Fix IPv6 ancestor_size calc in sctp_copy_descendant
    bd6df0266e31 net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc
    abdd468785e1 net: sched: initialize with 0 before setting erspan md->u
    9286233285ba net: phy: call phy_disable_interrupts() in phy_attach_direct() instead
    e9fd16fc0c7d net/mlx5: Fix FTE cleanup
    320df8ef04c6 net: ipv6: fix kconfig dependency warning for IPV6_SEG6_HMAC
    894514e17856 net: Fix bridge enslavement failure
    4979e51c318c net: dsa: rtl8366: Properly clear member config
    7e9939f0fef8 net: DCB: Validate DCB_ATTR_DCB_BUFFER argument
    0b9c3f8de6ab net: bridge: br_vlan_get_pvid_rcu() should dereference the VLAN group under RCU
    176b2e5140af ipv6: avoid lockdep issue in fib6_del()
    2b1be6c925cd ipv4: Update exception handling for multipath routes via same device
    a8faee58f55a ipv4: Initialize flowi4_multipath_hash in data path
    f49e5618fd54 ip: fix tos reflection in ack and reset packets
    584ff7bb14a6 hinic: bump up the timeout of SET_FUNC_STATE cmd
    6070a0f58d95 hdlc_ppp: add range checks in ppp_cp_parse_cr()
    e76c0f41d7b1 geneve: add transport ports in route lookup for geneve
    732a8eb73c51 cxgb4: Fix offset when clearing filter byte counters
    a01b4105d2f0 cxgb4: fix memory leak during module unload
    0d7002517f9b bnxt_en: Fix NULL ptr dereference crash in bnxt_fw_reset_task()
    67eb902e0335 bnxt_en: Avoid sending firmware messages when AER error is detected.
    946fc6d84768 act_ife: load meta modules before tcf_idr_check_alloc()
    9215385638b7 ibmvnic: add missing parenthesis in do_reset()
    68c7abb8302a ibmvnic fix NULL tx_pools and rx_tools issue at do_reset

(From OE-Core rev: e3896d7cd3651ef6e7a941f506ce1cdc6873fd1e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Bruce Ashfield
610fdc8f67 linux-yocto/5.4: update to v5.4.68
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    5d087e3578cf Linux 5.4.68
    071f42defada iommu/amd: Use cmpxchg_double() when updating 128-bit IRTE
    a5bc1c7a9a6d mm: memcg: fix memcg reclaim soft lockup
    7f23aa7cabdd net: add __must_check to skb_put_padto()
    0d5a7af160bd net: qrtr: check skb_put_padto() return value
    e78590497f96 net: phy: Do not warn in phy_stop() on PHY_DOWN
    94f2dc7ad055 net: phy: Avoid NPD upon phy_detach() when driver is unbound
    8b6279822080 net: lantiq: Disable IRQs only if NAPI gets scheduled
    4c304ed93ad3 net: lantiq: Use napi_complete_done()
    9efed2a32a86 net: lantiq: use netif_tx_napi_add() for TX NAPI
    19dd093aa5b4 net: lantiq: Wake TX queue again
    743fead4d958 bnxt_en: Protect bnxt_set_eee() and bnxt_set_pauseparam() with mutex.
    e238cb110123 bnxt_en: return proper error codes in bnxt_show_temp
    1ee92ea9a1fb net/mlx5e: TLS, Do not expose FPGA TLS counter if not supported
    5b609d8e5beb net/mlx5e: Enable adding peer miss rules only if merged eswitch is supported
    825fc3167cf5 tipc: use skb_unshare() instead in tipc_buf_append()
    5efc178ebd12 tipc: fix shutdown() of connection oriented socket
    586b14ec481c tipc: Fix memory leak in tipc_group_create_member()
    83bd58952b2b taprio: Fix allowing too small intervals
    f705d35a0e93 nfp: use correct define to return NONE fec
    875f6478655b net: sctp: Fix IPv6 ancestor_size calc in sctp_copy_descendant
    884414196692 net: sch_generic: aviod concurrent reset and enqueue op for lockless qdisc
    891828a79bbc net/mlx5: Fix FTE cleanup
    242e12aecdd3 net: ipv6: fix kconfig dependency warning for IPV6_SEG6_HMAC
    d3c2188ee6e6 net: Fix bridge enslavement failure
    acd04a157b33 net: dsa: rtl8366: Properly clear member config
    9139f13e01a3 net: DCB: Validate DCB_ATTR_DCB_BUFFER argument
    450c0c00a5b0 net: bridge: br_vlan_get_pvid_rcu() should dereference the VLAN group under RCU
    d0b05f019f84 ipv6: avoid lockdep issue in fib6_del()
    860e2cc78c69 ipv4: Update exception handling for multipath routes via same device
    583ff79349f9 ipv4: Initialize flowi4_multipath_hash in data path
    f28bc7ea6978 ip: fix tos reflection in ack and reset packets
    c3de9daa6626 hdlc_ppp: add range checks in ppp_cp_parse_cr()
    745c24fd1d79 geneve: add transport ports in route lookup for geneve
    79cd5858ac05 cxgb4: Fix offset when clearing filter byte counters
    2583159735e4 cxgb4: fix memory leak during module unload
    6743a9b020fd bnxt_en: Fix NULL ptr dereference crash in bnxt_fw_reset_task()
    c7275d7a11ab bnxt_en: Avoid sending firmware messages when AER error is detected.
    61fd38db76ad act_ife: load meta modules before tcf_idr_check_alloc()
    263445256cd8 mm/thp: fix __split_huge_pmd_locked() for migration PMD
    e7b219bc7b59 kprobes: fix kill kprobe which has been marked as gone
    2906c6acda15 ibmvnic: add missing parenthesis in do_reset()
    c5ea71579254 ibmvnic fix NULL tx_pools and rx_tools issue at do_reset
    a769bff2333a af_key: pfkey_dump needs parameter validation

(From OE-Core rev: 963a103e847e2ae3624e70e119920b51e6db13ad)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Bruce Ashfield
ad856f05a1 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()

(From OE-Core rev: 434d9c33bd74d359b0eff459ac4962bfbc39c6c5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Bruce Ashfield
ca5a16ccdd 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

(From OE-Core rev: eae616c0cca482a3ce720de3d7d1caded9f79942)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Bruce Ashfield
cdaf69b1d1 linux-yocto/5.4: fix kprobes build warning
Integrating the following commit(s) to linux-yocto/5.4:

    178189d65780 kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE

(From OE-Core rev: aa2b309a938f4af5f5d95bc7e7f3c0e9d77f3dd3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Joshua Watt
b534c8f338 classes/sanity: Bump minimum python version to 3.5
Bumps the minimum python version to 3.5 to match bitbake and the test
matrix

(From OE-Core rev: df13c0f2348898023fb7ee1b229e9b5ccc893609)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-07 10:18:55 +01:00
Richard Purdie
ea79ef5897 libtools-cross/shadow-sysroot: Use nopackages inherit
When testing pseudo changes I realised these recipes have packaging tasks
but don't generate packages. Drop the packages tasks for cleanliness.

(From OE-Core rev: ef9c11797b5d626bdb40b4509d8b2b0d461ff9ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:25 +01:00
Richard Purdie
2e75c084f2 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.

(From OE-Core rev: f18817f5340d06f7b4bb846a83b48731a1b9c4bc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:25 +01:00
Khem Raj
97946fb395 systemd: Use ROOTPREFIX without suffixed slash in systemd.pc.in
(From OE-Core rev: 797faa735887bb5687eeca7af5d320d530e5238e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:25 +01:00
Fabio Berton
2de508e3cb weston-init: Add environment file support for systemd unit file
The /etc/default/weston file is already installed and it can be used
as systemd EnvironmentFile.

(From OE-Core rev: a1390bd294a0f21297ace3f7b4e33912fa9cb63b)

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:25 +01:00
Ross Burton
cddb58b0c6 parted: improve ptest
Add a RRECOMMENDS on kernel-module-scsi-debug as this module is needed
for many of the tests.

Create the udev mount blacklist directory before writing into it, as it
doesn't always exist.

Delete any existing log files before calling make, as otherwise the
tests cannot be repeated.

(From OE-Core rev: 9d3cc0fb89cc4bd8a4f4fe168eff08a3c8bc8d2f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:25 +01:00
Ross Burton
b37ebab71b 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.

(From OE-Core rev: 7937da462b588403400755d264db0edde74aa4dc)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:24 +01:00
Ross Burton
e6436043ca 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:

  PKG      TASK        ABSDIFF  RELDIFF  WALLTIME1 -> WALLTIME2
  boost    do_install  -330.7s   -69.2%     477.6s -> 146.9s
  boost    do_compile    -7.1s    -2.7%     269.3s -> 262.2s

Replace debug mode with INSANE_SKIP=already-stripped.

(From OE-Core rev: 66d583d1b2bc54cac278c30b5dbc9fde016eb6ee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:24 +01:00
Usama Arif
e65267d376 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.

(From OE-Core rev: 8dfaf5cd4eb5c8e352e7833ec47db1a14ea58b47)

Signed-off-by: Usama Arif <usama.arif@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 23:14:24 +01:00
Nicolas Dechesne
a6b78aa254 sphinx: rename Makefile.sphinx
Now that the DocBook files are removed, we can rename the top level
Makefile.

(From yocto-docs rev: 25fefa9a91ba5d7b398443f543e2c46165e8a3f4)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:56:17 +01:00
Nicolas Dechesne
43d07a2851 sphinx: remove DocBook files
The Yocto Project documentation was migrated to Sphinx. Let's remove
the deprecated DocBook files.

(From yocto-docs rev: 28fb0e63b2fbfd6426b00498bf2682bb53fdd862)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:56:17 +01:00
Nicolas Dechesne
1fd9c4b2c0 bitbake: sphinx: rename Makefile.sphinx
Now that the DocBook files are removed, we can rename the top level
Makefile.

(Bitbake rev: a7c47f1eac8caac607a2b5f12d07235dff4d740f)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2020-10-06 13:54:27 +01:00
Nicolas Dechesne
dd50ad9173 bitbake: sphinx: remove DocBook files
The BitBake documentation was migrated to Sphinx. Let's remove the
deprecated DocBook files.

(Bitbake rev: 427721d8ff2c8e1db8cb490074f2eed88d03852a)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Quentin Schulz
d4a59548be bitbake: docs: static: theme_overrides.css: fix responsive design on <640px screens
From experience the body takes the whole space anyway and the text stays
within the screen boundaries by default, no need to make the min-width
640px then.

(Bitbake rev: d52190ea426d961f609c657dcb403baf59352969)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Nicolas Dechesne
18016c1ef8 bitbake: docs: sphinx: report errors when dependencies are not met
(Bitbake rev: 9ae5cce76693d7c12396cee1183aaf371bb3d66c)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Nicolas Dechesne
ac8257be72 bitbake: docs: update README file after migrationg to Sphinx
(Bitbake rev: ec4c481a0c3a3ccd0ef0832f128afdc047876552)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Nicolas Dechesne
25fd9fddc3 bitbake: docs: sphinx: replace special quotes with double quotes
(Bitbake rev: c87cc35a5665afbf67f6dbb3458976c215fd5ee3)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Nicolas Dechesne
b2c2b87953 bitbake: docs: ref-variables: add links to terms in glossary
This is similar to this change in yocto-docs:
9e468274eaad (docs: ref-manual: ref-variables: add links to terms in glossary)

(Bitbake rev: ebdeef2c185465ac9f7d7f01ae9e8531355b9e70)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-06 13:52:25 +01:00
Quentin Schulz
520e95902f docs: ref-manual: ref-variables: add links to terms in glossary
Before the move to Sphinx, it used to be possible to get a direct link to a
variable from the term glossary. It is very useful when pointing people to
a specific variable when manually looking for it in the glossary.

Let's add this "feature" back.

(From yocto-docs rev: 9e468274eaad270efd5f50e58a523798fcb8097e)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-03 12:17:14 +01:00
Quentin Schulz
46504ab21a docs: ref-manual: ref-variables: fix alphabetical order in glossary
(From yocto-docs rev: 77aa3990cab4fb01706d0b6b0284c38e4d9dda56)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Reviewed-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-03 12:17:14 +01:00
Quentin Schulz
8df34589a6 docs: ref-manual: ref-variables: fix one-letter pointer links in glossary
Since the move to sphinx, variables aren't linked with var- anchors but
term-.

Let's fix that so clicking on a letter will bring to the correct variable
in the page.

(From yocto-docs rev: 07718faa04a8b121be004afbc23b4c338f669413)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-03 12:17:14 +01:00
Nicolas Dechesne
b23aa6b753 sphinx: fix up some trademark and branding issues
The following changes were required after a review of trademark and
branding guidelines:

1. add (R) to 'Yocto Project' on the top left (above the logo)
2. Fix up the capitalization of the  main page title
3. Add the copyright/legal blurb at the bottom of the page

For 3. it turned out to be simpler to override the whole footer.html
template, and maintain our own version. Also I took the liberty to
remove the 'next' and 'previous' buttons since I believe they are not
especially useful, given the navigation bar on the left side.

Reported-by: Tracey Erway <tracey.m.erway@intel.com>
(From yocto-docs rev: 6bae1372218e0b10258e4fa6fef72fc1708a329c)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-01 21:29:31 +01:00
Usama Arif
60319a78dc ref-manual: document authentication key variables
This documents the variables used to create keys for
signing fitImage.

(From yocto-docs rev: 7d0407249907259b59191e3759a3b140d30d993e)

Signed-off-by: Usama Arif <usama.arif@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-01 21:29:31 +01:00
Richard Purdie
2607799cfb bitbake: cooker: Avoid tracebacks if data was never setup
Recent changes mean data might not be setup. If its not, avoid tracebacks.

(Bitbake rev: 3daff610d9f39d73c80c54d1df46f573666e20db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-10-01 21:16:57 +01:00
Ross Burton
afb863afc3 bitbake: siggen: use correct umask when writing siginfo
We try to write sstate with group-write permissions so that sstate-cache
can be shared between multiple users.  However the siginfo files are
created in various tasks which may set their own umask (such as
do_populate_sysroot, 0022).  This results in no group write permission
on the intermediate directories, which is fatal when sharing a cache.

Fix this by wrapping the siginfo mkdir in a umask change to 0002.

(Bitbake rev: 75d9ef04a908e366633b255d23ab3275f6860d3a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:03:30 +01:00
Ross Burton
f3b0d3eeae bitbake: utils: add umask changing context manager
Add a umask context manager which can be used to temporarily change the
umask in a 'with' block.

(Bitbake rev: 6c601e68a27e1c60b04c2a61830d1812cc883e09)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:03:30 +01:00
Richard Purdie
f6609eebca 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.

(From OE-Core rev: ce265cf467f1c3e5ba2edbfbef2170df1a727a52)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:52 +01:00
Chen Qi
dbeac4fc45 testsdk.py: remove workspace/sources to avoid failure in case of multilib
When multilib is enabled, there are multiple environment scripts, and the
test cases for eSDK are executed for each environment script.

And we will have the following problem when executing test cases for the
second environment script.

  ERROR: Source tree path /.../workspace/sources/librdfa already exists and is not empty

So after executing test cases for one environment, we clean up the sources
diretory to avoid such failure.

(From OE-Core rev: f55924d8d2258ca8b60c46d78ae2de06add59798)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:52 +01:00
Chen Qi
23bb87bff7 populate_sdk_ext.bbclass: add ESDK_MANIFEST_EXCLUDES
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.

(From OE-Core rev: 2d71e427b530ec4ea5524efa951b6a87f21b8b22)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Tim Orling
31d3042487 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

(From OE-Core rev: 4df098aeecd589ddd11a883e281285588a6966ca)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Mingli Yu
9d3b8770f2 debianutils: update the debian snapshot version
After debianutils upgrades to 4.11.1 in [1], there is no
4.11.1 source in the old debian snapshot. Update the snapshot
version to fix the gap.

[1] https://git.openembedded.org/openembedded-core/commit/?id=0c492a0768cd15ff40db35f459853e69c55f8cc6

(From OE-Core rev: a58f69f854c28d61a8c74b8af75b80b8695f6198)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Chris Laplante
3d24ecf540 cve-check: add CVE_CHECK_REPORT_PATCHED variable to suppress reporting of patched CVEs
Default behavior is not changed. To suppress patched CVEs, set:

        CVE_CHECK_REPORT_PATCHED = ""

(From OE-Core rev: 05bd9f1f006cf94cf5324f96df29cd5862abaf45)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Chris Laplante
47a35a3843 cve-check: introduce CVE_CHECK_RECIPE_FILE variable to allow changing of per-recipe check file
The addition of this variable also makes it possible to change the
output suffix of the check files, e.g. in local.conf:

CVE_CHECK_MANIFEST_append = ".txt"
CVE_CHECK_RECIPE_FILE_append = ".txt"

(From OE-Core rev: 0d40f1482c6d87785ae47c46c2305e1df46f459a)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Ross Burton
6817a1b683 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.

(From OE-Core rev: 6ee1b1e6d65214ab32030ee4b37997f8a9871f25)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Khem Raj
e1f186da61 systemd: Drop 0023-Fix-field-efi_loader_entry_one_shot_stat-has-incompl.patch
This patch is no longer needed as upstream has added including part of
this include list, perhaps thats all is what was needed to make it
portable

Refresh 0001-Handle-missing-gshadow.patch

(From OE-Core rev: 0f5d9d8cc5d05a7a485e4cb89b37d06ea0d05d23)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Mark Jonas
4b956d1b64 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.

(From OE-Core rev: ef89f176d10ee82738aa050282d93b68dd2c4eb5)

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Mark Jonas
ba5349dd01 Add license text for PSF-2.0
(From OE-Core rev: 37983b3706bda0c466e7e99e1d088089854f5648)

Signed-off-by: Mark Jonas <toertel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Saul Wold
78b473e7f8 target/ssh.py: Add dump_target support
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

[0] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14002

(From OE-Core rev: cef1a2b03b359c018911abc29db1895d0f46814c)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Saul Wold
406857b019 testimage: Add testimage_dump_target to kwargs
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.

(From OE-Core rev: a63675fab4d9f638570912b15a07932f549cc4d1)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
akuster
ab2ece14f0 libdrm: fix build failure
Failure seen on my CentOS7 build host

(From OE-Core rev: 243e13e87ac954b4197d53d6694f6335291651d5)

Signed-off-by: akuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Ross Burton
3b545e61db 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.

(From OE-Core rev: df758ea66fd2f69d591c1fd36b90969796d50bd0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
zangrc
7f6dfe562c sudo: upgrade 1.9.2 -> 1.9.3
(From OE-Core rev: c5571fd473369deab62f5b8e7c2d4318746df725)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
zangrc
f4fc4a787b pango: upgrade 1.46.1 -> 1.46.2
(From OE-Core rev: 2abc0e7ecab199bacf931dd4711734bdd3b48644)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
zangrc
2f2286959d stress-ng: upgrade 0.11.19 -> 0.11.21
(From OE-Core rev: 1ec60f66852e371378371b333b688c3928447f1e)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
zangrc
21b9ddc33b bind: upgrade 9.16.5 -> 9.16.7
(From OE-Core rev: 129e1f748685368f45a5022218cd83872e22ab61)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Changqing Li
86a22e0d5d 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

(From OE-Core rev: 3bab002a3fe4f15529a4771fb982f921a77eedfe)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Jon Mason
ceefa75ac0 Space-comma Cleanups
Multiple files have " ," instead of ", " in expressions.  This changes
them to conform to the way the rest of them are done.

Found and corrected via:
git ls-files | xargs sed --follow-symlinks -i 's/ ,d/, d/g'

(From OE-Core rev: 36c3afd2dd8bded02ea8f255e89a09ebd75c795b)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Chris Laplante
538019a320 bitbake.conf: add name of multiconfig to BUILDCFG_HEADER when multiconfig is active
(From OE-Core rev: 96694d3bc16acfb88206e2d1b9e884ab5887c44d)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Ross Burton
20d9825ed6 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.

(From OE-Core rev: 1b0624dffe1b8496533c86dfed873112c8c0a01b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Ross Burton
d734975024 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.

(From OE-Core rev: 2eaefac2bb0b999e64a445fdadefb639eb7089a0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Ross Burton
c2a11e18c8 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.

(From OE-Core rev: e2e8ccbe410b2f38bcd9525982b2261cf71aab60)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Ross Burton
87ebed58c7 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.

(From OE-Core rev: 6ba3e164d7afb69bddd546957331d0de7cb0a10b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Richard Purdie
1dd31a8309 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.

(From OE-Core rev: 5de83bbd7c55a63cbee88a3fb983c0889036a248)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-30 15:01:51 +01:00
Khairul Rohaizzat Jamaluddin
65b9ceee4a sphinx: ref-variables: Added entry for IMAGE_EFI_BOOT_FILES
IMAGE_EFI_BOOT_FILES created to help differentiate files needed between
bootimg-efi and bootimg-partition when creating the installer/.wic file.

(From yocto-docs rev: 3430e56aaa8a528a062af534610dc60346347947)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-29 23:29:36 +01:00
Nicolas Dechesne
4ec1fa047f README: include detailed information about sphinx
* Updated the README to include instructions to build the doc with
  sphinx
* Added design guidelines for new contributors

(From yocto-docs rev: 7f64574f7594de22fbd29d9da9b8c9df4ba05ffb)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-29 23:29:36 +01:00
Khem Raj
d3e9e5ebf3 ptest-runner: Backport patch to fix inappropriate ioctl error
The srcrev bump is actually bring single commit [1] on top of 2.4.0 which fixes ptest
runs with messges like

ERROR: Unable to detach from controlling tty, Inappropriate ioctl for device

[1] https://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/commit/?id=834670317bd3f6e427e1ac461c07ada6b8936dfd

(From OE-Core rev: 791da075619139fa55751f8013c73d2fbf0cf64c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-28 14:15:48 +01:00
Teoh Jay Shen
c8bfb29d74 oeqa/runtime : add test for RTC(Real Time Clock)
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.

(From OE-Core rev: c6961c2fc04edbc5bc3827c7703997085d9c609e)

Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-28 14:15:48 +01:00
Peter A. Bigot
fd903cda43 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.

(From OE-Core rev: a9d0a79e8d320174737263ce099a259d85a92ceb)

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-28 14:15:48 +01:00
Rasmus Villemoes
cbf566ec43 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>

(From OE-Core rev: a2b50b74d609ce079ab36b82d4c7c3539fb56485)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-28 14:15:48 +01:00
Norman Stetter
0679d0b859 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.

(From OE-Core rev: f1554e8bd40c640fd58daac18ecf7b458e754109)

Signed-off-by: Norman Stetter <norman.stetter@garz-fricke.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-28 14:15:48 +01:00
Jonathan Richardson
b089c8f39d cortex-m0.inc: Add tuning for cortex-m0
Add tuning for ARM cortex-m0.

(From OE-Core rev: 8964fa6491f54602b3789e5314f4dab7213eaa0e)

Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-28 14:15:48 +01:00
Otavio Salvador
fd17e5459d 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.

(From OE-Core rev: fe99349c1bd72b69d22ab0dc52b8825d3157b8e7)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-25 10:55:08 +01:00
Bruce Ashfield
3250e3311f kernel-yocto: add KBUILD_DEFCONFIG search location to failure message
It was pointed out that since the check for the existence of
KBUILD_DEFCONFIG knows where it is looking, that should be part of
the error/log message.

We only look in one location for the defconfigs, so add where we
checked to the message.

(From OE-Core rev: 1d4d80be41d273abd1fb6416976603d924457973)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-25 10:54:30 +01:00
Leif Middelschulte
cd1795287a bitbake: tests/fetch: backslash support in file:// URIs
Implements backslashes in local filenames.
A typical usecase for such a filename is a systemd unit.

Example: `dev-disk-by\x2dlabel-FOO.device`

(Bitbake rev: 14a35f273b579d5cd5fd92765b89c28f870dd577)

Signed-off-by: Leif Middelschulte <leif.middelschulte@klsmartin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-25 08:32:02 +01:00
Leif Middelschulte
b1dff146a6 bitbake: fetch2: fix handling of \ in file:// SRC_URI
Using backslashes in file:// URIs was broken.
Either the resolver would fail or the subsequent `cp` command.
Try to avoid this by putting the filenames into quotes.

Fixes https://bugzilla.yoctoproject.org/show_bug.cgi?id=8161

(Bitbake rev: aa857fa2e9cf3b0e43a9049b04ec4b0b3c779b11)

Signed-off-by: Leif Middelschulte <leif.middelschulte@klsmartin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-25 08:32:02 +01:00
Ross Burton
befe6d2cec bitbake: taskexp: update for GTK API changes
The introspected API for GtkTreeModel and friends had some unexpected
quirks which have now been fixed, see[1] for details. However, for
example Ubuntu 20.04 has the fixed GTK but not an updated pygobject which
means taskexp raises an exception on startup.

Solve by manually looking at what functions are present and calling the
right one.

[ YOCTO #14055 ]

[1] 9cdbc56fba

(Bitbake rev: ac7d1114a7e99e6efd6a37b03d170faf678513fb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-24 22:34:16 +01:00
Richard Purdie
1a9e0997c8 bitbake: Revert "bitbake-layers: add signal hander to avoid exception"
This reverts commit 4fca9a07f2d6b0544977112672b786982d7bb8f2.

The default python handler is to ignore SIGPIPE errors yet by adding
this line, we see:

2020-09-23 22:10:20,325 - oe-selftest - INFO - recipetool.RecipetoolTests.test_recipetool_appendfile_subdir (subunit.RemotedTestCase)
2020-09-23 22:10:20,325 - oe-selftest - INFO -  ... FAIL
2020-09-23 22:10:20,325 - oe-selftest - INFO - 11: 30/44 227/415 (14.85s) (recipetool.RecipetoolTests.test_recipetool_appendfile_subdir)
2020-09-23 22:10:20,325 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/recipetool.py", line 226, in test_recipetool_appendfile_subdir
    _, output = self._try_recipetool_appendfile('selftest-recipetool-appendfile', '/usr/share/selftest-replaceme-subdir', self.testfile, '', expectedlines, ['testfile'])
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/recipetool.py", line 85, in _try_recipetool_appendfile
    return self._try_recipetool_appendcmd(cmd, testrecipe, expectedfiles, expectedlines)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/recipetool.py", line 49, in _try_recipetool_appendcmd
    bbappendfile = self._check_bbappend(testrecipe, recipefile, self.templayerdir)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/selftest/cases/devtool.py", line 186, in _check_bbappend
    result = runCmd('bitbake-layers show-appends', cwd=self.builddir)
  File "/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/lib/oeqa/utils/commands.py", line 201, in runCmd
    raise AssertionError("Command '%s' returned non-zero exit status %d:\n%s" % (command, result.status, exc_output))
AssertionError: Command 'bitbake-layers show-appends' returned non-zero exit status 141:
NOTE: Reconnecting to bitbake server...

where status 141 is SIGPIPE.

We expect SIGPIPE not to be raised like this. I tried the commands in the original
commit to pipe through less with the change reverted and I don't see the error
shown. I therefore believe this is safe to revert.

(Bitbake rev: 94a18f1f2e51dd5d3928e6e0c17f2c19c8b5db49)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-24 22:34:16 +01:00
Yi Zhao
bbca8ff5af 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.

(From OE-Core rev: c02fce3b42513d8c741d74091b20a6a52cea32d2)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-24 22:32:49 +01:00
Andrew Geissler
1186118de9 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

(From OE-Core rev: b6923b3805ebdfdcfa1312bf5b0f368fe800029c)

Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-24 22:32:49 +01:00
De Huo
8a3ec97652 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.

Get the patch from [1] to fix the issue.

[1] https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=951bdaa

(From OE-Core rev: 6f01acae9c279e0a580f46d1ba4c015caa3f8c2c)

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>
2020-09-24 22:32:49 +01:00
Khem Raj
b5e80c1ccf gettext: Fix ptest failure
msgmerge-29 is a script without execute permissions but executed as
./msgmerge-29 which results in this test failing.

It is only one test which fails on gettext/qemux86-64

(From OE-Core rev: 96f001218d7b2b550160bee568ab451d59e3a577)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-24 22:32:49 +01:00
Khem Raj
b6b985a223 qemuboot: Add QB_RNG variable
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.

(From OE-Core rev: 26dd24506ef36088e17f999ce5489dc4b72194e8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-24 22:32:49 +01:00
Christian Eggers
6890a23a18 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")
(From OE-Core rev: 7a905f66d3a6d9018b18c1a8021c1cb8bf7d12ac)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-24 22:32:49 +01:00
Wang Mingyu
6246ce75e8 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

(From OE-Core rev: 319c83d807bb5ade81f1f09cfe91f7302c8e3409)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-24 22:32:49 +01:00
Richard Purdie
0a243cd212 build-appliance-image: Update to master head revision
(From OE-Core rev: e68df923e1bf9e82662ee2619ac9e2f239e8f7be)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:56:09 +01:00
Jean-Francois Dagenais
2058641164 bitbake: bitbake: siggen: clean_basepath: improve perfo and readability
This change improves performance by reducing runtime about 33% for typical
inputs. (using test_clean_basepath_performance)

It is also easier to read, and slightly more resilient to future changes since it doesn't
mention 'virtual' anymore.

(Bitbake rev: 27b53186fa67d281d29b2f8e15bcff8dc2557b8a)

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Co-Developed-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:55:53 +01:00
Jean-Francois Dagenais
304d7a0861 bitbake: bitbake: tests/siggen: introduce clean_basepath testcases
While discussing with Richard we thought these might help document
and safeguard the basic requirements of clean_basepath.

A 'bonus' performance testcase is added but commented out since its
runtime is long and test machine specific. It is intended for developers
to test before and after their changes to the target function as a due
diligence verification.

(Bitbake rev: ee41549f26952d5f7af19a9b3d8a8b969866e2ef)

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:55:53 +01:00
Charlie Davies
005f2951e2 bitbake: bitbake: tests/fetch: add unit tests for SRC_URI with spaces in url
(Bitbake rev: e7dab75c8d1923abcbbc7c9ac7de215d720ccf26)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:55:53 +01:00
Charlie Davies
9ef2bc360d bitbake: bitbake: fetch/git: add support for SRC_URI containing spaces in url
Microsoft's TFS VCS system allows for spaces in a git repository url.
An example of a valid url is:

ssh://tfs-my-company.org:22/tfs/My Projects/FooBar

This commit adds support for such urls by implementing two changes.
Firstly, when bitbake makes a git command line call the url is
surrounded by quotes so that the url, regardless of spaces, is
treated as one argument. Secondly, additional parsing of various
filepath variables, which are based off of the url, are now
completed with any spaces in the url replaced with underscores.

(Bitbake rev: eb38b6f0935763f7ba19e5618f376fcae1dac41a)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:55:53 +01:00
Anatol Belski
79ce7f1c82 bitbake: bitbake: hashserv: Fix localhost sometimes resolved to a wrong IP
Using localhost for direct builds on host is fine. A case with a
misbehavior has been sighted on a Docker build. Even when the host
supports IPv6, but Docker is not configured correspondingly - some
versions of the asyncio Python module seem to misbehave and try to
use IPv6 where it's not supported in the container. This happens at
least on some Ubuntu 18.04 based containers, resolving the IP
explicitly appears to be the fix.

(Bitbake rev: 0e20f91c11afdc17ea776aa02e0cc8b0d59a23d4)

Signed-off-by: Anatol Belski <anbelski@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:55:53 +01:00
Richard Purdie
50ed030f17 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.

(From OE-Core rev: c6c7d16437cbd5ccbee1b99a2154c33fdbac9299)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:04 +01:00
Richard Purdie
70eff092cb 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.

(From OE-Core rev: e2f277657f1db6a0f805ac07d318a3850535d695)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:04 +01:00
Richard Purdie
d603bb2546 oeqa/selftest/incompatible_lib: Fix append usage
It's pure luck this has worked so far, add a missing space to the append.

(From OE-Core rev: 793e0575b1cebb953276b5f93ff31e48c19779c8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:04 +01:00
Yi Zhao
f4eec671b5 dhcpcd: add dhcpcd user to support priviledge separation
The dhcpcd enables privsep by default. It requires a user added to the
system. Add dhcpcd user and group to support it.

(From OE-Core rev: 31c13dc5bbdde0e6ba1510b684eba0aa2ff2c937)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Yi Zhao
23c0987568 dhcpcd: set --runstatedir to /run
Set --runstatedir to /run/dhcpcd rather than /var/run/dhcpcd

(From OE-Core rev: e3aabde595a443ded2cab9a966f43dc07062ca99)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Yi Zhao
d38c4ad2d9 dhcpcd: pass --dbdir to EXTRA_OECONF to set database directory
Set --dbdir to /var/lib/dhcpcd rather than /var/db/dhcpcd to satisfy FHS
compliance

(From OE-Core rev: 18d0c08b357236eb157e0b008faa413f31bd0214)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Richard Purdie
50075fe214 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.

(From OE-Core rev: ea5128fde10eb9be7fefbbb87ae6181edd2bcdff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Ross Burton
bb759f56f6 meta: add/fix invalid Upstream-Status tags
(From OE-Core rev: 630ce8130598e2bca7231ac28a7cc18b5b942544)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Bruce Ashfield
1807dfd342 linux-yocto/beaglebone: Switch to sdhci-omap driver
Integrating the following commit(s) to linux-yocto/.:

    541066c5b1e beaglebone: Switch to sdhci-omap driver

(From OE-Core rev: 98b418387820b0de1bc0a0157ab364b4f11df7dd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Kai Kang
8cc65e7eb0 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.

(From OE-Core rev: 2cc07c4685c95e1d7a7f8e84947ea4f01e8357d3)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Kai Kang
cfdbefde5a systemd: disable xdg-autostart generator by default
xdg-autostart generator is an opt-in feature which is imported by commit:

470c58ba45 systemd: Upgrade v245.6 -> v246

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.

(From OE-Core rev: 5195d5cde3467357cbda4d09e43da12963025142)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Ross Burton
6047096557 gettext: no need to depend on bison-native
This was needed because of a backported patch, this patch was dropped
in oe-core c9f8b48 but the removal of the dependency was missed.

(From OE-Core rev: b20e7523359d5967fd72ac87f10f3091e15161b8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Randy MacLeod
19f919b33f 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

(From OE-Core rev: 0aa24abf6c4d68efa63026d2496b6adc16734d35)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Anibal Limon
4e3afe89c7 mesa: update 20.1.6 -> 20.1.8
(From OE-Core rev: 166276bc6ad44d05b2b79ddef2ed3de3a2236631)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-23 20:54:03 +01:00
Nicolas Dechesne
a69d74c842 sphinx: report errors when dependencies are not met
To build the Sphinx documentation, we have the following dependencies:
* sphinx
* sphinx_rtd_theme
* pyyaml

If any of these dependencies are missing, we might end up with some
cryptic error messages. This patch adds better error reporting when
dependencies are not met.

(From yocto-docs rev: 19df8d1ec56dc2ecb44122288cc53e84237fab69)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-22 09:58:50 +01:00
Quentin Schulz
d6ce950527 docs: fix broken links
(From yocto-docs rev: 5139bf1d3ac7f31b711a8410a195ffc88ac560bf)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-22 09:58:50 +01:00
Quentin Schulz
17333a9162 docs: static: theme_overrides.css: fix responsive design on <640px screens
From experience the body takes the whole space anyway and the text stays
within the screen boundaries by default, no need to make the min-width
640px then.

(From yocto-docs rev: 69f57cd708bafd99c4a35c7929d70ae047bfe0d8)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-22 09:58:48 +01:00
Khem Raj
d2b39e421f packagegroups: remove strace and lttng-tools for rv32/musl
These tools are not yet ported to rv32/musl

(From OE-Core rev: cf963ef65d524256c2d00e0588cd3b8b7ef56ff4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21 23:54:39 +01:00
Khem Raj
4a6d0a3d8d ncurses: Create alternative symlinks for st and st-256color
Adjust for other st implementations

(From OE-Core rev: 151e7306cbd0cc004ee29aab3267e3295710a739)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21 23:54:39 +01:00
Konrad Weihmann
cf9fd0e770 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

(From OE-Core rev: ce0c1cb2fc67881d2edcbe269ea934917ccfb48a)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21 23:54:39 +01:00
Mingli Yu
d484165747 bind: remove -r option for rndc-confgen
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

[1]: 3a4f820d62

(From OE-Core rev: 884cc4196c75b5107082a188cf5f7a4dee4fc5c3)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21 23:54:39 +01:00
Mingli Yu
8d28f2ecc8 kea: create /var/lib/kea and /var/run/kea folder
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]

(From OE-Core rev: 0183ad73526ddcff094c7f8c159c03d22ca760a3)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21 23:54:39 +01:00
Chee Yang Lee
0c741099cc 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.

(From OE-Core rev: 08f8580b1ad2a478538f6974e79cb79e726b6efa)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21 23:54:39 +01:00
Richard Purdie
a0336077a4 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>
(From OE-Core rev: e86a07e7105fd1cc4fd3e5aa22ff07aca6e960d7)

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21 23:54:39 +01:00
Richard Purdie
fa9295c476 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>
(From OE-Core rev: 9d30a3b95ef4dce8925f88c8d8d854ed48c5f367)

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21 23:54:39 +01:00
Richard Purdie
9c763f3b1d 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>
(From OE-Core rev: 94a04a42826ee95a27abe52d43b31b0f053260d9)

Signed-off-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-21 23:54:39 +01:00
Richard Purdie
e3ab221ee3 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.

(From OE-Core rev: d8b4292db741de660f756dfb766210814d587b7a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-20 12:48:11 +01:00
Richard Purdie
acd162f030 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.

(From OE-Core rev: 087700665284c08ba846e52b6b86276629f5f1cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-20 12:48:11 +01:00
Jens Rehsack
0a54b771f1 image-artifact-names: make variables overridable
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.

(From OE-Core rev: d0f18376dca5649aa80aff2536378763740ecda9)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-20 12:48:11 +01:00
Richard Purdie
da4fb13f6d scripts/oe-build-perf-report: Use python3 from the environment
This means ot matches the rest of the system rather than causing confusing errors
where multiple python versions are mixed.

(From OE-Core rev: ef4138b6d8575fb4a0e9dfbaec2cb766f3705efb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-20 12:47:48 +01:00
Richard Purdie
c6bc20857c build-appliance-image: Update to master head revision
(From OE-Core rev: 4e7506882cabf3936f0269c2a98f61c7d595d613)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:12:43 +01:00
Quentin Schulz
e9f2c01157 ref-manual: examples: libxpm: add relative path to .inc
In order to be able to build this example from anywhere, one needs
to give the relative path from LAYERDIR to the .inc file.

The path is the one for the inc file from openembedded-core.

(From yocto-docs rev: cb92d16a6d638f39effa06a7334496f1b0c83b2a)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:36 +01:00
Quentin Schulz
09d0f73c1c ref-manual: examples: hello-autotools: upgrade to 2.10
The 2.3 example was not working anymore so fixed it and upgraded all
at once.

(From yocto-docs rev: 12457c2410c4f0bfda254ceb4f5ef35127a7540f)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:36 +01:00
Quentin Schulz
3b9114cf5a sphinx: fix or add missing links and remove mention of Eclipse workflow
The Eclipse plugin has long been gone.

(From yocto-docs rev: f7a01e67d760c1de3f5a36e3513cba1627b4ed96)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:36 +01:00
Quentin Schulz
89b546f636 sphinx: "highlight" some variables, tasks or files
(From yocto-docs rev: 41e379dc32e52cec652a7f89caf4c3fd96dd2dda)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:36 +01:00
Quentin Schulz
177aee09fe sphinx: fix a few typos or missing/too many words
(From yocto-docs rev: 744b74b3420ae475a566307e03e0b098986773e4)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:36 +01:00
Quentin Schulz
528cdb7cd5 sphinx: brief-yoctoprojectqs: put other distros note after Ubuntu-specific packages
(From yocto-docs rev: 529de3ad21122970c02b86da99d6cc96b58c3333)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:36 +01:00
Quentin Schulz
32a275c5cd sphinx: fix incorrect indentations
(From yocto-docs rev: af5209df6c8c1dcc852d29b72968aa0b36b6b761)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:36 +01:00
Quentin Schulz
c387f0c254 sphinx: replace special quotes with single and double quotes
(From yocto-docs rev: 0aeb7a94abcef3cb3850c753dd0a243f381e6675)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:36 +01:00
Quentin Schulz
6813141743 sphinx: overview-manual: remove highlight in bold section
Does not seem to be formatted correctly by Sphinx (escaped `).

(From yocto-docs rev: 8363dcea98a12a6b8438a284bcebce35b269eab6)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Quentin Schulz
d27ff7ca27 sphinx: what-i-wish-id-known: update "don't be fooled by doc search results"
The release selection for the documentation is fortunately not so complex anymore.

Let's also add a link to the mega-manual instead of just naming it and mention the
search bar as well.

(From yocto-docs rev: 6e46e41a965d2360a41a43263b2c100c5f77541e)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Quentin Schulz
b1dfafa399 sphinx: brief-yoctoprojectqs: add note on branch consistency between layers
(From yocto-docs rev: c00d387068e914290efdc9c5e7fcef5b38ce6e86)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Quentin Schulz
a007f1afab sphinx: overview-manual: fix bitbake basic explanation
One requests Bitbake to bake a recipe to create packages.

(From yocto-docs rev: 2b9a0131999d0d0c014968f792348c55afca4c2c)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Quentin Schulz
f3b77bcce1 sphinx: overview-manual: add link to AUH how-to section
(From yocto-docs rev: cd46ce1cf6b5f5de2e0751c582e92a9417308441)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Quentin Schulz
828602327f sphinx: brief-yoctoprojectqs: add missing boilerplate
(From yocto-docs rev: 4a34fdbeda4e3ad5ae63d159417b7cf204205847)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Quentin Schulz
4fb8db9e68 sphinx: brief-yoctoprojectqs: fix ambiguous note for cyclone5 example
(From yocto-docs rev: a9ea4642f49bf4ddaef07fbc2e1612511a2db9f4)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Quentin Schulz
d1dfa0ee2a sphinx: brief-yoctoprojectqs: remove redundant welcome
(From yocto-docs rev: e582e82f37905cdcb02ed9189b2ebffd689f0418)

Signed-off-by: Quentin Schulz <foss@0leil.net>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Tim Orling
b199ff072e sphinx: toaster-manual: fix vars, links, code blocks
Also update Django links to 2.2 LTS release (from 1.11)
Replace most references to 'rocko' with variable

(From yocto-docs rev: ddf1e119db93fc3f8b141a04f6d0009f933b1006)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Joshua Watt
f8b4bbda03 sphinx: dev-manual: Clarify that virtual providers do not apply to runtime dependencies
Clarifies that virtual providers are only used for build time
dependencies specified with PROVIDES and DEPENDS, and do not apply to
runtime dependencies specified with RPROVIDES and RDEPENDS.

(From yocto-docs rev: dbca49573ce5c5c006c97f79d1107eafee83dc10)

Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Mark Morton
74f212d2e1 sphinx: test-manual code block, link, and format update
(From yocto-docs rev: 928c212ec4ad6e09524fdf8147aa7daf244677b0)

Signed-off-by: Mark Morton <mark.morton@windriver.com>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Richard Purdie
fc876832cb sphinx: overview-manual: Various URL, code block and other fixes to imported data
(From yocto-docs rev: 3325fe660dfea24fba2f964a0060664e3c67459a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Richard Purdie
dd8c9b74d3 sphinx: ref-manual/migration: Split each release into its own file
This avoids the duplicate heading warnings at the slight expense
of more directory clutter.

(From yocto-docs rev: ef896d71836aa3bd6c926b36976a9c45d5f2ca15)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Richard Purdie
1c9db6ef7f sphinx: ref-tasks: Add populate_sdk_ext task definition
(From yocto-docs rev: 0d4cc867c3faa0144ed5a2aaa2698a6f693a2404)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Richard Purdie
90a47a9c5b sphinx: theme_override: Use bold for emphasis text
This more closely matches the original docbook style and is appropriate
given the way the manual uses this element.

(From yocto-docs rev: d49ea9831dc7deccde34c63158afc114d8721857)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Nicolas Dechesne
0ce3f64fce sphinx: conf: exclude adt-manual/*.rst
The ADT Manual is deprecated, and was removed from the documentation
set in 2.2, until we remove it completely, let's make sure it's
excluded from Sphinx build.

(From yocto-docs rev: 5fa20d6afb1be56cbb2a012357f8ccff4b91d585)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Nicolas Dechesne
d072e879e5 sphinx: theme_override: add tying-it-together admonition
It is used in the Profile manual. Let's make it look like other note,
warning, .. admonition.

(From yocto-docs rev: 9aa4a7e8def8793c58a8fda1fdd661dcfffad785)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Nicolas Dechesne
0a85ac5708 sphinx: theme_override: properly set font for verbatim text
The 'verbatim' text was rendered with Courier font in DocBook
(e.g. when using the <filename> tag). With DocBook we are using the
``FOO`` notation which ends up in a <pre> class in the HTML
output. Configure the theme CSS to use Courier, to preserve the look
and feel of the original docs.

(From yocto-docs rev: ecd748fb212abe64af1edbe4c44130425faf5688)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Nicolas Dechesne
c526975d28 sphinx: profile-manual: convert profile-manual
Last round of manual fixes for remaining links and conversion problems
left after the automatic conversion.

(From yocto-docs rev: 071bca4573bc8c60aef1d89896d6536867fe46e5)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Nicolas Dechesne
9f0a31c607 sphinx: update style for important, caution and warnings
The initial theme override covers for tip and and note only.

(From yocto-docs rev: 69b1414b42701599d5c0d62f637cd0cddf80b25e)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Richard Purdie
cb37a15cf5 sphinx: kernel-dev: Various URL, code block and other fixes to imported data
(From yocto-docs rev: 4888b49ccc5d133b4096e5a9b808f14d1afc7deb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Richard Purdie
de89b5a0b6 sphinx: sdk-manual: Various URL, code block and other fixes to imported data
(From yocto-docs rev: 12f5e9cb36409b813ffef9242ce9a042f08acf69)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Richard Purdie
688e49bb5e sphinx: dev-manual: Various URL, code block and other fixes to imported data
(From yocto-docs rev: 8e73d870e9dc2df416f5c5cf5b10ef552be0aa6d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Richard Purdie
292598164a sphinx: ref-manual links fixes and many other cleanups to import
(From yocto-docs rev: d079e418d5a81610e1f06a7a6ca45dd040c1402e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Nicolas Dechesne
d313d972bf sphinx: remove leading '/'
When switching back and forth between between regular and mega manual
an extra '/' keeps being added to the URL.

Reported-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
(From yocto-docs rev: 4cb64afb2ab544d3f6433adc64824414838648ac)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Richard Purdie
3b0d97fe96 sphinx: ref-system-requirements: Improve formatting of the notes sections, merging them
(From yocto-docs rev: 0b3360556bdce2a995b9931359f41cd4f6225aef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Nicolas Dechesne
9a569729dd sphinx: convert bsp-guide
Last round of manual fixes for remaining links and conversion
problems.

(From yocto-docs rev: 954801327bf2574e6d7bc9275985be17cfd086f1)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Richard Purdie
be93bbd86b sphinx: index.rst: Fix links
Correct the bitbake and megamanual URLs.

(From yocto-docs rev: 9da83688584f891d9a1fa363bbf073ab7ba0aad7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:35 +01:00
Nicolas Dechesne
5f5afa2b96 sphinx: Makefile.sphinx improvements
* add 'clean' target
* use DESTDIR to set the final folder when publishing. e.g.
make -f Makefile.sphinx publish DESTDIR=yp-docs

(From yocto-docs rev: 35c0076bf668a81391ee99316241d180528123fc)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
2375dda42b sphinx: brief-yoctoprojectqs: fix up all remaining rendering issues
Manual fix up for links, references, code-block, formatting issues..

(From yocto-docs rev: b0c5333c0f9321cdc1f46e1637cd5e9faf6b42a2)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
2c96878eb0 sphinx: ref-manual: fix heading for oe-init-build-env
In DocBook this section name is set to &OE_INIT_FILE;
variable. However using a substitution pattern in a heading in Sphinx
does not seem to work well. Let's just set the script environment name
here directly, without using a variable. We don't expect to change
this name anyways, so a variable is not really needed.

(From yocto-docs rev: e3347fa41888183c0818852fc07d1e0735406156)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
6625b264da sphinx: convert 'transitioning to a custom environment'
This page is currently a static web page in the Yocto project website,
in the docs section. While we are converting the whole YP docs into
its own website, let's convert this file as well.

(From yocto-docs rev: 0985ac0570c63e5ac8c4329155ed77f71f56f069)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
f77ab9bc9c sphinx: convert 'what I wish I'd known'
This page is currently a static web page in the Yocto project website,
in the docs section. While we are converting the whole YP docs into
its own website, let's convert this file as well.

(From yocto-docs rev: 1d4db1f776cdb775f79cd5e2089da01e0d9c43ea)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
e4b904b21c sphinx: conf: include CSS/JS files, the proper way
html_css_files and html_js_files exist since Sphinx 1.8, and it's the
proper (documented) mechanism to include custom CSS and JS files in
the documentation.

(From yocto-docs rev: 4ae9c426654e33fed4185e5d6e0de76b4a430d84)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
2a94fe8d6b sphinx: makefile: add publish target
The 'publish' target prepares the sphinx output, so that it can be
transfered on the YP website.

(From yocto-docs rev: f7a06204ef94f9b71174de5364a62ba04deb709b)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
8fbaa0331c sphinx: conf: a few rendering tweaks
* Remove the 'generated by Sphinx' text on each page
* Add a 'last updated timestamp' on each page
* Remove the trailing 'dot' in TOC numbering

(From yocto-docs rev: 3fa6cf149b3dbbd88b3aa75b6ce1f8bd12817c91)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
b4779cf090 sphinx: fix up terms related to kernel-fitimage
In this commit: 3aeca3b342e5 (ref-manual: Add documentation for
kernel-fitimage), we added a few terms in the glossary, in the docbook
xml file. However there were a few issues in the conversion to sphinx
which needed to be fixed (missed terms, typo, and wrong placement).

(From yocto-docs rev: 968efa8275e30350cead66613d01f491ee61be4d)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Richard Purdie
ad2e3e6146 sphinx: Add support for multiple docs version
Enhance the sphinx experience/nagivation with:

* Remove the pointless looking parts of breadcrumb navigtation
* Add a document type switcher to the breadcrumb navigation
* Add a version selection switch to the breadcrumb navigation

(From yocto-docs rev: 1823624bdb9ea002d44c9e6d0fd4cd662bff36ad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
721edcfd44 sphinx: insert blank below between title and toc
Whenever a TOC follows a title/heading, a blank line is missing. So
let's add it explicitely.

(From yocto-docs rev: 600b6fe7837dd817d32350e1a45431bdcfe8ebbd)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
18a484df63 sphinx: enable intersphinx extension
This extension can generate automatic links to the documentation of
objects in other projects. We will use it to use cross references with
the Bibtake manual, for example.

(From yocto-docs rev: 5add9854b112f93acba982f237fbfa83aee80d77)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Richard Purdie
8f04fc5824 sphinx: manuals: Move boilerplate after toctree
The boilerplate looks better after the ToC, still not quite
right but the boilerplate can be improved from here.

(From yocto-docs rev: 5e81b9c90f6f45acf26ba146e280bc2659ac14e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Richard Purdie
83ebbf63e9 sphinx: history: Move revision history to its own section
The revision history tables look better in their own section,
move them.

(From yocto-docs rev: 27bf0f69b6dc04cea97a023ef52bec2b213d074f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Richard Purdie
fda08f30b1 sphinx: boilerplate.rst: Sphinx puts the copyright elsewhere
Its elsewhere so drop from boilerplate.

(From yocto-docs rev: b974d1193480e6b005e3e66ab809afdda6a89897)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Richard Purdie
27e80a5e00 sphinx: boilerplate.rst: Drop versions notes as we have better navigation now
Now we have better navigation with sphinx, and alert text about old
versions, we can drop the top two bullts. The remaining bits can just
become text.

(From yocto-docs rev: bb963c8c906644148182a1fc441c676f13cdf6ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Richard Purdie
998db0b058 sphinx: releases.rst: Add index/links to docs for previous releases
(From yocto-docs rev: 627f06d19909eff246b08e889068fd1ecddd569b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
4b3766b0db sphinx: setup extlink for docs.yoctoproject.org
(From yocto-docs rev: ec5c86368b90e4fb92295780fb10cf29c66c0fb4)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
f3e7db78ad sphinx: add links to section in the Bitbake manual
Use intersphinx extension to replace links to the Bitbake manual with
proper cross references.

(From yocto-docs rev: 458a6e540a2286ac838812d802306806f77b885c)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
18df4a8368 sphinx: add links to terms in the BitBake glossary
Using the intersphinx extension, we can refer to terms in the Bitbake
manual using :term:`bitbake:FOO`. This patch implements that, mostly
using the following regexp:

  line = re.sub("`+(\w+)`* <(\&YOCTO_DOCS_BB_URL;)?#var(-bb)?-\\1>`__",
                ":term:`bitbake:\\1`",
                line)

And a handful of manual fixup.

(From yocto-docs rev: d2ed9117fffceb756c4a8f3cb6d39363a271d6d9)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
28afbf81ec sphinx: fix links when the link text should be displayed
When an hyperlink should be display in the output, there is no need to
any specific syntax or marker, the parser finds links and mail
addresses in ordinary text. Somehow the conversion from pandoc
generated wrong output in the form: ` <link>`__. This patch is
generated using the following Python regexp:

    line = re.sub("` <(https?://.*)>`__",
                  "\\1",
                  line)

(From yocto-docs rev: a35d735a74425dff34c63c086947624467658c40)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
283ed72d48 sphinx: add links for Yocto project website
In DocBook, variables are used to create custom links (note that it is
not consistent everywhere, since some web addresses are still
hardcoded), such as YOCTO_HOME_URL, YOCTO_GIT_URL, YOCTO_WIKI_URL,
YOCTO_BUGS_URL and YOCTO_DL_URL..

In Sphinx they are replaced with extlinks.

(From yocto-docs rev: d25f3095a9d29a3355581d0743f27b2a423ad580)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Richard Purdie
26c5622bb5 sphinx: Organize top level docs
Clean up the top level docs index to refer to all the manuals
with decent titles/links/layout and match the current website docs
page links.

(From yocto-docs rev: 45138057bf9446dfca7bf1ddef97104df57abe76)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
6a9fd9bd72 sphinx: toaster-manual: add figures
(From yocto-docs rev: 3b976f4b9a4fdcd8116b557a09fd18b69b684582)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
6dec8aab0e sphinx: test-manual: add figures
(From yocto-docs rev: 35f1f1e06f79fd28889f188095156890aa898e17)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
e6c9507240 sphinx: sdk-manual: add figures
(From yocto-docs rev: 33f46470d53790ae986294e1776c5ca23f764976)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
c7ff908b50 sphinx: ref-manual: add figures
(From yocto-docs rev: 22a371230ab38df0558400a85829fb1e508b6e1d)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
49493841b5 sphinx: fix up bold text for informalexample container
With DocBook the 'informalcontainer' include a 'title' which was
rendered as bold with CSS. However when using the Sphinx container
directive to create a custom container, it's just content without
title, so make the title bold.

(From yocto-docs rev: 8947e6b71baa6c9bf06751018bc2b98f8be1b6fd)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
6e4788bb67 sphinx: profile-manual: add figures
(From yocto-docs rev: bfa1c146265d165ddfa1a70488d0f043ec9df2ee)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:34 +01:00
Nicolas Dechesne
ffa58f2985 sphinx: kernel-dev: add figures
(From yocto-docs rev: cd859cca2e6861fbb5bac68c2f6e972285c47dcb)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
0640f19206 sphinx: dev-manual add figures
(From yocto-docs rev: 590ddc11263f00d912d874377199574c123c75b1)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
424567d629 sphinx: manual updates for some links
Some links were not found by the regexp, especially because of they
are spanning across multiple lines. This patch is a manual fixup for
these patterns.

(From yocto-docs rev: 7a5cf8b372903d959d4a1f0882e6198f31f3cba5)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
4bf6fc5281 sphinx: fix custom term links
Some term links have custom 'text', and require manual update, since
they were not caught by the generic Python regexp.

(From yocto-docs rev: 519355ba9daf7630e8d477b2f6f511be51fd8b2e)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
7b87ca796a sphinx: ref-manual: fix typo
The variable name is SSTATE_MIRROR, not STATE_MIRROR, and because of
the typo, it was not caught by the Python regexp.

(From yocto-docs rev: 7347f5343c4995c53da6b9a88a3912453def9669)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
c473fa2292 sphinx: fix internal links
Many of the internal links were not converted probably from DocBook
using pandoc. After looking at the various patterns, the follow series
of 'naive' Python regexp were used to perform some additional
automatic conversion.

Also, since we rely on built-in glossary, all links to terms need to
use the sphinx :term: syntax.

This commit is generated using the following Python series of regexp:

   line = re.sub("`+(\w+)`* <(\&YOCTO_DOCS_REF_URL;)?#var-\\1>`__",
                 ":term:`\\1`",
                 line)

   line = re.sub("`+do_([a-z_]+)`* <(\&YOCTO_DOCS_REF_URL;)?#ref-tasks-\\1>`__",
                 ":ref:`ref-tasks-\\1`",
                 line)

   line = re.sub("`+([a-z_\-\*\.]+).bbclass`* <(\&YOCTO_DOCS_REF_URL;)?#ref-classes-\\1>`__",
                 ":ref:`\\1.bbclass <ref-classes-\\1>`",
                 line)

   line = re.sub("`+([a-z_\-\*\.]+)`* <(\&YOCTO_DOCS_REF_URL;)?#ref-classes-\\1>`__",
                 ":ref:`\\1 <ref-classes-\\1>`",
                 line)

   line = re.sub("`Source Directory <(\&YOCTO_DOCS_REF_URL;)?#source-directory>`__",
                 ":term:`Source Directory`",
                 line)

   line = re.sub("`Build Directory <(\&YOCTO_DOCS_REF_URL;)?#build-directory>`__",
                 ":term:`Build Directory`",
                 line)

   line = re.sub("`Metadata <(\&YOCTO_DOCS_REF_URL;)?#metadata>`__",
                 ":term:`Metadata`",
                 line)

   line = re.sub("`BitBake <(\&YOCTO_DOCS_REF_URL;)?#bitbake-term>`__",
                 ":term:`BitBake`",
                 line)

   line = re.sub("`Images <(\&YOCTO_DOCS_REF_URL;)?#ref-images>`__",
                 ":ref:`ref-manual/ref-images:Images`",
                 line)

   line = re.sub("`Classes <(\&YOCTO_DOCS_REF_URL;)?#ref-classes>`__",
                 ":ref:`ref-manual/ref-classes:Classes`",
                 line)

   line = re.sub("`workspace <(\&YOCTO_DOCS_REF_URL;)?#devtool-the-workspace-layer-structure>`__",
                 ":ref:`devtool-the-workspace-layer-structure`",
                 line)

   line = re.sub("`Open-?Embedded b?B?uild s?S?ystem <(\&YOCTO_DOCS_REF_URL;)?#build-system-term>`__",
                 ":term:`OpenEmbedded Build System`",
                 line)

   line = re.sub("`(OpenEmbedded-Core )?(\(?OE-Core\)? )?<(\&YOCTO_DOCS_REF_URL;)?#oe-core>`__",
                 ":term:`OpenEmbedded-Core (OE-Core)`",
                 line)

It won't catch multiline strings, but it catches a very large number
of occurences!

(From yocto-docs rev: 3f537d17de5b1fb76ba3bee196481984a4826378)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
4cd953989d sphinx: ref-manual: use builtin glossary for the Terms section
Using the builting glossary is well suited for the Yocto Project
'terms' section. Conveniently, all terms will also be added in the
global index.

While converting this to a glossary, also fixed up some content which
was not properly converted by pandoc (such as codeblock sections, or
references in between terms).

(From yocto-docs rev: fce1d16eac1a92f3c6b7bfc74600197b5cb668a2)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
303f1a9ef7 sphinx: conf.py: enable sphinx.ext.autosectionlabel
This extension generates the labels for each section, so that we can
reference section by their title.

(From yocto-docs rev: 910bdad33819116f00fd4f849dcf7484fbebb465)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
a9577eadae sphinx: add a general index
This index is automatically generated by Sphinx, and all terms from
the glossary are listed. It seems very convenient for the Yocto
Project documentation.

The implementation with an 'almost' empty file is tricky. It was
borrowed from:
https://stackoverflow.com/questions/40556423/how-can-i-link-the-generated-index-page-in-readthedocs-navigation-bar

(From yocto-docs rev: 8af595c464b58cf46df7ef067832db5c841e9202)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
17f1c2ce04 sphinx: ref-manual: add revision history table
(From yocto-docs rev: 36d1073119081b9c364f48aedf4086881bef03d6)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
461e2e843d sphinx: add boilerplate to manuals
(From yocto-docs rev: d552acdc60c8a0467b649b95183b87b3345a4f8c)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
54d38a91e1 sphinx: add boilerplate file
A certain amount of boilerplate is added at the beginning of all
documents. In DocBook this is copy/pasted in each file. Let's create a
boilerplate ReST file, which we will include in each document,
wherever it's required.

(From yocto-docs rev: 37e0d5f246c614e62a7c0d4d72a5d6ce9ec5325e)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
44e8d439aa sphinx: conf: add substitutions/global variables
The Yocto Project documentation makes heavy use of 'global'
variables. In Docbook these 'variables' are stored in the file
poky.ent. This Docbook feature is not handled automatically with
Pandoc. Sphinx has builtin support for substitutions however they are
local to each reST file by default. They can be made global by using
rst_prolog:

 rst_prolog
    A string of reStructuredText that will be included at the
    beginning of every source file that is read.

However Sphinx substitution feature has several important limitations. For
example, substitution does not work in code-block section.

yocto-vars.py is an extension that processes .rst file to find and
replace 'variables'. This plugin will do variables substitutions
whenever a rst file is read, so it happens before sphinx parses the
content.

All variables are set in poky.yaml. It's a simple YAML file with pairs
of variable/value, and the file is parsed once during setup. It's
important to note that variables can reference other
variables. poky.yaml was generated by converting poky.ent into a YAML
format.

To use a variable in the Yocto Project .rst files, make sure it is
defined in poky.yaml, and then you can use : &DISTRO_NAME;

For external links, Sphinx has a specific extension called extlinks,
let's use it instead of variable substituions. Note that we
intentionnally did not put the trailing '/' in the URL, this is to
allow us to use :yocto_git:`/` trick to get the actual URL displayed
in the HTML.

(From yocto-docs rev: dc5f53fae8fdfdda04285869dd1419107b920bfe)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
18786fbffe sphinx: conf: update copyright
(From yocto-docs rev: 9a5c74f73f2f00d8dbd3bc4f72973f9e2913b316)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
fd71ce03e9 sphinx: add Yocto project logo
(From yocto-docs rev: 125c70b04a28bf095ed1cd8273ebdc7d1d0b5cfd)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
87f3435b39 sphinx: bsp-guide: add figures
(From yocto-docs rev: 5341150c11270633fdb1428a59a3b7bd72123e7f)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
2c3298d72e sphinx: add CSS theme override
It is possible to override CSS settings from the theme, by providing
custom snippets of CSS stylesheet. Support for that is added in
conf.py file.

The following changes are made:
* remove the overall text width which (set to 800px by default)
* improve the visual output, and colors of links and admonition

(From yocto-docs rev: 0c1e108bc6c452f7cc8c665bee984bd7da281666)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
7ea70a656b sphinx: Add SPDX license headers
SPDX headers have been added to each file, and match the headers used
in the DocBook files.

(From yocto-docs rev: 79dbb0007ae24da4a3689a23e921f2a2638757f7)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
6c445d85f0 sphinx: switch to readthedocs theme
To install this additional theme:
pip3 install sphinx_rtd_theme

(From yocto-docs rev: 9121dbd0a457451d7f7cdffe8fa2717d5e5959ec)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
afde290655 sphinx: overview-manual: add figures
The automatic conversion with pandoc skipped the figures. Add them
manually.

(From yocto-docs rev: 1c2d071b7963490e8126a0b81792bda7a7c0bc8c)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
0b84b3dd76 sphinx: ref-variables: use builtin sphinx glossary
Sphinx has a glossary directive. From the documentation:
This directive must contain a reST definition list with terms and
definitions. The definitions will then be referencable with the 'term'
role.

So anywhere in *any* manual, we can do :term:`VAR` to refer to an item
from the glossary, and create a link.

An HTML anchor is created for each term in the glossary, and can be
accessed as:
<link>/ref-variables.html#term-<NAME>

To convert to a glossary, we needed proper indentation (e.g. added 3
spaces to each line)

(From yocto-docs rev: af16cc4233ae9672698cf2fbb7bf0a78e461122e)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
9bd69b1f1d sphinx: initial sphinx support
This commit is autogenerated pandoc to generate an inital set
of reST files based on DocBook XML files.

A .rst file is generated for each .xml files in all manuals with this
command:

cd <manual>
for i in *.xml; do \
  pandoc -f docbook -t rst --shift-heading-level-by=-1 \
  $i -o $(basename $i .xml).rst \
done

The conversion was done with: pandoc 2.9.2.1-91 (Arch Linux).

Also created an initial top level index file for each document, and
added all 'books' to the top leve index.rst file.

The YP manuals layout is organized as:

Book
  Chapter
    Section
      Section
        Section

Sphinx uses section headers to create the document structure.
ReStructuredText defines sections headers like that:

   To break longer text up into sections, you use section headers. These
   are a single line of text (one or more words) with adornment: an
   underline alone, or an underline and an overline together, in dashes
   "-----", equals "======", tildes "~~~~~~" or any of the
   non-alphanumeric characters = - ` : ' " ~ ^ _ * + # < > that you feel
   comfortable with. An underline-only adornment is distinct from an
   overline-and-underline adornment using the same character. The
   underline/overline must be at least as long as the title text. Be
   consistent, since all sections marked with the same adornment style
   are deemed to be at the same level:

Let's define the following convention when converting from Docbook:

Book                => overline ===   (Title)
  Chapter           => overline ***   (1.)
    Section         => ====           (1.1)
      Section       => ----           (1.1.1)
        Section     => ~~~~           (1.1.1.1)
          Section   => ^^^^           (1.1.1.1.1)

During the conversion with pandoc, we used --shift-heading-level=-1 to
convert most of DocBook headings automatically. However with this
setting, the Chapter header was removed, so I added it back
manually. Without this setting all headings were off by one, which was
more difficult to manually fix.

At least with this change, we now have the same TOC with Sphinx and
DocBook.

(From yocto-docs rev: 3c73d64a476d4423ee4c6808c685fa94d88d7df8)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:33 +01:00
Nicolas Dechesne
c40a8d5904 sphinx: add initial build infrastructure
Used sphinx-quickstart to generate top level config and
Makefile.sphinx, to allow side by side DocBook and Sphinx
co-existence.

(From yocto-docs rev: 01dd5af7954e24552aca022917669b27bb0541ed)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 10:09:32 +01:00
Martin Jansa
a32ddf91bc 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)

(From OE-Core rev: 57aa60ef6422568b425b6ccc4451567efc578469)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:46 +01:00
Steve Sakoman
a288b331f2 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.

[1] https://git.openembedded.org/openembedded-core/commit/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc?id=2d005faff6341a81a2afae28860101ba9db51ae8
[2] https://www.yoctoproject.org/pipermail/yocto/2018-December/043487.html

(From OE-Core rev: d3b2302bcc1594e663183134793cf4aca8f4df41)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:46 +01:00
Stacy Gaikovaia
14ccd72b3f valgrind: fix memcheck vgtests remove fullpath-after flags
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.

See commit c80f32e662dfa2a4f046960a25d5b8b7a8821bea in
valgrind for more information about changes to the
arguments that test badfree3 and varinfo5 run with.

There is also a minor fix to add the missing overloading.pm
perl package and put the dependencies in alphabetic order.

(From OE-Core rev: 9c82b9302c6ee84864e9a9cc870729395804e794)

Signed-off-by: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:46 +01:00
Ross Burton
4064756e20 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.

(From OE-Core rev: 18ca377df98e53b84ae8ec9ba561392c776c10df)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:46 +01:00
Mingli Yu
d393196485 bison: remove the parallel build patch
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).

(From OE-Core rev: 00c7aacf84d094706ed3378a265189d2d6816cfd)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:46 +01:00
Peter Bergin
812c2dbabf 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.

(From OE-Core rev: c65eb4c38b61509ad38da19b986e0f06923f0cea)

Signed-off-by: Peter Bergin <peter@berginkonsult.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Martin Jansa
70aeecf62d *-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)

(From OE-Core rev: 431a7dfc6c1c86ead3e636d42e2bf1f1f906588c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Martin Jansa
a00ca02fbd kernel.bbclass: use camelCase notation for bash variables in do_deploy
* to match other variables there like deployDir imageType

[YOCTO #12937]

(From OE-Core rev: 13c5d1b686255d385d200cbd06b7000080809fc7)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Martin Jansa
d1f5f2391e kernel.bbclass: eliminate (initramfs_)symlink_name variables
* they are used only once, we can use the value directly
* notice that .bin extension isn't part of the variable values

[YOCTO #12937]

(From OE-Core rev: 22874b43de45e86418f683eb9d4394d7a8a08033)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Martin Jansa
89c123119b kernel.bbclass: use bash variables like imageType, base_name without {}
* just to make sure it looks like bash variable not bitbake variable in
  run.do_* scripts

[YOCTO #12937]

(From OE-Core rev: 9a16dc2ac3d5e8ea95a575c377d3ad1602c1db12)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Martin Jansa
43f1cf2d3d image-artifact-names: introduce new bbclass and move some variables into it
* similar to kernel-artifact-names for other recipes/bbclasses which
  need to use some deployed artifacts

* bitbake.conf: move IMAGE_BASENAME, IMAGE_VERSION_SUFFIX, IMAGE_NAME,
  IMAGE_LINK_NAME variables

* image_types.bbclass: move IMAGE_NAME_SUFFIX variable

* 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
  4980ce52a4/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:

  commit 380ee36811939d947024bf78de907e3c071b834f
  Author: Patrick Ohly <patrick.ohly@intel.com>
  Date:   Mon Mar 7 18:07:52 2016 +0100

    image creation: allow overriding .rootfs suffix

  and might not match with hardcoded .rootfs, so make it easier to
  use IMAGE_NAME_SUFFIX where needed even without inheritting whole
  image_types.bbclass

[YOCTO #12937]

(From OE-Core rev: 456b700d51a5052a285a8477304f902c335223be)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Mingli Yu
565d243a1d qemu: override DEBUG_BUILD
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

[1]: https://lists.nongnu.org/archive/html/qemu-devel/2020-09/msg03873.html

(From OE-Core rev: 2d6a15cfb12e72ae3d38f6ecf8c6c2e356e0fda8)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Andrey Zhizhikin
e08adbd180 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.

(From OE-Core rev: 24b5ccc76d5660fac38ac5346666380a0ecce359)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Ross Burton
c433641a05 sato-screenshot: improve .la removal
Don't assume that the .la files are installed, because some libtool
alternatives don't install these.

(From OE-Core rev: e545ae3a7961111ceb4e2a468e9ec53cebfed721)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Ross Burton
c0352a48d6 alsa-plugins: improve .la removal
Don't assume that the .la files are installed, because some libtool
alternatives don't install these.

(From OE-Core rev: e92b24368b71e4b178f81097b2a8d141c3b65481)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Richard Purdie
908a42c11d Revert "core-image-sato: qemumips use 512 mem"
This reverts commit 45da2fc4f7.

qemumips is unstable with more than 256MB memory, the original issue
this limit was added for remains.

We'll have to find other solutions to the systemd out of memory issues.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Richard Purdie
698127e1ab Revert "qemu: always define unknown_lock_type"
This reverts commit e442924d9a.

This was rejected upstream and its been pointed out qemu doesn't work
without optimization.

Instead we should just error if the user attempts to build it without
optimization.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-17 09:47:45 +01:00
Nicolas Dechesne
3c1f1b9913 bitbake: bitbake-user-manual: fix bad links
The link errors were found with linkcheck command:

(line 1958) broken    https://docs.python.org/3/library/re.html#re - Anchor 're' not found
(line  713) broken    http://docs.python.org/3/library/re.html#re - Anchor 're' not found

(Bitbake rev: 29081375659e3dcf1c578cd98ab2c8a2e9f07ca8)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:20:43 +01:00
Richard Purdie
9236e24105 bitbake: sphinx: theme_override: Use bold for emphasis text
This more closely matches the original docbook style and is appropriate
given the way the manual uses this element.

(Bitbake rev: a0f37789493aeb1cd5e82c17459bfa4cf6c0ecd6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Nicolas Dechesne
4369b5986e bitbake: sphinx: theme_override: properly set font for verbatim text
The 'verbatim' text was rendered with Courier font in DocBook
(e.g. when using the <filename> tag). With DocBook we are using the
``FOO`` notation which ends up in a <pre> class in the HTML
output. Configure the theme CSS to use Courier, to preserve the look
and feel of the original docs.

(Bitbake rev: cbc5ca48c7e79c47f055a47f8f9aa480490dd00f)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Nicolas Dechesne
c6225653e0 bitbake: sphinx: remove leading '/'
When switching back and forth between between regular and mega manual
an extra '/' keeps being added to the URL.

Reported-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
(Bitbake rev: 08b1ae2350694e22883e07605a28a10c05f62cda)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Nicolas Dechesne
277e99f7c6 bitbake: sphinx: update style for important, caution and warnings
The initial theme override covers for tip and and note only.

(Bitbake rev: 99ba6fe98b9c7c4dbe70dce63c478c167c10d91a)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Nicolas Dechesne
e3b76c8fc3 bitbake: sphinx: last manual round of fixes/improvements
Review all pages, and fix up for formatting which was not covered by
pandoc, such as some links and code block sections.

(Bitbake rev: d99760cc687cc9c24d6d9a1c49fa094574476e0c)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Nicolas Dechesne
4324c6e071 bitbake: sphinx: bitbake-user-manual: insert additional blank line after title
(Bitbake rev: 4f94633a68fd44223d6be458fc0d3616dfdfd1a7)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Nicolas Dechesne
fdcda8d2b8 bitbake: sphinx: add releases page
This page has a list of all the previously released Bitbake user manual.

(Bitbake rev: 63adcaa527b931f4a9494729b26e40ddef8d3695)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Nicolas Dechesne
28a7aa73db bitbake: sphinx: conf: enable extlinks extension
(Bitbake rev: 3e940d93c7513413a93a910122b1dd82870044b1)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Nicolas Dechesne
9264c71bfc bitbake: sphinx: index: move the boilerplate at the end of the page
(Bitbake rev: 9921c652340c1a3c06572603b2251a7ddea54b85)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Nicolas Dechesne
7419e83f3c bitbake: sphinx: add SPDX headers
(Bitbake rev: 4e461224c1825ebba6024fb8d962e726598da153)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Richard Purdie
caf24e8ddd bitbake: sphinx: Enhance the sphinx experience/nagivation with:
* Remove the pointless looking parts of breadcrumb navigtation
* Add a document type switcher to the breadcrumb navigation
* Add a version selection switch to the breadcrumb navigation

(Bitbake rev: cb19159cf8972713a2063387849804c5cea72d24)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Nicolas Dechesne
390fc75bd6 bitbake: sphinx: tweak html output a bit
* Remove the 'generated by Sphinx' text on each page
* Add a 'last updated timestamp' on each page
* Remove the trailing 'dot' in TOC numbering

(Bitbake rev: 10a54678bf7a119e91df8160b0f43384181d636d)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:08 +01:00
Nicolas Dechesne
67b5e54d01 bitbake: sphinx: Makefile.sphinx: add clean and publish targets
(Bitbake rev: 219b2348f51a02b102cd1c34c87f279c83ae4908)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:07 +01:00
Nicolas Dechesne
9dfd6e1aa1 bitbake: sphinx: fixes all remaining warnings
This patch fixes a handful of remaining warnings reported by Sphinx.

(Bitbake rev: 35fdc18549607e195d424f554e8d4b74e87fd245)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:07 +01:00
Nicolas Dechesne
b232a4b504 bitbake: sphinx: fix links inside notes
For some notes with links, the links were lost during the pandoc
conversion.

(Bitbake rev: e11d2dd1adbcb35b45d6d0f3a47f8d06caab0b49)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:07 +01:00
Nicolas Dechesne
2df3190f13 bitbake: sphinx: fixup for links
Since we converted the list of variables into a Sphinx glossary, the
automatic conversion from Pandoc does not produce proper links. We fix
them up using a Python regexp.

Similarly some http links were not converted correctly, and can also
be fixed up with a regexp.

This patch was generated by running the following regexp:

     line = re.sub("` <(https?://.*)>`__",
                   "\\1",
                   line)

     line = re.sub("`+(\w+)`* <#var-bb-\\1>`__",
                   ":term:`\\1`",
                   line)

(Bitbake rev: 57300955beb200c81762880f44f1a499451b7432)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:07 +01:00
Nicolas Dechesne
623ea7f3fe bitbake: sphinx: override theme CSS
It is possible to override CSS settings from the theme, by providing
custom snippets of CSS stylesheet. Support for that is added in
conf.py file.

Most of the CSS customization is inherited from the DocBook CSS style.

(Bitbake rev: fa304c0129538d7a0b7a3922cd1fde2e242d6cab)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:07 +01:00
Nicolas Dechesne
b744f69750 bitbake: sphinx: switch to readthedocs theme
To install this additional theme:
pip3 install sphinx_rtd_theme

(Bitbake rev: 29af1cd2a4f379096f5dd6f4cacc0a9c9f211e7c)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:07 +01:00
Nicolas Dechesne
03cb207053 bitbake: sphinx: bitbake-user-manual: use builtin sphinx glossary
Sphinx has a glossary directive. From the documentation:
This directive must contain a reST definition list with terms and
definitions. The definitions will then be referencable with the 'term'
role.

So anywhere in *any* manual, we can do :term:`VAR` to refer to an item
from the glossary, and create a link.

An HTML anchor is created for each term in the glossary, and can be
accessed as:
<link>/ref-variables.html#term-<NAME>

To convert to a glossary, we needed proper indentation (e.g. added 3
spaces to each line)

(Bitbake rev: e8359fd85ce0358019e2a32b4c47ba76613f48f0)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:07 +01:00
Nicolas Dechesne
080f80d912 bitbake: sphinx: initial sphinx support
This commit is autogenerated pandoc to generate an inital set
of reST files based on DocBook XML files.

A .rst file is generated for each .xml files in all manuals with this
command:

cd <manual>
for i in *.xml; do \
  pandoc -f docbook -t rst --shift-heading-level-by=-1 \
  $i -o $(basename $i .xml).rst \
done

The conversion was done with: pandoc 2.9.2.1-91 (Arch Linux).

Also created an initial top level index file for each document, and
added all 'books' to the top leve index.rst file.

The YP manuals layout is organized as:

Book
  Chapter
    Section
      Section
        Section

Sphinx uses section headers to create the document structure.
ReStructuredText defines sections headers like that:

   To break longer text up into sections, you use section headers. These
   are a single line of text (one or more words) with adornment: an
   underline alone, or an underline and an overline together, in dashes
   "-----", equals "======", tildes "~~~~~~" or any of the
   non-alphanumeric characters = - ` : ' " ~ ^ _ * + # < > that you feel
   comfortable with. An underline-only adornment is distinct from an
   overline-and-underline adornment using the same character. The
   underline/overline must be at least as long as the title text. Be
   consistent, since all sections marked with the same adornment style
   are deemed to be at the same level:

Let's define the following convention when converting from Docbook:

Book                => overline ===   (Title)
  Chapter           => overline ***   (1.)
    Section         => ====           (1.1)
      Section       => ----           (1.1.1)
        Section     => ~~~~           (1.1.1.1)
          Section   => ^^^^           (1.1.1.1.1)

During the conversion with pandoc, we used --shift-heading-level=-1 to
convert most of DocBook headings automatically. However with this
setting, the Chapter header was removed, so I added it back
manually. Without this setting all headings were off by one, which was
more difficult to manually fix.

At least with this change, we now have the same TOC with Sphinx and
DocBook.

(Bitbake rev: 6bf6c8d63787aed7624793c24af3fa603b5ac961)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:07 +01:00
Nicolas Dechesne
69ed72025a bitbake: sphinx: add initial build infrastructure
Used sphinx-quickstart to generate top level config and
Makefile.sphinx, to allow side by side DocBook and Sphinx
co-existence.

(Bitbake rev: 84ccba0f4aff91528f764523fe1205a354c889ed)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-16 18:14:07 +01:00
Joshua Watt
42bbf1451a bitbake: cooker: Block SIGINT in worker processes
Blocks SIGINT in the worker processes to prevent them from running the
parent process signal handler, which causes them to deadlock under
certain circumstances.

[YOCTO #14034]

(Bitbake rev: 9f4207f4b598f549cbd4159841c720276736f23b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:49 +01:00
Richard Purdie
fd924e293f bitbake: tests/fetch: Move away from problematic freedesktop.org urls
We're either hitting rate limiting with freedesktop.org or the
servers have intermittent network connections. Use our own mirror
of these repositories instead.

(Bitbake rev: a1b7ab5c9d5e64969f5ca0e41c0ac13c723e3761)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:49 +01:00
Jens Rehsack
0b7927067c lttng-modules: backport patches from 2.12.x to fix 5.4.64+ and 5.8.9+ builds
Backporting the 10 patches since the lttng 2.12.2 release. We'll drop
them once .3 is released, but for now, we need the fixes to build
against the latest 5.4, 5.8 and 5.9 kernels.

We also bump the devupstream SRCREV to pickup the same changes.

(From OE-Core rev: 62c87d1a68c4f7c8f30c3c5330dcda9cbcbbbaa7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Bruce Ashfield
e846c28b46 linux-yocto/5.4: update to v5.4.65
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    6c3d34dea2fc Linux 5.4.65
    ddb279d64b72 net: disable netpoll on fresh napis
    09c45065257b tipc: fix shutdown() of connectionless socket
    b95eb482c288 taprio: Fix using wrong queues in gate mask
    20f8c874789a sctp: not disable bh in the whole sctp_get_port_local()
    8b61bb0b2d57 net: usb: dm9601: Add USB ID of Keenetic Plus DSL
    346fefa82325 netlabel: fix problems with mapping removal
    3f73dbf94f8f ipv6: Fix sysctl max for fib_multipath_hash_policy
    263e463358d3 ipv4: Silence suspicious RCU usage warning

(From OE-Core rev: e2cb6e8b433614a8512739ea5583914d9ef978fc)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Bruce Ashfield
d2f41a42ec linux-yocto/5.8: update to v5.8.9
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    f82f36b2fb1d Linux 5.8.9
    cdba995d2f19 mptcp: free acked data before waiting for more memory
    655e1af6aecd net: disable netpoll on fresh napis
    6f0e276cda3e tipc: fix using smp_processor_id() in preemptible
    aae250a26893 tipc: fix shutdown() of connectionless socket
    44c3fca3de64 taprio: Fix using wrong queues in gate mask
    db16256c95ac sctp: not disable bh in the whole sctp_get_port_local()
    05a8237c08f0 net: usb: dm9601: Add USB ID of Keenetic Plus DSL
    6540bd18bf2f netlabel: fix problems with mapping removal
    089097476c4c ipv6: Fix sysctl max for fib_multipath_hash_policy
    d68c3397de48 ipv4: Silence suspicious RCU usage warning
    bd15d2192261 RDMA/cma: Execute rdma_cm destruction from a handler properly
    d4794085738d RDMA/cma: Remove unneeded locking for req paths
    c2064ac30331 RDMA/cma: Using the standard locking pattern when delivering the removal event
    5a0c4cbd099b RDMA/cma: Simplify DEVICE_REMOVAL for internal_id
    87d8175e9c3d io_uring: fix linked deferred ->files cancellation
    f5fea75f4ea4 io_uring: fix cancel of deferred reqs with ->files

(From OE-Core rev: 3961a70464f5e628081ef5d7ea8934c0be4ecfd9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Bruce Ashfield
3392372e0f linux-yocto/config: configuration warning cleanup
Integrating the following commit(s) to linux-yocto/.:

    7d52eb95f6d ti-am335x: Clean up useless and badly formatted fragments
    5fd04e4da78 features/nf_tables: remove duplicate entry

(From OE-Core rev: 0979d3d8b9417eea28a2bbb56f83b1ea2fbf5ac5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Bruce Ashfield
868c8562af linux-yocto/5.4: update to v5.4.64
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    6ffabce36fc8 Linux 5.4.64
    beaf13ed8e97 net: usb: Fix uninit-was-stored issue in asix_read_phy_addr()
    58c3e86d42d2 cfg80211: regulatory: reject invalid hints
    08eeec445297 mm/khugepaged.c: fix khugepaged's request size in collapse_file
    af7786b20c71 mm/hugetlb: fix a race between hugetlb sysctl handlers
    f2cd86225c89 checkpatch: fix the usage of capture group ( ... )
    59ac5bfa82bc sdhci: tegra: Add missing TMCLK for data timeout
    e915b3b63dfd perf record: Correct the help info of option "--no-bpf-event"
    894a6f0be372 vfio/pci: Fix SR-IOV VF handling with MMIO blocking
    f4fa8d937edf mm: madvise: fix vma user-after-free
    87fb7b0c5266 mm: slub: fix conversion of freelist_corrupted()
    291144f1114d dm thin metadata: Fix use-after-free in dm_bm_set_read_only
    cfe85a4a8552 dm thin metadata: Avoid returning cmd->bm wild pointer on error
    392a6afcbf19 dm cache metadata: Avoid returning cmd->bm wild pointer on error
    9dd74db0bfd1 dm crypt: Initialize crypto wait structures
    e6ddb1d45c51 dm integrity: fix error reporting in bitmap mode after creation
    b30f628beec9 dm mpath: fix racey management of PG initialization
    226fb99eb59d dm writecache: handle DAX to partitions on persistent memory correctly
    6fb192c06a14 drm/amd/pm: avoid false alarm due to confusing softwareshutdowntemp setting
    f84804af09c7 dmaengine: dw-edma: Fix scatter-gather address calculation
    9f4ab0172e6c blk-iocost: ioc_pd_free() shouldn't assume irq disabled
    f7880745e91b libata: implement ATA_HORKAGE_MAX_TRIM_128M and apply to Sandisks
    5f5f27228195 block: ensure bdi->io_pages is always initialized
    84c041c12442 block: allow for_each_bvec to support zero len bvec
    b6e4827c04b0 affs: fix basic permission bits to actually work
    2d89e44dc932 media: rc: uevent sysfs file races with rc_unregister_device()
    5925179bbc64 media: rc: do not access device via sysfs after rc_unregister_device()
    3d77c12f3040 mmc: sdhci-pci: Fix SDHCI_RESET_ALL for CQHCI for Intel GLK-based controllers
    ed48704c36a8 mmc: cqhci: Add cqhci_deactivate()
    a69047c01eb4 mmc: dt-bindings: Add resets/reset-names for Mediatek MMC bindings
    5876ee035ba6 mmc: mediatek: add optional module reset property
    2816ccd07145 arm64: dts: mt7622: add reset node for mmc device
    d074d9d52fe0 ALSA: hda/realtek - Improved routing for Thinkpad X1 7th/8th Gen
    7de2f56ef51a ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion NT950XCJ-X716A
    a253fe35666d ALSA; firewire-tascam: exclude Tascam FE-8 from detection
    982505615063 ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO
    cebaed033037 ALSA: firewire-digi00x: exclude Avid Adrenaline from detection
    4fa06a43bf9f ALSA: hda/hdmi: always check pin power status in i915 pin fixup
    2ebb83a259a8 ALSA: pcm: oss: Remove superfluous WARN_ON() for mulaw sanity check
    79124b1b912c ALSA: usb-audio: Add implicit feedback quirk for UR22C
    a3b94af5117b ALSA: ca0106: fix error code handling
    156dd7c73a9b Revert "ALSA: hda: Add support for Loongson 7A1000 controller"
    62db427bf8ca Revert "net: dsa: microchip: set the correct number of ports"
    4254a4f7988c btrfs: fix potential deadlock in the search ioctl
    de53545e8d4c net: core: use listified Rx for GRO_NORMAL in napi_gro_receive()
    df0c47585cea btrfs: tree-checker: fix the error message for transid error
    650275310f3b btrfs: set the lockdep class for log tree extent buffers
    7e0ffb0d9d9f btrfs: set the correct lockdep class for new nodes
    c37cc199da2b btrfs: allocate scrub workqueues outside of locks
    eb29635ba68a btrfs: drop path before adding new uuid tree entry
    20b591fd00c0 ARC: perf: don't bail setup if pct irq missing in device-tree
    ce690fa1d5d0 xfs: don't update mtime on COW faults
    12cd8fccc9ed ext2: don't update mtime on COW faults
    cc6c4d81d6ad tracing/kprobes, x86/ptrace: Fix regs argument order for i386
    036a857bb57d iommu/vt-d: Handle 36bit addressing for x86-32
    8f747b0149c5 vfio-pci: Invalidate mmaps and block MMIO access on disabled memory
    b0f5096b281a vfio-pci: Fault mmaps to enable vma tracking
    270c35d0723a vfio/type1: Support faulting PFNMAP vmas
    5629bb21ce20 include/linux/log2.h: add missing () around n in roundup_pow_of_two()
    bc846b58fe5c net/packet: fix overflow in tpacket_rcv
    e3d109c3484e iommu/amd: Restore IRTE.RemapEn bit after programming IRTE
    7ce6bc1b549e thermal: qcom-spmi-temp-alarm: Don't suppress negative temp
    f5b3bd38ae91 thermal: ti-soc-thermal: Fix bogus thermal shutdowns for omap4430
    0c21f1bcafc1 iommu/vt-d: Serialize IOMMU GCMD register modifications
    920d9ffcd481 x86, fakenuma: Fix invalid starting node ID
    1a7e03867a37 tg3: Fix soft lockup when tg3_reset_task() fails.
    b0c40f8a7a0e perf jevents: Fix suspicious code in fixregex()
    6c4ad5444a26 xfs: fix xfs_bmap_validate_extent_raw when checking attr fork of rt files
    58591dd6afda MIPS: add missing MSACSR and upper MSA initialization
    612e2b7ec962 net: gemini: Fix another missing clk_disable_unprepare() in probe
    88405cf0f2bd fix regression in "epoll: Keep a reference on files added to the check list"
    901d22c6b6dc net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init()
    8e2660c834e3 perf tools: Correct SNOOPX field offset
    37f0a08a3a83 cxgb4: fix thermal zone device registration
    50d284778427 nvme: fix controller instance leak
    f4b830c61b5b nvmet-fc: Fix a missed _irqsave version of spin_lock in 'nvmet_fc_fod_op_done()'
    9ff9f74ed462 netfilter: nfnetlink: nfnetlink_unicast() reports EAGAIN instead of ENOBUFS
    498575898ec4 net: dsa: mt7530: fix advertising unsupported 1000baseT_Half
    c4a427b71cd7 selftests/bpf: Fix massive output from test_maps
    e0a1bebc332d media: cedrus: Add missing v4l2_ctrl_request_hdl_put()
    3fe12f4be001 media: vicodec: add missing v4l2_ctrl_request_hdl_put()
    f28f3cffff27 bnxt: don't enable NAPI until rings are ready
    da7a1676d6c1 xfs: fix boundary test in xfs_attr_shortform_verify
    8227199ceafd bnxt_en: fix HWRM error when querying VF temperature
    927a7629bedd bnxt_en: Fix possible crash in bnxt_fw_reset_task().
    70699d3cc77c bnxt_en: Fix PCI AER error recovery flow
    87547923b6c6 bnxt_en: Check for zero dir entries in NVRAM.
    e7cbba4db7da bnxt_en: Don't query FW when netif_running() is false.
    c11510bb8898 net: ethernet: ti: cpsw: fix clean up of vlan mc entries for host port
    0bd92cdc04e6 gtp: add GTPA_LINK info to msg sent to userspace
    24249fab08c6 dmaengine: pl330: Fix burst length if burst size is smaller than bus width
    719f92de3fff net: arc_emac: Fix memleak in arc_mdio_probe
    268fe5a4c040 ravb: Fixed to be able to unload modules
    8123fa897e65 net: systemport: Fix memleak in bcm_sysport_probe
    a49c0aebf9c4 net: hns: Fix memleak in hns_nic_dev_probe
    210b889fd8ef netfilter: nf_tables: fix destination register zeroing
    576fbd4902fb netfilter: nf_tables: incorrect enum nft_list_attributes definition
    929d07feb94f netfilter: nf_tables: add NFTA_SET_USERDATA if not null
    fb1e97674aa8 mmc: sdhci-acpi: Fix HS400 tuning for AMDI0040
    da8e3e507d2f MIPS: BMIPS: Also call bmips_cpu_setup() for secondary cores
    c5e9e36fc2f8 MIPS: mm: BMIPS5000 has inclusive physical caches
    5f7798f05311 rxrpc: Make rxrpc_kernel_get_srtt() indicate validity
    43cf7e7dfa7b rxrpc: Keep the ACK serial in a var in rxrpc_input_ack()
    242a7ab0ac52 dmaengine: at_hdmac: check return value of of_find_device_by_node() in at_dma_xlate()
    2f2786bb9d40 batman-adv: bla: use netif_rx_ni when not in interrupt context
    fd8b3ef644a4 batman-adv: Fix own OGM check in aggregated OGMs
    2344f2f186fd batman-adv: Avoid uninitialized chaddr when handling DHCP
    89cb604c4226 dmaengine: of-dma: Fix of_dma_router_xlate's of_dma_xlate handling
    1a89606baf31 fsldma: fix very broken 32-bit ppc ioread64 functionality
    6eb88c42dcc9 xen/xenbus: Fix granting of vmalloc'd memory
    0878655a9880 drm/amd/display: Fix memleak in amdgpu_dm_mode_config_init
    b014f2846e6f drm/amd/display: Retry AUX write when fail occurs
    9947928e619a drivers: gpu: amd: Initialize amdgpu_dm_backlight_caps object to 0 in amdgpu_dm_update_backlight_caps
    79d31527dfc3 drm/amd/display: Reject overlay plane configurations in multi-display scenarios
    29bade8e2fc9 s390: don't trace preemption in percpu macros
    c756635246e9 nbd: restore default timeout when setting it to zero
    c1e333e7b8da cpuidle: Fixup IRQ state
    ad3a4efc8c56 drm/omap: fix incorrect lock state
    0a8dcad24424 ceph: don't allow setlease on cephfs
    755fd63ae163 drm/msm/a6xx: fix gmu start on newer firmware
    7a55cf8a20c7 habanalabs: check correct vmalloc return code
    c9436de020a4 habanalabs: validate FW file size
    dddd5003c707 drm/msm: enable vblank during atomic commits
    2c9bc7d9600c nvmet: Disable keep-alive timer when kato is cleared to 0h
    e94a3d76305b hwmon: (applesmc) check status earlier.
    19583b280801 drm/msm: add shutdown support for display platform_driver
    8bc25dea70fe tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup
    28ffe70a2e33 drm/msm/dpu: Fix scale params in plane validation
    b2fc347e2126 HID: quirks: Always poll three more Lenovo PixArt mice
    e32f4fa1b24d Linux 5.4.63
    5153710a5ecc scsi: target: tcmu: Optimize use of flush_dcache_page
    bb9949fdfddd scsi: target: tcmu: Fix size in calls to tcmu_flush_dcache_range
    6d2e274f60fc sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra186
    0176db2f2ad5 sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra210
    eda97e9d90db arm64: tegra: Add missing timeout clock to Tegra210 SDMMC
    5cd8c5979e72 arm64: tegra: Add missing timeout clock to Tegra186 SDMMC nodes
    ef8b5f333780 arm64: tegra: Add missing timeout clock to Tegra194 SDMMC nodes
    9d806d68bf97 dt-bindings: mmc: tegra: Add tmclk for Tegra210 and later
    d2ac42e61ecd KVM: arm64: Set HCR_EL2.PTW to prevent AT taking synchronous exception
    ffad02f9e3ea KVM: arm64: Survive synchronous exceptions caused by AT instructions
    1744237ca047 KVM: arm64: Add kvm_extable for vaxorcism code
    538caddbe635 drm/etnaviv: fix TS cache flushing on GPUs with BLT engine
    80743b4bde09 drm/sched: Fix passing zero to 'PTR_ERR' warning v2
    6cadd1e2d8c5 perf record/stat: Explicitly call out event modifiers in the documentation
    4bae1afed432 HID: core: Sanitize event code and type when mapping input
    667514df10a0 HID: core: Correctly handle ReportSize being zero
    933cf1c2c075 Linux 5.4.62
    54ee77961e79 io_uring: Fix NULL pointer dereference in io_sq_wq_submit_work()
    44cf62d388fb ALSA: usb-audio: Update documentation comment for MS2109 quirk
    851d0813ab80 HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage()
    c98b6ebd9b55 kbuild: fix broken builds because of GZIP,BZIP2,LZOP variables
    37432a83faab kbuild: add variables for compression tools
    47a41f65afb6 kheaders: explain why include/config/autoconf.h is excluded from md5sum
    7caddaa9f88b kheaders: remove the last bashism to allow sh to run it
    18f48708c3f5 kheaders: optimize header copy for in-tree builds
    a1d0c6e2f334 kheaders: optimize md5sum calculation for in-tree builds
    eb914bae6e17 kheaders: remove unneeded 'cat' command piped to 'head' / 'tail'
    376810e5e9e1 fbmem: pull fbcon_update_vcs() out of fb_set_var()
    6a862aa31ec3 usb: dwc3: gadget: Handle ZLP for sg requests
    7c8b5685662b usb: dwc3: gadget: Fix handling ZLP
    4bc5d90a7dce usb: dwc3: gadget: Don't setup more than requested
    f8e4c5297fcd drm/i915: Fix cmd parser desc matching with masks
    73992639ec78 usb: storage: Add unusual_uas entry for Sony PSZ drives
    2add73c8c00d USB: cdc-acm: rework notification_buffer resizing
    e2e02f260496 USB: gadget: u_f: Unbreak offset calculation in VLAs
    4f529c4d1e43 USB: gadget: f_ncm: add bounds checks to ncm_unwrap_ntb()
    f47ab852bea3 USB: gadget: u_f: add overflow checks to VLA macros
    2534d3dec376 usb: host: ohci-exynos: Fix error handling in exynos_ohci_probe()
    de24343880a6 USB: Ignore UAS for JMicron JMS567 ATA/ATAPI Bridge
    ca29a2a53953 USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D
    20b3564c6748 USB: quirks: Add no-lpm quirk for another Raydium touchscreen
    b32ec919ee37 usb: uas: Add quirk for PNY Pro Elite
    ad0bc424fc0a USB: yurex: Fix bad gfp argument
    3623dab2959e drm/amd/pm: correct the thermal alert temperature limit settings
    85ca6f199c77 drm/amd/pm: correct Vega20 swctf limit setting
    9afabefd42fc drm/amd/pm: correct Vega12 swctf limit setting
    60cffee2d951 drm/amd/pm: correct Vega10 swctf limit setting
    2809cf7f6eba drm/amd/powerplay: Fix hardmins not being sent to SMU for RV
    20700b352d10 drm/amdgpu/gfx10: refine mgcg setting
    8fc7a66619e1 drm/amdgpu: Fix buffer overflow in INFO ioctl
    1adf8c19f974 x86/hotplug: Silence APIC only after all interrupts are migrated
    47c8387a963e irqchip/stm32-exti: Avoid losing interrupts due to clearing pending bits by mistake
    927aa9a10f12 genirq/matrix: Deal with the sillyness of for_each_cpu() on UP
    70957a10e1db crypto: af_alg - Work around empty control messages without MSG_MORE
    aca10ab0568a device property: Fix the secondary firmware node handling in set_primary_fwnode()
    df2a6a4a9d68 powerpc/perf: Fix crashes with generic_compat_pmu & BHRB
    b260fb2a02b5 PM: sleep: core: Fix the handling of pending runtime resume requests
    7ded78a8c89e arm64: vdso32: make vdso32 install conditional
    3b7087e07730 xhci: Always restore EP_SOFT_CLEAR_TOGGLE even if ep reset failed
    02166fea639f xhci: Do warm-reset when both CAS and XDEV_RESUME are set
    3ac8545b29ae usb: host: xhci: fix ep context print mismatch in debugfs
    4d3e2a3a0c64 XEN uses irqdesc::irq_data_common::handler_data to store a per interrupt XEN data pointer which contains XEN specific information.
    6623c19042b6 writeback: Fix sync livelock due to b_dirty_time processing
    cb0c74450072 writeback: Avoid skipping inode writeback
    8eab2b531fd3 writeback: Protect inode->i_io_list with inode->i_lock
    2e76a3a1667c serial: 8250: change lock order in serial8250_do_startup()
    f53ebc7c2922 serial: 8250_exar: Fix number of ports for Commtech PCIe cards
    fbb55ec82dd6 serial: stm32: avoid kernel warning on absence of optional IRQ
    64a05aadf936 serial: pl011: Don't leak amba_ports entry on driver register error
    0806b49bba20 serial: pl011: Fix oops on -EPROBE_DEFER
    daae6b962a13 serial: samsung: Removes the IRQ not found warning
    7c57237d74a0 vt_ioctl: change VT_RESIZEX ioctl to check for error return from vc_resize()
    adb76f3f7732 vt: defer kfree() of vc_screenbuf in vc_do_resize()
    db1bb352cc08 USB: lvtest: return proper error code in probe
    96e41fc29e8a fbcon: prevent user font height or width change from causing potential out-of-bounds access
    cd1d270e3e4f btrfs: detect nocow for swap after snapshot delete
    eb576fc43a43 btrfs: fix space cache memory leak after transaction abort
    1d08edc70154 btrfs: check the right error variable in btrfs_del_dir_entries_in_log
    8a3509486f08 btrfs: reset compression level for lzo on remount
    b1a83ee0cbbf blk-mq: order adding requests to hctx->dispatch and checking SCHED_RESTART
    c2035d1e55aa HID: i2c-hid: Always sleep 60ms after I2C_HID_PWR_ON commands
    db4542b6617b block: loop: set discard granularity and alignment for block device backed loop
    f09dbec9c0c6 block: fix get_max_io_size()
    2f4b202eb1b1 arm64: Allow booting of late CPUs affected by erratum 1418040
    82b05f0838aa arm64: Move handling of erratum 1418040 into C code
    7d44b707aaff powerpc/perf: Fix soft lockups due to missed interrupt accounting
    9c0305c0cfa2 net: gianfar: Add of_node_put() before goto statement
    c656534e5c45 macvlan: validate setting of multiple remote source MAC addresses
    19f669a3609c Revert "scsi: qla2xxx: Fix crash on qla2x00_mailbox_command"
    48765b780ace scsi: qla2xxx: Fix null pointer access during disconnect from subsystem
    36a139cf4146 scsi: qla2xxx: Check if FW supports MQ before enabling
    88274626d110 scsi: qla2xxx: Fix login timeout
    37528b3ee9e1 scsi: ufs: Clean up completed request without interrupt notification
    a39ba0fdcdfd scsi: ufs: Improve interrupt handling for shared interrupts
    d895b0be701c scsi: ufs: Fix possible infinite loop in ufshcd_hold
    1778bebd06b4 scsi: fcoe: Fix I/O path allocation
    a8d26145e112 selftests: disable rp_filter for icmp_redirect.sh
    957066143e6c ASoC: wm8994: Avoid attempts to read unreadable registers
    1d63737b0777 s390/cio: add cond_resched() in the slow_eval_known_fn() loop
    2a8c6149a49a ALSA: hda/realtek: Add model alc298-samsung-headphone
    021a98a87864 can: j1939: transport: j1939_xtp_rx_dat_one(): compare own packets to detect corruptions
    3803312a3c55 netfilter: avoid ipv6 -> nf_defrag_ipv6 module dependency
    35238963c972 drm/amd/display: Switch to immediate mode for updating infopackets
    b92b415fa7b7 drm/amd/powerplay: correct UVD/VCE PG state on custom pptable uploading
    73a0e6280a32 drm/amd/powerplay: correct Vega20 cached smu feature state
    d2da80e0a3e7 spi: stm32: always perform registers configuration prior to transfer
    2844685c661a spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate
    a6daa863d15e spi: stm32: fix fifo threshold level in case of short transfer
    3c15a3c4b155 spi: stm32h7: fix race condition at end of transfer
    a08e95e83e6f fs: prevent BUG_ON in submit_bh_wbc()
    28a56c26a00d ext4: correctly restore system zone info when remount fails
    8e63c86f6580 ext4: handle error of ext4_setup_system_zone() on remount
    e579635669da ext4: handle option set by mount flags correctly
    3a53d012bd26 jbd2: abort journal if free a async write error metadata buffer
    1b36d4fa4b66 ext4: handle read only external journal device
    2e7312ddaf62 ext4: don't BUG on inconsistent journal feature
    40827caf954c jbd2: make sure jh have b_transaction set in refile/unfile_buffer
    e4351ad44d7e spi: stm32: clear only asserted irq flags on interrupt
    d63728afe947 usb: gadget: f_tcm: Fix some resource leaks in some error paths
    262f5fbad941 i2c: rcar: in slave mode, clear NACK earlier
    883ed72723ef i2c: core: Don't fail PRP0001 enumeration when no ID table exist
    2fc8fa50ebee null_blk: fix passing of REQ_FUA flag in null_handle_rq
    88994acafd96 nvme: multipath: round-robin: fix single non-optimized path case
    97f30414a2e0 nvme-fc: Fix wrong return value in __nvme_fc_init_request()
    05c608f630b9 blkcg: fix memleak for iolatency
    872a2b3182ee blk-mq: insert request not through ->queue_rq into sw/scheduler queue
    9054d5844092 hwmon: (nct7904) Correct divide by 0
    1475314530bb bfq: fix blkio cgroup leakage v4
    2295664518c3 block: Fix page_is_mergeable() for compound pages
    3e9eb1e893ba drm/msm/adreno: fix updating ring fence
    effd3b89f7e5 block: virtio_blk: fix handling single range discard request
    cc3a73f245cb block: respect queue limit of max discard segment
    8f409e764c4b media: gpio-ir-tx: improve precision of transmitted signal due to scheduling
    6ba04701b801 ALSA: usb-audio: Add capture support for Saffire 6 (USB 1.1)
    5861e84d7145 cpufreq: intel_pstate: Fix EPP setting via sysfs in active mode
    1b7b2d45b31e PCI: qcom: Add missing reset for ipq806x
    ea552383a9d5 PCI: qcom: Change duplicate PCI reset to phy reset
    29ecf28be997 PCI: qcom: Add missing ipq806x clocks in PCIe driver
    6d11320bed41 EDAC/{i7core,sb,pnd2,skx}: Fix error event severity
    87cc96bb11b9 EDAC: skx_common: get rid of unused type var
    3bf42b2e8d67 EDAC: sb_edac: get rid of unused vars
    75aaa8fa7672 mm/vunmap: add cond_resched() in vunmap_pmd_range
    a2038eb833a5 drm/amd/display: Fix dmesg warning from setting abm level
    8522b1bec88e drm/amd/display: Add additional config guards for DCN
    992e51ff0e4b drm/amd/display: Trigger modesets on MST DSC connectors
    b730fb14434f drm/ingenic: Fix incorrect assumption about plane->index
    8dc47d858fea gpu/drm: ingenic: Use the plane's src_[x,y] to configure DMA length
    302b9e189962 cma: don't quit at first error when activating reserved areas
    aed14b1b5c0e mm/cma.c: switch to bitmap_zalloc() for cma bitmap allocation
    965d3d5ce355 mm: fix kthread_use_mm() vs TLB invalidate
    72574434da87 mm/shuffle: don't move pages between zones and don't read garbage memmaps
    483b956a16a0 btrfs: only commit delayed items at fsync if we are logging a directory
    3eddcc71fe8a btrfs: only commit the delayed inode when doing a full fsync
    d5f5b15d3ea4 btrfs: factor out inode items copy loop from btrfs_log_inode()
    a0cfda9cb3a1 s390/numa: set node distance to LOCAL_DISTANCE
    67f8b390b15e drm/xen-front: Fix misused IS_ERR_OR_NULL checks
    02611bcaafe5 drm/xen: fix passing zero to 'PTR_ERR' warning
    fe376f1b12d2 PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent
    b7cca731b486 PM / devfreq: rk3399_dmc: Disable devfreq-event device when fails
    a0f69c6f5e0b PM / devfreq: rk3399_dmc: Add missing of_node_put()
    961bfe1277ae usb: cdns3: gadget: always zeroed TRB buffer when enable endpoint
    2c0000f409ec sched/uclamp: Fix a deadlock when enabling uclamp static key
    88435320ebc1 sched/uclamp: Protect uclamp fast path code with static key
    93709d8ade00 Revert "ath10k: fix DMA related firmware crashes on multiple devices"
    da56eb03ea94 arm64: Fix __cpu_logical_map undefined issue
    12a9bec2bd4e efi: provide empty efi_enter_virtual_mode implementation
    b2defeb19bff brcmfmac: Set timeout value when configuring power save
    7aac56d8b0ee USB: sisusbvga: Fix a potential UB casued by left shifting a negative value
    e77f71c6341a powerpc/spufs: add CONFIG_COREDUMP dependency
    653ae33b030b KVM: arm64: Fix symbol dependency in __hyp_call_panic_nvhe
    a84a6eb935ba media: davinci: vpif_capture: fix potential double free
    6b0010ed7140 hugetlbfs: prevent filesystem stacking of hugetlbfs
    c67c6e1f54aa EDAC/ie31200: Fallback if host bridge device is already initialized
    41191f8c57a1 scsi: fcoe: Memory leak fix in fcoe_sysfs_fcf_del()
    a002274db527 ceph: do not access the kiocb after aio requests
    01540d5e7c1b ceph: fix potential mdsc use-after-free crash
    9da791b5410e scsi: iscsi: Do not put host in iscsi_set_flashnode_param()
    050292f138a3 btrfs: make btrfs_qgroup_check_reserved_leak take btrfs_inode
    1f52b85f6c79 btrfs: file: reserve qgroup space after the hole punch range is locked
    7d6689df48de locking/lockdep: Fix overflow in presentation of average lock-time
    2adf6ec63db2 drm/nouveau: Fix reference count leak in nouveau_connector_detect
    19e81f6325a9 drm/nouveau: fix reference count leak in nv50_disp_atomic_commit
    d23d52e38cc9 drm/nouveau/drm/noveau: fix reference count leak in nouveau_fbcon_open
    45e30390f50f f2fs: fix use-after-free issue
    4cba87943046 HID: quirks: add NOGET quirk for Logitech GROUP
    6734eeb6c2f0 cec-api: prevent leaking memory through hole in structure
    bd4593030332 ALSA: hda: Add support for Loongson 7A1000 controller
    f4107f633a29 mips/vdso: Fix resource leaks in genvdso.c
    71e7e02c0590 rtlwifi: rtl8192cu: Prevent leaking urb
    3a84491364e1 ARM: dts: ls1021a: output PPS signal on FIPER2
    4410fd0c378e PCI: Fix pci_create_slot() reference count leak
    201838142c52 omapfb: fix multiple reference count leaks due to pm_runtime_get_sync
    22d859fe1bdc f2fs: fix error path in do_recover_data()
    110c5a5a6854 selftests/powerpc: Purge extra count_pmc() calls of ebb selftests
    0450a50c914e scsi: target: Fix xcopy sess release leak
    774cc7c882f8 xfs: Don't allow logging of XFS_ISTALE inodes
    40b450375c80 scsi: lpfc: Fix shost refcount mismatch when deleting vport
    815060a8ec2a drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails
    8290f9d4695f drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config
    3753eff4c69a drm/amd/display: fix ref count leak in amdgpu_drm_ioctl
    c911da7b6673 drm/amdgpu: fix ref count leak in amdgpu_driver_open_kms
    40d0bf2b6e99 drm/radeon: fix multiple reference count leak
    9c88b27ac444 drm/amdkfd: Fix reference count leaks.
    1174ed705dda iommu/iova: Don't BUG on invalid PFNs
    f0a066af0f37 mfd: intel-lpss: Add Intel Tiger Lake PCH-H PCI IDs
    d98ea48810e6 scsi: target: tcmu: Fix crash on ARM during cmd completion
    ab2d90e58ae1 blktrace: ensure our debugfs dir exists
    fc93c091de22 media: pci: ttpci: av7110: fix possible buffer overflow caused by bad DMA value in debiirq()
    1dc0ed18219a powerpc/xive: Ignore kmemleak false positives
    88eb00cb39ce arm64: dts: qcom: msm8916: Pull down PDM GPIOs during sleep
    d8cc881483d8 mfd: intel-lpss: Add Intel Emmitsburg PCH PCI IDs
    fd5908860a17 ASoC: tegra: Fix reference count leaks.
    7d60cd2a6e08 ASoC: img-parallel-out: Fix a reference count leak
    8150a0e3d796 ASoC: img: Fix a reference count leak in img_i2s_in_set_fmt
    a53f67368c98 ALSA: hda/hdmi: Use force connectivity quirk on another HP desktop
    348da2f8566b ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged
    bcf40820b4fd ALSA: pci: delete repeated words in comments
    b45944e2b39e ALSA: hda/hdmi: Add quirk to force connectivity
    266d21a57093 ipvlan: fix device features
    e1334c4f4aec net/sched: act_ct: Fix skb double-free in tcf_ct_handle_fragments() error flow
    97a74349cf82 net: ena: Make missed_tx stat incremental
    6c2e795f95cd tipc: fix uninit skb->data in tipc_nl_compat_dumpit()
    d429362b3de4 net/smc: Prevent kernel-infoleak in __smc_diag_dump()
    4d2fe0addc38 net: sctp: Fix negotiation of the number of data streams.
    4ef63e365466 net: qrtr: fix usage of idr in port assignment to socket
    4ae9ebf9e8ea net: nexthop: don't allow empty NHA_GROUP
    6ed89176755c net: Fix potential wrong skb->protocol in skb_vlan_untag()
    b5e34120b06a gre6: Fix reception with IP6_TNL_F_RCV_DSCP_COPY
    730443f4c48a binfmt_flat: revert "binfmt_flat: don't offset the data start"
    669fc3b38ce2 powerpc/64s: Don't init FSCR_DSCR in __init_FSCR()

(From OE-Core rev: 4090a909ade3ac38bb14b978776daffc152f64d0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Bruce Ashfield
d8fbfee725 linux-yocto/5.8: update to v5.8.8
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    4f447bf95fdc Linux 5.8.8
    830b08e696f7 net: usb: Fix uninit-was-stored issue in asix_read_phy_addr()
    548c1175051d cfg80211: regulatory: reject invalid hints
    9206b03e7fc9 mm/khugepaged.c: fix khugepaged's request size in collapse_file
    951e290ad85b mm/hugetlb: fix a race between hugetlb sysctl handlers
    e2d4e423205e mm/hugetlb: try preferred node first when alloc gigantic page from cma
    3fd08f78f47a mm/migrate: fixup setting UFFD_WP flag
    658e93f1c318 checkpatch: fix the usage of capture group ( ... )
    d3498d5e8775 sdhci: tegra: Add missing TMCLK for data timeout
    55eb0f42f465 kconfig: streamline_config.pl: check defined(ENV variable) before using it
    8c4c56846892 perf record: Correct the help info of option "--no-bpf-event"
    bf8fe7b755c2 io_uring: no read/write-retry on -EAGAIN error and O_NONBLOCK marked file
    a8bf40a7538f mm/rmap: fixup copying of soft dirty and uffd ptes
    9b4a9e89f6e8 mm: madvise: fix vma user-after-free
    98650804fa53 mm: track page table modifications in __apply_to_page_range()
    3eba981cffc9 mm: slub: fix conversion of freelist_corrupted()
    4469ea5972ab dm thin metadata: Fix use-after-free in dm_bm_set_read_only
    b3c76fdbb119 dm thin metadata: Avoid returning cmd->bm wild pointer on error
    d02a33a24825 dm cache metadata: Avoid returning cmd->bm wild pointer on error
    0a495d145f59 dm crypt: Initialize crypto wait structures
    372236a01bc5 dm integrity: fix error reporting in bitmap mode after creation
    2c8ee4951f11 dm mpath: fix racey management of PG initialization
    cc06bdfc211b dm writecache: handle DAX to partitions on persistent memory correctly
    67ba86179fc6 drm/amdgpu: Specify get_argument function for ci_smu_funcs
    dd8a223d0f58 drm/amd/pm: avoid false alarm due to confusing softwareshutdowntemp setting
    696f8cfee025 drm/i915: Fix sha_text population code
    1693c125c0a9 dmaengine: dw-edma: Fix scatter-gather address calculation
    3c761332597d blk-stat: make q->stats->lock irqsafe
    70d22582c3eb blk-iocost: ioc_pd_free() shouldn't assume irq disabled
    57fd9f8eb603 mips/oprofile: Fix fallthrough placement
    dea6f05d372a libata: implement ATA_HORKAGE_MAX_TRIM_128M and apply to Sandisks
    3264d781e1ad s390: fix GENERIC_LOCKBREAK dependency typo in Kconfig
    e37bc36aaff3 io_uring: fix removing the wrong file in __io_sqe_files_update()
    329c9ffc81cf io_uring: set table->files[i] to NULL when io_sqe_file_register failed
    a7a42c1e5023 block: ensure bdi->io_pages is always initialized
    b7df98a8b7b8 block: allow for_each_bvec to support zero len bvec
    2221f41d3fb3 affs: fix basic permission bits to actually work
    9af0c46a7612 media: rc: uevent sysfs file races with rc_unregister_device()
    bff924ee40ae media: rc: do not access device via sysfs after rc_unregister_device()
    91994b8489a3 mmc: sdhci-pci: Fix SDHCI_RESET_ALL for CQHCI for Intel GLK-based controllers
    88df22892d14 mmc: dt-bindings: Add resets/reset-names for Mediatek MMC bindings
    01263d02f5da mmc: mediatek: add optional module reset property
    f8916b54514e arm64: dts: mt7622: add reset node for mmc device
    ab90e0d7a985 ALSA: hda/realtek - Improved routing for Thinkpad X1 7th/8th Gen
    3695decb7771 ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion NT950XCJ-X716A
    c1e0aff25b1b ALSA; firewire-tascam: exclude Tascam FE-8 from detection
    8e83bd51016a ALSA: hda - Fix silent audio output and corrupted input on MSI X570-A PRO
    48510be50e87 ALSA: firewire-digi00x: exclude Avid Adrenaline from detection
    7554ad2ffdad ALSA: hda/hdmi: always check pin power status in i915 pin fixup
    db5d1d51bef1 ALSA: pcm: oss: Remove superfluous WARN_ON() for mulaw sanity check
    dfcfc358e366 ALSA: usb-audio: Add implicit feedback quirk for UR22C
    3284ababd0c4 ALSA: usb-audio: Add basic capture support for Pioneer DJ DJM-250MK2
    2c9ba98fec4d ALSA: ca0106: fix error code handling
    9aa4e2c3da17 Revert "ALSA: hda: Add support for Loongson 7A1000 controller"
    df7a51020021 x86/mm/32: Bring back vmalloc faulting on x86_32
    98f0b4072c94 Bluetooth: Return NOTIFY_DONE for hci_suspend_notifier
    434ed4233877 btrfs: tree-checker: fix the error message for transid error
    6b09009a2eae btrfs: block-group: fix free-space bitmap threshold
    6d12fbd0c4b7 btrfs: set the lockdep class for log tree extent buffers
    7ad3d8ad569c btrfs: set the correct lockdep class for new nodes
    42a2fbd05773 btrfs: allocate scrub workqueues outside of locks
    26cf893236fd btrfs: fix potential deadlock in the search ioctl
    5e85cae6cd52 btrfs: drop path before adding new uuid tree entry
    be69bb028264 arc: fix memory initialization for systems with two memory banks
    ec96b4b7514c ARC: perf: don't bail setup if pct irq missing in device-tree
    7d5026dcd362 xfs: don't update mtime on COW faults
    9c12f371a2ce ext2: don't update mtime on COW faults
    4e99722219f4 x86/debug: Allow a single level of #DB recursion
    231508fa9a6d x86/entry: Fix AC assertion
    f76c4eab5ce9 tracing/kprobes, x86/ptrace: Fix regs argument order for i386
    98176c9f3a77 iommu/vt-d: Handle 36bit addressing for x86-32
    c93d26ef17b4 include/linux/log2.h: add missing () around n in roundup_pow_of_two()
    03ca1f09ab1f net/packet: fix overflow in tpacket_rcv
    4437dfb7777d iommu/amd: Use cmpxchg_double() when updating 128-bit IRTE
    6b0caba52055 iommu/amd: Restore IRTE.RemapEn bit after programming IRTE
    2551a138792a thermal: qcom-spmi-temp-alarm: Don't suppress negative temp
    7da369acd79f thermal: ti-soc-thermal: Fix bogus thermal shutdowns for omap4430
    7583c56d9092 iommu/vt-d: Serialize IOMMU GCMD register modifications
    a9c41d6214a8 x86, fakenuma: Fix invalid starting node ID
    abbb183229ac tg3: Fix soft lockup when tg3_reset_task() fails.
    594adc1bda7a perf bench: The do_run_multi_threaded() function must use IS_ERR(perf_session__new())
    f42f9c0d115e perf stat: Turn off summary for interval mode by default
    c58ff4b470e8 perf jevents: Fix suspicious code in fixregex()
    62a5784285bf xfs: fix xfs_bmap_validate_extent_raw when checking attr fork of rt files
    c10fa9458aa6 MIPS: SNI: Fix SCSI interrupt
    b5c901d96a59 MIPS: add missing MSACSR and upper MSA initialization
    6aef73907338 net: dp83867: Fix WoL SecureOn password
    d7983d7b64c4 nfp: flower: fix ABI mismatch between driver and firmware
    5c9f765dcd4e net: gemini: Fix another missing clk_disable_unprepare() in probe
    f555d57c8f1b net: bcmgenet: fix mask check in bcmgenet_validate_flow()
    41e233bd6412 fix regression in "epoll: Keep a reference on files added to the check list"
    3cdbbaca1681 net: ethernet: mlx4: Fix memory allocation in mlx4_buddy_init()
    5a48e463f50a perf tools: Correct SNOOPX field offset
    f4b9594e02d5 perf intel-pt: Fix corrupt data after perf inject from
    7ea241e7a0a2 perf cs-etm: Fix corrupt data after perf inject from
    8a435d33c261 perf top/report: Fix infinite loop in the TUI for grouped events
    692d06265574 block: fix locking in bdev_del_partition
    bbb1dc4431b0 MIPS: perf: Fix wrong check condition of Loongson event IDs
    89639c177d04 net: ethernet: ti: am65-cpsw: fix rmii 100Mbit link mode
    eec98f743e40 cxgb4: fix thermal zone device registration
    e5d5c3b4e4a2 opp: Don't drop reference for an OPP table that was never parsed
    3484b664521d netfilter: conntrack: do not auto-delete clash entries on reply
    4aa6128188fb nvme: fix controller instance leak
    db8c729bca37 nvmet-fc: Fix a missed _irqsave version of spin_lock in 'nvmet_fc_fod_op_done()'
    4b5158a2f6b7 netfilter: nfnetlink: nfnetlink_unicast() reports EAGAIN instead of ENOBUFS
    e8df547c81d0 net: dsa: mt7530: fix advertising unsupported 1000baseT_Half
    cbd84d8ef3e9 selftests/bpf: Fix massive output from test_maps
    991ca0615902 media: i2c: imx214: select V4L2_FWNODE
    404f3f27b087 net: ethernet: ti: cpsw_new: fix error handling in cpsw_ndo_vlan_rx_kill_vid()
    b3b321d44175 media: cedrus: Add missing v4l2_ctrl_request_hdl_put()
    60e9f3f036f3 media: vicodec: add missing v4l2_ctrl_request_hdl_put()
    72c7309533b4 bnxt: don't enable NAPI until rings are ready
    531c6cb9ad1e xfs: fix boundary test in xfs_attr_shortform_verify
    91565765b6de xfs: finish dfops on every insert range shift iteration
    81fbc28873ef bnxt_en: fix HWRM error when querying VF temperature
    e4d07b93a26b bnxt_en: Fix possible crash in bnxt_fw_reset_task().
    e0543e56fa62 bnxt_en: Fix PCI AER error recovery flow
    214c19832333 bnxt_en: Fix ethtool -S statitics with XDP or TCs enabled.
    376326004a42 bnxt_en: Check for zero dir entries in NVRAM.
    8fd4262bc8e4 bnxt_en: Don't query FW when netif_running() is false.
    b12fefddb43f net: ethernet: ti: cpsw_new: fix clean up of vlan mc entries for host port
    634b47d46f93 net: ethernet: ti: cpsw: fix clean up of vlan mc entries for host port
    e4fe6bfddafe gtp: add GTPA_LINK info to msg sent to userspace
    f276f4e1b743 dmaengine: ti: k3-udma: Fix the TR initialization for prep_slave_sg
    1185d129364a dmaengine: pl330: Fix burst length if burst size is smaller than bus width
    ad32766990e2 bpf: Fix a buffer out-of-bound access when filling raw_tp link_info
    bb3eebda4e22 net: arc_emac: Fix memleak in arc_mdio_probe
    9ea477348bd2 ravb: Fixed to be able to unload modules
    ab1423e5b4d1 net: systemport: Fix memleak in bcm_sysport_probe
    0c14725cb063 net: hns: Fix memleak in hns_nic_dev_probe
    a949770022f4 netfilter: nf_tables: fix destination register zeroing
    b7d77de2fe79 netfilter: nf_tables: incorrect enum nft_list_attributes definition
    e8261af70717 netfilter: nf_tables: add NFTA_SET_USERDATA if not null
    20a7ee03beba perf top: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set
    06a1d6e334b0 perf sched timehist: Fix use of CPU list with summary option
    b1c9e29c933e mmc: sdhci-acpi: Fix HS400 tuning for AMDI0040
    17c1b210b6ea MIPS: BMIPS: Also call bmips_cpu_setup() for secondary cores
    f39c875a8eeb MIPS: mm: BMIPS5000 has inclusive physical caches
    feb72ac627bc rxrpc: Make rxrpc_kernel_get_srtt() indicate validity
    26457829b759 rxrpc: Fix loss of RTT samples due to interposed ACK
    e2674459be67 rxrpc: Keep the ACK serial in a var in rxrpc_input_ack()
    eff6dcb0c388 dmaengine: at_hdmac: add missing kfree() call in at_dma_xlate()
    159db733b2ac dmaengine: at_hdmac: add missing put_device() call in at_dma_xlate()
    e3149ca07e92 dmaengine: at_hdmac: check return value of of_find_device_by_node() in at_dma_xlate()
    c6156f0064b1 batman-adv: bla: use netif_rx_ni when not in interrupt context
    cb6560a41c45 batman-adv: Fix own OGM check in aggregated OGMs
    27cc30cdc8f4 batman-adv: Avoid uninitialized chaddr when handling DHCP
    4b805451419c dmaengine: of-dma: Fix of_dma_router_xlate's of_dma_xlate handling
    6f88924528c8 fsldma: fix very broken 32-bit ppc ioread64 functionality
    adaa55616567 xen/xenbus: Fix granting of vmalloc'd memory
    2c97832bae08 drm/amd/display: Fix memleak in amdgpu_dm_mode_config_init
    fe4e01212478 drm/amd/display: Retry AUX write when fail occurs
    a3a943b6f211 drm/amd/display: Keep current gain when ABM disable immediately
    e7ea08312558 drm/amd/display: Fix passive dongle mistaken as active dongle in EDID emulation
    151ed59e03a9 drm/amd/display: Revert HDCP disable sequence change
    af7dceeda116 drivers: gpu: amd: Initialize amdgpu_dm_backlight_caps object to 0 in amdgpu_dm_update_backlight_caps
    47fd4ba5cc95 drm/amd/display: Reject overlay plane configurations in multi-display scenarios
    35950cec8547 drm/amd/display: should check error using DC_OK
    bd5f4d49094c s390: don't trace preemption in percpu macros
    c3bf0387a0a9 nbd: restore default timeout when setting it to zero
    0f6c545bddd3 cpuidle: Fixup IRQ state
    a3c2bcb3e9e3 irqchip/ingenic: Leave parent IRQ unmasked on suspend
    2659c526f928 drm/omap: fix incorrect lock state
    01a28ac6e917 i2c: iproc: Fix shifting 31 bits
    46653857d015 ceph: don't allow setlease on cephfs
    94fd015fe91f hv_utils: drain the timesync packets on onchannelcallback
    6a725c83a08d hv_utils: return error if host timesysnc update is stale
    4f3ffd5fcbf7 gfs2: add some much needed cleanup for log flushes that fail
    2ed484c404e0 drm/msm/a6xx: fix gmu start on newer firmware
    2ad613d97f96 habanalabs: check correct vmalloc return code
    72038388869b habanalabs: validate FW file size
    9a3acad9ae0e habanalabs: set max power according to card type
    3a24b9420ee0 habanalabs: proper handling of alloc size in coresight
    a8d7e5599614 habanalabs: set clock gating according to mask
    fb8b4592f958 habanalabs: validate packet id during CB parse
    b18c6071868c habanalabs: unmap PCI bars upon iATU failure
    4e2beff0b638 drm/msm: enable vblank during atomic commits
    3fe50ada2a56 nvmet: Disable keep-alive timer when kato is cleared to 0h
    64c064ba11c6 hwmon: (applesmc) check status earlier.
    56ed34ea6cd7 drm/msm: add shutdown support for display platform_driver
    87371d858101 tty: serial: qcom_geni_serial: Drop __init from qcom_geni_console_setup
    c92e690c5e23 drm/msm/dpu: fix unitialized variable error
    d33d9115be04 drm/msm/dpu: Fix scale params in plane validation
    6ea918a6197d drm/msm/dpu: Fix reservation failures in modeset
    8ca621939d76 HID: quirks: Always poll three more Lenovo PixArt mice
    7cd0d11c6408 hwmon: (pmbus/isl68137) remove READ_TEMPERATURE_1 telemetry for RAA228228
    b72c392fa3e5 Linux 5.8.7
    839ab6a84a9b scsi: target: tcmu: Optimize use of flush_dcache_page
    ba1bc48691d4 nl80211: fix NL80211_ATTR_HE_6GHZ_CAPABILITY usage
    3def2670934b sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra186
    4710fc20adac sdhci: tegra: Remove SDHCI_QUIRK_DATA_TIMEOUT_USES_SDCLK for Tegra210
    bb8d1ed450ea arm64: tegra: Add missing timeout clock to Tegra210 SDMMC
    eac502d07d49 arm64: tegra: Add missing timeout clock to Tegra186 SDMMC nodes
    da2d25c35435 arm64: tegra: Add missing timeout clock to Tegra194 SDMMC nodes
    991b02edd133 dt-bindings: mmc: tegra: Add tmclk for Tegra210 and later
    495b506743a1 KVM: arm64: Survive synchronous exceptions caused by AT instructions
    71e9e3ce6a2c KVM: arm64: Add kvm_extable for vaxorcism code
    5b1c0ed9ff3c media: media/v4l2-core: Fix kernel-infoleak in video_put_user()
    ff95152b14f2 perf record/stat: Explicitly call out event modifiers in the documentation
    20257b70d5f1 selftests/x86/test_vsyscall: Improve the process_vm_readv() test
    e80a7602b405 mm: fix pin vs. gup mismatch with gate pages
    331524770431 netfilter: nft_set_rbtree: Handle outcomes of tree rotations in overlap detection
    e771e63c0cdc HID: core: Sanitize event code and type when mapping input
    b070b1e20768 HID: core: Correctly handle ReportSize being zero
    66534fe2b940 Linux 5.8.6
    e54835be930d ALSA: usb-audio: Update documentation comment for MS2109 quirk
    a34b7526320e dma-pool: Fix an uninitialized variable bug in atomic_pool_expand()
    f880d69b2810 drm/vmwgfx/ldu: Use drm_mode_config_reset
    01736d379ece drm/vmwgfx/sou: Use drm_mode_config_reset
    4ba591d72a70 drm/vmwgfx/stdu: Use drm_mode_config_reset
    7947e0ba4cca HID: hiddev: Fix slab-out-of-bounds write in hiddev_ioctl_usage()
    9d960a74b43a mm/page_counter: fix various data races at memsw
    b65258eb82cc fbmem: pull fbcon_update_vcs() out of fb_set_var()
    d88c0bef7070 drm/atomic-helper: reset vblank on crtc reset
    e93fd7a49023 io_uring: make offset == -1 consistent with preadv2/pwritev2
    9ab83e1c4a31 io_uring: don't use poll handler if file can't be nonblocking read/written
    b7e397bcba0a io_uring: don't recurse on tsk->sighand->siglock with signalfd
    b727b92fd33b usb: typec: tcpm: Fix Fix source hard reset response for TDA 2.3.1.1 and TDA 2.3.1.2 failures
    d597f82cc262 usb: typec: ucsi: Hold con->lock for the entire duration of ucsi_register_port()
    3c4cd68799f8 usb: typec: ucsi: Rework ppm_lock handling
    84e29c7cf591 usb: typec: ucsi: Fix 2 unlocked ucsi_run_command calls
    4b59dabd3170 usb: typec: ucsi: Fix AB BA lock inversion
    53965c79c2db USB: Fix device driver race
    a18d5d456c00 USB: Also match device drivers using the ->match vfunc
    0ca26ffe3c1f usb: storage: Add unusual_uas entry for Sony PSZ drives
    fad19f628f53 USB: cdc-acm: rework notification_buffer resizing
    afb420486016 usb: dwc3: gadget: Handle ZLP for sg requests
    8301e3aa1c8d usb: dwc3: gadget: Fix handling ZLP
    d884a90cec5a usb: dwc3: gadget: Don't setup more than requested
    3b9953fe5723 USB: gadget: u_f: Unbreak offset calculation in VLAs
    ae6a5394d9fb USB: gadget: f_ncm: add bounds checks to ncm_unwrap_ntb()
    480e17846d32 USB: gadget: u_f: add overflow checks to VLA macros
    ec5c2663d533 usb: host: ohci-exynos: Fix error handling in exynos_ohci_probe()
    27cf2e50545a USB: Ignore UAS for JMicron JMS567 ATA/ATAPI Bridge
    7eb94ea0e8e9 USB: quirks: Ignore duplicate endpoint on Sound Devices MixPre-D
    155288e45c8d USB: quirks: Add no-lpm quirk for another Raydium touchscreen
    2b9be3af1037 usb: uas: Add quirk for PNY Pro Elite
    495f2f1b53d7 USB: yurex: Fix bad gfp argument
    ccc9838fed80 drm/amd/pm: correct the thermal alert temperature limit settings
    56ab34c44e85 drm/amd/pm: correct Vega20 swctf limit setting
    520e40dcea83 drm/amd/pm: correct Vega12 swctf limit setting
    b46df9eab0cd drm/amd/pm: correct Vega10 swctf limit setting
    686a7f065cd8 drm/amd/powerplay: Fix hardmins not being sent to SMU for RV
    cd9c79f79dd4 drm/amdgpu/gfx10: refine mgcg setting
    54dc92e19008 drm/amd/display: use correct scale for actual_brightness
    83ac52039493 drm/amdgpu: Fix buffer overflow in INFO ioctl
    5f5bd9002bb1 drm/modeset-lock: Take the modeset BKL for legacy drivers
    057423349c34 drm/dp_mst: Don't return error code when crtc is null
    dd36e041bd51 drm/etnaviv: fix external abort seen on GC600 rev 0x19
    74e1bbfb842a drm/i915: Fix cmd parser desc matching with masks
    f07523a5b09a x86/hotplug: Silence APIC only after all interrupts are migrated
    bbf423c28efc x86/irq: Unbreak interrupt affinity setting
    66e1e9bda022 irqchip/stm32-exti: Avoid losing interrupts due to clearing pending bits by mistake
    a1b116511aa8 genirq/matrix: Deal with the sillyness of for_each_cpu() on UP
    8cb3561d084e usbip: Implement a match function to fix usbip
    3c491c441942 crypto: af_alg - Work around empty control messages without MSG_MORE
    1d35dfde2a7d device property: Fix the secondary firmware node handling in set_primary_fwnode()
    9a9cc8c9b1c7 powerpc/perf: Fix crashes with generic_compat_pmu & BHRB
    bdae01670694 powerpc/32s: Disable VMAP stack which CONFIG_ADB_PMU
    3b555853d736 PM: sleep: core: Fix the handling of pending runtime resume requests
    17d66e628058 arm64: vdso32: make vdso32 install conditional
    d36a6712d9f1 KVM: arm64: Set HCR_EL2.PTW to prevent AT taking synchronous exception
    13f35a2c0fd5 io-wq: fix hang after cancelling pending hashed work
    96d020ddff6a xhci: Always restore EP_SOFT_CLEAR_TOGGLE even if ep reset failed
    7d31eaa7e295 xhci: Do warm-reset when both CAS and XDEV_RESUME are set
    50a7c735bc0a usb: host: xhci: fix ep context print mismatch in debugfs
    55c0eeabceb7 usb: host: xhci-tegra: fix tegra_xusb_get_phy()
    c08e590b07e4 usb: host: xhci-tegra: otg usb2/usb3 port init
    68adec4646bf usb: renesas-xhci: remove version check
    2b32323f966d XEN uses irqdesc::irq_data_common::handler_data to store a per interrupt XEN data pointer which contains XEN specific information.
    05ae7cf354b7 writeback: Fix sync livelock due to b_dirty_time processing
    d74c235bd59f writeback: Avoid skipping inode writeback
    dd71dd1dc12f writeback: Protect inode->i_io_list with inode->i_lock
    1506fdcde864 io_uring: clear req->result on IOPOLL re-issue
    116790cfa0b8 serial: 8250: change lock order in serial8250_do_startup()
    89171ef86bdc serial: 8250_exar: Fix number of ports for Commtech PCIe cards
    0a60539b4cd9 serial: stm32: avoid kernel warning on absence of optional IRQ
    df26430356bf serial: pl011: Don't leak amba_ports entry on driver register error
    6648c599db7f serial: pl011: Fix oops on -EPROBE_DEFER
    e3f8041d2434 serial: samsung: Removes the IRQ not found warning
    edc8a4eb10cf vt_ioctl: change VT_RESIZEX ioctl to check for error return from vc_resize()
    2392eea66e66 vt: defer kfree() of vc_screenbuf in vc_do_resize()
    e863ac5f53dc USB: lvtest: return proper error code in probe
    34cf1aff169d fbcon: prevent user font height or width change from causing potential out-of-bounds access
    bb77dd02ba16 btrfs: detect nocow for swap after snapshot delete
    b40d12b7da66 btrfs: fix space cache memory leak after transaction abort
    c7e8c6f46869 btrfs: check the right error variable in btrfs_del_dir_entries_in_log
    204ed5f3f628 btrfs: reset compression level for lzo on remount
    b4cbbc1305f0 blk-mq: order adding requests to hctx->dispatch and checking SCHED_RESTART
    649b6c86ccf7 HID: i2c-hid: Always sleep 60ms after I2C_HID_PWR_ON commands
    7aaaf975dd4c block: loop: set discard granularity and alignment for block device backed loop
    7b85140f7060 block: fix get_max_io_size()
    8245d79338b7 hwmon: (gsc-hwmon) Scale temperature to millidegrees
    faf428a8d81c arm64: Allow booting of late CPUs affected by erratum 1418040
    e028fa961a3a arm64: Move handling of erratum 1418040 into C code
    736d8a6a73be bpf: selftests: global_funcs: Check err_str before strstr
    d5a4d2f25d77 libbpf: Fix map index used in error message
    1c20c32e8a2a powerpc/perf: Fix soft lockups due to missed interrupt accounting
    d3499d206c5d ext4: limit the length of per-inode prealloc list
    61aacc3594c9 bpf: Avoid visit same object multiple times
    2d9018e5e6e2 bpf: Fix a rcu_sched stall issue with bpf task/task_file iterator
    3636ca3d046f drm/amdkfd: fix the wrong sdma instance query for renoir
    eb9f5a5bf402 drm/amdgpu: fix NULL pointer access issue when unloading driver
    833e41f79c77 net: gianfar: Add of_node_put() before goto statement
    a8f90da8480c macvlan: validate setting of multiple remote source MAC addresses
    cd8e4a8c7416 Revert "scsi: qla2xxx: Fix crash on qla2x00_mailbox_command"
    a36de930485f scsi: qla2xxx: Fix null pointer access during disconnect from subsystem
    aa6373e5f9d6 scsi: qla2xxx: Check if FW supports MQ before enabling
    3d2419958fc5 scsi: qla2xxx: Fix login timeout
    eb34d23c9473 scsi: qla2xxx: Indicate correct supported speeds for Mezz card
    580ffb7fd621 scsi: qla2xxx: Flush I/O on zone disable
    2626e3b023ff scsi: qla2xxx: Flush all sessions on zone disable
    018360efe867 scsi: scsi_debug: Fix scp is NULL errors
    56f13789a05a scsi: ufs: Clean up completed request without interrupt notification
    91be3977cc34 scsi: ufs: Improve interrupt handling for shared interrupts
    33cf91947c84 scsi: ufs: Fix possible infinite loop in ufshcd_hold
    4ef551cd2f8b scsi: fcoe: Fix I/O path allocation
    5dd18770d919 selftests: disable rp_filter for icmp_redirect.sh
    8e6025686c8a ALSA: usb-audio: ignore broken processing/extension unit
    ee4dd74d0872 ASoC: wm8994: Avoid attempts to read unreadable registers
    42f9f777f953 s390/cio: add cond_resched() in the slow_eval_known_fn() loop
    f3637a82e1f8 ALSA: hda/realtek: Add model alc298-samsung-headphone
    effc2c1250cf drivers/net/wan/hdlc_x25: Added needed_headroom and a skb->len check
    1ca28e0d9e49 dma-pool: Only allocate from CMA when in same memory zone
    47184b9ddf18 dma-pool: fix coherent pool allocations for IOMMU mappings
    b960e50d6172 can: j1939: transport: j1939_xtp_rx_dat_one(): compare own packets to detect corruptions
    da9c02c50991 selftests/bpf: Correct various core_reloc 64-bit assumptions
    751799b3b2ef selftests/bpf: Fix btf_dump test cases on 32-bit arches
    daca0c13cb12 selftest/bpf: Fix compilation warnings in 32-bit mode
    50bc5a55666e tools/bpftool: Fix compilation warnings in 32-bit mode
    b97071cc83f8 libbpf: Prevent overriding errno when logging errors
    e3a5fa63a2e5 netfilter: avoid ipv6 -> nf_defrag_ipv6 module dependency
    810b3c8b656a selftests/bpf: Fix segmentation fault in test_progs
    4a5e1c465e84 drm/amd/display: Switch to immediate mode for updating infopackets
    04e7daa61fd7 drm/amd/display: Fix LFC multiplier changing erratically
    757460fe2351 drm/amd/powerplay: correct UVD/VCE PG state on custom pptable uploading
    eb7eaabb7fb9 drm/amd/powerplay: correct Vega20 cached smu feature state
    5a2bc176c13d spi: stm32: always perform registers configuration prior to transfer
    accab0677047 spi: stm32: fix stm32_spi_prepare_mbr in case of odd clk_rate
    0e92f6b422db spi: stm32: fix fifo threshold level in case of short transfer
    87fb6c0331bc spi: stm32h7: fix race condition at end of transfer
    c13fd34bc607 fs: prevent BUG_ON in submit_bh_wbc()
    e3e46eaa2f33 ext4: correctly restore system zone info when remount fails
    6c30edde8a3a ext4: handle error of ext4_setup_system_zone() on remount
    c27ed2e8d7f8 ext4: handle option set by mount flags correctly
    5482fa036756 jbd2: abort journal if free a async write error metadata buffer
    1ca3e7d0cc00 ext4: abort the filesystem if failed to async write metadata buffer
    c8bf676fff3e drm/virtio: fix memory leak in virtio_gpu_cleanup_object()
    f2fb15e7e037 ext4: skip non-loaded groups at cr=0/1 when scanning for good groups
    a245fa7062a6 ext4: handle read only external journal device
    d558851e5ff4 ext4: don't BUG on inconsistent journal feature
    55be43c8b123 jbd2: make sure jh have b_transaction set in refile/unfile_buffer
    9b04463ab475 spi: stm32: clear only asserted irq flags on interrupt
    a5d6a17faf19 video: fbdev: controlfb: Fix build for COMPILE_TEST=y && PPC_PMAC=n
    7fee32de555b usb: gadget: f_tcm: Fix some resource leaks in some error paths
    2813786a5b89 vdpa: ifcvf: free config irq in ifcvf_free_irq()
    5bd342db2db7 vdpa: ifcvf: return err when fail to request config irq
    b9080a8d8237 i2c: rcar: in slave mode, clear NACK earlier
    f24ffc31709b i2c: core: Don't fail PRP0001 enumeration when no ID table exist
    a416b1e870b1 drm/etnaviv: always start/stop scheduler in timeout processing
    87789f561e39 habanalabs: Fix memory corruption in debugfs
    6f43d2f469bf null_blk: fix passing of REQ_FUA flag in null_handle_rq
    e05f3c879aa8 nvme: multipath: round-robin: fix single non-optimized path case
    afb511ebb78a nvme-fc: Fix wrong return value in __nvme_fc_init_request()
    227064b2ca9e nvmet: fix a memory leak
    614b266f69fe blkcg: fix memleak for iolatency
    b5ce818355a8 blk-mq: insert request not through ->queue_rq into sw/scheduler queue
    3cea38246ad4 hwmon: (nct7904) Correct divide by 0
    4346396a717d bfq: fix blkio cgroup leakage v4
    700d01d85ebb block: Fix page_is_mergeable() for compound pages
    103942e19ae4 drm/msm/adreno: fix updating ring fence
    58794696d3d8 block: virtio_blk: fix handling single range discard request
    b31d83181f99 block: respect queue limit of max discard segment
    e2655c17ee2e nfsd: fix oops on mixed NFSv4/NFSv3 client access
    ccba36760ca3 ALSA: usb-audio: Add capture support for Saffire 6 (USB 1.1)
    be85585a0617 cpufreq: intel_pstate: Fix EPP setting via sysfs in active mode
    ce9d78bce0ef PM / devfreq: Fix the wrong end with semicolon
    6eacb4639e22 PCI: qcom: Add missing reset for ipq806x
    e78ff09ed4c3 PCI: qcom: Change duplicate PCI reset to phy reset
    ff381a46439a PCI: qcom: Add missing ipq806x clocks in PCIe driver
    0b91c538cedb net: openvswitch: introduce common code for flushing flows
    2a80aa3a41d4 arm64: Fix __cpu_logical_map undefined issue
    d91fe6fa0d84 efi: provide empty efi_enter_virtual_mode implementation
    14e6b3725ff0 pinctrl: mediatek: fix build for tristate changes
    08074471105f pinctrl: mediatek: avoid virtual gpio trying to set reg
    f02889decdc2 brcmfmac: Set timeout value when configuring power save
    1bbd2c5daed7 mmc: sdhci-of-arasan: fix timings allocation code
    b082d42f1c17 USB: sisusbvga: Fix a potential UB casued by left shifting a negative value
    7278a1b0a17f dmaengine: idxd: fix PCI_MSI build errors
    2757d46ff9cd powerpc/spufs: add CONFIG_COREDUMP dependency
    34f379956e9d KVM: arm64: Fix symbol dependency in __hyp_call_panic_nvhe
    22c3762014e2 drm/amd/display: fix compilation error on allmodconfig
    ad18857f5958 drm/amd/display: change global buffer to local buffer
    a539e86e8396 media: i2c: imx290: fix reset GPIO pin handling
    22dcf9b459e4 media: davinci: vpif_capture: fix potential double free
    f2231eeadd1b hugetlbfs: prevent filesystem stacking of hugetlbfs
    a11488640c6f EDAC/ie31200: Fallback if host bridge device is already initialized
    3e93d48ee60e i2c: i801: Add support for Intel Tiger Lake PCH-H
    e805b1ffc9be scsi: fcoe: Memory leak fix in fcoe_sysfs_fcf_del()
    3bd5dad493e5 ceph: do not access the kiocb after aio requests
    e9c34e71a043 ceph: fix potential mdsc use-after-free crash
    8ceddd70a682 netfilter: nf_tables: report EEXIST on overlaps
    71e86271b49b scsi: iscsi: Do not put host in iscsi_set_flashnode_param()
    b83f035a0fcc btrfs: make btrfs_qgroup_check_reserved_leak take btrfs_inode
    3b616321576e btrfs: file: reserve qgroup space after the hole punch range is locked
    4754db363cfd locking/lockdep: Fix overflow in presentation of average lock-time
    e95673aa1263 drm/nouveau: Fix reference count leak in nouveau_connector_detect
    62f9a8747340 drm/nouveau: fix reference count leak in nv50_disp_atomic_commit
    84708092d685 drm/nouveau/drm/noveau: fix reference count leak in nouveau_fbcon_open
    02465b9d38c9 f2fs: fix use-after-free issue
    f9bd216ca5bb HID: quirks: add NOGET quirk for Logitech GROUP
    acae5555c9c1 ASoC: Intel: sof_sdw_rt711: remove properties in card remove
    72db989557d9 cec-api: prevent leaking memory through hole in structure
    41399a7d4f50 gpu: host1x: Put gather's BO on pinning error
    4afc97f8ad5f ALSA: hda: Add support for Loongson 7A1000 controller
    674772bf76c9 mips/vdso: Fix resource leaks in genvdso.c
    90019585a606 rtlwifi: rtl8192cu: Prevent leaking urb
    d5d5a10574f8 ARM: dts: ls1021a: output PPS signal on FIPER2
    24a3bc57b937 PCI: Fix pci_create_slot() reference count leak
    19aa529aabea omapfb: fix multiple reference count leaks due to pm_runtime_get_sync
    fcd0ea8ff7f8 MIPS: KVM: Limit Trap-and-Emulate to MIPS32R2 only
    7fafbbefb758 f2fs: fix error path in do_recover_data()
    26bf496cd1b6 f2fs: remove write attribute of main_blkaddr sysfs node
    c06a07ab8a3d selftests/powerpc: Purge extra count_pmc() calls of ebb selftests
    cca4669a9768 scsi: target: Fix xcopy sess release leak
    bce0f660a06a xfs: Don't allow logging of XFS_ISTALE inodes
    2b5055b3aa5b scsi: lpfc: Fix shost refcount mismatch when deleting vport
    04cde704f329 drm/amdgpu/pm: fix ref count leak when pm_runtime_get_sync fails
    4e302836dc79 drm/amdkfd: fix ref count leak when pm_runtime_get_sync fails
    2e91283fdb45 drm/amdgpu/fence: fix ref count leak when pm_runtime_get_sync fails
    e4fdcdb7837c drm/amdgpu/display: fix ref count leak when pm_runtime_get_sync fails
    b86657e328b6 drm/amdgpu: fix ref count leak in amdgpu_display_crtc_set_config
    c04caca229c4 drm/amd/display: fix ref count leak in amdgpu_drm_ioctl
    8b73bed1e964 drm/amdgpu: fix ref count leak in amdgpu_driver_open_kms
    bedae9feaca9 drm/radeon: fix multiple reference count leak
    d312f436dd10 drm/amdkfd: Fix reference count leaks.
    b7850ba6edf0 platform/chrome: cros_ec_sensorhub: Fix EC timestamp overflow
    c71c249310b5 iommu/iova: Don't BUG on invalid PFNs
    8bcd6545f0b4 mfd: intel-lpss: Add Intel Tiger Lake PCH-H PCI IDs
    d7570375e9f2 scsi: target: tcmu: Fix crash on ARM during cmd completion
    4b0badbe3c91 staging: rts5208: fix memleaks on error handling paths in probe
    46381f4d0c1a blktrace: ensure our debugfs dir exists
    2145297ac316 gcc-plugins/stackleak: Don't instrument itself
    27a22e3c1645 media: pci: ttpci: av7110: fix possible buffer overflow caused by bad DMA value in debiirq()
    d75f8e2c9d6a powerpc/xive: Ignore kmemleak false positives
    970f32a28429 arm64: dts: qcom: msm8916: Pull down PDM GPIOs during sleep
    6a5bd8b333b8 mfd: intel-lpss: Add Intel Emmitsburg PCH PCI IDs
    dd80a7201ed7 ASoC: tegra: Fix reference count leaks.
    d5581a8e323c ASoC: img-parallel-out: Fix a reference count leak
    c340a3b9da14 ASoC: img: Fix a reference count leak in img_i2s_in_set_fmt
    7d60c7760631 EDAC/mc: Call edac_inc_ue_error() before panic
    ec24c53a4d0c drm/amdgpu: fix RAS memory leak in error case
    9cc4449aae8c ALSA: hda/hdmi: Use force connectivity quirk on another HP desktop
    3d41fe81e646 ALSA: hda/realtek: Fix pin default on Intel NUC 8 Rugged
    9a87d126b662 ALSA: pci: delete repeated words in comments
    ed2cdce09912 ALSA: hda/hdmi: Add quirk to force connectivity
    d4dadf0c5a07 ASoC: intel/skl/hda - fix probe regression on systems without i915
    bd331906c61b khugepaged: khugepaged_test_exit() check mmget_still_valid()

(From OE-Core rev: c41768d09624ecf311540507c9a40b9597b4dab8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Bruce Ashfield
46e74e1253 linux-yocto/config: netfilter: Enable nat for ipv4 and ipv6
Integrating the following commit(s):

    80452c7c245 netfilter: Enable nat for ipv4 and ipv6

(From OE-Core rev: 788623ab2913e760da9405de1c3a2633140122eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Khairul Rohaizzat Jamaluddin
85574ce0cf wic/bootimg-efi: IMAGE_EFI_BOOT_FILES variable added to separate bootimg-efi and bootimg-partition
Due to recent changes in bootimg-efi to include IMAGE_BOOT_FILES,
when both bootimg-partition and bootimg-efi occur in a single .wks
and IMAGE_BOOT_FILES are defined, files listed in IMAGE_BOOT_FILES
will be duplicated in both partition.
Since IMAGE_BOOT_FILES are crucial for bootimg-partition, but
optional for bootimg-efi, hence allowing bootimg-efi to have the option
to ignore it.

The new variable, IMAGE_EFI_BOOT_FILES, was added to help handle this
issue. Its basic usage is the same as IMAGE_BOOT_FILES.
Usage example:
        ${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext4;rootfs.img \

This commit is also squashed with the updated testcase to cover for
this change.

[YOCTO #14011]

(From OE-Core rev: 945339e06b273df1935cfd784f548ef57e0b7f4c)

Signed-off-by: Khairul Rohaizzat Jamaluddin <khairul.rohaizzat.jamaluddin@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Chris Laplante
a91c7901d0 cve-update-db-native: remove unused variable
(From OE-Core rev: 790f8a5bfbd1851226fa5fc5b09e79f6396e747d)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Chris Laplante
dfbfc11a7a cve-update-db-native: move -journal checking into do_fetch
It was always questionable to do this in an anonymous function, but now
with multiconfig it is a critical mistake and leads to more strange
"Exception: sqlite3.OperationalError: disk I/O error" errors.

(From OE-Core rev: fcbc9d0e8421a3a559db05005ba042337cd5d864)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Chris Laplante
a834ee990f cve-update-db-native: be less magical about checking whether the cve-check class is enabled
(From OE-Core rev: cbc717350b21fb417fa6f83621022ac633a26124)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Khem Raj
163968110d bind: Inherit update-alternatives
We are setting u-a for nslookup and it won't work unless we inherit this
class

(From OE-Core rev: 0cccb2ae6508c0b3d4a5362e61b24ee314c2fb02)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-15 11:53:28 +01:00
Khem Raj
3e33674521 go: Update to 1.15.2 minor release
This is bug fix release on 1.15 stable version

(From OE-Core rev: 0783a84a6b0df84be590f59e70cb80506c774f4d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 22:42:30 +01:00
Mingli Yu
e442924d9a qemu: always define unknown_lock_type
When use gcc 10.1.0 and debug build is enabled, there comes
below build failure:
 | /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

So always define unknown_lock_type to fix the above error.

(From OE-Core rev: d88e83d49478a2535575df769329d9b1e6579564)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 22:42:30 +01:00
TeohJayShen
2d7fd503ee oeqa/runtime: add test for matchbox-terminal
This test is checking that the terminal application is able to run. The click_terminal_icon_on_X_desktop manual test case from oeqa/manual/bsp-hw can be replace by this runtime test.

(From OE-Core rev: cfa9c1ce853bfd31c1febe61d0f7ad9c5d35f709)

Signed-off-by: TeohJayShen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 22:42:30 +01:00
Douglas Royds
61eedc347b tcmode-default: Drop gcc-cross-initial, gcc-crosssdk-initial references
Further to 5b2fd1c724

Also a few remaining references in comments and in distro_alias.inc

(From OE-Core rev: 35d4dd42477f316b6af889a0aec16439693e0849)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 22:42:30 +01:00
Khem Raj
614b7a15d6 core-image-weston: Bump qemu memory to 512M
It needs openGL and launching two weston instances during weston ptest
needs > 256M ram to work

(From OE-Core rev: 72668c42d4b2a0bc48a1341e30baac6c7968d993)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 22:42:30 +01:00
Khem Raj
bdfc4fb0e9 oeqa/weston: Fix tests to run with systemd
Currently, weston tests fail when using systemd, fix it by providing
transient unit file and inject it via systemd-run, which generates a
service file automatically and launches another weston instance to test
if it can launch a nested instance. Use systemctl stop to end the
service and cleanup, instead of brutal kill

(From OE-Core rev: 7572158b861cb5d4ebf6360ced08ab41419d74d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 22:42:30 +01:00
Khem Raj
8d04a52f48 weston-init: Select drm/fbdev backends for qemu machines
qemux86/x86_64/aarch64 supports drm backend well, therefore enable it on
these qemu machines, other qemu machines should be defaulting to fbdev,
if its not qemu then leave it empty

(From OE-Core rev: cfda3e10d5eb1563d10318c1d8ff6287b539ee04)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 22:42:30 +01:00
Khem Raj
fa4c4049d7 weston-init: Do not use fbdev backend
This works ok with latest weston/kernel to use drm backend

(From OE-Core rev: c696bdc424f1eadaa24dd8c0a8419e38f097f38a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 22:42:30 +01:00
Khem Raj
f9a8ba6ad0 weston-init: Enable RDP screen share
(From OE-Core rev: bdca4796ff43e475cd39fe1f1f48b9cfb08a5128)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 00:14:28 +01:00
Khem Raj
30ed002d21 weston: plane_add_prop() calls break musl atomic modesetting
This patch ensures, weston/drm backend works which ends up with blank
screen on musl based systems

(From OE-Core rev: b3a5b64f717b39536c96627ce058cf9c51cf3ba6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 00:14:28 +01:00
Pierre-Jean Texier
602066af70 diffoscope: upgrade 158 -> 160
This includes the following changes:

Version 159:

* Show "ordering differences only" in strings(1) output.
  (Closes: reproducible-builds/diffoscope#216)
* Don't alias output from "os.path.splitext" to variables that we do not end
  up using.
* Don't raise exceptions when cleaning up after a guestfs cleanup failure.
* Make "Command" subclass a new generic Operation class.

Version 160:

* Check that pgpdump is actually installed before attempting to run it.
  Thanks to Gianfranco Costamagna (locutusofborg). (Closes: #969753)
* Add some documentation for the EXTERNAL_TOOLS dictionary.
* Ensure we check FALLBACK_FILE_EXTENSION_SUFFIX, otherwise we run pgpdump
  against all files that are recognised by file(1) as "data".

(From OE-Core rev: 6433feb0705f969923d032cc289e7b210e11aa23)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 00:14:28 +01:00
Armin Kuster
45da2fc4f7 core-image-sato: qemumips use 512 mem
Fixes:

WARNING: core-image-sato-sdk-1.0-r0 do_testimage: Couldn't login into serial console as root using blank password
WARNING: core-image-sato-sdk-1.0-r0 do_testimage: The output:
root
<<< run_serial(): command timed out after 60 seconds without output >>>

In another run, this error was seen:

Failed to reload daemon: Refusing to reload, not enough space available on /run/systemd. Currently, 14.3M are free, but a safety buffer of 16.0M is enforced.

With updates to systemd and Qemu we should revert: 499a31cf06 core-image-sato: don't use 512MB in qemumips

(From OE-Core rev: cf92c8bbd017338e7e91ac092c6f222b6e37e44a)

Signed-off-by: Armin Kuster  <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 00:14:28 +01:00
Khem Raj
31bbf06a13 populate_sdk_ext: Do not assume local.conf will always exist
Some distros may not have local.conf, and use auto.conf or site.conf
alone to describe distro config metadata, therefore make code robust
to not fail eSDK builds for such setups

(From OE-Core rev: 6379f951ba92b2b86a55de5fc267bacf8c6095d2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 00:14:28 +01:00
Michael Gloff
2d62f6d7d9 sysvinit: Remove ${B} assignment
The VERSION variable is not set unless the
top level Makefile is used as the version is
derived from the Changelog.
If VERSION is not set, none of the binaries built
in the sysvinit recipe will have a valid version
output.
Before:
INIT: version  booting
After:
INIT: version 2.96 booting

Using the top level Makefile does not cause any
additional builds to occur.

(From OE-Core rev: 10992ad4f343d0f92d9d6246cc2e58effd3f3eeb)

Signed-off-by: Michael Gloff <mgloff@emacinc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 00:14:28 +01:00
Pierre-Jean Texier
e7e3bdbbd7 libubootenv: upgrade 0.3 -> 0.3.1
This is a bugfix release which includes the following changes:

824551a Prepare 0.3.1
ca6aaa1 Fix file reading/writing when the environment is in EEPROM
a031dea Fix regression in UBI volume support
c91c150 Define SOVERSION to indicate API version

(From OE-Core rev: 447eb941ef43cd5af19aed650fb7da718cedda61)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 00:14:28 +01:00
Geoff Parker
5823ecbac1 systemd-serialgetty: Replace sed quoting using ' with " to allow var expansion
A recent commit added single quotes around the sed regex's. This prevented the
expansion of $default_baudrate in do_install(), and ended up with systemd's'
serial-getty@.service file having a literal $default_baudrate.

This broke the serial console getty service.

serial-getty@.service was getting a line which looked like this:

  ExecStart=-/sbin/agetty -8 -L %I $default_baudrate $TERM

Rather than:

  ExecStart=-/sbin/agetty -8 -L %I 115200 $TERM

Fixed by repacing the single quotes with double quotes in the sed expressions.

(From OE-Core rev: 80b721bfa4fe300a2f52f233f44fa2835426d304)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-14 00:14:28 +01:00
Richard Purdie
c4daf38f47 bitbake: tinfoil: Ensure sockets don't leak even when exceptions occur
We're seeing leaking open socket connections when errors occur and
tinfoil is in use. Improve the exception handling so the sockets
are closed even if exceptions occur, allowing more robust behaviour
when things go wrong.

(Bitbake rev: cefbec9ff47ca973a74ec7300cd736f3e0f0bce0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 16:02:11 +01:00
Richard Purdie
79adf16931 bitbake: cooker/command: Fix disconnection handling
After the recent init changes, if a client disconnects before issuing a
command, the cooker can break in the reset handlers. Add some guards
in the code to prevent this.

(Bitbake rev: 12605e30e4c4e1ae6a67c97363b892ebf0b9566c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 15:29:56 +01:00
Christophe GUIBOUT
909a9f5e8e initramfs-framework: support kernel cmdline with double quotes
It avoids init to crash when kernel cmdline contains a string with
spaces inside, like that:
dyndbg="file drivers/usb/core/hub.c +pltf"

(From OE-Core rev: 88b8b94bd2d052bca29d27bd5cd00eddb0f5999d)

Signed-off-by: Christophe Guibout <christophe.guibout@st.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Ross Burton
33efd93517 cve-update-db-native: use fetch task
Instead of inventing a new task to fetch the CVE data, use the existing
fetch task.

(From OE-Core rev: f5f97d33a1703d75b9fd9760f2c7767081538e00)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Ross Burton
f0d9c8926b cve-update-db-native: add more logging when fetching
Add some debug logging when fetching the CVE data.

(From OE-Core rev: 9b230584664873af2ab453b8153b1ad276d3b0af)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Ross Burton
d6a3bbcff1 cve-update-db-native: remove unused import
This import isn't used anymore, so remove it.

(From OE-Core rev: d4f0e43bdf1de972e95869f033dd45f8d420c400)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Ross Burton
e2ab24ce35 qemu: fix CVE-2020-14364
Backport a patch from upstream to fix CVE-2020-14364.

(From OE-Core rev: 1ffd4d94e879b338e190a2c4798a4e0bada9b5a7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
zangrc
72748e1c3d at-spi2-core:upgrade 2.36.0 -> 2.36.1
(From OE-Core rev: 475c584e07612bfddc98f5a87ec5240c479fad54)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Ross Burton
b3168502d3 ncurses: remove config.cache
Instead of having a config.cache that overrides the system site files,
simply set the values in CACHED_CONFIGUREVARS. We can also drop the
mkstemp check as the configure.ac assumes it works, leaving just
nanosleep.

(From OE-Core rev: c30c90e3adfa91407c37838c971e251f8482e2b8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Diego Sueiro
f688eb3f3d license_image.bbclass: Fix symlink to the image license manifest dir creation
If IMAGE_LINK_NAME is empty don't try to create the symlink.

[YOCTO #14042]

(From OE-Core rev: b54d92235408abdf0ba75a4d46329ec992af6006)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Kai Kang
6559577d70 dhcpcd: 9.1.4 -> 9.2.0
Upgrade dhcpcd from 9.1.4 to 9.2.0. And add systemd services files
dhcpcd.service and dhcpcd@.service from Fedora:

https://src.fedoraproject.org/rpms/dhcpcd/tree/master

(From OE-Core rev: 3e729e918ca7f42446517abfcd1eced72db7a7f1)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Denys Dmytriyenko
d107c45b2c cryptodev: bump 1 commit past 1.11 to fix 5.9-rc1+
There's one commit on top of 1.11 release that fixes builds against kernel 5.9-rc1+.

(From OE-Core rev: 14ec2d2332d14d90a4b8b058b8df90d1884cfe38)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Stacy Gaikovaia
6d39bf13a4 bison: uprev from 3.7.1 to 3.7.2
a0bc06b7 (tag: v3.7.2) version 3.7.2
5e33dfe5 build: disable syntax-check warning
2a4e9a35 gnulib: update
f7b642cf build: fix incorrect dependencies
3da17724 doc: updates
68e3e442 gnulib: update
e432619d tests: beware of sed portability issues
a1b7fef0 c: always use YYMALLOC/YYFREE
067e35a8 build: beware of POSIX mode
0522047c doc: history of api.prefix
3724b50e CI: intel moved the script for ICC
b801b7b6 fix: unterminated \-escape
b7aab2db fix: crash when redefining the EOF token
89e42ffb style: fix missing space before paren
6aae4a73 style: fix comments and more debug trace
7d4a4300 style: more uses of const
31d4ec28 bench: fix support for pure parser
0a5bfb4f portability: multiple typedefs
12d0b156 style: revert "avoid warnings with GCC 4.6"
cb7dcb01 maint: post-release administrivia

CVE: CVE-2020-24980 fixed by b801b7b6
CVE: CVE-2020-24979 fixed by b7aab2db

(From OE-Core rev: 00a259ff93beb32b231843304c0f96c235bc4d22)

Signed-off-by: Stacy Gaikovaia <Stacy.Gaikovaia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Bruce Ashfield
d1c691b3ad kernel-devsrc: account for HOSTCC and HOSTCXX
Since commit 740d87766cb87f75c477 [kernel.bbclass: Configuration
for environment with HOSTCXX], both HOSTCC and HOSTCXX are pickedup
by the kernel build system as triggers to reconfigure if changed.

As with previous changes to devsrc, we replace the cross build
variant, with what will be on target, so operations such as
'make scripts prepare' won't trigger a reconfiguration.

(From OE-Core rev: d7981babc55845914f20e7deb11b81aa2dbfcff3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Khem Raj
17bac2333e linuxloader.bbclass: Define riscv32 ldso for musl
(From OE-Core rev: c178a5609b2f3cca52532a8b6d6a5927cad386db)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Khem Raj
bfa843d01b libucontext: Recognise riscv32 architecture
(From OE-Core rev: 67ec87e37d66fc287158e500d7f8465a0dd5d8c6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:49:00 +01:00
Khem Raj
071b1fa518 musl: Upgrade to latest master
Accomodates rv32 port which is out of tree at the moment

details are [1]

[1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=73cc775bee53300c7cf759f37580220b18ac13d3..ffac0c229986725c0d0f3c806bafa7e3ca409f3b

(From OE-Core rev: ce688d36ebd758e6c8973dd3a1d7d93ab075f5d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:48:59 +01:00
Saul Wold
0c06506d42 gnupg: uprev 2.2.22 -> 2.2.23
This addresses CVE-2020-25125 and provides some other minor
updates and translations.

Updated commits for reference:
  e234d04c3 Werner Koch Release 2.2.23
  aeb8272ca Werner Koch gpg: Fix AEAD preference list overflow
  038314665 Werner Koch po: auto update
  1a4b0fd79 Yuri Chornoivan po: Update Ukrainian translation
  93d10403a Jakub Bogusz po: Update Polish translation
  a8a8105bc Werner Koch po: Add key-check.c to the list of translatable sources.
  cad9955ac Petr Pisar po: Update Czech translation.
  896c528ba Werner Koch gpg: Fix segv importing certain keys.
  0a9665187 NIIBE Yutaka scd: Fix a regression for OpenPGP card.
  bcae9cd4e Nagy Ferenc László po: Minor update to the Hungarian translation.
  d2fe2ffd7 Werner Koch sm: Fix a bug in the rfc2253 parser
  f799b3ddb Werner Koch Post release updates

(From OE-Core rev: 965683336816eba7cb0548e59faf224f74b306b1)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-12 14:48:59 +01:00
Chris Laplante
9b2b23d5ec bitbake: utils: fix UnboundLocalError when _print_exception raises
PEP 3110 changed how exceptions work. 'e' is unbound
after the 'except' clause. See: https://www.python.org/dev/peps/pep-3110/#semantic-changes

(Bitbake rev: b69e97de53eb172ed730993e3b755debaa26f30d)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:49:21 +01:00
Robert Yang
f738ed43e9 bitbake: utils.py: get_file_layer(): Improve performance
The following code costs a lot of time when there are lot of layers and recipes:

     for collection in collections:
         collection_res[collection] = d.getVar('BBFILE_PATTERN_%s' % collection) or ''

My build has more than 100 layers and 3000 recipes, which calls d.getVar() 300K
(3000 * 100) times and makes 'bitbake-layers show-recipes' very slow, add a
keyword argument to get_file_layer() can fix the problem, it can save about 90%
time in my build (6min -> 40s).

(Bitbake rev: f08a6601c9bb09622855d62e1cedb92fafd2f71d)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:49:21 +01:00
Robert Yang
f543535e3c bitbake: utils.py: get_file_layer(): Exit the loop when file is matched
This can make "$ bitbake-layers show-recipes" save about 60% time (14min ->
6min) in my build (more than 3000 recipes)

The command "bitbake-layers show-recipes" calls bb.utils.get_file_layer() with
each recipe, and get_file_layer() compare the file with each item in BBFILES
which makes it very time consuming when there are a lot of recipes and items in
BBFILES. So use BBFILES_PRIORITIZED and exit when file is matched, it doesn't
make sense to go on the loop when file is matched.

And use fnmatchcase to replace of fnmatch since the comparison should be
case-sensitive.

(Bitbake rev: 8d64181d29dc262e066a6114dd51e5f2d04f47de)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:49:21 +01:00
Robert Yang
a74fb2b306 bitbake: cooker.py: Save prioritized BBFILES to BBFILES_PRIORITIZED
The original code saved BBFILES back to BBFILES without any changes which isn't
usefule, so remove that line. Now save prioritized BBFILES to
BBFILES_PRIORITIZED which can accelerate the query a lot for the one which
relies on it such as bb.utils.get_file_layer().

(Bitbake rev: 49bdb5dfa57b41b3ed399961e947c404f9195998)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:49:21 +01:00
Chris Laplante
926c154eb4 bitbake: utils: process_profilelog: use context manager
(Bitbake rev: 42172900af06baeee559d33b150d5febdf8e960a)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:49:21 +01:00
Joshua Watt
d58504b097 bitbake: bitbake: Add parsing torture test
Adds a contrib/ script that repeatedly runs bitbake and interrupts
parsing to try and reproduce parsing deadlocks.

(Bitbake rev: 0457482e252f216618a6fccad0030fcd6c5a304f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:49:21 +01:00
Khem Raj
31259e5913 weston-init: Redefine weston service and add socket activation option
Currently, weston when autolauched with systemd ends up with seat0
related errors because its launched before seat0 is assigned.

Fixes
[05:16:09.357] logind: failed to get session seat
[05:16:09.358] logind: cannot setup systemd-logind helper (-61), using legacy fallback

The above error results in ptest failures in parselogs, even though
weston has started ok using fallback methods, these errors are still seen in logs

Also fixes weston ptests
RESULTS - weston.WestonTest.test_weston_can_initialize_new_wayland_compositor: PASSED (8.58s)

(From OE-Core rev: c21fa5a291ab207a084285935ab73a0b4225c965)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Henning Heinold <henning@itconsulting-heinold.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:48:27 +01:00
Jon Mason
75e803a4d0 tune-cortexa*: Cleanups
Make the existing ARMv8 Cortex-A tunings similar in the way the cascade
the settings.

(From OE-Core rev: cde415c640164ffd3593aff1ba32b252e68adbd8)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:48:26 +01:00
Jon Mason
e66a7495d1 tune-cortexa57-cortexa53.inc: add CRC and set march
Add CRC to the default tuning of big.LITTLE Cortex-A57-A53.  This puts
it inline with all other ARMv8a tunings.  Also, reference
PACKAGE_EXTRA_ARCHS_tune-armv8a-crc instead of
PACKAGE_EXTRA_ARCHS_tune-aarch64, which sets the -march to armv8 and
enables the CRC.

(From OE-Core rev: 96b556ec509e224573fe34ba8001416dcc0e1ad4)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:48:26 +01:00
Jon Mason
07b13dfc0d tune-cortexa55.inc: clean-up ARMv8.2a uses
Remove 'crc', as that is implied by 8.2 (per GCC
https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html#AArch64-Options).

Also, the PACKAGE_EXTRA_ARCHS should refer to the ARMv8.2a version, not
the more generic ARMv8 version.

(From OE-Core rev: 0e34eeeeb4dd60cfa86beb84f867e1940dbbefaa)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:48:26 +01:00
Jon Mason
2d9e3e1ec5 cortex-m0plus.inc: change file permissions
File is executable, and should be read/write.

(From OE-Core rev: fe211b16007848a36a5415e5b9bcf8ab3364dc74)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:48:26 +01:00
Chris Laplante
06b20b01a0 cve-check: avoid FileNotFoundError if no do_cve_check task has run
For example, if you just run 'bitbake cve-update-db-native' in a clean
build system, |cve_tmp_file| won't exist yet.

(From OE-Core rev: dd4473f3d8e1c1a587b6de660775e4b46ddc5fad)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:48:26 +01:00
Chris Laplante
b59e0bc9fe cve-update-db-native: use context manager for cve_f
(From OE-Core rev: ff422652e1b5db62205fafc75ce56bb5951d478d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:48:26 +01:00
Chris Laplante
9ba2f3b8c3 cve-check/cve-update-db-native: use lockfile to fix usage under multiconfig
Previously CVE_CHECK_DB_FILE / CVE_CHECK_DB_DIR was the same across
multiconfigs which led to a race condition wherein multiple
cve-update-db-native:do_populate_cve_db tasks could attempt to write to
the same sqlite database. This led to the following task failure:

    Error executing a python function in exec_python_func() autogenerated:

    The stack trace of python calls that resulted in this exception/failure was:
    File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
         0001:
     *** 0002:do_populate_cve_db(d)
         0003:
    File: '/mnt/data/agent/work/74f119cccb44f133/yocto/sources/poky/meta/recipes-core/meta/cve-update-db-native.bb', lineno: 103, function: do_populate_cve_db
         0099:        if year == date.today().year:
         0100:            cve_f.write('CVE database update : %s\n\n' % date.today())
         0101:
         0102:    cve_f.close()
     *** 0103:    conn.commit()
         0104:    conn.close()
         0105:}
         0106:
         0107:def initialize_db(c):
    Exception: sqlite3.OperationalError: disk I/O error

Use a lockfile to ensure multiple tasks don't step over each other.

(From OE-Core rev: 24e9380643a2ae3fcae193519cb64aedaf682153)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:48:26 +01:00
Chris Laplante
1b836a17ec cve-update-db-native: add progress handler
(From OE-Core rev: 79ae2e82b8ec11578177f428060b568d6c7d44ca)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:48:26 +01:00
Denys Dmytriyenko
7c9df041f4 weston: upgrade 8.0.0 -> 9.0.0
Weston 9.0.0 is released! This release cycle has been pretty quiet,
with just a few new features:

- A new kiosk shell allows to display regular desktop apps in an
  always-fullscreen mode
- Improved testing infrastructure: the test harness has been
  redesigned, DRM tests are now supported, DRM and OpenGL tests are now
  enabled in our CI
- DRM panel orientation property support

As always, a number of bug fixes are included as well.
https://lists.freedesktop.org/archives/wayland-devel/2020-September/041595.html

Add a patch to fix building of tests/weston-test-fixture-compositor.c on musl.

(From OE-Core rev: 3a638fbd81c365d7383ce91d7acb832c46acfb4c)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:48:26 +01:00
Ovidiu Panait
592a9e75f7 libxml2: Fix CVE-2020-24977
GNOME project libxml2 v2.9.10 and earlier have a global Buffer Overflow
vulnerability in xmlEncodeEntitiesInternal at libxml2/entities.c. The issue has
been fixed in commit 8e7c20a1 (20910-GITv2.9.10-103-g8e7c20a1).

Reference:
https://gitlab.gnome.org/GNOME/libxml2/-/issues/178

Upstream patch:
50f06b3efb

(From OE-Core rev: 92dc02b8f03f3586de0a2ec1463b189a3918e303)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-10 13:48:26 +01:00
Aníbal Limón
34eee398f9 recipes-graphics/xorg-xserver: Add patch to fix segfault when probe
Fix segfault on probing a non-PCI platform device on a system with PCI.

...
    at ../../xorg-server-1.20.9/os/log.c:1017
    at ../../xorg-server-1.20.9/os/osinit.c:156
    at ../../xorg-server-1.20.9/os/osinit.c:110
    at ../../../../xorg-server-1.20.9/hw/xfree86/common/xf86platformBus.c:292
    argv=argv@entry=0xffffca43c7c8) at ../../../../xorg-server-1.20.9/hw/xfree86/common/xf86Init.c:388
    at ../../xorg-server-1.20.9/dix/main.c:193
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>)
    at ../csu/libc-start.c:314
...

Backported from upstream rev e50c85f4e.

(From OE-Core rev: 3b37cbd53219d9c10640b462aa91991d8cbc2a23)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-09 10:11:57 +01:00
Ross Burton
b18c140467 cmake: whitelist CVE-2016-10642
This CVE is specific to the npm package that can install cmake, so isn't
relevant to our cmake recipe.

(From OE-Core rev: 8e74ed809ec4c1f61264ecf5be4bc319e5e07766)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 23:03:04 +01:00
Ross Burton
1a99396ed5 harfbuzz: fix a build race around hb-version.h
(From OE-Core rev: e7cbfd0573b77d7debab3fbf4b05565ac8b33f3a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 16:43:40 +01:00
Ross Burton
fc1d63c017 harfbuzz: update patch status
(From OE-Core rev: 3527a361c77ec901a4fa05b7c0835950793b759c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 16:43:40 +01:00
Ross Burton
12f23b06fc curl: add vendors to CVE_PRODUCT to exclude false positives
To avoid false positives (such as CVE-2010-0734, rubygems:curl), expand
the CVE_PRODUCT list to include all the vendors that have been used.

(From OE-Core rev: bb265122cccea9466405fdd924ad10ce8cda0dec)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 16:43:40 +01:00
Oleksandr Kravchuk
260f490c28 ell: update to 0.33
Changelog
- Fix issue with uintset and number of bytes copied.
- Fix issue with overflow in DHCP lease T2 computation.
- Fix issue with side channel leak in l_ecc_scalar_new.
- Fix issue with missing MSG_MORE in l_cipher_set_iv.
- Add support for DHCP v6 client implementation.

(From OE-Core rev: 3ad8ca257d40f5041b3ec167e4117c687da448a9)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 16:43:40 +01:00
Zhixiong Chi
01e0c458ed gnutls: CVE-2020-24659
Backport the CVE patch from the usptream:
https://gitlab.com/gnutls/gnutls.git
commit 29ee67c205855e848a0a26e6d0e4f65b6b943e0a

(From OE-Core rev: 84b1bc500e318657cb7a8a189b59cc63bc91dca3)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 16:43:40 +01:00
Richard Purdie
e9ec164efa oeqa/concurrencytest: Improve builddir path manipulations
Its possible some patterns may cause problems with the current path
manipulations, make a small tweak to try and avoid potential pathname
overlap issues.

(From OE-Core rev: 889005dc17d3e3b8eadee907ee2c05b8ff613285)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 16:43:40 +01:00
Richard Purdie
906644c09e selftest/signing: Ensure build path relocation is safe
Similarly to 04ee0e8b95cd8ed890374e0007f976684206b630, ensure only full
build paths are replaced in the environment to avoid breaking buildtools.

(From OE-Core rev: fcd0a9683af1a9155eabbd9056e3b46d4a931b2e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 16:43:40 +01:00
Rahul Kumar
12d0fdd9c9 systemd-serialgetty: Fix sed expression quoting
Fix sed: -e expression #1, char 13: unterminated `s' command

Error Message:
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'glibc', 'patch-native', 'quilt-native', 'gcc-cross-arm', 'gcc-runtime', 'linux-libc-headers', 'libgcc', 'flex-native', 'xz-native', 'libtool-native', 'automake-native', 'binutils-cross-arm', 'zlib-native', 'mpfr-native', 'texinfo-dummy-native', 'autoconf-native', 'libmpc-native', 'gnu-config-native', 'gmp-native', 'attr-native', 'm4-native', 'gettext-minimal-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_install
| sed: -e expression #1, char 13: unterminated `s' command
| WARNING: exit code 1 from a shell command.
| ERROR: Execution of '/opt/Projects/poky/build/tmp/work/qemux86_64-poky-linux/systemd-serialgetty/1.0-r5/temp/run.do_install.11228' failed with exit code 1:
| sed: -e expression #1, char 13: unterminated `s' command
| WARNING: exit code 1 from a shell command.
|

To Fix this Issue using the strong (single quote) character in sed command.
It is recommend to use quotes. If we have meta-characters in the command, quotes are necessary.

(From OE-Core rev: e2fea05e150dcfec4b7dfbd8edddb53897026bf9)

Signed-off-by: Rahul Kumar <rahulk@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 16:43:40 +01:00
Adrian Freihofer
8d7b5e56ad oe-publish-sdk: add --keep-orig option
Support publishing the sdk-update as well as the sdk installer in one
go.

(From OE-Core rev: 97f1544132ba3bb0c85cdafff6a870c7ba0ef2e4)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 16:43:40 +01:00
Adrian Freihofer
da44b89f66 oe-publish-sdk: fix layers init via ssh
Escaping does not work in my use case. It must be escaped for
python, ssh and shell as well as for different versions of echo.
Let's try it a little less elegant, but hopefully more reliable.

(From OE-Core rev: 5cc1ae332eb6b05d83802c8d64ab2767c7079412)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 16:43:40 +01:00
Matt Madison
dbe75a790d image.bbclass: fix REPRODUCIBLE_TIMESTAMP_ROOTFS reference
Commit 97b439469a45a089431ca9c31893288c855045f4 added a fallback
mechanism for getting the rootfs timestamp. However, it uses curly
braces around the variable name, which causes bitbake resolve the
variable reference, rather than the shell, so the git timestamp
never gets used. Fix the reference to restore the intent of
making it a fallback for when there is no git timestamp to
retrieve.

(From OE-Core rev: fbcf2c1c255b0c61a795c032cf7b67f5db41baa8)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 16:43:40 +01:00
Richard Purdie
c25309ecde bitbake: cooker: Ensure parser worker signal handlers are default
Otherwise this can interfer with multiprocessing exit handling.

(Bitbake rev: b88816c4c84fa4f5ad39c263f5e75b96476e9768)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 10:18:02 +01:00
Richard Purdie
1ba387a12c bitbake: cooker: Avoid parser deadlocks
If you make parsing fail (e.g. add something like:

X := "${@d.getVar('MCMACHINES').split()[1]}"

to meson.bbclass, then run "while true; do bitbake -g bash; done"
it will eventually hang. It appears the cancel_join_thread() call the
parsing failure triggers, breaks the results_queue badly enough that it
sits in read() indefintely (called from self.result_queue.get(timeout=0.25)).
The timeout only applies to lock aquisition, not the read call.

I've tried various other approaches such as using cancel_join_thread()
in other places but the only way things don't lock up is to avoid
cancel_join_thread() entirely for results_queue.

I do have a concern that this may adversely affect Ctrl+C handling
but equally, its broken now already and this appears to improve
things.

[YOCTO #14034]

(Bitbake rev: 9c61a1cc7be46c23da1f4ef3bee070fb83c4be57)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-08 10:18:02 +01:00
Richard Purdie
f19f252e2b runqemu: Add a hook to allow it to renice
We have an issue where qemu is being starved of resources on our autobuilders.
We can't raise its priority without special capacilties, therefore add a hook
which if present can allow this to happen using an executable
"~/runqemu-renice".

(From OE-Core rev: 141a3c9ce93bc3d526303021ecf0460c6e9fea8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-06 09:58:50 +01:00
Richard Purdie
0486b342fe bitbake: cooker: Ensure parser is cleaned up
During cooker shutdown, its possible the parser isn't cleaned up. Fix
this (which may partially explain why threads were left hanging around
at exit).

(Bitbake rev: 928609f30f3a20aaa2f88afc18044a4e10199488)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-06 09:58:50 +01:00
Ross Burton
009d359036 local.conf.sample.extended: remove help2man reference
help2man isn't part of the early build anymore, so there's no point in
referring to it here.

(From meta-yocto rev: c601f5bd5ddfe8e8be709a4541b95c772a0d3b6f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:21:07 +01:00
Khem Raj
19e786b6fa go: Upgrade to 1.15 major release
1.15 is latest major release changelog is [1] and detailed blog is [2]

Drop hardcoding ldso patch in favor of setting it using GO_LDSO variable
which can be defined in terms of linuxloader defined by OE

Setting GOBUILDMODE to pie is no longer needed

[1] https://golang.org/doc/go1.15
[2] https://blog.golang.org/go1.15

(From OE-Core rev: aa1bfaff4adc9246a2d65592b3a8061d55829086)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:19:20 +01:00
Ross Burton
d567c995c3 help2man: rewrite recipe
This recipe was originally explicitly minimal because it was needed to
bootstrap autotools, but that isn't the case anymore.

Instead of being explicitly native, use BBCLASSEXTEND.

No need to explicitly depend on autoconf-native automake-native, because
the autotools class does that.

As this recipe isn't needed in early build anymore there's no need to
avoid reconfiguring.

(From OE-Core rev: 1e98edf46d0b96da2aea7dabd1d7cf3ce6c5e7bd)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:19:20 +01:00
Ross Burton
b325f0bf30 kea: bump to 1.7.10
This is the latest release in the 1.7.x series so should be a safe
upgrade, and means we can drop a patch as the AC_TRY_RUN has an
optimistic fallback for cross-compiling now.

(From OE-Core rev: 49ce9c09d86d645f3fa30e41430075b1ffa8c768)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:19:20 +01:00
Ross Burton
b4a4b421bd kea: don't use PACKAGECONFIG inappropriately
The Kea recipe has PACKAGECONFIG options for boost, openssl, and
log4cplus. However, these are not optional but mandatory dependencies.

Remove the PACKAGECONFIGs and replace with explicit DEPENDS and
EXTRA_OECONF. Also the RDEPENDS in the PACKAGECONFIGs are redundant as
the library dependencies are generated correctly.

(From OE-Core rev: d58dc77ab71ea85f8f12ea4ca2e28e0afee60440)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:19:20 +01:00
Ross Burton
e2fabd7e5f kea: no need to depend on kea-native
kea-msg-compiler is only needed if you alter the messages and the
generated sources need to be rebuilt.  When this is the case, there are
better ways to build kea-msg-compiler that don't involve building all of
Kea.

Don't depend on kea-native, remove BBCLASSEXTEND=native, and the target
overrides.

(From OE-Core rev: 5e6174c58d5e3a95eccee773b6670242cb9ab8f4)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:19:19 +01:00
Ross Burton
7244c2d05c autoconf: consolidate DEPENDS
Depending on nativesdk- varients in a nativesdk build isn't correct, so
just collapse the DEPENDS down and let bitbake do the right thing (which
is leaving them as -native).

(From OE-Core rev: 4864167ad4ed4c57e49f2aa5e7c58383bddb052b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:19:19 +01:00
Ross Burton
270c02f78c autoconf: consolidate SRC_URI
There's no point splitting SRC_URI between the .inc and the .bb when
there's just one recipe and the splitting appeared to be arbitrary.

(From OE-Core rev: f627fa2992420c09e57376fbba62d545512c19f2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:19:19 +01:00
Ross Burton
2762e2e84b insane: only load real files as ELF
The file path checks are passed an ELF object if the file is an ELF. It
doesn't make a lot of sense to load symlinks to ELFs as if they're in
the same package then the real file will be checked too.

This should speed up do_package_qa slightly as libraries won't be
scanned repeatedly.

(From OE-Core rev: c63af30d3b6350361daff94a59d4f14d7c5395e1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:19:19 +01:00
Ross Burton
f2e590d3a3 debianutils: change SRC_URI to use snapshot.debian.org
The primary Debian archive only contains tarballs which are currently
shipped in a release, so it's easy for a tarball we need to disappear.
Instead, point at snapshot.debian.org to ensure the link remains valid.

(From OE-Core rev: ce48e7d72fc9b747f9c35191d1954a58544ccfe1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:19:19 +01:00
Ross Burton
4dcd34d532 gdk-pixbuf: add tests PACKAGECONFIG
Convert the installed-tests toggle from simply respecting PTEST_ENABLED
to a PACKAGECONFIG, so that it can be turned on/off in the usual manner.

(From OE-Core rev: 08e61ffae6056055b56f93678bcbb9fd71f3303e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:19:19 +01:00
Khem Raj
b343e0e9f6 rpcbind: Use update-alternatives for rpcinfo
rpcinfo is also provided vy netkit in meta-networking

(From OE-Core rev: 28183dfd7446de9113773ab89edd0afb4ab82f7e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 22:19:19 +01:00
Richard Purdie
ef21d08424 bitbake: server/process: Note when commands complete in logs
Its hard to tell from the server logs whether commands complete or not
(or how long they take). Add extra info to allow more debugging of
server timeouts.

(Bitbake rev: 56285ada585ec1481449522282b335bcb5a2671e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 11:45:18 +01:00
Richard Purdie
707f99642a bitbake: server/process: Prefix the log data with pid/time information
Knowing which process printed which messages and the timestamp of the
message is useful for debugging, so add this. Ensure the log parsing
isn't affected by using search() instead of match().

(Bitbake rev: 1d043666710df1fa9d9586fd974c0371dd1514b0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 11:45:18 +01:00
Richard Purdie
f71587695c bitbake: server/process: Ensure we don't keep looping if some other server is started
Showing "leftover process" messages when a new server has started and is being
used by some UI is horrible. Compare the PID data from the lockfile to
avoid this (and the ton of confusing log data it generates).

Also, move the time.sleep() call to be after the first lock attempt, which
reduces noise in the logs significantly.

(Bitbake rev: ce1897a31afb5a14997bc3d2f459b90d43eecb7d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 11:45:18 +01:00
Richard Purdie
38c05fb822 bitbake: cooker: Assign a name to the sync thread to aid debugging
(Bitbake rev: ffdb3d3fa690c35e9a96fc451a5811f5131276f3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 11:45:18 +01:00
Richard Purdie
aaa286e48a bitbake: cooker: Ensure parser replacement calls parser final_cleanup
This could potentialy account for some of the missing thread cleanup
we're seeing.

(Bitbake rev: 8f2d690428de8934868b406b79c4699a8ebe902c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 11:45:18 +01:00
Richard Purdie
175e5f2702 bitbake: server/process: Don't show tracebacks if the lockfile is removed
lsof/fuser error if the file doesn't exist. It can be deleted by something
else so ignore this if it happens and loop.

(Bitbake rev: b100d22ce37b7548b50e59a71802bcc903acd6ea)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 11:45:16 +01:00
Richard Purdie
f6a40d457c bitbake: server/process: Ensure logging is flushed
The cookerlog output goes to a file and its misleading to look at it and
not have it up to date with what the cooker is actually doing. Ensure
written data is flushed.

Ultimately this should be using python's logging but that is for another
day, we need simple fixes right now.

(Bitbake rev: d95c3dd2b8ac50423976a7baf0a51e9580871761)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 11:45:16 +01:00
Richard Purdie
341c5ca419 bitbake: process: Avoid printing binary strings for leftover processes
The binary string printed into the output is ugly, parse this so the
linebreaks come out in the logs and make them much more readable (I
was misssing the information initially despite looking for it).

(Bitbake rev: c2dd8bb434d5738fedf9019651074b90affff3b2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 11:45:16 +01:00
Richard Purdie
e2afb73ccb bitbake: cookerdata: Fix exception raise statements
Lets use valid python even if it the original happens to work.

(Bitbake rev: 343187c57e1459b0e57f90463843782f3a3a8443)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 11:45:16 +01:00
Richard Purdie
16f820a2a8 bitbake: cooker/cookerdata: Use BBHandledException, not sys.exit()
Calling sys.exit() in the middle of the code is rather antisocial. We catch
this in various places but we shouldn't have to. In all these cases we have
already sent events explaining to the user what happened. This means the
correct exception is BBHandledException.

The recent startup changes have moved the point a lot of this code gets
called to inside the UI, with memres it would have always been possible
from there anyway. This change makes things much more consistent.

(Bitbake rev: 91699f366d24480ff3b19faec78fb9f3181b3e14)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 11:45:16 +01:00
Mark Hatle
4cb33dae15 bitbake: process.py: Handle SystemExit exception to eliminate backtrace
With an invalid layer, the desired error output should be:

  ERROR: The following layer directories do not exist:
  ERROR:    /this_path_does_not_exist
  ERROR: Please check BBLAYERS in .../build-invalid-layer/conf/bblayers.conf

Instead we were met with a backtrace:

Traceback (most recent call last):
  File "/scratch1/fray/xilinx/poky/bitbake/bin/bitbake", line 36, in <module>
    cookerdata.CookerConfiguration()))
...
  File "/scratch1/fray/xilinx/poky/bitbake/lib/bb/cookerdata.py", line 267, in parseBaseConfiguration
    self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles)
  File "/scratch1/fray/xilinx/poky/bitbake/lib/bb/cookerdata.py", line 358, in parseConfigurationFiles
    sys.exit(1)
SystemExit: 1

(Bitbake rev: 3a2503c785a5cd9dca0dc68c3aec31b4bec7684b)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-05 11:45:16 +01:00
Alexander Kanavin
c24ece07fa xserver-xorg: update 1.20.8 -> 1.20.9
(From OE-Core rev: 404292b570a78895a1c7900eeb319e36e31dec20)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:31 +01:00
Alexander Kanavin
b78359e300 mesa: update 20.1.5 -> 20.1.6
(From OE-Core rev: 28a0c267bde3710f0debe1a9a857c6387d090e23)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:31 +01:00
Alexander Kanavin
3620df59d0 libx11: update 1.6.11 -> 1.6.12
(From OE-Core rev: 10745a297c4d17f5c3a3b74c0c88ded8afdea939)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:31 +01:00
Alexander Kanavin
33eade06eb gnupg: update 2.2.21 -> 2.2.22
(From OE-Core rev: ad9f9fd5609c2014454c73045bc603c9883977e3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:31 +01:00
Alexander Kanavin
288056c876 libva-utils: fix upstream version check
(From OE-Core rev: 351730edee825f46da4a2bd0cf547f2c14f04ecd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:31 +01:00
Alexander Kanavin
adea9902dc nasm: update 2.15.03 -> 2.15.05
Use autotools-brokensep as new version needs that.

(From OE-Core rev: c9c724ffa36757b56e70bc8d7b880c0c5777b153)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
d28b9aaa42 gnu-config: update to latest revision
(From OE-Core rev: e5f7f40ab0816d20e99f086cfa4161800769d098)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
760d36f070 stress-ng: upgrade 0.11.18 -> 0.11.19
(From OE-Core rev: bc03f9220fe18f4ae2a4c7bc8f7edfc752d3cbd4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
91e65c54db resolvconf: upgrade 1.82 -> 1.83
(From OE-Core rev: f1b27d8afc0cda36d58c9b78926e9d014289e375)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
73e7605dfa re2c: upgrade 2.0.2 -> 2.0.3
(From OE-Core rev: e85e15929275491b94fa6566f663aa691c335edf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
a1c815f06c pango: upgrade 1.46.0 -> 1.46.1
(From OE-Core rev: 6752ea0e9bea4a1dfe874e55f10b10984bc00e82)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
f95a0b0029 p11-kit: upgrade 0.23.20 -> 0.23.21
(From OE-Core rev: 6e811db2f614500f16415fc09801f229968428e7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
628e7d2c97 ninja: upgrade 1.10.0 -> 1.10.1
(From OE-Core rev: 2a6ea1b4aecb92116b74d6210523582ba51c64c7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
01f53fae71 msmtp: upgrade 1.8.11 -> 1.8.12
(From OE-Core rev: 07ccd54e3ec58765f7333896a5b8cd6fd935b36b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
e2ffa0d9e0 libuv: upgrade 1.38.1 -> 1.39.0
(From OE-Core rev: 7e9e9fb2f98259be9d93422bcf2a7ed84e13bebc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
9ef5cb6f6e librepo: upgrade 1.12.0 -> 1.12.1
(From OE-Core rev: 3a2dd853a02d5299b3ef8251b735c1b52c7fc8ba)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
4436ce24a1 libmpc: upgrade 1.1.0 -> 1.2.0
(From OE-Core rev: db74ff03bc72236f7b72647708081bd9446de60f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
20c0fb192d harfbuzz: upgrade 2.7.1 -> 2.7.2
(From OE-Core rev: bed6bb319611b8f98e412ac44363a54ce990c28e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
9d52b6726d enchant2: upgrade 2.2.8 -> 2.2.9
(From OE-Core rev: 1c6de77995be347b9c9c2c153172e4957e71bca9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
7b83366aad debianutils: upgrade 4.11 -> 4.11.1
(From OE-Core rev: 0c492a0768cd15ff40db35f459853e69c55f8cc6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
c20f7f99a6 libxcrypt: upgrade 4.4.16 -> 4.4.17
License-Update: adjusted file list
(From OE-Core rev: b795488ae41347f1573e88af301d60512b3bc9e4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
1100c9a315 cmake: upgrade 3.18.1 -> 3.18.2
(From OE-Core rev: b8843d8781fc9312a5ff5551fc59b715b7e42b74)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Alexander Kanavin
416610659d glib-2.0: update 2.64.4 -> 2.64.5
(From OE-Core rev: 3ccfeb9664ca24f372428c79388326380322ef8f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Mark Hatle
39c1accf90 package.bbclass: hash equivalency and pr service
When the PR service is enabled a number of small changes may happen
to variables.  In the do_package step a call to package_get_auto_pr
will end up setting PRAUTO and modifying PKGV (if AUTOINC is there).

PRAUTO is then used by EXTENDPRAUTO, which is then used to generate
PKGR.

Since this behavior typically happens BEFORE the BB_UNIHASH is
calculated for do_package, we need a way to defer the expansion
until after we have the unihash value.

Writing out the pkgdata files w/o AUTOPR and PKGV (AUTOINC) expanded
to placeholder values is the easiest way to deal with this.  All other
variables are expanded as expected.

In the next task, typically do_packagedata, we will then use the
UNIHASH from the do_package to get the PR (AUTOPR) as well as
generate the AUTOINC replacement value (now PRSERV_PV_AUTOINC).

The do_packagedata then translates the placeholders to the final values
when copying the data from pkgdata to pkgdata-pdata-input.

Also update the prservice test case.  With unihash, just changing the
do_package (via a _append) will not change the PR.  So write the date
to a specific file that is incorporated into the unihash to ensure it
is always different for the test.  Various assert messages were also
updated to make it easier to figure out where/why a problem occured.

(From OE-Core rev: 2e32f37b0e4abc438c8f60e673cd18a5cc110768)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Yanfei Xu
9189aaedc7 kernel-yocto: only replace leading -I in include paths
We just want to remove the first '-I' in $d, hence removing the
g' of sed avoid changing the real path which is include '-I'

We also add an anchor to the regex to only match -I at the start
of the path.

(From OE-Core rev: 12af8abebf0a1b8bd5689f613497f45a7778ab2d)

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Bruce Ashfield
c52e9774dd linux-yocto/5.8: update to v5.8.5
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    9ece50d8a470 Linux 5.8.5
    c05dea7c0f3f binfmt_flat: revert "binfmt_flat: don't offset the data start"
    44f639d5aeda io_uring: fix missing ->mm on exit
    3f4be7a7db9f netlink: fix state reallocation in policy export
    1c0be9a99c9c ethtool: Don't omit the netlink reply if no features were changed
    507d7ac63fad ethtool: Account for hw_features in netlink interface
    e53140320193 ethtool: Fix preserving of wanted feature bits in netlink interface
    da995e0a6dac net: ena: Make missed_tx stat incremental
    3942262b7499 tipc: fix uninit skb->data in tipc_nl_compat_dumpit()
    828fd2e892b0 tipc: call rcu_read_lock() in tipc_aead_encrypt_done()
    22f2be57784e net/smc: Prevent kernel-infoleak in __smc_diag_dump()
    df805b956877 net: sctp: Fix negotiation of the number of data streams.
    4c1fc05e5d6a net/sched: act_ct: Fix skb double-free in tcf_ct_handle_fragments() error flow
    351366ffef2c net: qrtr: fix usage of idr in port assignment to socket
    c4c76ec584a7 net: nexthop: don't allow empty NHA_GROUP
    a75f8a60c415 net: Fix potential wrong skb->protocol in skb_vlan_untag()
    3f13223bb0b1 gre6: Fix reception with IP6_TNL_F_RCV_DSCP_COPY

(From OE-Core rev: ccea217e6f8d8489e71b0801953542faf679d23d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-03 09:44:30 +01:00
Richard Purdie
a6709152e9 bitbake: process/knotty: Improve early exception handling
The new server startup code means exceptions can happen when we aren't
setup to show them to the user correctly, leading to ugly tracebacks.

Add in some special case handling of BBHandledException to at least
ensure that common case doesn't traceback and the user sees meaningful
output.

In the future, the logging setup can likely be improved, as can the way
runCommand handles exceptions, they all should likely become real
exceptions again on the UI side.

[YOCTO #14022]
[YOCTO #14033]

(Bitbake rev: 6059d0e77f60ddb679049bd34478f41b1ab7995d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:01:05 +01:00
Chris Laplante
d38276f55c bitbake: COW: migrate test suite into tests/cow
Convert the test suite that was in COW.py into something that
will actually run as part of bitbake-selftest. This is in
preparation for some cleanups I plan in COW.py.

(Bitbake rev: a73d45cb6010e14bf93fec857303bc7ff321066f)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:01:05 +01:00
Chris Laplante
ef26587a72 bitbake: COW: formatting
(Bitbake rev: d2b202e04cd4837992283577747475fa7d9e34e5)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:01:05 +01:00
Nicolas Dechesne
b36dfafb69 linux-libc-headers: kernel headers are installed in STAGING_KERNEL_BUILDDIR
Since 'fido', kernel headers are installed in STAGING_KERNEL_BUILDDIR,
not STAGING_KERNEL_DIR. So this message in the linux-libc-headers
recipe is slightly misleading.

(From OE-Core rev: bdd06f8ed58ed1c4983f8188e98f1a132da91e3d)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:47 +01:00
Richard Purdie
daa8aeed53 iputils: Adapt ${PN}-tftpd package dependency to PACKAGECONFIG
This avoids failures when recipes try and use the iptuils package.

(From OE-Core rev: 5cf4ab54a03bf23e47f239ed89bd4dd36a66a697)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:47 +01:00
Changhyeok Bae
afb9b64fbd iputils: upgrade s20190709 -> s20200821
- libgcrypt is not required anymore because the md5 implementation was
  part of this project.
- ninfod patches are upstreamed and other patch is not required anymore.
- Add tftpd in PACKAGECONFIG

(From OE-Core rev: 18a4086652562e061d728a83c97151f5c7552ece)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:47 +01:00
Khem Raj
532ddeb815 json-glib: Backport a build fix with clang
(From OE-Core rev: a654c916853f6ead4268282e15dc8c9ef962446e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:47 +01:00
Richard Purdie
368aaf60ff selftest/prservice: Improve test failure message
When failing, give more information about why exactly a failure is
happening such as the PR values in question.

(From OE-Core rev: bdd3abcc210e8f58b7b411da6bbd9c5314819908)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:47 +01:00
Joshua Watt
ca71b89c6c diffoscope: upgrade 156 -> 158
(From OE-Core rev: 017aff2bc127cad6c9d0f6feefc2e200a06efec2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
akuster
ed0314e26e bind: 9.11 remove
(From OE-Core rev: 29949cd7cf3a660fb3bcf251f5127a4cdb2804ec)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
akuster
d8f211edf5 bind: Add 9.16.x
Removed obsolete packageconfig options

License change to MPL-2.0
https://gitlab.isc.org/isc-projects/bind9/blob/master/LICENSE

Refreshed:
bind-ensure-searching-for-json-headers-searches-sysr.patch
0001-named-lwresd-V-and-start-log-hide-build-options.patch
bind-ensure-searching-for-json-headers-searches-sysr.patch

Drop obsolete patch: 0001-configure.in-remove-useless-L-use_openssl-lib.patch

RP: Dropped the multilib scripts handling as those scripts are no longer present
in this version.

(From OE-Core rev: d7cc84de47fad1dfbae68c32bb2165c708bec66b)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
akuster
8d7db36ecb dhcp: remove from core
update maintainers.inc too

(From OE-Core rev: 7e3357892f204788162747e907d68f857118cf42)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Richard Purdie
6d60518854 build-appliance/packagegroup-core-base-utils: Replace dhcp-client/dhcp-server with dhcpcd/kea
dhcp-client/dhcp-server is obsolete and unmaintained and about to be removed,
replace it with something which is maintained.

(From OE-Core rev: 2eae7e6f665ad5a0d734edda6ef5dff5a534eca6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
akuster
d0ee1e19ca maintainers.inc: Add me as dhcpcd maintainer
(From OE-Core rev: 8e9a602249f5d3e9430542372366aeeeffd57adf)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
akuster
1927abb2cd dhcpcd: Move from meta-network as OE-Core needs a client
(From OE-Core rev: 087e4fafeef82cfd3d71402d6b200fe831f48697)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
akuster
072e1a9880 maintainers.inc: Add me as kea & log4plus maintainer.
(From OE-Core rev: 741af7792fd0d2b188981e6f954aae1caeece9ab)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
akuster
ca2af0e98b kea: Move from meta-networking
(From OE-Core rev: 2b911fc989cf88cd0040581f82da0be308c702dd)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
akuster
b272c9e400 log4cplus: move meta-oe pkg to core
pkg need for kea

(From OE-Core rev: 4916d9dc2f290058c37830d4a68e8678f95d4c9e)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Michael Tretter
fdc6ef9673 devtool: deploy-target: Fix size calculation for hard links
If a package contains hard links to a file, the file size is added for
each hard link instead of once for the file. Therefore, the calculated
size may be much larger than the actual package size.

For example, the mesa-megadriver package contains several hard links to
the same library.

Keep track of the inode numbers when listing the files that are
installed and use the actual size only for the first occurrence of an
inode. All further hard links to the same inode are added to the file
list, but accounted with size 0.

All file names need to be added to the file list, because the list is
used for preserving the files/hard links on the target.

(From OE-Core rev: 17e92572278980d1a7f06de9d72c68baf57698f1)

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Ross Burton
0033cc5c10 insane: improve gnu-hash-style warning
Instead of showing a filename under packages-split, show the package
name and filename inside the package.

(From OE-Core rev: 4f78fc65bb0c9bff05651d9e543bab3d75998f79)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Sumit Garg
c1b2e1b424 insane: fix gnu-hash-style check
Fix gnu-hash-style check that always returned True after commit [1]
leading to false positive presence of "GNU_HASH" in objdump output.

Fixes: 9ff90bf04a4c ("mips: Enable gnu-hash-style on glibc") [1]
(From OE-Core rev: 996010f1b9ca98592e2c87e1adcb0c79b86517b7)

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Ross Burton
f50b17b556 elfutils: silence a new QA warning
The fix to the gnu-hash-style check (oe-core 70d932f21) causes elfutils-ptest
to emit a new warning.  This binary is explicitly compiled with a curated
minimal set of compiler flags, so to avoid breaking the test simply skip the
ldflags check for elfutils-ptest.

(From OE-Core rev: 3ebfc4fc4e448f4dbc5a04ccceaee6f0f7780a43)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Richard Purdie
a6386db353 patchelf: upgrade 0.11 -> 0.12
(From OE-Core rev: 41694bc38996a6abfd2a4dabf6283434a538a6d3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Bruce Ashfield
db47c58887 linux-yocto-dev: bump to v5.9+
The dev branches have moved ahead, bump the version number to
match.

(From OE-Core rev: 544984925918f6f7fcadf78d44338898a2dda178)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Bruce Ashfield
b389b16aab lttng-modules/devupstream: bump to latest 2.12 commits
Updating lttng-devupstream so we can build against kernel
5.9+

(From OE-Core rev: 11cf6562cf785d79da1f97257dcca93e75f37055)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Michael Gloff
c19c69ae8d sysvinit rc: Use PSPLASH_FIFO_DIR for progress fifo
psplash expects the fifo to be in /run or specified
by PSPLASH_FIFO_DIR. This patch allows psplash to
quit normally. Also, fix the work around of using
echo directly into the fifo and use psplash-write.

(From OE-Core rev: 2b48bbd0a8de17df74d1fae12b5e4eb3c2c0fb90)

Signed-off-by: Michael Gloff <mgloff@emacinc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Joshua Watt
d7aec2f4a3 oeqa: reproducible: Fix test not producing diffs
Diffoscope changed the --exclude-directory-metadata option to require an
argument.

Add a test to validate that diffoscope is functioning as
expected to ensure that future upgrades do not unintentionally break
the reproducibility tests.

[YOCTO #14025]

(From OE-Core rev: ea8fbcb7978ce48d7a9a83143d09402329535f86)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Peter A. Bigot
8633b278ef timezone: include leap second data in tzdata-core
Conversion between UTC and continuous time scales like TAI requires
information about leap seconds.

(From OE-Core rev: ce8f6f139a82eeb20cc7cb9f7950b42684775ed8)

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Khem Raj
cdae8c729b lttng-tools: lttng-ust works on riscv64
(From OE-Core rev: 950ee8ebc0cea0cca33573c51808cd170040e506)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Changhyeok Bae
4855a8db07 iw: upgrade 5.4 -> 5.8
(From OE-Core rev: 42e6b9d12db36004d1fd6b81f53f9bc071bf7f8b)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Yi Zhao
08b7aaea34 glib-networking: add ptest
Results:
$ ./run-ptest
Running test: glib-networking/connection-gnutls.test
[snip]
PASS: glib-networking/connection-gnutls.test
Running test: glib-networking/file-database-gnutls.test
[snip]
PASS: glib-networking/file-database-gnutls.test
Running test: glib-networking/certificate-gnutls.test
[snip]
PASS: glib-networking/certificate-gnutls.test
SUMMARY: total=3; passed=3; skipped=0; failed=0; user=0.2s; system=0.0s; maxrss=12896

(From OE-Core rev: 5ccf343c5e7d473323048518883a6a9d7a67d2f6)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Joshua Watt
6736b91b2b oeqa: sdk: Capture stderr output
Redirect stderr to stdout when running subcommands while doing the SDK
tests. The tests will show stdout when CalledProcessError is raised,
but any output to stderr was lost.

(From OE-Core rev: 7cb4e9ab8c1596281060e94a216966060103956e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Khem Raj
f681b25597 util-linux: Allow update alternatives for additional apps
mcookie/prlimit/uuidgen are also provided by toybox

(From OE-Core rev: b6135777799de531e2cb4017e91a8c41749d1fd5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Anibal Limon
86df22c41a recipes-kernel: linux-firmware add qcom-venus-{5.2,5.4} packages
(From OE-Core rev: e20c1e07a807f66f028104d8491d974a36734192)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Vijai Kumar K
435ec90a67 wic: misc: Add /bin to the list of searchpaths
/bin is also a valid path where one can find executables. Add
that to the search path.

(From OE-Core rev: ca0a6025351cb2135e87cecf828633cf12aa34c6)

Signed-off-by: Vijai Kumar K <vijaikumar.kanagarajan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Diego Sueiro
a6b2d978cb license_image.bbclass: Create symlink to the image license manifest dir
In the LICENSE_DIRECTORY each time an image recipe is built a new directory
is created to hold the image license manifests.

By creating a symlink to the most recent created image license manifest
directory, we make things easier for users to collect and pack the data.

(From OE-Core rev: 9c6a114213a80bebc2988ae8d39b296bce7f6982)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
hongxu
5128b72d30 sysstat: fix installed-vs-shipped QA Issue in systemd
While enabling systemd, there is QA issue:
...
|ERROR: sysstat-12.4.0-r0 do_package: QA Issue: sysstat: Files/directories
were installed but not shipped in any package:
|  /lib/systemd/system-sleep
|  /lib/systemd/system-sleep/sysstat.sleep
...

https://www.freedesktop.org/software/systemd/man/systemd-sleep.html
says the files should be dropped into /usr/lib/systemd/system-sleep
(that would be /lib/systemd/system-sleep in our configuration).  By
moving the files to another directory they'll be packaged but not
loaded by systemd.

Suggested-by Ross Burton <ross@burtonini.com>

(From OE-Core rev: 3bdd40ea09e50067f11c12290ab465a9ef229fc4)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
Alexander Kanavin
104ff3c834 poky.conf: do not install packagegroup-core-device-devel into qemu images
The purpose of the group and what it should contain is no longer clear, and
generally adding userspace development items to images is best done
at the image/class level.

(From meta-yocto rev: 4c1c19a94779d16ef8d2c81de395387727143896)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:38 +01:00
Bruce Ashfield
c9ed6a22ab kernel-yocto: checksum all modifications to available kernel fragments directories
This is based on the patch from Zhaolong Zhang <zhangzl2013@126.com>
[kernel-yocto: checksum indirect cfg and scc files]

While the recommended manner to share/reuse feature fragments is to
maintain them in a kernel-meta repository and track the changes via the
standard SRCREV fetcher mechanism, that method is not always practical
for small sets of features or for quick testing of changes.

These other flows use .scc files on the SRC_URI. It has been noted that
config fragments or other features indirectly included by those .scc
files will not trigger the kernel meta-data to be re-run and hence a
build can continue with stale data (or not be triggered at all).

To solve this issue, we can collect the directories that are searchable
via FILESEXTRAPATHS and add them to the do_kernel_metadata task
checksum.

This allows modifications, additions and removals from the potential
kernel feature directories to trigger a re-execution of the meta data
task.

(From OE-Core rev: 09f4db415fb6a1398e9e9b359630043c833f6118)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Mark Hatle
fc807c9de7 kernel.bbclass: Move away from calling package_get_auto_pr
...instead we call read_subpackage_metadata.

Calling package_get_auto_pr *should* result in the same PKGV AUTOINC
replacement.  However, it will also end up changing PKGR differently
then do_package as the BB_TASKHASH used will be for the wrong task.

Generally this won't cause any real-world issue, but it could cause
problems.

Moving to read_subpackage_metadata ensures that the values used
in do_package will be read in and used for kernel deployment.

(From OE-Core rev: 86142dad13935a0d9af4a4177e05ff5c39003db7)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Mark Hatle
5cde141ef1 buildhistory.bbclass: Rework to use read_subpackage_metadata
Using this mechanism ensures that we have a single point to implement
the loading of the package and subpackage meta data.  This also then
allows the buildhistory class to use the regular datastore vs it's
own custom arrays for processing history items.

(From OE-Core rev: 155ae6a3fe84c25904ffe7058e125bb4a28e2b45)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Bruce Ashfield
7ac426e9bd kernel-yocto: allow promotion of configuration warnings to errors
It was requested to add the ability to upgrade configuration warnings
to errors, so that they can't be missed in a build.

Add a flag KMETA_AUDIT_WERROR, that when set, triggers a bb.fatal at
the end of configuration checking if any warnings are found.

This is off by default, but is available for those that want to enable
it in their kernel recipe or bbappend.

(From OE-Core rev: b26a6df7efdaf640c612f6d557a2e74b4dc58af3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Bruce Ashfield
1f8c8aff09 linux-yocto/5.8: disable IKHEADERS in default builds
A patch from 5.4 wasn't propagated to 5.8, and IKHEADERS was
renabled in our default builds.

This cases reproducibility issues when kernel modules are built.

We haven't tracked down the root cause yet, but for now, we still
don't want reproducibility failing on builds.

There's a dedicated reproducibility feature available for those
that want to enable the feature.

(From OE-Core rev: ec23ada44fbf5143dd2cc89f3dd882be355358d0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Bruce Ashfield
e55b2f6dac linux-yocto/5.8: update to v5.8.4
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    47dcb7fcad1d Linux 5.8.4
    920ebff48be3 Revert "drm/amd/display: Improve DisplayPort monitor interop"
    d0a3a0136337 KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set
    af3093319fce KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
    d9903e8c2576 do_epoll_ctl(): clean the failure exits up a bit
    1f802ace4bd5 efi/libstub: Handle unterminated cmdline
    ca60a5eb8372 efi/libstub: Handle NULL cmdline
    3bff856ba44d efi/libstub: Stop parsing arguments at "--"
    e6584124b982 efi: add missed destroy_workqueue when efisubsys_init fails
    09a307050798 efi/x86: Mark kernel rodata non-executable for mixed mode
    3d9ed544ec9b EDAC/{i7core,sb,pnd2,skx}: Fix error event severity
    979a9c0058f9 powerpc/pseries: Do not initiate shutdown when system is running on UPS
    d9b227a03e9a powerpc: Fix P10 PVR revision in /proc/cpuinfo for SMT4 cores
    c09886c19233 epoll: Keep a reference on files added to the check list
    3489cea04a4b net: dsa: b53: check for timeout
    0c831e9dad9d hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
    d446604e432c selftests/bpf: Remove test_align leftovers
    9500db5480f8 net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()
    af4a56476ddd net: ena: Change WARN_ON expression in ena_del_napi_in_range()
    8c01a77d28bf net: ena: Prevent reset after device destruction
    3c1d705f29c6 bonding: fix active-backup failover for current ARP slave
    f6c6b312efef powerpc/pseries/hotplug-cpu: wait indefinitely for vCPU death
    63f10205a215 bpf: Use get_file_rcu() instead of get_file() for task_file iterator
    2fe8be1a33d5 powerpc/fixmap: Fix the size of the early debug area
    6f1d3ac25b59 ARM64: vdso32: Install vdso32 from vdso_install
    88d78fa3426f afs: Fix NULL deref in afs_dynroot_depopulate()
    f09a790a6e46 kconfig: qconf: remove qInfo() to get back Qt4 support
    19881ebab34f afs: Fix key ref leak in afs_put_operation()
    f35bb8426115 Revert "RDMA/hns: Reserve one sge in order to avoid local length error"
    8facd0c47293 RDMA/bnxt_re: Do not add user qps to flushlist
    1f43cb1c6f56 Fix build error when CONFIG_ACPI is not set/enabled:
    15f8decf24ed efi: avoid error message when booting under Xen
    80876bf7962d kconfig: qconf: fix signal connection to invalid slots
    a00ac43450bf kconfig: qconf: do not limit the pop-up menu to the first row
    a4d533969b91 Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe"
    06e5e83d1fa5 scsi: ufs: Fix interrupt error message for shared interrupts
    a3ef038de59a scsi: ufs-pci: Add quirk for broken auto-hibernate for Intel EHL
    88a3da2e55b0 scsi: ufs: Add quirk to fix abnormal ocs fatal error
    65fa4a6ee3b8 scsi: ufs: Introduce UFSHCD_QUIRK_PRDT_BYTE_GRAN quirk
    2a0b7adc5d0d scsi: ufs: Add quirk to enable host controller without hce
    81929755f92e scsi: ufs: Add quirk to disallow reset of interrupt aggregation
    8ab0b065d8bd scsi: ufs: Add quirk to fix mishandling utrlclr/utmrlclr
    c3e9f5c75eba scsi: ufs: ti-j721e-ufs: Fix error return in ti_j721e_ufs_probe()
    3d1bc8c7b20f of/address: check for invalid range.cpu_addr
    e10e99e4872b kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode
    cfc52749f050 kvm: x86: Toggling CR4.SMAP does not load PDPTEs in PAE mode
    753d60c62003 arch/ia64: Restore arch-specific pgd_offset_k implementation
    c9486fc5f69b vfio/type1: Add proper error unwind for vfio_iommu_replay()
    c49fa6397b6d vfio-pci: Avoid recursive read-lock usage
    ba9c27ba1175 watch_queue: Limit the number of watches a user can hold
    7505eeadc5a7 ASoC: intel: Fix memleak in sst_media_open
    2586fcb08f85 ASoC: msm8916-wcd-analog: fix register Interrupt offset
    ca79907768d3 s390/ptrace: fix storage key handling
    87a297a5a835 s390/runtime_instrumentation: fix storage key handling
    3bd77efc033f ipvlan: fix device features
    39560b31450b bonding: fix a potential double-unregister
    dfdc8eaf69a6 can: j1939: add rxtimer for multipacket broadcast session
    638e26b82db3 can: j1939: abort multipacket broadcast session when timeout occurs
    f7653e4b8fa9 can: j1939: cancel rxtimer on multipacket broadcast session complete
    6cc1cc005e97 can: j1939: fix support for multipacket broadcast message
    f9c6097aeb30 bonding: show saner speed for broadcast mode
    b9ca7a24e64a net: fec: correct the error path for regulator disable in probe
    22da47f7c872 i40e: Fix crash during removing i40e driver
    fb95a28d7daf i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
    d302358881c4 igc: Fix PTP initialization
    16c3d947c69b can: j1939: transport: add j1939_session_skb_find_by_offset() function
    f0c778597a5a can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send not by J1939 stack
    089dd91ec99b can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can()
    93c39ebb5d44 libbpf: Fix BTF-defined map-in-map initialization on 32-bit host arches
    db7f8c57dbdd bpf: sock_ops sk access may stomp registers when dst_reg = src_reg
    cd4644d904e1 bpf: sock_ops ctx access may stomp registers in corner case
    5d9c020bd8e3 tools/bpftool: Make skeleton code C++17-friendly by dropping typeof()
    c2bbf3cbcf78 ASoC: q6routing: add dummy register read/write function
    60df9abd8489 ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM
    4c3f6739fe05 spi: stm32: fixes suspend/resume management
    4707dba95055 netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian
    cfa678021a1b ext4: check journal inode extents more carefully
    20070b188bf4 ext4: don't allow overlapping system zones
    480a5124cd0e drm/virtio: fix missing dma_fence_put() in virtio_gpu_execbuffer_ioctl()
    88e79f7a9841 ext4: fix potential negative array index in do_split()
    95e117076842 fs/signalfd.c: fix inconsistent return codes for signalfd4
    796f99a7b77a fat: fix fat_ra_init() for data clusters == 0
    f358706be43a alpha: fix annotation of io{read,write}{16,32}be()
    5461d5e84ed3 xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init
    99b3f3bd1fa9 tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference
    2dc74b9a9a9f media: camss: fix memory leaks on error handling paths in probe
    630170dfc73a virtio_ring: Avoid loop when vq is broken in virtqueue_poll
    55bd4074ce6b scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
    caceaea09891 cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0
    3f6735308fdf swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses
    8d5b9bb9a58a ceph: fix use-after-free for fsc->mdsc
    17754f71db7b jffs2: fix UAF problem
    7beedf14a639 riscv: Fixup static_obj() fail
    106f319212e5 drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access
    8da93b053951 xfs: fix inode quota reservation checks
    a8c8ad128e19 svcrdma: Fix another Receive buffer leak
    2a9eccbe614e m68knommu: fix overwriting of bits in ColdFire V3 cache control
    4accb5af385b MIPS: Fix unable to reserve memory for Crash kernel
    689bee9eb02a Input: psmouse - add a newline when printing 'proto' by sysfs
    f6b2fb80ffdc f2fs: should avoid inode eviction in synchronous path
    a692a28626e2 media: vpss: clean up resources in init
    b0eecd0e3c05 rtc: goldfish: Enable interrupt in set_alarm() when necessary
    e055ffe8d48a f2fs: fix to check page dirty status before writeback
    527b13f612df media: coda: jpeg: add NULL check after kmalloc
    cd67c599233f media: budget-core: Improve exception handling in budget_register()
    f05c0e45e0b7 scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM
    b84142b25cae scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
    c68589be55fd drm/i915: Provide the perf pmu.module
    3a07e556aa59 drm/i915/pmu: Prefer drm_WARN_ON over WARN_ON
    33eb147ff02f drm/amd/display: fix pow() crashing when given base 0
    e0a7a29fb37f drm/amd/display: Fix DFPstate hang due to view port changed
    9cb01ea4fab5 drm/amd/display: Blank stream before destroying HDCP session
    115e2a7226c0 drm/amd/display: Fix EDID parsing after resume from suspend
    e06fe5e678fe drm/amd/display: Fix incorrect backlight register offset for DCN
    c20d9803acc2 drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal
    bdc689905bef drm: amdgpu: Use the correct size when allocating memory
    144fa0580fbe mm/memory.c: skip spurious TLB flush for retried page fault
    6f2950ebcd88 s390/pci: ignore stale configuration request event
    4c86de3bff29 s390/pci: fix PF/VF linking on hot plug
    1d95c4596123 s390/pci: re-introduce zpci_remove_device()
    c77c3fdef0f6 s390/pci: fix zpci_bus_link_virtfn()
    91729fc577b3 selftests: kvm: Use a shorter encoding to clear RAX
    171f7e5f7d6a scsi: zfcp: Fix use-after-free in request timeout handlers
    1ae4b74a2302 jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock()
    38ccb4b484bb ext4: fix checking of directory entry validity for inline directories
    7535cbdd6cab ext4: do not block RWF_NOWAIT dio write on unallocated space
    e25d2b38fe64 opp: Put opp table in dev_pm_opp_set_rate() if _set_opp_bw() fails
    9cb98fa067fa opp: Put opp table in dev_pm_opp_set_rate() for empty tables
    e8996e480762 opp: Enable resources again if they were disabled earlier
    6b5b9fdedd98 RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request
    e0d5793a7aa6 ASoC: amd: renoir: restore two more registers during resume
    5b21a116b136 mm, page_alloc: fix core hung in free_pcppages_bulk()
    3d803ebd631e mm: include CMA pages in lowmem_reserve at boot
    37d1789de274 squashfs: avoid bio_alloc() failure with 1Mbyte blocks
    a1a1ea598177 uprobes: __replace_page() avoid BUG in munlock_vma_page()
    14fb06cc4b38 kernel/relay.c: fix memleak on destroy relay channel
    734a5c3f266c romfs: fix uninitialized memory leak in romfs_dev_read()
    0675a6f26bd8 mm/vunmap: add cond_resched() in vunmap_pmd_range
    917cdc0d2c53 io_uring: find and cancel head link async work on files exit
    93366cb81056 spi: Prevent adding devices below an unregistering controller
    a14e7ce59232 can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocated
    cf3b3ffb272c can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j1939_tp_txtimer()
    2d790596d76f ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion
    c20d8d9c04b9 ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book
    44d8f487a7d6 ALSA: hda: avoid reset of sdo_limit
    6a1624ca6229 khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()
    801515285db3 drm/ast: Initialize DRAM type before posting GPU
    38814f974d34 drm/ast: Remove unused code paths for AST 1180
    f8be691dbd88 drm/panel-simple: Fix inverted V/H SYNC for Frida FRD350H54004 panel
    f04844351ce2 drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()

(From OE-Core rev: 5bf3bf4967fffac2e5ed365cce8de77efc9eb9a2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Bruce Ashfield
3fb065bbd3 linux-yocto/5.4: update to v5.4.61
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    6576d69aac94 Linux 5.4.61
    d316d52742c4 KVM: arm64: Only reschedule if MMU_NOTIFIER_RANGE_BLOCKABLE is not set
    e1818ffcca0e KVM: Pass MMU notifier range flags to kvm_unmap_hva_range()
    744fde53ec32 xen: don't reschedule in preemption off sections
    d6bca2a8f064 mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible
    42694912aaf1 do_epoll_ctl(): clean the failure exits up a bit
    b158e91610c7 epoll: Keep a reference on files added to the check list
    5167f194da69 efi: add missed destroy_workqueue when efisubsys_init fails
    13b1fc60ecb0 powerpc/pseries: Do not initiate shutdown when system is running on UPS
    dafae068886a net: dsa: b53: check for timeout
    83236e697f79 hv_netvsc: Fix the queue_mapping in netvsc_vf_xmit()
    2dd00ae408a9 net: gemini: Fix missing free_netdev() in error path of gemini_ethernet_port_probe()
    f4adc6430d74 net: ena: Prevent reset after device destruction
    f4ed9ede3441 bonding: fix active-backup failover for current ARP slave
    542a493c8c5e ARM64: vdso32: Install vdso32 from vdso_install
    278eb88ab206 afs: Fix NULL deref in afs_dynroot_depopulate()
    140ac9370b16 RDMA/bnxt_re: Do not add user qps to flushlist
    dc0d58e281a6 Fix build error when CONFIG_ACPI is not set/enabled:
    7cc9812be1c7 efi: avoid error message when booting under Xen
    d3ca317cf62a kconfig: qconf: fix signal connection to invalid slots
    51d85e70e3ad kconfig: qconf: do not limit the pop-up menu to the first row
    da1069e4e727 Revert "scsi: qla2xxx: Disable T10-DIF feature with FC-NVMe during probe"
    6e2aa034d777 kvm: x86: Toggling CR4.PKE does not load PDPTEs in PAE mode
    46713f3d61b3 kvm: x86: Toggling CR4.SMAP does not load PDPTEs in PAE mode
    667a59aa55fb vfio/type1: Add proper error unwind for vfio_iommu_replay()
    503176f5dc07 ASoC: intel: Fix memleak in sst_media_open
    8aeb112d58c0 ASoC: msm8916-wcd-analog: fix register Interrupt offset
    e9849a60facb s390/ptrace: fix storage key handling
    d35f24bc566d s390/runtime_instrumentation: fix storage key handling
    cc215d206881 bonding: fix a potential double-unregister
    8a49739f58f5 can: j1939: add rxtimer for multipacket broadcast session
    d7ab964b6ba9 can: j1939: abort multipacket broadcast session when timeout occurs
    d0dc3d2c71e2 can: j1939: cancel rxtimer on multipacket broadcast session complete
    5159a0a5164b can: j1939: fix support for multipacket broadcast message
    5dc0c1c12094 bonding: show saner speed for broadcast mode
    1b9dee25ad25 net: fec: correct the error path for regulator disable in probe
    c0e04d08e544 i40e: Fix crash during removing i40e driver
    e2a8d4423640 i40e: Set RX_ONLY mode for unicast promiscuous on VLAN
    154ccf69feca can: j1939: transport: add j1939_session_skb_find_by_offset() function
    3bfd1398de6a can: j1939: transport: j1939_simple_recv(): ignore local J1939 messages send not by J1939 stack
    ff723ef6b7b6 can: j1939: fix kernel-infoleak in j1939_sk_sock2sockaddr_can()
    6e0bc946cbee bpf: sock_ops sk access may stomp registers when dst_reg = src_reg
    ece9ca5840e0 ASoC: q6routing: add dummy register read/write function
    aaa6e691b983 ASoC: q6afe-dai: mark all widgets registers as SND_SOC_NOPM
    233d6f2ab120 spi: stm32: fixes suspend/resume management
    666d1d1a0584 netfilter: nf_tables: nft_exthdr: the presence return value should be little-endian
    3473fa198178 ext4: don't allow overlapping system zones
    ea54176e5821 ext4: fix potential negative array index in do_split()
    2585402c5799 fs/signalfd.c: fix inconsistent return codes for signalfd4
    e4f952b031c1 alpha: fix annotation of io{read,write}{16,32}be()
    538c74a9cb26 xfs: Fix UBSAN null-ptr-deref in xfs_sysfs_init
    4591461ea9f2 tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference
    10b2bb101f06 media: camss: fix memory leaks on error handling paths in probe
    05724341d9db virtio_ring: Avoid loop when vq is broken in virtqueue_poll
    34f8368f6634 scsi: libfc: Free skb in fc_disc_gpn_id_resp() for valid cases
    28850b8043cc cpufreq: intel_pstate: Fix cpuinfo_max_freq when MSR_TURBO_RATIO_LIMIT is 0
    cca58a166920 swiotlb-xen: use vmalloc_to_page on vmalloc virt addresses
    2bd8ba398fad ceph: fix use-after-free for fsc->mdsc
    2524bb04d81b jffs2: fix UAF problem
    04aeb884e8a5 drm/ttm: fix offset in VMAs with a pg_offs in ttm_bo_vm_access
    711f5688bb97 xfs: fix inode quota reservation checks
    8fe5e38acbe7 svcrdma: Fix another Receive buffer leak
    7aca2f7d1710 m68knommu: fix overwriting of bits in ColdFire V3 cache control
    1a718d4caa1a MIPS: Fix unable to reserve memory for Crash kernel
    5594a54c520b Input: psmouse - add a newline when printing 'proto' by sysfs
    06d4d9acd7d8 media: vpss: clean up resources in init
    f948f1d02237 rtc: goldfish: Enable interrupt in set_alarm() when necessary
    85ad0d5f3d69 media: budget-core: Improve exception handling in budget_register()
    62b8c76d061f scsi: target: tcmu: Fix crash in tcmu_flush_dcache_range on ARM
    59d587cc3640 scsi: ufs: Add DELAY_BEFORE_LPM quirk for Micron devices
    10e99c3003d5 opp: Enable resources again if they were disabled earlier
    52d322f91954 kthread: Do not preempt current task if it is going to call schedule()
    504fe0ab2412 drm/amd/display: fix pow() crashing when given base 0
    1f3cfa9338c3 drm/amd/display: Fix EDID parsing after resume from suspend
    6f3bff30f1cb drm/amdgpu/display: use GFP_ATOMIC in dcn20_validate_bandwidth_internal
    f45ab6e7d957 scsi: zfcp: Fix use-after-free in request timeout handlers
    b4062a49ad4a jbd2: add the missing unlock_buffer() in the error path of jbd2_write_superblock()
    2bc54ba65fdc ext4: fix checking of directory entry validity for inline directories
    59af0759bd46 RDMA/hfi1: Correct an interlock issue for TID RDMA WRITE request
    0cfb9320d00c mm, page_alloc: fix core hung in free_pcppages_bulk()
    5663159e2930 mm: include CMA pages in lowmem_reserve at boot
    e9e3ec03e6ae uprobes: __replace_page() avoid BUG in munlock_vma_page()
    fa2e0d4e4a4c kernel/relay.c: fix memleak on destroy relay channel
    19a77c937a19 romfs: fix uninitialized memory leak in romfs_dev_read()
    3e538c536f01 spi: Prevent adding devices below an unregistering controller
    143df6b3584a can: j1939: socket: j1939_sk_bind(): make sure ml_priv is allocated
    60be1488a3ae can: j1939: transport: j1939_session_tx_dat(): fix use-after-free read in j1939_tp_txtimer()
    055c65c7e7dd ALSA: hda/realtek: Add quirk for Samsung Galaxy Book Ion
    4fe52a85eeb4 ALSA: hda/realtek: Add quirk for Samsung Galaxy Flex Book
    84bfb4b10d6f btrfs: add wrapper for transaction abort predicate
    745148367b04 btrfs: return EROFS for BTRFS_FS_STATE_ERROR cases
    de88b7e2f02f btrfs: don't show full path of bind mounts in subvol=
    038580b1f58b btrfs: export helpers for subvolume name/id resolution
    b40753984979 bcache: avoid nr_stripes overflow in bcache_device_init()
    9f4f7c08d50b khugepaged: adjust VM_BUG_ON_MM() in __khugepaged_enter()
    9a05b774af30 khugepaged: khugepaged_test_exit() check mmget_still_valid()
    8043d5ee9168 perf probe: Fix memory leakage when the probe point is not found
    888d9b829c25 gfs2: Never call gfs2_block_zero_range with an open transaction
    18a640d3b570 gfs2: Improve mmap write vs. punch_hole consistency
    e42c75ef3477 drm/vgem: Replace opencoded version of drm_gem_dumb_map_offset()
    62353048e2d4 kbuild: support LLVM=1 to switch the default tools to Clang/LLVM
    c7d8f67db126 kbuild: replace AS=clang with LLVM_IAS=1
    244d9026768d kbuild: remove AS variable
    fed06097acce kbuild: remove PYTHON2 variable
    fa84d9f31599 x86/boot: kbuild: allow readelf executable to be specified
    c173511a12e4 net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding firmware
    c7c239c947be net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware
    f781285d09a9 Documentation/llvm: fix the name of llvm-size
    97eab9af0036 Documentation/llvm: add documentation on building w/ Clang/LLVM

(From OE-Core rev: 0c67ef9397da5dacaba557956a33c0c457684032)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Ross Burton
c278eaf0c5 package.bbclass: explode the RPROVIDES so we don't think the versions are provides
emit_pkgdata() creates symlinks for each of the RPROVIDES in
pkgdata/MACHINE/runtime-rprovides.  However this string can contain
versions which results in directories called (=2.32), so pass the
RPROVIDES string through bb.utils.explode_deps() to strip the versions
out.

Helps mitigate - but not solve - #13999.

(From OE-Core rev: 6a5395dec34192db233bfb2a060e5ccc99708f03)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Alexander Kanavin
635f67efaa oeqa/multilib: un-skip the connman test
It was previously skipped as it was expecting plain connman
to not be in the image, and for core-image-sato connman is always there.

(From OE-Core rev: 5dc237aa6aa8d86433ff7885b88efd8a7b79aa74)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Alexander Kanavin
b0bee2b736 oeqa/multilib: rework to use readelf from the host
It is difficult and error-prone to ensure binutils gets
installed into target images where this test may run;
on the other hand readelf is always present on the
host, as it is a part of HOSTTOOLS.

(From OE-Core rev: b7f62b28acb0efc9e9bf0126bd2425dcca012fd1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Alexander Kanavin
2f7f9bc0f1 oeqa/x32lib: rework to use readelf from the host
It is difficult and error-prone to ensure binutils gets
installed into target images where this test may run;
on the other hand readelf is always present on the
host, as it is a part of HOSTTOOLS.

(From OE-Core rev: ecf9fbf7938c667cb648a34f690cfa8db6f5c157)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Alexander Kanavin
d707fa30f8 packagegroup-core-device-devel: remove
The purpose and content of the group is not clear;
the only consumer (poky distro) is no longer using it.

(From OE-Core rev: 910e26321f6d7583ae68dafafffe2040ca9cfa70)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Alexander Kanavin
3359cc8d22 json-glib: inherit upstream-version-is-even
As specified in https://wiki.gnome.org/Projects/JsonGlib

(From OE-Core rev: ce037e446c2a997fd6d411b1f4983bf3743052a5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Alexander Kanavin
cb329e0758 systemd-boot: bump version to 246.2
The recipe includes systemd.inc and so shares SRCREV with the main systemd.

(From OE-Core rev: 7c1d57b29c9b607703a840be6662fe8169859416)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-28 07:08:37 +01:00
Richard Purdie
bf7cbaff41 lttng: Move platform logic to dedicated inc file
Some platforms support kernel tracing, some support userspace tracing.
This change:

* Moves the knowledge/config to one place in an inc file
* Allows lttng-tools to build without lttng-modules
* Hence enables tools+ust for riscv64
* Has the packagegroup just depend on lttng-tools which will pull in
  ust/modules as needed

(From OE-Core rev: 1824cf062df928de65c1bff5e86e26b7b4d9d784)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27 21:41:57 +01:00
zangrc
194d0ecc98 libgpg-error:upgrade 1.38 -> 1.39
0003-build-Fix-cross-compiling-into-a-separate-build-dir.patch
0005-src-gen-lock-obj.sh-add-a-file.patch
Removed since these are included in 1.39

(From OE-Core rev: 73cc232e0f85b6f65403ba259770d8f85ccfd63f)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27 21:41:57 +01:00
zangrc
b2ad2a7a7d libcap-ng:upgrade 0.7.10 -> 0.7.11
0001-configure.ac-add-library-if-header-found.patch
0002-Wrap-pthread_atfork-usage-in-HAVE_PTHREAD_H.patch
Removed since these are included in 0.7.11

Refresh the following patch:
python.patch

(From OE-Core rev: e883035f13ee86a63eaffe5ac55bf2ce20c5ba10)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27 21:41:57 +01:00
zangrc
426d5aa8d9 libcap:upgrade 2.42 -> 2.43
(From OE-Core rev: 437f827e98ca6b98c978ae736b7340f213d057f3)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27 21:41:57 +01:00
Martin Jansa
b67303460c devtool: expand SRC_URI when guessing recipe update mode
* I have recipes which use variable inside SRC_URI, e.g.:
  ROS_BRANCH ?= "branch=release/melodic/swri_nodelet"
  SRC_URI = "git://github.com/swri-robotics-gbp/marti_common-release;${ROS_BRANCH};protocol=https"

  and devtool modify works fine, but devtool finish fails with:

  $ devtool finish --force-patch-refresh swri-nodelet meta-ros/meta-ros1-melodic/
  ...
  Traceback (most recent call last):
    File "/OE/openembedded-core/scripts/devtool", line 334, in <module>
      ret = main()
    File "/OE/openembedded-core/scripts/devtool", line 321, in main
      ret = args.func(args, config, basepath, workspace)
    File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 2082, in finish
      updated, appendfile, removed = _update_recipe(args.recipename, workspace, rd, args.mode, appendlayerdir, wildcard_version=True, no_remove=False, no_report_remove=removing_original, initial_rev=args.initial_rev, dry_run_outdir=dry_run_outdir, no_overrides=args.no_overrides, force_patch_refresh=args.force_patch_refresh)
    File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 1737, in _update_recipe
      mode = _guess_recipe_update_mode(srctree, rd)
    File "/OE/openembedded-core/scripts/lib/devtool/standard.py", line 1721, in _guess_recipe_update_mode
      params = bb.fetch.decodeurl(uri)[5]
    File "/OE/bitbake/lib/bb/fetch2/__init__.py", line 390, in decodeurl
      raise MalformedUrl(url, "The URL: '%s' is invalid: parameter %s does not specify a value (missing '=')" % (url, s))
  bb.fetch2.MalformedUrl: The URL: 'git://github.com/swri-robotics-gbp/marti_common-release;${ROS_BRANCH};protocol=https' is invalid: parameter ${ROS_BRANCH} does not specify a value (missing '=')

  let it expand the SRC_URI before trying to decode it.

(From OE-Core rev: 3535cfdbf3d77f550b804276f957acf859da484f)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27 08:28:03 +01:00
Naveen Saini
3204982fd7 lib/oe/recipeutils.py: add support for BBFILES_DYNAMIC
Instead of relying on value of BBFILES from bitbake, devtool
parses the layer.conf because the layer might not be in bblayers.conf.
And it currently does not consider the value of BBFILES_DYNAMIC because
of which recipes, in paths defined by BBFILES_DYNAMIC, upgraded
using devtool end up in wrong location.

Include the code from bitbake to append values to BBFILES based on
what is in BBFILES_DYNAMIC too.

(From OE-Core rev: c7bbb98ea8ccd3568dd8bded6e404e2f781e6841)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27 08:28:03 +01:00
Vijai Kumar K
15c61b684c image_types_wic: Add ASSUME_PROVIDED to WICVARS
Add ASSUME_PROVIDED to WICVARS so that wic can use that
when running on bitbake environment.

This fixes the below build failure in do_image_wic
when --include-path is used in wks file.

(From OE-Core rev: 04068ff19d2c18c3b915aab6832ad4b48affa07f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27 08:25:44 +01:00
Joe Slater
8fa41af2ca pseudo: fix renaming to self
Pseudo tests for an item being renamed to itself only after
information about it has been deleted.  Move the test to before
we change the database.

Note that pseudo does not support renameat2(), but neither does
glibc.

(From OE-Core rev: 6b3d109f42385ad1cf1f297a6c06ea7eb6509f26)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-27 08:25:44 +01:00
Mark Hatle
d3e8f2e335 kernel.bbclass: Remove do_install[prefunc] no longer needed
Prior work has refactored the do_install task multiple times, and any
references to PKGV and PKGR (even indirect ones) have been removed.

(From OE-Core rev: 36fe4db8ae827a93abe9fce6740459d215411965)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 21:56:41 +01:00
Mark Hatle
ddc50bc198 package_tar.bbclass: Sync to the other package_* classes
Sync up the anonymous python definition with the other package_*.bbclass
files.  This should make future maintenance easier, even though it has
no difference in behavior from what was there.

Additional, there was a missing deltask in the nopackages.bbclass related
to the package_tar which has been corrected.  This could cause problems on
native recipes when package_tar was enabled.

(From OE-Core rev: f87452942f6391a239b50e3f3f9fa100e74a78fa)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 21:56:41 +01:00
Bruce Ashfield
6d01d3427e kernel: config cleanups for 5.8+
Integrating the following configuration tweaks to fixup warnings and
remove obselete configs for 5.8+:

   84377c2c723 features: rename INTEL_PMC_IPC to MFD_INTEL_PMC_BXT
   89b30487d09 features/inline: remove
   0d357ccb3f3 intel-tco: switch ITCO_WDT to loadable module
   0baed75c082 bsp: Drop the stale USB_MUSB_AM335X_CHILD

(From OE-Core rev: 2ee1db250dd4a8e5e816dcfe8edcea5b2f98c104)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 21:56:41 +01:00
Bruce Ashfield
1828491f0c linux-yocto/5.4: update to v5.4.60
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    77fcb48939fc Linux 5.4.60
    53a856c5a6af drm/amd/display: dchubbub p-state warning during surface planes switch
    4287c18a7d8f drm/amdgpu: Fix bug where DPM is not enabled after hibernate and resume
    915ad46bdd4a drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi
    f9f53b7c6a81 drm: Added orientation quirk for ASUS tablet model T103HAF
    aeec14061d53 drm/panfrost: Use kvfree() to free bo->sgts
    a202b42b94bc arm64: dts: marvell: espressobin: add ethernet alias
    0f1c938ef82d khugepaged: retract_page_tables() remember to test exit
    e47e00559893 sh: landisk: Add missing initialization of sh_io_port_base
    64d358a9adb5 perf/x86/rapl: Fix missing psys sysfs attributes
    5c90739d36ce tools build feature: Quote CC and CXX for their arguments
    45989801d7cf perf bench mem: Always memset source before memcpy
    306df54b5b8a ALSA: echoaudio: Fix potential Oops in snd_echo_resume()
    8bc48c35a983 crypto: algif_aead - fix uninitialized ctx->init
    a23269976109 mfd: dln2: Run event handler loop under spinlock
    315b5cbe1aee i2c: iproc: fix race between client unreg and isr
    8620d18575af test_kmod: avoid potential double free in trigger_config_run_type()
    3457ba1acec2 fs/ufs: avoid potential u32 multiplication overflow
    ba40d33e36b2 fs/minix: remove expected error message in block_to_path()
    d91005b645d1 fs/minix: fix block limit check for V1 filesystems
    6def476496a5 fs/minix: set s_maxbytes correctly
    75cf7f895f56 nfs: Fix getxattr kernel panic and memory overflow
    d09d6dca89e9 net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init
    35b5e689abd9 drm/vmwgfx: Fix two list_for_each loop exit tests
    95922cdab4ad drm/vmwgfx: Use correct vmw_legacy_display_unit pointer
    1d8dce52a008 recordmcount: Fix build failure on non arm64
    f41600c55789 Input: sentelic - fix error return when fsp_reg_write fails
    8d7633b5aff9 x86/tsr: Fix tsc frequency enumeration bug on Lightning Mountain SoC
    8645225c7180 md-cluster: Fix potential error pointer dereference in resize_bitmaps()
    3fcd24040f55 watchdog: initialize device before misc_register
    9340d8bfec94 nfs: nfs_file_write() should check for writeback errors
    da14c05ad875 scsi: lpfc: nvmet: Avoid hang / use-after-free again when destroying targetport
    c9220ff3b9cc openrisc: Fix oops caused when dumping stack
    a6d5c5a398d6 libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr
    dfb5d727d721 libnvdimm/security: fix a typo
    0c51d8f5c83e clk: bcm2835: Do not use prediv with bcm2711's PLLs
    1896dfc97c90 ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename
    7dccbf1111bf nfs: ensure correct writeback errors are returned on close()
    9153e0d43710 i2c: rcar: avoid race when unregistering slave
    4f69483568d6 tools build feature: Use CC and CXX from parent
    3d0808f3c7d9 pwm: bcm-iproc: handle clk_get_rate() return
    ba2c4d0e720b clk: clk-atlas6: fix return value check in atlas6_clk_init()
    c7bd131f4335 clk: qcom: gcc-sdm660: Fix up gcc_mss_mnoc_bimc_axi_clk
    422a01fc23d2 i2c: rcar: slave: only send STOP event when we have been addressed
    043bc80399a8 iommu/vt-d: Enforce PASID devTLB field mask
    99d1472ba802 clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL
    f66d0154ed2f clk: qcom: gcc: fix sm8150 GPU and NPU clocks
    a31ac4101981 iommu/omap: Check for failure of a call to omap_iommu_dump_ctx
    34c920e2c858 selftests/powerpc: ptrace-pkey: Don't update expected UAMOR value
    cf5078181528 selftests/powerpc: ptrace-pkey: Update the test to mark an invalid pkey correctly
    e4a6919c9908 selftests/powerpc: ptrace-pkey: Rename variables to make it easier to follow code
    ea777df6b8b9 clk: actions: Fix h_clk for Actions S500 SoC
    0e0a146f978e dm rq: don't call blk_mq_queue_stopped() in dm_stop_queue()
    386f82040c84 gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile
    0f77e95efd75 gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers
    e0a684edf6d7 crypto: caam - Remove broken arc4 support
    64563d1dca80 mmc: renesas_sdhi_internal_dmac: clean up the code for dma complete
    b638533ec6fa RDMA/counter: Allow manually bind QPs with different pids to same counter
    e5a9bb4f1243 RDMA/counter: Only bind user QPs in auto mode
    cf304df99fac devres: keep both device name and resource name in pretty name
    ddd3934f7b39 crypto: af_alg - Fix regression on empty requests
    9705f53eb01a USB: serial: ftdi_sio: clean up receive processing
    aeefe7d15cf1 USB: serial: ftdi_sio: make process-packet buffer unsigned
    8cab023c03aa selftests/bpf: test_progs use another shell exit on non-actions
    de624fbac3eb selftests/bpf: Test_progs indicate to shell on non-actions
    95c736a29105 IB/uverbs: Set IOVA on IB MR in uverbs layer
    ea1cdb1bb80b media: rockchip: rga: Only set output CSC mode for RGB input
    5f51ca677cd2 media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic
    0f334b668455 RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah()
    5412efa6285a RDMA/ipoib: Return void from ipoib_ib_dev_stop()
    ab67471562ad platform/chrome: cros_ec_ishtp: Fix a double-unlock issue
    617da16f5ab9 mtd: rawnand: fsl_upm: Remove unused mtd var
    e1f2606892f2 octeontx2-af: change (struct qmem)->entry_sz from u8 to u16
    368caae37037 mfd: arizona: Ensure 32k clock is put on driver unbind and error
    cf368b876f44 crypto: algif_aead - Only wake up when ctx->more is zero
    bb0bba78d365 pinctrl: ingenic: Properly detect GPIO direction when configured for IRQ
    974ca069d531 orangefs: get rid of knob code...
    1752ab50e825 drm/imx: imx-ldb: Disable both channels for split mode in enc->disable()
    988fcef346a3 remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load
    babd6a4c3336 remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load
    73ba6991e981 remoteproc: qcom: q6v5: Update running state before requesting stop
    55052ac61cb8 perf intel-pt: Fix duplicate branch after CBR
    8214e74b662d perf intel-pt: Fix FUP packet state
    169015f464d0 module: Correctly truncate sysfs sections output
    54f44e3af24b pseries: Fix 64 bit logical memory block panic
    37e3a1c08e2d ceph: handle zero-length feature mask in session messages
    8953e8cb0d6a ceph: set sec_context xattr on symlink creation
    12badd382453 watchdog: f71808e_wdt: clear watchdog timeout occurred flag
    0f35915a0feb watchdog: f71808e_wdt: remove use of wrong watchdog_info option
    4699d95a715b watchdog: f71808e_wdt: indicate WDIOF_CARDRESET support in watchdog_info.options
    43e172e31bad tracing: Move pipe reference to trace array instead of current_tracer
    9aab8b2b0f8f tracing: Use trace_sched_process_free() instead of exit() for pid tracing
    bd23940da2d1 tracing/hwlat: Honor the tracing_cpumask
    1424f0aa18dc kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler
    3a1208574658 ftrace: Setup correct FTRACE_FL_REGS flags for module
    b47215b3749a mm/memory_hotplug: fix unpaired mem_hotplug_begin/done
    aeeddba9b498 mm/page_counter.c: fix protection usage propagation
    bd99ff4dc92b ocfs2: change slot number type s16 to u16
    a6b238cac6d3 khugepaged: collapse_pte_mapped_thp() protect the pmd lock
    687d366d0db1 khugepaged: collapse_pte_mapped_thp() flush the right range
    8cdf68355312 ext2: fix missing percpu_counter_inc
    6c7b42c8f01d MIPS: qi_lb60: Fix routing to audio amplifier
    59909e23020f MIPS: CPU#0 is not hotpluggable
    d3c9e815006e driver core: Avoid binding drivers to dead devices
    0cf746d8b052 mac80211: fix misplaced while instead of if
    c573e8673dc1 bcache: fix overflow in offset_to_stripe()
    42dd8cc9e499 bcache: allocate meta data pages as compound pages
    391b5d39faea md/raid5: Fix Force reconstruct-write io stuck in degraded raid5
    28163868530b net/compat: Add missing sock updates for SCM_RIGHTS
    6ea125ec644b net: stmmac: dwmac1000: provide multicast filter fallback
    e92a02e47e16 net: ethernet: stmmac: Disable hardware multicast filter
    eca5084aabdf media: vsp1: dl: Fix NULL pointer dereference on unbind
    28bbbc45054c pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH
    9ba5f37fa353 powerpc: Fix circular dependency between percpu.h and mmu.h
    9de20a6c4dd6 powerpc: Allow 4224 bytes of stack expansion for the signal frame
    2150c25b76fb powerpc/ptdump: Fix build failure in hashpagetable.c
    7a991df9e5cb cifs: Fix leak when handling lease break for cached root fid
    545771537ec4 xtensa: fix xtensa_pmu_setup prototype
    d1e2ec2e0b7d xtensa: add missing exclusive access state management
    5efb3f91403c iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw()
    1a5e5b3b7571 dt-bindings: iio: io-channel-mux: Fix compatible string in example code
    ab58cc033124 arm64: perf: Correct the event index in sysfs
    8c1431221374 btrfs: fix return value mixup in btrfs_get_extent
    d256992d5105 btrfs: make sure SB_I_VERSION doesn't get unset by remount
    5bed3387c8a1 btrfs: fix memory leaks after failure to lookup checksums during inode logging
    f1d21b2688d9 btrfs: inode: fix NULL pointer dereference if inode doesn't need compression
    7bbf647dbb5a btrfs: only search for left_info if there is no right_info in try_merge_free_space
    38c8255af7d7 btrfs: fix messages after changing compression level by remount
    242747612209 btrfs: fix race between page release and a fast fsync
    ee6373070108 btrfs: don't WARN if we abort a transaction with EROFS
    d8848f4c2555 btrfs: sysfs: use NOFS for device creation
    e0e51f4fc488 btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree
    2f29a31f394e btrfs: add missing check for nocow and compression inode flags
    38ab14b1e27c btrfs: relocation: review the call sites which can be interrupted by signal
    ae3f93cafd6f btrfs: move the chunk_mutex in btrfs_read_chunk_tree
    98f55cd49671 btrfs: open device without device_list_mutex
    3d3452920cac btrfs: don't traverse into the seed devices in show_devname
    8bc3a5d8c2ae btrfs: remove no longer needed use of log_writers for the log root tree
    938051408905 btrfs: stop incremening log_batch for the log root tree when syncing log
    0ddf373adb42 btrfs: ref-verify: fix memory leak in add_block_entry
    c16ba06f5204 btrfs: don't allocate anonymous block device for user invisible roots
    d2731ac13ca5 btrfs: free anon block device right after subvolume deletion
    207659ef151c btrfs: allow use of global block reserve for balance item deletion
    7a6fc7c21962 PCI: qcom: Add support for tx term offset for rev 2.1.0
    5956d3847502 PCI: qcom: Define some PARF params needed for ipq8064 SoC
    588d5cbf4de7 PCI: Add device even if driver attach failed
    d7caf80700f2 PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken
    ae86233204ba PCI: hotplug: ACPI: Fix context refcounting in acpiphp_grab_context()
    72ba9d544e60 genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq()
    a11f42496ac8 genirq/affinity: Make affinity setting if activated opt-in
    582ee2cb6f90 smb3: warn on confusing error scenario with sec=krb5

(From OE-Core rev: 05ed88405bdcb0bec513bfd5aaeb652d0fa035fb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 21:56:41 +01:00
Bruce Ashfield
f2d5dbe688 linux-yocto/5.8: update to v5.8.3
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    a1101e94767e Linux 5.8.3
    60db6233fcdb drm/amd/display: dchubbub p-state warning during surface planes switch
    f80a0daa7f0a drm/amd/display: Fix dmesg warning from setting abm level
    ca4c7f2d2f3e drm/amdgpu: Fix bug where DPM is not enabled after hibernate and resume
    81dfb2e6cef1 drm: fix drm_dp_mst_port refcount leaks in drm_dp_mst_allocate_vcpi
    c4dc000bdef4 drm: Added orientation quirk for ASUS tablet model T103HAF
    516bbc000e24 drm/tidss: fix modeset init for DPI panels
    efe06a004622 drm/omap: force runtime PM suspend on system suspend
    c37097f533d8 drm/dp_mst: Fix the DDC I2C device unregistration of an MST port
    392379d6933a drm/dp_mst: Fix timeout handling of MST down messages
    24232c85a62c drm/dp_mst: Fix the DDC I2C device registration of an MST port
    1ff09cb0376c drm/panfrost: Use kvfree() to free bo->sgts
    01f876a47fc8 drm/i915/gt: Force the GT reset on shutdown
    77fac4e901a1 sh: fault: Fix duplicate printing of "PC:"
    97086157b4e2 sh: landisk: Add missing initialization of sh_io_port_base
    bc0d59fb4df8 perf/x86/rapl: Fix missing psys sysfs attributes
    274522c44276 tools build feature: Quote CC and CXX for their arguments
    c361cf1959bb perf bench mem: Always memset source before memcpy
    6719a2c9e756 ALSA: echoaudio: Fix potential Oops in snd_echo_resume()
    4aadfa123628 crypto: algif_aead - fix uninitialized ctx->init
    de08998ab4c6 mfd: dln2: Run event handler loop under spinlock
    ceb2646520b2 i2c: iproc: fix race between client unreg and isr
    53bad01a3b03 test_kmod: avoid potential double free in trigger_config_run_type()
    f47254f20a4b fs/ufs: avoid potential u32 multiplication overflow
    86593fd4e57f fs/minix: remove expected error message in block_to_path()
    378719932ec7 fs/minix: fix block limit check for V1 filesystems
    9ca9f3ba5686 fs/minix: set s_maxbytes correctly
    617e41f5dac8 lib/test_lockup.c: fix return value of test_lockup_init()
    e39eefbc1708 NFS: Fix flexfiles read failover
    266bc13be47a nfs: Fix getxattr kernel panic and memory overflow
    0e2446523c77 net: qcom/emac: add missed clk_disable_unprepare in error path of emac_clks_phase1_init
    fcd4fd88eb02 s390/Kconfig: add missing ZCRYPT dependency to VFIO_AP
    3745a958bce1 s390/test_unwind: fix possible memleak in test_unwind()
    e160e9079706 drm/vmwgfx: Fix two list_for_each loop exit tests
    6679a59a7ae3 drm/vmwgfx: Use correct vmw_legacy_display_unit pointer
    5e8e8c3d96d4 vdpa: Fix pointer math bug in vdpasim_get_config()
    86e42d0d425b recordmcount: Fix build failure on non arm64
    240c89d0c469 vdpa_sim: init iommu lock
    3a1b4c0eda07 selftests/bpf: Fix silent Makefile output
    94a9bdbc2b35 perf record: Skip side-band event setup if HAVE_LIBBPF_SUPPORT is not set
    e29f7f9a7908 Input: sentelic - fix error return when fsp_reg_write fails
    3396572c3b62 selftests/bpf: Prevent runqslower from racing on building bpftool
    8dfe0e66582c x86/bugs/multihit: Fix mitigation reporting when VMX is not in use
    bff77b49db3e x86/tsr: Fix tsc frequency enumeration bug on Lightning Mountain SoC
    cb511f4b7160 kprobes: Fix compiler warning for !CONFIG_KPROBES_ON_FTRACE
    0b702cd41418 md-cluster: Fix potential error pointer dereference in resize_bitmaps()
    f4c223e3941b watchdog: rti-wdt: balance pm runtime enable calls
    6a35f55743e0 watchdog: initialize device before misc_register
    d9ce6955f923 nfs: nfs_file_write() should check for writeback errors
    ff1345a6663d scsi: lpfc: nvmet: Avoid hang / use-after-free again when destroying targetport
    3fb06144f4af perf evsel: Don't set sample_regs_intr/sample_regs_user for dummy event
    8fab1ff419f5 openrisc: Fix oops caused when dumping stack
    2752dd0c3134 libnvdimm/security: ensure sysfs poll thread woke up and fetch updated attr
    e5896827b71a libnvdimm/security: fix a typo
    8d4e102a6e42 clk: bcm2835: Do not use prediv with bcm2711's PLLs
    ded14d6ee4c0 clk: hsdk: Fix bad dependency on IOMEM
    c394441530fa ubifs: Fix wrong orphan node deletion in ubifs_jnl_update|rename
    9a51a86041f7 ubi: fastmap: Free fastmap next anchor peb during detach
    a62f895d09f3 ubi: fastmap: Don't produce the initial next anchor PEB when fastmap is disabled
    0a8add2a902d nfs: ensure correct writeback errors are returned on close()
    c7383a5fc976 i2c: rcar: avoid race when unregistering slave
    fa08065ef749 tools build feature: Use CC and CXX from parent
    f0a1e40eed15 perf tools: Fix term parsing for raw syntax
    90f68c49988b pwm: bcm-iproc: handle clk_get_rate() return
    b4c53155de51 sched/uclamp: Fix a deadlock when enabling uclamp static key
    b34732c06f4b nvme: fix deadlock in disconnect during scan_work and/or ana_work
    9d96d123cfd0 clk: clk-atlas6: fix return value check in atlas6_clk_init()
    079b5fdb0c0c clk: qcom: gcc-sdm660: Fix up gcc_mss_mnoc_bimc_axi_clk
    a0eae7915093 f2fs: compress: fix to update isize when overwriting compressed file
    bd4eba735bb7 i2c: rcar: slave: only send STOP event when we have been addressed
    7341629659ae iommu/vt-d: Disable multiple GPASID-dev bind
    9f0585a29430 iommu/vt-d: Warn on out-of-range invalidation address
    11c371d31342 iommu/vt-d: Enforce PASID devTLB field mask
    0d955cbce59e iommu/vt-d: Handle non-page aligned address
    43db463bd0be clk: qcom: clk-alpha-pll: remove unused/incorrect PLL_CAL_VAL
    04d9e9742b00 clk: qcom: gcc: fix sm8150 GPU and NPU clocks
    07ce10b7e1b4 iommu/omap: Check for failure of a call to omap_iommu_dump_ctx
    38062cc2d562 selftests/powerpc: ptrace-pkey: Don't update expected UAMOR value
    0ff75defefcd selftests/powerpc: ptrace-pkey: Update the test to mark an invalid pkey correctly
    a779a9d11285 selftests/powerpc: ptrace-pkey: Rename variables to make it easier to follow code
    aff4ae8ab739 clk: actions: Fix h_clk for Actions S500 SoC
    0350ac46ba1b f2fs: compress: fix to avoid memory leak on cc->cpages
    ed276b462fde ima: Fail rule parsing when appraise_flag=blacklist is unsupportable
    e5703d615a7c dm rq: don't call blk_mq_queue_stopped() in dm_stop_queue()
    17d4cb0844df gpu: ipu-v3: image-convert: Wait for all EOFs before completing a tile
    5882f8f0013a gpu: ipu-v3: image-convert: Combine rotate/no-rotate irq handlers
    d1e9532db7c5 crypto: caam - Remove broken arc4 support
    8c16295b8ff2 rtc: pl031: fix set_alarm by adding back call to alarm_irq_enable
    b8e8613492b4 rtw88: pci: disable aspm for platform inter-op with module parameter
    06f65dfb3836 mmc: renesas_sdhi_internal_dmac: clean up the code for dma complete
    7dde5bcc8c88 RDMA/counter: Allow manually bind QPs with different pids to same counter
    78866b5a2668 RDMA/counter: Only bind user QPs in auto mode
    977f7c51a63e devres: keep both device name and resource name in pretty name
    465c03e99910 crypto: af_alg - Fix regression on empty requests
    541992e8b0c7 USB: serial: ftdi_sio: clean up receive processing
    0c7343c9432e USB: serial: ftdi_sio: make process-packet buffer unsigned
    faf8b18350b9 selftests/bpf: test_progs avoid minus shell exit codes
    802001c6bb43 selftests/bpf: test_progs use another shell exit on non-actions
    c19bab9bd52d bpf: selftests: Restore netns after each test
    3f3bc4abe537 selftests/bpf: Test_progs indicate to shell on non-actions
    f916752c8708 sched/uclamp: Protect uclamp fast path code with static key
    89ba1d1f43a5 IB/uverbs: Set IOVA on IB MR in uverbs layer
    213e2e4b1a64 media: rockchip: rga: Only set output CSC mode for RGB input
    07da1ff493fd media: rockchip: rga: Introduce color fmt macros and refactor CSC mode logic
    3da33ca81ba0 media: staging: rkisp1: rsz: set default format if the given format is not RKISP1_ISP_SD_SRC
    7e995c6ae760 media: staging: rkisp1: rename macros 'RKISP1_DIR_*' to 'RKISP1_ISP_SD_*'
    ecaf6bdd5f9d media: staging: rkisp1: remove macro RKISP1_DIR_SINK_SRC
    278cc1c2adf9 rtc: cpcap: fix range
    00588429d2e5 RDMA/ipoib: Fix ABBA deadlock with ipoib_reap_ah()
    82fd63e9e683 RDMA/ipoib: Return void from ipoib_ib_dev_stop()
    93b494630c60 drm/amdgpu/debugfs: fix memory leak when pm_runtime_get_sync failed
    480beebce2ff platform/chrome: cros_ec_ishtp: Fix a double-unlock issue
    eee5f6fa24df mtd: rawnand: brcmnand: ECC error handling on EDU transfers
    9cddd0699395 mtd: rawnand: fsl_upm: Remove unused mtd var
    15fae7928aaf octeontx2-af: change (struct qmem)->entry_sz from u8 to u16
    267c6e3375e1 mfd: arizona: Ensure 32k clock is put on driver unbind and error
    e91d82703ad0 crypto: algif_aead - Only wake up when ctx->more is zero
    c8ec6953625d drm/ingenic: Fix incorrect assumption about plane->index
    ee35309eea23 drm/imx: imx-ldb: Disable both channels for split mode in enc->disable()
    88d1439b1e37 libnvdimm: Validate command family indices
    23910283df04 remoteproc: qcom_q6v5_mss: Validate modem blob firmware size before load
    c5c2fb5960f1 remoteproc: qcom_q6v5_mss: Validate MBA firmware size before load
    82d82bca4436 remoteproc: qcom: q6v5: Update running state before requesting stop
    c67f637f72c0 gfs2: Never call gfs2_block_zero_range with an open transaction
    ded2937b91eb gfs2: Fix refcount leak in gfs2_glock_poke
    3833a4bdbded perf intel-pt: Fix duplicate branch after CBR
    d761e9bc78ef perf intel-pt: Fix FUP packet state
    6bfbf969292e perf probe: Fix memory leakage when the probe point is not found
    5bd6375e87f4 perf probe: Fix wrong variable warning when the probe point is not found
    9213dd60f181 bootconfig: Fix to find the initargs correctly
    6c76404120cd module: Correctly truncate sysfs sections output
    20d175c70e60 dm: don't call report zones for more than the user requested
    b1735d353e61 dm ebs: Fix incorrect checking for REQ_OP_FLUSH
    e7ec82cbde08 pseries: Fix 64 bit logical memory block panic
    350542d6d513 ceph: handle zero-length feature mask in session messages
    09f891e55e91 ceph: set sec_context xattr on symlink creation
    0b02948e40f9 watchdog: f71808e_wdt: clear watchdog timeout occurred flag
    d413cca0c98d watchdog: f71808e_wdt: remove use of wrong watchdog_info option
    f50b7adc8f4f watchdog: f71808e_wdt: indicate WDIOF_CARDRESET support in watchdog_info.options
    aedfe612fa44 tracing: Use trace_sched_process_free() instead of exit() for pid tracing
    e8b292a11b83 tracing/hwlat: Honor the tracing_cpumask
    06cc3b5c15b1 kprobes: Fix NULL pointer dereference at kprobe_ftrace_handler
    bc394fabc466 ftrace: Setup correct FTRACE_FL_REGS flags for module
    d6cf27cc3c6b mm/memory_hotplug: fix unpaired mem_hotplug_begin/done
    2c381196946e cma: don't quit at first error when activating reserved areas
    34046ed85979 mm/page_counter.c: fix protection usage propagation
    ee4d4fc47086 ocfs2: change slot number type s16 to u16
    167d124d6f1c mm: fix kthread_use_mm() vs TLB invalidate
    0e7e8f15ca99 mm/shuffle: don't move pages between zones and don't read garbage memmaps
    70bd10179433 hugetlbfs: remove call to huge_pte_alloc without i_mmap_rwsem
    09f00c1d6d79 khugepaged: retract_page_tables() remember to test exit
    b77baa470e77 khugepaged: collapse_pte_mapped_thp() protect the pmd lock
    1070cf5eae8c mm/hugetlb: fix calculation of adjust_range_if_pmd_sharing_possible
    11bca2c7a968 khugepaged: collapse_pte_mapped_thp() flush the right range
    3c98843a56f1 ext2: fix missing percpu_counter_inc
    7a3ec44ca8cd MIPS: SGI-IP27: always enable NUMA in Kconfig
    f2dcaa097b09 MIPS: qi_lb60: Fix routing to audio amplifier
    41158a79e505 MIPS: CPU#0 is not hotpluggable
    6fc128de20ba driver core: Avoid binding drivers to dead devices
    b4cbe39b9b47 appletalk: Fix atalk_proc_init() return path
    ea171d825ff0 mac80211: fix misplaced while instead of if
    9f05adac97ed bcache: use disk_{start,end}_io_acct() to count I/O for bcache device
    99ea492e8a1a bcache: fix bio_{start,end}_io_acct with proper device
    add47ff1e482 bcache: avoid nr_stripes overflow in bcache_device_init()
    9c8656abb350 bcache: fix overflow in offset_to_stripe()
    d02401090367 bcache: allocate meta data pages as compound pages
    6c38defccf61 md/raid5: Fix Force reconstruct-write io stuck in degraded raid5
    5a92eba2e0f8 selftests/seccomp: Set NNP for TSYNC ESRCH flag test
    2559f40308f3 net/compat: Add missing sock updates for SCM_RIGHTS
    9e6dc1fe251b pidfd: Add missing sock updates for pidfd_getfd()
    bad7ce89b091 irqchip/gic-v4.1: Ensure accessing the correct RD when writing INVALLR
    dac251560dc0 irqchip/loongson-liointc: Fix misuse of gc->mask_cache
    dd3c73e1e361 net: stmmac: dwmac1000: provide multicast filter fallback
    77f16ebdd22c net: ethernet: stmmac: Disable hardware multicast filter
    0c43968f4ebc media: vsp1: dl: Fix NULL pointer dereference on unbind
    07f56c2d7b35 media: venus: fix multiple encoder crash
    cba406ad893b pinctrl: ingenic: Properly detect GPIO direction when configured for IRQ
    96731791b27e pinctrl: ingenic: Enhance support for IRQ_TYPE_EDGE_BOTH
    2066cba94ce9 powerpc: Fix circular dependency between percpu.h and mmu.h
    995681728df2 powerpc: Allow 4224 bytes of stack expansion for the signal frame
    b30f462438c8 powerpc/ptdump: Fix build failure in hashpagetable.c
    08097161b4c1 cifs: Fix leak when handling lease break for cached root fid
    b8f1063288c7 xtensa: fix xtensa_pmu_setup prototype
    31ec410fda51 xtensa: add missing exclusive access state management
    d593b5ce8b60 iio: imu: st_lsm6dsx: reset hw ts after resume
    9e56debaf8bd iio: dac: ad5592r: fix unbalanced mutex unlocks in ad5592r_read_raw()
    bd2d9b643973 dt-bindings: iio: io-channel-mux: Fix compatible string in example code
    0c7e8af43b20 arm64: perf: Correct the event index in sysfs
    43392e32cafd arm64: dts: qcom: sc7180: Drop the unused non-MSA SID
    fd9cabecacbd btrfs: check correct variable after allocation in btrfs_backref_iter_alloc
    bdbc805d86b0 btrfs: fix return value mixup in btrfs_get_extent
    1dc8956a14e0 btrfs: make sure SB_I_VERSION doesn't get unset by remount
    37a0e89752b4 btrfs: trim: fix underflow in trim length to prevent access beyond device boundary
    994f3284b274 btrfs: fix memory leaks after failure to lookup checksums during inode logging
    9bb2c78829ce btrfs: inode: fix NULL pointer dereference if inode doesn't need compression
    aa39db7b49ee btrfs: only search for left_info if there is no right_info in try_merge_free_space
    6f09bb5c8693 btrfs: fix messages after changing compression level by remount
    29034d5959a2 btrfs: don't show full path of bind mounts in subvol=
    aa80bd09914a btrfs: fix race between page release and a fast fsync
    4f22fd835fd3 btrfs: don't WARN if we abort a transaction with EROFS
    6082e83f0ca6 btrfs: sysfs: use NOFS for device creation
    18a184b5a537 btrfs: return EROFS for BTRFS_FS_STATE_ERROR cases
    6892ee54cc38 btrfs: avoid possible signal interruption of btrfs_drop_snapshot() on relocation tree
    4565cb8dc364 btrfs: add missing check for nocow and compression inode flags
    2e30d1cc1ead btrfs: relocation: review the call sites which can be interrupted by signal
    bdc4fa8be990 btrfs: move the chunk_mutex in btrfs_read_chunk_tree
    ff532ad267d4 btrfs: open device without device_list_mutex
    5199c3d6449a btrfs: pass checksum type via BTRFS_IOC_FS_INFO ioctl
    1c986b7e8c1b btrfs: don't traverse into the seed devices in show_devname
    bbdfe026a767 btrfs: remove no longer needed use of log_writers for the log root tree
    39b0de06b4e5 btrfs: only commit delayed items at fsync if we are logging a directory
    99da62f72cdf btrfs: stop incremening log_batch for the log root tree when syncing log
    4f736d4f97bb btrfs: only commit the delayed inode when doing a full fsync
    bba24e6343de btrfs: ref-verify: fix memory leak in add_block_entry
    917d608fe375 btrfs: preallocate anon block device at first phase of snapshot creation
    711e8ede50ab btrfs: don't allocate anonymous block device for user invisible roots
    f3ff060ccf60 btrfs: free anon block device right after subvolume deletion
    1d6700781ab8 btrfs: allow use of global block reserve for balance item deletion
    0ab7762854c3 PCI: qcom: Add support for tx term offset for rev 2.1.0
    2bc2a8008680 PCI: qcom: Define some PARF params needed for ipq8064 SoC
    1d392f7e229d PCI: Add device even if driver attach failed
    51a692df486f PCI: Mark AMD Navi10 GPU rev 0x00 ATS as broken
    7255adef0c61 PCI/ATS: Add pci_pri_supported() to check device or associated PF
    815260de064b PCI: hotplug: ACPI: Fix context refcounting in acpiphp_grab_context()
    64947da67a3a genirq/PM: Always unlock IRQ descriptor in rearm_wake_irq()
    298510f9339d genirq: Unlock irq descriptor after errors
    2ca0b460bbcb genirq/affinity: Make affinity setting if activated opt-in
    680e115323a3 SMB3: Fix mkdir when idsfromsid configured on mount
    4b12a034cca8 smb3: warn on confusing error scenario with sec=krb5
    4fc48fefc51c ALSA: hda/realtek - Fix unused variable warning

(From OE-Core rev: 483906a52e86527a549f6d181abf793c7bf8d8b2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 21:56:41 +01:00
Richard Purdie
ee98c6ab03 runqemu: Show an error for conflicting graphics options
The autobuilder managed to pass the nographic option with "sdl gl" due
to a problem elsewhere. It would have been useful for runqemu to have
errored rather than passing conflicting options to qemu. Add an
error for this invalid usecase.

(From OE-Core rev: 377a6ffbcba0d3c5ede470c989756c4d1636873f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:57 +01:00
Khem Raj
5713f5d7c8 lttng-tools: Do not build for riscv64
Since lttng-modules are not buildable, there is no point of building
tools either

(From OE-Core rev: 7138f09da4f3c523d4028fbe5b53923ad2b59a71)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:57 +01:00
Jacob Kroon
780d38ee5e gcc10: Don't default back to -fcommon
It has been almost 3 months since the upgrade to gcc 10. Switch back to
relying on gcc default configuration (-fno-common).

This reverts OE-Core commit 951e859b1e8297970278c539e989b8a6d06a9cb3.

(From OE-Core rev: 4ee733e1551d3960a23a600eb71a01cf7a51fa06)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:57 +01:00
Richard Purdie
526a956132 oeqa/selftest: Apply patch to fix cpio build with -fno-common
Patch a combined effort from Khem/RP, need to add$CONFIGURE_FLAGS
to ensure tests still work.

(From OE-Core rev: 48c82d42d510b9a8b6e819f2adf4cc1bebed8db4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:57 +01:00
Kevin Hao
7ecdf7ac63 meta-yocto-bsp: Bump to the v5.8 kernel
Boot test for all the supported boards. There is a kernel config
check warning for beaglebone-yocto, the fix [1] has been sent to
kernel-meta for merging.

[1] https://lists.yoctoproject.org/g/linux-yocto/message/8992

(From meta-yocto rev: ccc825335f257ca2259440c561eea02538edd762)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:05 +01:00
Bruce Ashfield
2c526ee6ef poky: add preferred version for linux-yocto-rt
As a step towards getting more testing on -rt, we should explicitly
set the preferred version for linux-yocto-rt.

Newly introduced kernels lag in -rt support (as we wait for upstream
projects), so we don't want the version to always be the latest by
default.

(From meta-yocto rev: 8d717a646b3b767105a70e58e5c4372f6b51b411)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:05 +01:00
Bruce Ashfield
c29259e468 poky-tiny: set preferred version to 5.8
Even though tiny isn't extensively used (it was referencing a
removed kernel version), it still should be updated to the latest.

Build testing passed with the 5.8 kernel, so we make it the
preferred version.

(From meta-yocto rev: 45ce0906c38e3b7aedb5c5bb30b5eb4a9dd0c83c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 14:33:05 +01:00
Richard Purdie
2b3bd34f9b bitbake: server/process: Fix typo in code causing tracebacks
(Bitbake rev: 14caa3d4e5615252b9453162183980044d896d2f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 11:28:54 +01:00
Richard Purdie
4965496c4a bitbake: utils: Drop broken timeout function
I strongly suspect this function doesn't work with modern python so
and its unused now, drop it.

(Bitbake rev: a3033cea089c66c8b4614e7ee57c166f4262c590)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:05:38 +01:00
Richard Purdie
8ecde1aa8f bitbake: process: Avoid bb.utils.timeout
I have a suspicion based on process traces that the flock() call is no
longer interrupted by SIGALRM and hence the timeout doesn't work. We
were relying on EINTR triggering around syscalls but python is likely
protecting us from that in modern versions.

Re-implement this code with a different mechanism which doesn't have
that potential issue.

(Bitbake rev: 8eb52afdfd4c3e6478d4f8cc56e99def3f1c924c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:05:38 +01:00
Chris Laplante
77441a08d4 bitbake: compat.py: remove file since it no longer actually implements anything
Now that compat.py just imports Python standard library stuff, get rid
of the layer of indirection.

(Bitbake rev: e2be6defbb9fcf25f9df04c3b452d0dba48dfd03)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:05:38 +01:00
Richard Purdie
392b2cf529 bitbake: server/process: Use sys.executable for bitbake-server
Using sys.executable ensures we're using the same python binary for the server
as the client, which is probably advisable. "bitbake-server" is left as the process
name as its more distinctive in process listings.

(Bitbake rev: 387a339b330e8122a62a148249beb3f064dd4e3d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:05:38 +01:00
Richard Purdie
1560a4b0cb bitbake: fetch2: Drop globbing supprt in file:// SRC_URIs
Globbing in file:// urls is terminally broken. Currently when its used, the
file checksum code is basically bypassed. This means changes to the source
files don't change the task checksum, the task doesn't rebuild when the
inputs change and things generally break.

To make globbing work generically, we'd have to scan the file system for
all possible matches to the glob and log whether they exist or not. We can't
simply log the files which exist, we have to also know which files could
later exist and influence the choice of file so we know when to reparse.

For a simple file://xxx/*, this could be done but for bigger patterns,
it becomes much more problemtic. We already support file://xxx/ in urls.

So, lets decide we'll not support globs in file://urls. Worse case users
can put files in a directory and reference that, moving files into place
if needed.

Remove all the glob special cases (see the comments if anyone doesn't
believe this is terminally broken) and error to the user if they have
such urls.

(Bitbake rev: 0c9302d950c6f37bfcc4256b41001d63f668bdf7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:05:38 +01:00
Richard Purdie
3cfc4e9fa9 local.conf.sample: Document memory resident bitbake
Add an example of how to enable this to local.conf.sample

(From meta-yocto rev: e29dbff72bdfb99cf672599e8d1814e51ab7290a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:50 +01:00
Khem Raj
1955ba23f1 kexec-tools: Fix build with -fno-common on ppc
(From OE-Core rev: 95fd778e3f319f18ed0061f78633d6957227961f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Khem Raj
604c0404c2 lttng-modules: Disable on riscv64
Kernel 5.8+ and lttng requires kprobes and riscv64 lacks kprobes
Invert the COMPATIBLE_HOST regexp, as we support most of arches

(From OE-Core rev: 5a0096f3a2c268233c192deb455da67d2784afa4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Rasmus Villemoes
94ed64f375 kernel.bbclass: run do_symlink_kernsrc before do_patch
There's a race between do_symlink_kernsrc and do_populate_lic, since
the latter is ordered "after do_patch"; so the two may run in
parallel. In some cases, that actually causes do_populate_lic to fail
if it happens to look for a license file somewhere under ${S} in the
short window after shutil.move and before the symlink has been
created.

Fix that by simply ordering symlink_kernsrc before do_patch. Any task
that pokes around in ${S} looking for files should be ordered after
do_patch, so this should also fix similar latent races with other ad
hoc tasks.

(From OE-Core rev: c5dfc2586b4135cc86e91bb04fed837daf505676)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Peter A. Bigot
810fa7928d bluez5: fix builds that require ell support
Shortly after the recipe was updated to add ell as a mesh dependency
the way ell was integrated into bluez5 was changed.  BlueZ requires
ell only for mesh and for btpclient (external test programs).  It will
be ignored unless either mesh or btpclient are selected.

ell can be supplied externally, or it can be copied into the bluez
build directory from an existing sibling source directory.  Since
bitbake builds do not provide a sibling source directory tell bluez to
look for it as an external library in the conditions where it's
required.

(From OE-Core rev: f22b4eba98b3707d7f6daa4277414cecb3e5ee6b)

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Ming Liu
f89bbd40a5 libubootenv: inherit uboot-config
This mainly aims to involve in the sanity check of UBOOT_CONFIG and
UBOOT_MACHINE, it will throw a error message at recipe parsing time if
neither of them is set, and libubootenv would be skipped.

(From OE-Core rev: 10aa1291979fb90bed1beb49be4d406ed0e1e4d5)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Richard Purdie
dd82e01426 selftest/recipetool: Drop globbing SRC_URI test, no longer supported
Globbing is a bad idea in SRC_URI, it breaks the task checksums and
can't really be fixed. Since we're removing it, drop the test for
its interaction with recipetool.

(From OE-Core rev: 8bf93fa89aa1ba73f6eec05b95d6e8ca5f7d4c4b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Richard Purdie
93ff8a8323 connman-gnome/matchbox-desktop: Remove file:// globbing
A directory can be specified in SRC_URI, there is no need to use
globbing. This means that the files are checksummed correctly and
the recipe rebuilds when the files change as globbing breaks that.

We're about to remove the use of globbing in SRC_URI so improve these.

(From OE-Core rev: 007c7d7ebe6b6b7b18c84f4f57b09ffee5522807)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-26 09:04:04 +01:00
Frazer Clews
abc6f864b9 bitbake: lib: fix most undefined code picked up by pylint
Correctly import, and inherit functions, and variables.
Also fix some typos and remove some Python 2 code that isn't recognised.

(Bitbake rev: b0c807be5c2170c9481c1a04d4c11972135d7dc5)

Signed-off-by: Frazer Clews <frazerleslieclews@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
ac3593f6ed bitbake: cooker: Ensure cooker's enviroment is updated on updateConfig
Only the env variables which were added to the datastore were being
updated. We need to update the whole copy, we just only trigger a
reparse if any of the variables making it into the datastore change.

This avoids a bug where variables such as DISPLAY in a new UI context
would break under memory resident bitbake.

(Bitbake rev: 4bb71b627767297269e762b414443e15e28bfac4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
8ce3e9a76d bitbake: runqueue: Don't use sys.argv
We should not be using sys.argv inside the server to decide which targets
the user added on the commandline. There might not even be a commandline.

Thankfully the targets variable is easily accessible in this context
and contains this exact data we want.

(Bitbake rev: 5b12bf30bccdd00262e74964223220c649040be4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
7002d67de0 bitbake: server/process: Add bitbake-server and exec() a new server process
Trying to have a new python process forked off an original doesn't work
out well and ends up having race issues. To avoid this, exec() a new
bitbake server process. This starts with a fresh python interpreter
and resolves various atexit and other multiprocessing issues once
and for all.

(Bitbake rev: 9501dd6fdd7a7c25cbfa4464cf881fcf8c049ce2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
6bab132879 bitbake: server/process: Log extra threads at exit
Dump info into the logs if there are extra threads left at process exit
time.

(Bitbake rev: 1c9496797b753e67351bd5cb98ef2b8e9435d51e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
4dd9ebd948 bitbake: cooker: Ensure BB_ORIGENV is updated by changes to configuration.env
Changes to configuration.env were not updating BB_ORIGENV, fix this.

(Bitbake rev: c5fbd8452f87e0a2d234eaf27d0450aacdeb8891)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
b9bbb5c7b7 bitbake: main/server/process: Drop configuration object passing
The first thing the UIs do is update the server config from the UI. We
can just rely upon that and start the server with a standard config,
removing the need to pass the confusing configuration object around
as well as configParams, which contains a similar copy of some of the
data.

This makes memory resident bitbake work the same way as the normal
mode, removing the opportunity for some class of bugs.

The xmlrpcinterface and server_timeout values are passed in at server
startup time now and there no longer a second option in the
configuration which is effective ignored once the server starts.

(Bitbake rev: 783a03330802e83c525c55522e3ee2a933bded3a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
a1c956ab4c bitbake: server/process: Move the socket code to server process only
The sock object isn't used client side so we can just created it in
the server process and save passing around the fd/object.

(Bitbake rev: ee5d2c92dcce89ccb701e028ffc6419eb315f5ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
0bcc00ac51 bitbake: cooker: Defer configuration init to after UI connection
Currently we end up parsing the base configuration multiple times as
initially, the right settings haven't come from the UI. We can defer
this until later in startup using runCommand as a trigger.

The advantage to doing this is improved startup times and ultimately
we should be able to avoid the double parse of the base configuration.

(Bitbake rev: 3caa43b665604475d2c87ba505efb0b9fca9c2e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
59421f688c bitbake: cooker/cookerdata: Ensure UI event log is updated from commandline
Currently the eventlog is not handled correctly for memory resident
bitbake. Fix this by allowing adpations to configuration changes.

(Bitbake rev: f7d2c9116116659ea42260a3bb96dca100aadae7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
e3a864c4a3 bitbake: cookerdata: Ensure UI options are updated to the server
There were some options which were not being passed to the server. This
was breaking, particularly in memory resident bitbake mode.

Add the missing options to the correct place to ensure the server is
updated correctly.

(Bitbake rev: 5dc178e7fae3ca8558146e385a05f5d96a021777)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
6def374f13 bitbake: cooker/cookerdata/main: Improve loglevel handling
Rather than passing debug/verbose/debug_domains around, pass the
computed output of these. Ensure that the cooker sets the levels
to match the levels currently set in the UI and generally try and
make it easier to understand what the code is doing.

(Bitbake rev: f0535beecc692a6213be2a22f9eef5956450ecf8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Richard Purdie
4c94d36022 bitbake: build/msg: Cleanup verbose option handling
The levels of indirection to set these verbose logging options is rather
crazy. This attempts to turn things into two specific options with
much more specific meanings. For now its all still controlled by the
commandline verbose option and should funciton as previously, with
the addition that the BB_VERBOSE_LOGS option can now be task specific.

(Bitbake rev: 423c046f2173aaff3072dc3d0882d01b8a0b0212)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 18:14:53 +01:00
Joshua Watt
b221b8a657 oeqa: runtime_tests: Extra GPG debugging
This patch enables extra debugging for gpg to try and get more debugging
information when [YOCTO #14003] occurs

(From OE-Core rev: f24d7be1fb863006b5414fa8f9c9a37bb48d5a6f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Armin Kuster
4213a2f60f bind: update to 9.11.22 ESV
Source: isc.org
MR: 105232, 105246, 105260
Type: Security Fix
Disposition: Backport from  https://www.isc.org/bind/
ChangeID: 655cfdf1e91c4107321e63a2012302e1cc184366
Description:

Bug fix only update

Three CVE fixes
CVE-2020-8622
CVE-2020-8623
CVE-2020-8624

For more information see: https://downloads.isc.org/isc/bind9/9.11.22/RELEASE-NOTES-bind-9.11.22.pdf

(From OE-Core rev: 1c85f26b1bd3475699d54f18c6b5b4924bcd8eb2)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Khem Raj
c1761f8dd1 packagegroup-core-tools-profile: Disable lttng-modules for riscv64
with 5.8+ kernel it seems lttng-modules needs kprobes which are not
there yet for riscv64

Fixes
lttng-modules-2.12.2/wrapper/kallsyms.c:20:3: error: #error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
   20 | # error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
      |   ^~~~~

(From OE-Core rev: 1cfba6890e505fd952be88811a501e405b1b2cdf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
bdaf3023e5 meson: update 0.55.0 -> 0.55.1
(From OE-Core rev: 177e0fa5fd79c174c6ab27b645f5fd17817de1c8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
9dc084a30c linux-firmware: update 20200721 -> 20200817
(From OE-Core rev: 16f2e190ef55e349512b8f70fe437b46ef1dc142)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
eeb3d996ae cmake: update 3.17.3 -> 3.18.1
(From OE-Core rev: 7a3db344543d3cf9d16640c4cff6084049bf3aca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
2457432ad9 gettext: update 0.20.2 -> 0.21
Drop add-with-bisonlocaledir.patch as upstream (gnulib, not bison)
now determines the directory from datadir.

(From OE-Core rev: 8a89c77e5b5a7915b9cce4979ee8caa593847e51)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
742c773a93 libpsl: update 0.21.0 -> 0.21.1.
(From OE-Core rev: f89396ccea48688c1ccc6ed29f3a119052fbcce5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
a395840f3a gpgme: update 1.13.1 -> 1.14.0
(From OE-Core rev: c3ca89862b90a8e42eaa7e2e5acdf1d65a14a7bb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
065bc3ac0a wpebackend-fdo: update 1.6.1 -> 1.7.1
(From OE-Core rev: 16f03b665dcf58484a49c1c7534d96e269d66a8a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:11 +01:00
Alexander Kanavin
35ff36647a xev: update 1.2.3 -> 1.2.4
(From OE-Core rev: 4ec23137ae6ea32fe7cd59eac338a1a0e787ec3f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
239efa02ed boost: update 1.73.0 -> 1.74.0
(From OE-Core rev: 26e25ed710abd100c1963b60981c31ffc7a9de1e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
c66351edd1 pango: update 1.44.7 -> 1.46.0
(From OE-Core rev: d14ddc119958086ddb78ffe859be6c61282d507a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
a96f16835c harfbuzz: convert to meson, enable gobject introspection
The latter is needed for pango update.

(From OE-Core rev: ee9f4567563a61e9f614e9405cf5480411890719)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
121b620c0c bootchart2: update 0.14.8 -> 0.14.9
(From OE-Core rev: b4ed68ea38bbdb91729f822a8f1a5fe7e5d2d713)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
ec7cacbc3d vala: upgrade 0.48.7 -> 0.48.9
(From OE-Core rev: 5adea20d8332e819b67093042f8044a18d6d4473)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
1f8a5adb94 sysstat: upgrade 12.2.2 -> 12.4.0
(From OE-Core rev: 10793d7dbf88a7a41291f54dfa042234acd4eea0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
b6d7251d27 re2c: upgrade 2.0 -> 2.0.2
(From OE-Core rev: 3d529bc4740c7d0fea92cad7790bb021dd48ba9a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
e5593a5515 piglit: upgrade to latest revision
(From OE-Core rev: bb091bc0be9425c628f84f6130ff44ae9a334ba5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
b32e70193b mesa: upgrade 20.1.4 -> 20.1.5
(From OE-Core rev: 993ac1a32932f2ebb571717769f654941e33c051)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
2378ecfd3c mc: upgrade 4.8.24 -> 4.8.25
(From OE-Core rev: a82ee49f8fc0d400f1ba12e0ca80aaeac6bb3523)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
fd57fa3f2c man-pages: upgrade 5.07 -> 5.08
(From OE-Core rev: 6febd12cb1c6caa32ae6bcd8439bfaf8efb0bd43)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
6161073586 linux-firmware: upgrade 20200619 -> 20200721
License-Update: firmware versions/filenames
(From OE-Core rev: 6c1ee3b8a02cd8c5b4219e06c2d71dac1edf4fdf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
465b7d9868 libx11: upgrade 1.6.9 -> 1.6.11
(From OE-Core rev: 82b0fb56bf57852b3dff0a6cac14af2b15de05f4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
fea2d5cbfd libpipeline: upgrade 1.5.2 -> 1.5.3
(From OE-Core rev: 7cc41474aef245423d3131652374a75b25fff74f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
9f5a5b33c8 libinput: upgrade 1.16.0 -> 1.16.1
(From OE-Core rev: 86bef5ac2097afd55c54c5852a0502cdb133d39f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
f318425ca8 libcheck: upgrade 0.15.0 -> 0.15.2
(From OE-Core rev: ba9d34d5821f40150180e07754676da7160ab478)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
793dcc88b8 gtk+3: upgrade 3.24.21 -> 3.24.22
(From OE-Core rev: 4d6320402ae20f83a08cb85fa07004e3694532a7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
65085f22e9 font-alias: upgrade 1.0.3 -> 1.0.4
License-Update: editor tags change
(From OE-Core rev: efe4a2cce9144d246c1ae9bd9f2025459d4ce339)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
5f3f048162 epiphany: upgrade 3.36.3 -> 3.36.4
(From OE-Core rev: 8213a05dcd80669ce6e4856a4b676852b49808bd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
aa897962cb diffoscope: upgrade 153 -> 156
(From OE-Core rev: 9ce0e882347ef3e3daec5201cad37f4ce6aff859)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
ebee6e8953 cryptodev: upgrade 1.10 -> 1.11
(From OE-Core rev: 7d1532e4dc0dfe78660bb076018847aaf3fa8f2f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
ac0d5a8c0a asciidoc: upgrade 9.0.1 -> 9.0.2
(From OE-Core rev: 44c5414c0ce32eb496d53527f2fd6da8d31c5882)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
d66b0d77ae acpica: upgrade 20200528 -> 20200717
(From OE-Core rev: 4fa41ed36dfc5ad33ed89e05e90064784dcf2a78)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
64bc355805 util-linux: merge .inc into .bb
(From OE-Core rev: 06e6a1dcfe5e1ef3767b407d40696ed21e084e9e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
980ab49cda rsync: upgrade 3.2.2 -> 3.2.3
(From OE-Core rev: 8c315962a08b26f029fbca358b60769657ea0875)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
b239b50a60 python3-setuptools: upgrade 49.3.1 -> 49.6.0
(From OE-Core rev: b5ba50890d2ddac27bb4065b6e1694a6cd7abd89)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
daada22d76 python3-numpy: upgrade 1.19.0 -> 1.19.1
(From OE-Core rev: e18b49ab62179cd500bed517934ab967717bc635)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
fe9364fc7b util-linux: upgrade 2.35.2 -> 2.36
(From OE-Core rev: 93cb61e5e6943b35f3cd9b724daa05e090815a50)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Alexander Kanavin
857833ad4a bison: upgrade 3.6.4 -> 3.7.1
(From OE-Core rev: 680dcdcc18afa83b63f495bbd55a068e81ec3004)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 16:00:10 +01:00
Bruce Ashfield
b237b62d47 poky: set preferred version for linux-yocto to be v5.8
(From meta-yocto rev: 49675e0eb7f41eed9c93c77af424be9ec43f4144)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 01:00:37 +01:00
Bruce Ashfield
afb12756f5 linux-yocto/5.8: disable CONFIG_NFS_DISABLE_UDP_SUPPORT
Some of our tests may run NFS over UDP, so we don't want udp
support disabled.

Turn off that setting, and we can revisit if any side effects
are noticed.

(From OE-Core rev: 9f89fe4209850c46eedd4e3dd52104d1d5d423d2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 01:00:37 +01:00
Bruce Ashfield
6956beda17 linux-yocto/5.8: selftests/bpf: Prevent runqslower from racing on building bpftool
Integrating the following commit(s) to linux-yocto/5.8:

    912adf166eb0 selftests/bpf: Prevent runqslower from racing on building bpftool

(From OE-Core rev: 57ffe4d073d27f410dbf0ac57ff6e4dcea8ab1e4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 01:00:37 +01:00
Bruce Ashfield
26648ae952 linux-yocto-rt/5.8: fix lttng-modules build
Integrating the following commit(s) to linux-yocto-rt/5.8:

commit baee1af811ec9bd3e64990543b7cc85e77c8f50c (HEAD -> master)
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date:   Sun Aug 23 22:50:30 2020 -0400

    linux-yocto/rt: enable kprobes by default

    Traditionally kprobes and -rt haven't mixed well, but recent -rt
    kernels support kprobes without issues.

    lttng now requires kprobes to be enabled, or the following error
    is thrown:

    |
    build/tmp/work/qemux86_64-poky-linux/lttng-modules/2.12.2-r0/lttng-modules-2.12.2/wrapper/kallsyms.c:20:3:
    error: #error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
    |    20 | # error "LTTng-modules requires CONFIG_KPROBES on kernels >= 5.7.0"
    |       |   ^~~~~
    | make[3]: ***
    [build/tmp/work-shared/qemux86-64/kernel-source/scripts/Makefile.build:280:
    build/tmp/work/qemux86_64-poky-linux/lttng-modules/2.12.2-r0/lttng-modules-2.12.2/wrapper/kallsyms.o]
    Error 1

    By including the kprobes fragment into the -rt kernel by default, we
    fix the issue.

(From OE-Core rev: 0ebbcbefc8c1a6731b81b7f1aba695a3665a256e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 01:00:37 +01:00
Bruce Ashfield
a7326d994e linux-yocto/5.8: fix perf and virtio_scsi warnings
Integrating the following commit(s) to linux-yocto/5.8:

    5d66d1a67c8d arm64/perf: Fix wrong cast that may cause wrong truncation

Khem reported in some configurations that CONFIG_SCSI_VIRTIO was
throwing a warning in the final .config. That was due to the fact that
if debug or not is enabled, it switches between built-in and a module.
Either configuration is correct, so we add it to the non-hardware file
to inhibit it being reported by deefault.

The following meta branch commit resolves the issue:

   commit 96e8f5e330f5a8f87deda0f1bae71af31c578ce9 (HEAD -> master)
   Author: Bruce Ashfield <bruce.ashfield@gmail.com>
   Date:   Sat Aug 22 22:19:13 2020 -0400

       virtio: declare CONFIG_SCSI_VIRTIO as non-hw

       Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>

(From OE-Core rev: 74188412ae3019235151f3e606a470ff27c7ed63)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 01:00:37 +01:00
Alexander Kanavin
cdb0abc90e meta-selftest: correct the virgl test for 5.8 kernels
(From OE-Core rev: 879bbe341b47ff576de76b2e8929df9f72f7f813)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 01:00:37 +01:00
Bruce Ashfield
133accd3df qemu: bump default reference kernel to v5.8
Now that the 5.8 recipes are available, we bump the default versions
to use them.

(From OE-Core rev: 61b7d0c61b5fce319a8a1fc2c4ff38299d41202e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-25 01:00:37 +01:00
Richard Purdie
36b3acaea7 bitbake: fetch2: Drop cups.org from wget status checks
Its becomming clear the upstream server doesn't like this, drop these
two urls from the test, not sure we need them here anyway.

(Bitbake rev: ab2ef942dc21f9639793c972f2e546edf9444783)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-24 09:08:14 +01:00
Richard Purdie
663470c94a bitbake: cooker: Explictly shut down the sync thread
Hongxu Jia reported a problem where the bb_cache files were not always being
written out correctly. This was due to the sync thread being terminated
prematurely.

Whilst the preceeding changes mean the exit handler for this thread is now
correctly called since we switch to using sys.exit() instead of os._exit(),
this write can happen after we drop the bitbake lock, leading to potential
races. Avoid that headache by adding in explicit thread join() calls before
we drop the lock (which atexit or Finalize can't do).

(Bitbake rev: afd1900939f7b042297558f4cb01f50f3a299267)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-24 09:08:14 +01:00
Richard Purdie
b991cc4f89 bitbake: cooker: Ensure parse_quit thread is closed down
Each run through the parser would leak a thread from the queue created to
shut the parser down. Close this down correctly and clean up the code flow
slightly whilst in the area, making sure this thread does shut down correctly
(we don't care if it loses data).

(Bitbake rev: 51ba35e9bbd4da8b5f3b3b5b8213cb634a6b0f06)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-24 09:08:14 +01:00
Richard Purdie
e4df6ef7f5 bitbake: fetch2/wget: Remove buffering parameter
The buffering parameter was removed in python 3.1 and made default
so we can clean up the code. This removes weird looking double
exceptions when connections fail.

(Bitbake rev: 06b7bafbd18a47c8db2f7b943dc535c65df176bf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-24 09:08:14 +01:00
Bruce Ashfield
7970db3997 yocto-bsp: update to v5.4.58
(From meta-yocto rev: cb67b9bcbd18a612a6e5e5bf6acfe1614aca990a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-22 15:48:20 +01:00
Bruce Ashfield
3a74f6cedc yocto-bsp: update to v5.4.56
(From meta-yocto rev: 34dfaf81b03789054d58716d43c9fc447d8bd69b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-22 15:48:20 +01:00
Jean-Francois Dagenais
c21ed39046 bitbake: siggen: clean_basepath: remove recipe full path when virtual:xyz present
Before this fix, this example basepath (a):
virtual:native:/full/path/to/recipes-example/helloworld/helloworld_1.2.3.bb:do_compile
would get incorrectly "cleaned" into:
helloworld/helloworld_1.2.3.bb:do_compile:virtual:native:/full/path/to/recipes-example/helloworld/helloworld_1.2.3.bb

When searching backwards in `a` trying to isolate the 'virtual:xyz' to add
it to the end of the string, we need to consider `a` still has the recipe
path and taskname. So stoping the rsplit after only 1 split is not enough.
We want to reach the second ':' from the end.

This way, we obtain:
helloworld/helloworld_1.2.3.bb:do_compile:virtual:native

reviewed-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
(Bitbake rev: d193d93422a0ad62aa35b5d4ca5da8d422f72180)

Signed-off-by: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-22 15:47:53 +01:00
Khem Raj
15d3931fb4 uninative: Upgrade to 2.9
This supports glibc upto 2.32 which is now rolling into distributions

(From OE-Core rev: 5cda8c7d642cfb72242c95f450e3391bd6537709)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-22 15:46:55 +01:00
Joshua Watt
5fa3c3d2e3 wic: Add 512 Byte alignment to --offset
Allows the --offset argument to use the "s" or "S" suffix to specify
that it is reporting the number of 512 byte sectors.

This is required for some SoCs where the mask ROM looks for an item at a
sector that isn't aligned to a 1KB boundary.

(From OE-Core rev: 938595d1dc4abaf5f7f3a7900add3f0492b805d0)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-22 15:46:55 +01:00
Bruce Ashfield
5359b85610 linux-yocto/5.8: update to v5.8.2
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    ad8c735b1497 Linux 5.8.2
    7e430e763be2 task_work: only grab task signal lock when needed
    df18711f9c00 io_uring: enable lookup of links holding inflight files
    d181cfc89885 io_uring: add missing REQ_F_COMP_LOCKED for nested requests
    960ea38bfe7a io_uring: hold 'ctx' reference around task_work queue + execute
    a4418e11cf9b io_uring: Fix NULL pointer dereference in loop_rw_iter()
    06f96778837e s390/gmap: improve THP splitting
    74e0d05fc682 s390/numa: set node distance to LOCAL_DISTANCE
    d7776a09f52a s390/dasd: fix inability to use DASD with DIAG driver
    2026a268071e drm/xen-front: Fix misused IS_ERR_OR_NULL checks
    f798d7de4a01 xen/gntdev: Fix dmabuf import with non-zero sgt offset
    1cd690215d30 xen/balloon: make the balloon wait interruptible
    e26aab6587b1 xen/balloon: fix accounting in alloc_xenballooned_pages error path
    8a2845246554 firmware_loader: EFI firmware loader must handle pre-allocated buffer
    6573d3c1f402 irqdomain/treewide: Free firmware node after domain removal
    86caf5d8ac3e firmware: qcom_scm: Fix legacy convention SCM accessors
    0255b5803332 ARM: 8992/1: Fix unwind_frame for clang-built kernels
    89a16b68221c ARM: dts: exynos: Extend all Exynos5800 A15's OPPs with max voltage data
    dc12363fb7ff parisc: mask out enable and reserved bits from sba imask
    c33370975ce4 parisc: Implement __smp_store_release and __smp_load_acquire barriers
    5efde2158258 parisc: Do not use an ordered store in pa_tlb_lock()
    0730d6cd49e0 Revert "parisc: Revert "Release spinlocks using ordered store""
    56b60c71143a Revert "parisc: Use ldcw instruction for SMP spinlock release barrier"
    40ab3539bc7c Revert "parisc: Drop LDCW barrier in CAS code when running UP"
    6044b0d92ac6 Revert "parisc: Improve interrupt handling in arch_spin_lock_flags()"
    49b9263b2a15 Revert "mm/vmstat.c: do not show lowmem reserve protection information of empty zone"
    0e2d35b34891 erofs: fix extended inode could cross boundary
    00a43cd24d66 mtd: spi-nor: intel-spi: Simulate WRDI command
    a2e5af466884 mtd: rawnand: qcom: avoid write to unavailable register
    118612569083 spi: spidev: Align buffers for DMA
    1e4d8a76f09e PM / devfreq: Fix indentaion of devfreq_summary debugfs node
    83e35713b3d4 PM / devfreq: rk3399_dmc: Fix kernel oops when rockchip,pmu is absent
    4eeeaca1e935 include/asm-generic/vmlinux.lds.h: align ro_after_init
    768eb23b7670 MIPS: VZ: Only include loongson_regs.h for CPU_LOONGSON64
    f9bb92d06d9a cpufreq: dt: fix oops on armada37xx
    e147c355b717 cpufreq: Fix locking issues with governors
    8ad74327fb4b NFS: Don't return layout segments that are in use
    8a7dfccb581f NFS: Don't move layouts to plh_return_segs list while in use
    4db216cc1d59 io_uring: sanitize double poll handling
    fe552346a87b io_uring: fail poll arm on queue proc failure
    3c5d00a21128 io_uring: use TWA_SIGNAL for task_work uncondtionally
    93bc88750e69 io_uring: set ctx sq/cq entry count earlier
    3c374f0e63d7 drm/ttm/nouveau: don't call tt destroy callback on alloc failure.
    441ba3c8300b media: media-request: Fix crash if memory allocation fails
    0a4d8f8bc3c9 driver core: Fix probe_count imbalance in really_probe()
    eb0b64b4817c 9p: Fix memory leak in v9fs_mount
    72bc544c0dd4 kvm: x86: replace kvm_spec_ctrl_test_value with runtime test on the host
    2e91bbf598b2 fs/minix: reject too-large maximum file size
    4ded4aeb84a7 fs/minix: don't allow getting deleted inodes
    3362c7fb3f9a fs/minix: check return value of sb_getblk()
    77e0be9e8212 bitfield.h: don't compile-time validate _val in FIELD_FIT
    d613f0186778 tick/nohz: Narrow down noise while setting current task's tick dependency
    8720986cf5ab crypto: cpt - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified
    4a412ab6211b crypto: ccp - Fix use of merged scatterlists
    98df3304a1fc crypto: qat - fix double free in qat_uclo_create_batch_init_list
    a256a5c33ab3 crypto: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified
    6158e615334a pstore: Fix linking when crypto API disabled
    32e110843422 tpm: Unify the mismatching TPM space buffer sizes
    ec0cf56ee031 ALSA: usb-audio: add quirk for Pioneer DDJ-RB
    f8b0754bb141 ALSA: usb-audio: work around streaming quirk for MacroSilicon MS2109
    184f08d3789f ALSA: usb-audio: fix overeager device match for MacroSilicon MS2109
    2b4d81f58d9d ALSA: usb-audio: Creative USB X-Fi Pro SB1095 volume knob support
    9af94db4d1b7 ALSA: hda - reverse the setting value in the micmute_led_set
    d81a84e7bba0 ALSA: hda - fix the micmute led status for Lenovo ThinkCentre AIO
    09af2d0326b1 vdpasim: protect concurrent access to iommu iotlb
    53dcbd3acc74 iommu/vt-d: Skip TE disabling on quirky gfx dedicated iommu
    56448553974f usb: cdns3: gadget: always zeroed TRB buffer when enable endpoint
    1425bf7b1be0 USB: serial: cp210x: enable usb generic throttle/unthrottle
    bd5cc29fca5e USB: serial: cp210x: re-enable auto-RTS on open
    e9eb38791a1f r8152: Use MAC address from correct device tree node
    26121668ba97 net: phy: marvell10g: fix null pointer dereference
    6979755c3473 vsock: fix potential null pointer dereference in vsock_poll()
    c1a7c51485e1 net: initialize fastreuse on inet_inherit_port
    fe00aee967ec net: refactor bind_bucket fastreuse into helper
    0306c15114e2 vmxnet3: use correct tcp hdr length when packet is encapsulated
    743ae9f790ec tcp: correct read of TFO keys on big endian systems
    1cccda2d0888 net/tls: Fix kmap usage
    e6e356db45f4 net: Set fput_needed iff FDPUT_FPUT is set
    5512f2549e3d net: phy: fix memory leak in device-create error path
    d556aa7ab7b7 net/nfc/rawsock.c: add CAP_NET_RAW check.
    469cb3bb42d1 net: Fix potential memory leak in proto_register()
    4268aa35b6dd drivers/net/wan/lapbether: Added needed_headroom and a skb->len check
    e85a5151e5f9 af_packet: TPACKET_V3: fix fill status rwlock imbalance
    b879ed3103c1 crypto: aesni - add compatibility with IAS
    335e8039fddd x86/fsgsbase/64: Fix NULL deref in 86_fsgsbase_read_task
    dcab7f26a723 SUNRPC: Fix ("SUNRPC: Add "@len" parameter to gss_unwrap()")
    6c031aec6218 nfsd: avoid a NULL dereference in __cld_pipe_upcall()
    7f84e3caf510 svcrdma: Fix page leak in svc_rdma_recv_read_chunk()
    9bf49b97ab0b mtd: rawnand: brcmnand: Don't default to edu transfer
    a75fc224ebe8 pinctrl-single: fix pcs_parse_pinconf() return value
    eba0e0f5ae94 ocfs2: fix unbalanced locking
    e29f6ba2c10f dlm: Fix kobject memleak
    2bbe1b50734a media: mtk-mdp: Fix a refcounting bug on error in init
    ce1b309dd629 net: thunderx: initialize VF's mailbox mutex before first usage
    8eb42c65f162 selftests/net: relax cpu affinity requirement in msg_zerocopy test
    551cdcc12892 Revert "vxlan: fix tos value before xmit"
    b187671275ac hv_netvsc: do not use VF device if link is down
    adc38af984ad dpaa2-eth: Fix passing zero to 'PTR_ERR' warning
    3f730f7b0edf net: macb: Properly handle phylink on at91sam9x
    92bb2e6b119c net: thunderx: use spin_lock_bh in nicvf_set_rx_mode_task()
    312efc832854 gpio: don't use same lockdep class for all devm_gpiochip_add_data users
    5543ea25c09d fsl/fman: fix eth hash table allocation
    e5a4333e2cdf fsl/fman: check dereferencing null pointer
    d3d5c8c74008 fsl/fman: fix unreachable code
    47fe6d67f941 fsl/fman: fix dereference null return value
    f90112519854 fsl/fman: use 32-bit unsigned integer
    d097ca1397c0 net: spider_net: Fix the size used in a 'dma_free_coherent()' call
    66e007f01aa1 net: sgi: ioc3-eth: Fix the size used in some 'dma_free_coherent()' calls
    d0414b18f877 liquidio: Fix wrong return value in cn23xx_get_pf_num()
    17948294d0ae net: ethernet: aquantia: Fix wrong return value
    fba2cf348d9e net: mvpp2: fix memory leak in mvpp2_rx
    1a6a61db6f4c ftrace: Fix ftrace_trace_task return value
    f10a3fb43b02 net/mlx5: Delete extra dump stack that gives nothing
    b7855bad4c6a net/mlx5: DR, Change push vlan action sequence
    63d91a65f226 tools, bpftool: Fix wrong return value in do_dump()
    fccac9cc36b0 tools, build: Propagate build failures from tools/build/Makefile.build
    060bd61d4cc6 wl1251: fix always return 0 error
    c7565e834207 qtnfmac: Missing platform_device_unregister() on error in qtnf_core_mac_alloc()
    e879051c0828 rtw88: coex: only skip coex triggered by BT info
    1a93abb6a68d rtw88: fix short GI capability based on current bandwidth
    f2a4bd36a126 rtw88: fix LDPC field for RA info
    763c576f095b netfilter: nft_meta: fix iifgroup matching
    ae32b42b3641 ice: Graceful error handling in HW table calloc failure
    f0c20782f637 ice: Clear and free XLT entries on reset
    4bd27fb14f7b s390/qeth: don't process empty bridge port events
    22697ca855c0 s390/qeth: tolerate pre-filled RX buffer
    ee9f0d33c024 ASoC: fsl_sai: Fix value of FSL_SAI_CR1_RFW_MASK
    3d26a53f004d ASoC: meson: cards: deal dpcm flag change
    224e14999588 ASoC: core: use less strict tests for dailink capabilities
    bd82844099c4 MIPS: only register FTLBPar exception handler for supported models
    6edc078a22a2 libbpf: Fix register in PT_REGS MIPS macros
    fbcedc1579f5 drm/msm/dpu: don't use INTF_INPUT_CTRL feature on sdm845
    77c8cfdf8084 net: ll_temac: Use devm_platform_ioremap_resource_byname()
    7a4c9d17c8bc ASoC: soc-core: Fix regression causing sysfs entries to disappear
    0c7d64caaf13 ASoC: meson: axg-tdm-formatters: fix sclk inversion
    036a8c923358 ASoC: meson: axg-tdmin: fix g12a skew
    30fde1d41d73 ASoC: meson: axg-tdm-interface: fix link fmt setup
    3369ed2127bb RDMA/hns: Fix the unneeded process when getting a general type of CQE error
    a6c7b76332b3 RDMA/hns: Fix error during modify qp RTS2RTS
    fd926b32b9ca selftests/powerpc: Fix online CPU selection
    3e444bad470e powerpc/pseries/hotplug-cpu: Remove double free in error path
    c2ff56c52846 cpufreq: ap806: fix cpufreq driver needs ap cpu clk
    40e453d8a9df PCI: Release IVRS table in AMD ACS quirk
    c62142f3b48b RDMA/netlink: Remove CAP_NET_RAW check when dump a raw QP
    87ccb032ee9f RDMA/rtrs: remove WQ_MEM_RECLAIM for rtrs_wq
    2247e03d8206 RDMA/rtrs-clt: add an additional random 8 seconds before reconnecting
    34503392af35 nvmem: sprd: Fix return value of sprd_efuse_probe()
    081428bc9c3b selftests/powerpc: Fix CPU affinity for child process
    0e03270c6d95 powerpc/boot: Fix CONFIG_PPC_MPC52XX references
    a5baa27249bf powerpc/32s: Fix CONFIG_BOOK3S_601 uses
    94976f931d33 selftests/powerpc: Squash spurious errors due to device removal
    6c96e968f10c xfs: clear XFS_DQ_FREEING if we can't lock the dquot buffer to flush
    5db458a85892 xfs: fix inode allocation block res calculation precedence
    03acd91927d2 net: dsa: rtl8366: Fix VLAN set-up
    427fa4ecef77 net: dsa: rtl8366: Fix VLAN semantics
    536079c88a4f Bluetooth: hci_qca: Stop collecting memdump again for command timeout during SSR
    3d27182481fe Bluetooth: Fix suspend notifier race
    226020402b1f bpf: Fix bpf_ringbuf_output() signature to return long
    8a365b83f67e Bluetooth: hci_serdev: Only unregister device if it was registered
    715faee64cea Bluetooth: hci_h5: Set HCI_UART_RESET_ON_INIT to correct flags
    267dac50f18e Bluetooth: btusb: Fix and detect most of the Chinese Bluetooth controllers
    a7d08a5c1ed4 power: supply: check if calc_soc succeeded in pm860x_init_battery
    1fe77db0d48b Smack: prevent underflow in smk_set_cipso()
    cdb83ad0c45b Smack: fix another vsscanf out of bounds
    16b5b7dd945e RDMA/core: Fix return error value in _ib_modify_qp() to negative
    e415706d69fe PCI: cadence: Fix updating Vendor ID and Subsystem Vendor ID register
    8398e98caec2 PCI: cadence: Fix cdns_pcie_{host|ep}_setup() error path
    6c7b87f48585 gpio: regmap: fix type clash
    38c296c86322 macintosh/via-macii: Access autopoll_devs when inside lock
    d2b414c7916e powerpc/watchpoint: Fix DAWR exception for CACHEOP
    50b0fe566b11 powerpc/watchpoint: Fix DAWR exception constraint
    93f7e2100c93 powerpc/watchpoint: Fix 512 byte boundary limit
    1e43aee1568e bpf: Fix pos computation for bpf_iter seq_ops->start()
    7aa88d36b692 net: dsa: mv88e6xxx: MV88E6097 does not support jumbo configuration
    04ce7e5016de scsi: core: Add missing scsi_device_put() in scsi_host_block()
    c16097b56df8 scsi: mesh: Fix panic after host or bus reset
    14f820a1b601 scsi: megaraid_sas: Clear affinity hint
    1bcba06e5888 usb: gadget: f_uac2: fix AC Interface Header Descriptor wTotalLength
    88dcd13872b1 usb: dwc2: Fix error path in gadget registration
    816adf48d9ff usb: dwc3: meson-g12a: fix shared reset control use
    de27452f2308 thermal: int340x: processor_thermal: fix: update Jasper Lake PCI id
    0415ff8c7d6e MIPS: OCTEON: add missing put_device() call in dwc3_octeon_device_init()
    214d219e48a2 PCI: rcar: Fix runtime PM imbalance on error
    0d4b670195f5 powerpc/spufs: Fix the type of ret in spufs_arch_write_note
    a1d76052b1e3 ASoC: hdac_hda: fix deadlock after PCM open error
    7593350d7b72 qed: Fix ILT and XRCD bitmap memory leaks
    4a7063478d13 ASoC: tas2770: Fix reset gpio property name
    360ee482151c tools/bpftool: Fix error handing in do_skeleton()
    23072846b309 s390/bpf: Tolerate not converging code shrinking
    a463d46b323c s390/bpf: Use brcl for jumping to exit_ip if necessary
    fa9a83dab397 s390/bpf: Fix sign extension in branch_ku
    cec737d79fa4 phy: armada-38x: fix NETA lockup when repeatedly switching speeds
    e5e386a90961 mt76: mt7615: fix possible memory leak in mt7615_mcu_wtbl_sta_add
    3432b568dec4 mt76: mt7915: add missing CONFIG_MAC80211_DEBUGFS
    d8177e088f10 mt76: mt7915: potential array overflow in mt7915_mcu_tx_rate_report()
    fbdc18979b1d mt76: mt7615: fix potential memory leak in mcu message handler
    8c2729a1ead8 mt76: mt7663u: fix potential memory leak in mcu message handler
    6aee19b46bc7 mt76: mt7663u: fix memory leak in set key
    a73ed0f9bca1 powerpc/perf: Fix missing is_sier_aviable() during build
    66ce4246d1d3 coresight: etm4x: Fix save/restore during cpu idle
    3e75f65575c9 coresight: tmc: Fix TMC mode read in tmc_read_unprepare_etb()
    91813b6c4a71 coresight: etmv4: Counter values not saved on disable
    9b975cf2fb05 coresight: etmv4: Fix resource selector constant
    6d52214425ce thermal: ti-soc-thermal: Fix reversed condition in ti_thermal_expose_sensor()
    99075b81545c usb: core: fix quirks_param_set() writing to a const pointer
    e9ba39efa669 clk: qcom: gcc: Make disp gpll0 branch aon for sc7180/sdm845
    ef54393965e4 USB: serial: iuu_phoenix: fix led-activity helpers
    d1ffb4446102 PCI: loongson: Use DECLARE_PCI_FIXUP_EARLY for bridge_class_quirk()
    9d42c78119a0 spi: lantiq-ssc: Fix warning by using WQ_MEM_RECLAIM
    75d9f30b8b56 gpu: ipu-v3: Restore RGB32, BGR32
    19a106b23be9 drm/imx: tve: fix regulator_disable error path
    68c15a6dbc77 drm/imx: fix use after free
    20d2eba09230 powerpc/book3s64/pkeys: Use PVR check instead of cpu feature
    aa11151dd892 powerpc/mm/radix: Free PUD table when freeing pagetable
    05d976032bb8 phy: renesas: rcar-gen3-usb2: move irq registration to init
    27d42b1bcde1 media: s5p-g2d: Fix a memory leak in an error handling path in 'g2d_probe()'
    9922de2681e2 go7007: add sanity checking for endpoints
    43a040aea142 PCI/ASPM: Add missing newline in sysfs 'policy'
    94fbbc3cdd99 ASoC: meson: fixes the missed kfree() for axg_card_add_tdm_loopback
    c660787eb906 staging: rtl8192u: fix a dubious looking mask before a shift
    263875d7b606 ima: Fail rule parsing when the KEY_CHECK hook is combined with an invalid cond
    c7e3b96d1229 ima: Fail rule parsing when the KEXEC_CMDLINE hook is combined with an invalid cond
    8e07cdb1778e ima: Fail rule parsing when buffer hook functions have an invalid action
    bd6f756234dc ima: Free the entire rule if it fails to parse
    644a11adfcc7 ima: Free the entire rule when deleting a list of rules
    96022c3ddf63 ima: Have the LSM free its audit rule
    b76ca3f373b5 RDMA/rxe: Prevent access to wr->next ptr afrer wr is posted to send queue
    bdb550b1e420 RDMA/qedr: Add EDPM max size to alloc ucontext response
    06e28eb3bcef RDMA/qedr: Add EDPM mode type for user-fw compatibility
    01fdb8e7c330 RDMA/qedr: SRQ's bug fixes
    99d321c2a921 Bluetooth: Fix update of connection state in `hci_encrypt_cfm`
    13b052362be4 powerpc/vdso: Fix vdso cpu truncation
    fbbdd2434157 powerpc/rtas: don't online CPUs for partition suspend
    d411475796be powerpc/pseries: remove cede offline state for CPUs
    358d38e35d6d kernfs: do not call fsnotify() with name without a parent
    bc2599182f8e mwifiex: Prevent memory corruption handling keys
    63f6498a979a bpfilter: Initialize pos variable
    7a3c6b8c2987 scsi: scsi_debug: Add check for sdebug_max_queue during module init
    b62846a209d8 drm/bridge: sil_sii8620: initialize return of sii8620_readb
    43e8b3c268aa mmc: sdhci-of-arasan: Add missed checks for devm_clk_register()
    adb10d0dc592 phy: exynos5-usbdrd: Calibrating makes sense only for USB2.0 PHY
    a4fc32a7cebd dt-bindings: phy: uniphier: Fix incorrect clocks and clock-names for PXs3 usb3-hsphy
    84cbf55c6744 phy: cadence: salvo: fix wrong bit definition
    16835dc05924 drm: panel: simple: Fix bpc for LG LB070WV8 panel
    413d189f9a3c leds: core: Flush scheduled work for system suspend
    c5450ee5eb1a kobject: Avoid premature parent object freeing in kobject_cleanup()
    49d6de41c9da drm/stm: repair runtime power management
    f59499bcd70d samples: bpf: Fix bpf programs with kprobe/sys_connect event
    5c7ca8d75dce PCI: Fix pci_cfg_wait queue locking problem
    e36653b51177 RDMA/rxe: Skip dgid check in loopback mode
    6d283e10b30f xfs: fix reflink quota reservation accounting error
    95c286034452 xfs: don't eat an EIO/ENOSPC writeback error when scrubbing data fork
    9ff3281d903f xfs: preserve rmapbt swapext block reservation from freed blocks
    4173d4194d77 media: cros-ec-cec: do not bail on device_init_wakeup failure
    050f814243b6 media: exynos4-is: Add missed check for pinctrl_lookup_state()
    200a75ac7e46 media: tvp5150: Add missed media_entity_cleanup()
    dc2ac5c3a96a media: staging: rkisp1: rsz: fix resolution limitation on sink pad
    39e5b396bc9d media: staging: rkisp1: rsz: supported formats are the isp's src formats, not sink formats
    94f0fc91b3fd media: allegro: Fix some NULL vs IS_ERR() checks in probe
    9f32f439a33f media: firewire: Using uninitialized values in node_probe()
    101df88a5837 ipvs: allow connection reuse for unconfirmed conntrack
    013c7b012461 scsi: eesox: Fix different dev_id between request_irq() and free_irq()
    64c6cd408d98 scsi: powertec: Fix different dev_id between request_irq() and free_irq()
    9b470925a9dc RDMA/core: Fix bogus WARN_ON during ib_unregister_device_queued()
    8cb26b10f5b7 dma-buf: fix dma-fence-chain out of order test
    b48e8758634a iavf: Fix updating statistics
    1c5da372e87e iavf: fix error return code in iavf_init_get_resources()
    290ca6a85627 staging: vchiq_arm: Add a matching unregister call
    6545d3462e35 drm/radeon: fix array out-of-bounds read and write issues
    9707e1a7f8ac drm/amdgpu: ensure 0 is returned for success in jpeg_v2_5_wait_for_idle
    8ee5083de201 drm/amdgpu/debugfs: fix memory leak when amdgpu_virt_enable_access_debugfs failed
    5e3b4e09c9b9 scsi: qla2xxx: Make __qla2x00_alloc_iocbs() initialize 32 bits of request_t.handle
    da3684003dc1 tracing: Move pipe reference to trace array instead of current_tracer
    d579cc130a28 net: ethernet: ti: am65-cpsw-nuss: restore vlan configuration while down/up
    33333c08d28a lkdtm: Make arch-specific tests always available
    a4c1f5314327 selftests/lkdtm: Reset WARN_ONCE to avoid false negatives
    5397915bf77b lkdtm: Avoid more compiler optimizations for bad writes
    fe1f13b572b2 cxl: Fix kobject memleak
    cb52bc02e65d drm/mipi: use dcs write for mipi_dsi_dcs_set_tear_scanline
    bdcfb3217816 scsi: ufs: Disable WriteBooster capability for non-supported UFS devices
    b5118d2bbb8e scsi: cumana_2: Fix different dev_id between request_irq() and free_irq()
    36428bc924e6 net: atlantic: MACSec offload statistics checkpatch fix
    10b8d2696578 ASoC: Intel: Boards: cml_rt1011_rt5682: use statically define codec config
    e6046c52f127 ASoC: Intel: bxt_rt298: add missing .owner field
    5ee90079d049 ASoC: Intel: sof_sdw: add missing .owner field
    f678fb5fd3ba ASoC: Intel: cml_rt1011_rt5682: add missing .owner field
    72425036a6c5 ASoC: SOF: nocodec: add missing .owner field
    37c77ff3b1cc dpaa2-eth: fix condition for number of buffer acquire retries
    ed3f590f2ac6 staging: most: avoid null pointer dereference when iface is null
    10738d622ef0 media: omap3isp: Add missed v4l2_ctrl_handler_free() for preview_init_entities()
    41013c90d84c media: marvell-ccic: Add missed v4l2_async_notifier_cleanup()
    eadd4aa1c520 media: cxusb-analog: fix V4L2 dependency
    b50202c0770c Bluetooth: btmtksdio: fix up firmware download sequence
    6fb4ccc66e01 Bluetooth: btusb: fix up firmware download sequence
    56704a6ba1c7 ASoC: fsl_easrc: Fix uninitialized scalar variable in fsl_easrc_set_ctx_format
    d304a3f78d1b leds: lm355x: avoid enum conversion warning
    d95947426c42 powerpc/fixmap: Fix FIX_EARLY_DEBUG_BASE when page size is 256k
    10057c82dd62 powerpc/mm: Fix typo in IS_ENABLED()
    47fea4d1a23f clk: bcm63xx-gate: fix last clock availability
    a29030741107 drm/arm: fix unintentional integer overflow on left shift
    3ea4204a722a drm/panfrost: Fix inbalance of devfreq record_busy/idle()
    b9af8ae89d51 drm/etnaviv: Fix error path on failure to enable bus clk
    7022baca7cfb scsi: ufs: Fix imprecise load calculation in devfreq window
    c53b4ac934e4 iio: amplifiers: ad8366: Change devm_gpiod_get() to optional and add the missed check
    0f3ff5cba631 iio: improve IIO_CONCENTRATION channel type description
    5af9cf807b5e Bluetooth: hci_qca: Increase SoC idle timeout to 200ms
    1d22f52161b2 Bluetooth: hci_qca: Bug fix during SSR timeout
    17e8eb2db9cc ath10k: Acquire tx_lock in tx error paths
    1b1cacc13022 Bluetooth: Allow suspend even when preparation has failed
    4f87bf4b50b5 Bluetooth: hci_qca: Only remove TX clock vote after TX is completed
    88959e705f04 drm/mm: fix hole size comparison
    fe7a5d7fdea5 Bluetooth: hci_qca: Fix an error pointer dereference
    f1785f21b6be video: pxafb: Fix the function used to balance a 'dma_alloc_coherent()' call
    92f18805fd07 console: newport_con: fix an issue about leak related system resources
    ec47a8107033 video: fbdev: sm712fb: fix an issue about iounmap for a wrong address
    4d2663776cae btmrvl: Fix firmware filename for sd8997 chipset
    2e00553ce46e btmrvl: Fix firmware filename for sd8977 chipset
    86faf4735ccf mwifiex: Fix firmware filename for sd8997 chipset
    d41c930387d3 mwifiex: Fix firmware filename for sd8977 chipset
    4f82ecd46efe agp/intel: Fix a memory leak on module initialisation failure
    86a94d97881d drm/amdgpu: use the unlocked drm_gem_object_put
    1d2ead5d4b39 drm/bridge: ti-sn65dsi86: Fix off-by-one error in clock choice
    b81b49591375 drm/bridge: ti-sn65dsi86: Clear old error bits before AUX transfers
    d65751086ca7 drm/gem: Fix a leak in drm_gem_objects_lookup()
    7c83c5090850 drm/msm: ratelimit crtc event overflow error
    46c8b2e8255c crypto: caam - silence .setkey in case of bad key length
    d5c9f20e4ad7 io_uring: fix stalled deferred requests
    458ae14d4ce5 io_uring: fix racy overflow count reporting
    7ab9b92b614d ACPICA: Do not increment operation_region reference counts for field units
    064c5272a19d btrfs: qgroup: free per-trans reserved space when a subvolume gets dropped
    16a35c7dd8f4 btrfs: allow btrfs_truncate_block() to fallback to nocow for data space reservation
    11bf4638158a bcache: fix super block seq numbers comparision in register_cache_set()
    20fa1e9929e8 dyndbg: fix a BUG_ON in ddebug_describe_flags
    2f92047fea41 usb: bdc: Halt controller on suspend
    8415df3d6eb1 bdc: Fix bug causing crash after multiple disconnects
    7677cbd18b99 usb: gadget: net2280: fix memory leak on probe error handling paths
    fa979805e400 mmc: sdhci-pci-o2micro: Bug fix for O2 host controller Seabird1
    d5bf76c14acd x86/uaccess: Make __get_user_size() Clang compliant on 32-bit
    c234811c3754 ionic: update eid test for overflow
    7ee88f37ad1b drm/amd/powerplay: suppress compile error around BUG_ON
    2ae6cbe7652a gpu: host1x: debug: Fix multiple channels emitting messages simultaneously
    4e701b476f48 iwlegacy: Check the return value of pcie_capability_read_*()
    79f477d1beac platform/x86: asus-nb-wmi: add support for ASUS ROG Zephyrus G14 and G15
    b195c3db8434 brcmfmac: set state of hanger slot to FREE when flushing PSQ
    f41a2583e10b brcmfmac: To fix Bss Info flag definition Bug
    38a031bbdfd3 brcmfmac: keep SDIO watchdog running when console_interval is non-zero
    93e05fd717de Bluetooth: hci_qca: Bug fixes for SSR
    a82baea4babd bpf: Fix fds_example SIGSEGV error
    e9496b4f3165 drm/amd/powerplay: fix compile error with ARCH=arc
    e4c9ade43bc5 drm/amd/display: allow query ddc data over aux to be read only operation
    81ece245ce78 drm/amdgpu/display: properly guard the calls to swSMU functions
    53812570f84c drm/amdgpu/display bail early in dm_pp_get_static_clocks
    865e2dbadf68 drm/amdgpu/debugfs: fix ref count leak when pm_runtime_get_sync fails
    1adb2ff1f6b1 drm/amd/display: Improve DisplayPort monitor interop
    1839d11b9bb2 mm/mmap.c: Add cond_resched() for exit_mmap() CPU stalls
    b70d115ebdcf irqchip/irq-mtk-sysirq: Replace spinlock with raw_spinlock
    d77ecc91b0d8 net: phy: mscc: restore the base page in vsc8514/8584_config_init
    befe5de6250b drm/radeon: disable AGP by default
    175bbacf669b drm/debugfs: fix plain echo to connector "force" attribute
    376bf3ddda59 drm/msm: Fix a null pointer access in msm_gem_shrinker_count()
    37f45e55b596 drm: msm: a6xx: fix gpu failure after system resume
    f2ea1e1877d0 usb: mtu3: clear dual mode of u3port when disable device
    870ed79fc2b7 btrfs: fix lockdep splat from btrfs_dump_space_info
    14fad4e83050 mmc: sdhci-cadence: do not use hardware tuning for SD mode
    085af96b1506 drm/nouveau: fix multiple instances of reference count leaks
    ff0ef144057e drm/nouveau: fix reference count leak in nouveau_debugfs_strap_peek
    ef11e2b533de memory: samsung: exynos5422-dmc: Do not ignore return code of regmap_read()
    1020d869babf ionic: rearrange reset and bus-master control
    51d26960fcb0 drm/etnaviv: fix ref count leak via pm_runtime_get_sync
    49395a64e5f5 arm64: dts: hisilicon: hikey: fixes to comply with adi, adv7533 DT binding
    256d7e3a6752 drm/nouveau/kms/nv50-: Fix disabling dithering
    77a318a4da3e rtw88: 8822ce: add support for device ID 0xc82f
    679d3baca18f md-cluster: fix wild pointer of unlock_all_bitmaps()
    0ff3a2b771b9 bus: ti-sysc: Add missing quirk flags for usb_host_hs
    8131c27f8088 video: fbdev: neofb: fix memory leak in neo_scan_monitor()
    5cc3bdb0aea5 video: fbdev: savage: fix memory leak on error handling path in probe
    cccec0d3e0ef crypto: aesni - Fix build with LLVM_IAS=1
    90bcb927d66d drm/radeon: Fix reference count leaks caused by pm_runtime_get_sync
    59fed9e55e17 drm/amdgpu: avoid dereferencing a NULL pointer
    6cd01fb89ac9 fs/btrfs: Add cond_resched() for try_release_extent_mapping() stalls
    5a4f7281d5a6 io_uring: fix req->work corruption
    b51a31ec3e7c loop: be paranoid on exit and prevent new additions / removals
    35dfb4f8423e Bluetooth: add a mutex lock to avoid UAF in do_enale_set
    7fd31dbc8ece ARM: exynos: clear L310_AUX_CTRL_FULL_LINE_ZERO in default l2c_aux_val
    be90ca6b1f53 net: mscc: ocelot: fix encoding destination ports into multicast IPv4 address
    9638ef9db839 soc: qcom: rpmh-rsc: Set suppress_bind_attrs flag
    47b94c5c6604 drm/tilcdc: fix leak & null ref in panel_connector_get_modes
    22ca8cb2a5b9 block: don't do revalidate zones on invalid devices
    4c3aeda8791c irqchip/loongson-pch-pic: Fix the misused irq flow handler
    c790d6a2306b nvme-multipath: do not fall back to __nvme_find_path() for non-optimized paths
    ebd5b7f6b99e nvme-multipath: fix logic for non-optimized paths
    a7e15f57766c nvme-rdma: fix controller reset hang during traffic
    c11521f04ed9 nvme-tcp: fix controller reset hang during traffic
    ac26d372f1a3 irqchip/gic-v4.1: Use GFP_ATOMIC flag in allocate_vpe_l1_table()
    bc654671a452 irqchip/irq-bcm7038-l1: Guard uses of cpu_logical_map
    ee9db7fc3a2b kunit: tool: fix improper treatment of file location
    0044496d9440 kunit: tool: fix broken default args in unit tests
    dda3d66364ed irqchip/loongson-liointc: Fix potential dead lock
    922ce733868a irqchip/loongson-pch-pic: Check return value of irq_domain_translate_twocell()
    594496eccb4c irqchip/loongson-htvec: Check return value of irq_domain_translate_onecell()
    6affe6f7db79 irqchip/loongson-htvec: Fix potential resource leak
    1926d2da825f md: raid0/linear: fix dereference before null check on pointer mddev
    51ef07ca87be seccomp: Fix ioctl number for SECCOMP_IOCTL_NOTIF_ID_VALID
    d2d09105657d irqchip/ti-sci-inta: Fix return value about devm_ioremap_resource()
    8705ff60b829 scripts/selinux/mdp: fix initial SID handling
    35d16397b2ab iocost: Fix check condition of iocg abs_vdebt
    793788d7848c ARM: socfpga: PM: add missing put_device() call in socfpga_setup_ocram_self_refresh()
    0e16025c3657 spi: rockchip: Fix error in SPI slave pio read
    7ca8cc7b3ee0 soc: qcom: pdr: Reorder the PD state indication ack
    f743813ff463 arm64: dts: meson: fix mmc0 tuning error on Khadas VIM3
    8dcdb3754ffd arm64: dts: meson: misc fixups for w400 dtsi
    ff316db596a8 io_uring: fix sq array offset calculation
    680283e6992d regulator: fix memory leak on error path of regulator_register()
    ca1c20292739 recordmcount: only record relocation of type R_AARCH64_CALL26 on arm64.
    8e7d79dec504 tpm: Require that all digests are present in TCG_PCR_EVENT2 structures
    81fd1c90e748 crypto: x86/crc32c - fix building with clang ias
    6760df0358ef spi: lantiq: fix: Rx overflow error in full duplex mode
    067345b6863f spi: dw-dma: Fix Tx DMA channel working too fast
    af58be14b8c1 ARM: dts: stm32: Fix spi4 pins in stm32mp15-pinctrl
    19798aa6945c ARM: dts: sunxi: bananapi-m2-plus-v1.2: Fix CPU supply voltages
    2f2b61f5cb0c ARM: dts: sunxi: bananapi-m2-plus-v1.2: Add regulator supply to all CPU cores
    3b5043161541 ARM: dts: at91: sama5d3_xplained: change phy-mode
    ea2c9ccdbb33 reset: intel: fix a compile warning about REG_OFFSET redefined
    14ae200d052b ARM: dts: exynos: Disable frequency scaling for FSYS bus on Odroid XU3 family
    c1e877ce5e12 ARM: at91: pm: add missing put_device() call in at91_pm_sram_init()
    4f8c0858195c ARM: dts: gose: Fix ports node name for adv7612
    141b07accc60 arm64: dts: renesas: Fix SD Card/eMMC interface device node names
    459fae59fa50 ARM: dts: gose: Fix ports node name for adv7180
    7b49da0dd3f4 platform/x86: intel-vbtn: Fix return value check in check_acpi_dev()
    54ba0892aabc platform/x86: intel-hid: Fix return value check in check_acpi_dev()
    40bd5e36e27e m68k: mac: Fix IOP status/control register writes
    6b4132d29576 m68k: mac: Don't send IOP message until channel is idle
    d3e1f3ea5877 clk: scmi: Fix min and max rate when registering clocks with discrete rates
    02a4e7bc34eb crypto: qat - allow xts requests not multiple of block
    d4ec29ee8836 sched/uclamp: Fix initialization of struct uclamp_rq
    6d67baf624c6 arm64: dts: exynos: Fix silent hang after boot on Espresso
    0c348e7b0380 arm64: dts: sun50i-pinephone: dldo4 must not be >= 1.8V
    660f9b20f525 firmware: arm_scmi: Fix SCMI genpd domain probing
    7ea14136a7d4 rcu/tree: Repeat the monitor if any free channel is busy
    a1e2c6d58bd8 ARM: exynos: MCPM: Restore big.LITTLE cpuidle support
    c7b6519619aa crypto: ccree - fix resource leak on error path
    06769a572492 soc: qcom: rpmh-rsc: Don't use ktime for timeout in write_tcs_reg_sync()
    00734ff000fc blktrace: fix debugfs use after free
    71fc8e5f4cc3 memory: tegra: Fix an error handling path in tegra186_emc_probe()
    d84a71c79a0c arm64: dts: qcom: msm8916: Replace invalid bias-pull-none property
    f6ab00652486 crc-t10dif: Fix potential crypto notify dead-lock
    012f0e4c9732 EDAC: Fix reference count leaks
    b069187f3044 arm64: dts: rockchip: fix rk3399-puma gmac reset gpio
    ae3da7d2be00 arm64: dts: rockchip: fix rk3399-puma vcc5v0-host gpio
    4df058114a1c arm64: dts: rockchip: fix rk3368-lion gmac reset gpio
    6624632301bc sched: correct SD_flags returned by tl->sd_flags()
    4b53a8f2aed2 sched/fair: Fix NOHZ next idle balance
    f08ce56b56fe x86, sched: Bail out of frequency invariance if turbo_freq/base_freq gives 0
    6ddc271a3a55 x86, sched: Bail out of frequency invariance if turbo frequency is unknown
    2b611e8adc57 x86, sched: check for counters overflow in frequency invariant accounting
    792aececc15d perf/x86/intel/uncore: Fix oops when counting IMC uncore events on some TGL
    421caf5e2ba9 x86/mce/inject: Fix a wrong assignment of i_mce.status
    1e5993c9e22c ARM: dts: stm32: fix uart7_pins_a comments in stm32mp15-pinctrl
    ca1e6f9272ac ARM: dts: stm32: fix uart nodes ordering in stm32mp15-pinctrl
    d6828c99ab8a HID: input: Fix devices that return multiple bytes in battery report
    7701efa45b5b io_uring: abstract out task work running
    2f2bf462d1d4 kunit: capture stderr on all make subprocess calls
    0534d726fffe tracepoint: Mark __tracepoint_string's __used

(From OE-Core rev: b44b0db3210a8aff46b5b4c3597ed915c57b8c8f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-22 15:46:55 +01:00
Bruce Ashfield
59707d77bf linux-yocto/5.4: update to v5.4.59
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    f61e1c3638dd Linux 5.4.59
    5de0b5247cba io_uring: Fix NULL pointer dereference in loop_rw_iter()
    4db28111b2a3 s390/gmap: improve THP splitting
    756a70b6dcc3 s390/dasd: fix inability to use DASD with DIAG driver
    dccc66daeba5 xen/gntdev: Fix dmabuf import with non-zero sgt offset
    8e41ac0bfdfd xen/balloon: make the balloon wait interruptible
    ee4c180d93d0 xen/balloon: fix accounting in alloc_xenballooned_pages error path
    db1f4c745a91 fs/minix: reject too-large maximum file size
    8c7e720a165b fs/minix: don't allow getting deleted inodes
    a5305f119907 fs/minix: check return value of sb_getblk()
    5be9072b8121 bitfield.h: don't compile-time validate _val in FIELD_FIT
    3e95a74f4c27 crypto: cpt - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified
    28bd8f392f4a crypto: ccp - Fix use of merged scatterlists
    3c660aa47304 crypto: qat - fix double free in qat_uclo_create_batch_init_list
    d9add5d7d94b crypto: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified
    17f9ba7229c4 pstore: Fix linking when crypto API disabled
    1a2e558c8b30 tpm: Unify the mismatching TPM space buffer sizes
    169d55c486f8 ALSA: usb-audio: add quirk for Pioneer DDJ-RB
    a3ec61c84d85 irqdomain/treewide: Free firmware node after domain removal
    35e1338bddcd ARM: 8992/1: Fix unwind_frame for clang-built kernels
    cd17453fa96f parisc: mask out enable and reserved bits from sba imask
    0d3897a7f527 parisc: Implement __smp_store_release and __smp_load_acquire barriers
    8dfab4662001 parisc: Do not use an ordered store in pa_tlb_lock()
    638e45c39f30 Revert "parisc: Revert "Release spinlocks using ordered store""
    431d999bd098 Revert "parisc: Use ldcw instruction for SMP spinlock release barrier"
    7612ce180e30 Revert "parisc: Drop LDCW barrier in CAS code when running UP"
    15f7b186916d erofs: fix extended inode could cross boundary
    a8e9efb55323 mtd: rawnand: qcom: avoid write to unavailable register
    7ebb8fd40256 spi: spidev: Align buffers for DMA
    e02c77edd9b0 include/asm-generic/vmlinux.lds.h: align ro_after_init
    7e270e86b1b3 cpufreq: dt: fix oops on armada37xx
    613a374f3fd6 cpufreq: Fix locking issues with governors
    6d1e56826ea8 NFS: Don't return layout segments that are in use
    046922d3248d NFS: Don't move layouts to plh_return_segs list while in use
    3c512bd3dbbb io_uring: set ctx sq/cq entry count earlier
    c6d2ddf1a30d drm/ttm/nouveau: don't call tt destroy callback on alloc failure.
    86f95b631490 media: media-request: Fix crash if memory allocation fails
    06d8ba514949 9p: Fix memory leak in v9fs_mount
    10de419977bf ALSA: usb-audio: work around streaming quirk for MacroSilicon MS2109
    1d2c4954e82b ALSA: usb-audio: fix overeager device match for MacroSilicon MS2109
    d5f647e3a72a ALSA: usb-audio: Creative USB X-Fi Pro SB1095 volume knob support
    8555fd99c111 ALSA: hda - fix the micmute led status for Lenovo ThinkCentre AIO
    1f0e0ad76eae USB: serial: cp210x: enable usb generic throttle/unthrottle
    3a8d1ca7204e USB: serial: cp210x: re-enable auto-RTS on open
    378737e1eee2 net: initialize fastreuse on inet_inherit_port
    dcedddbc7b20 net: refactor bind_bucket fastreuse into helper
    8a337428a5af vmxnet3: use correct tcp hdr length when packet is encapsulated
    e07d0ccd7fde tcp: correct read of TFO keys on big endian systems
    49a5b473bc66 net/tls: Fix kmap usage
    7bedf1d86298 net: Set fput_needed iff FDPUT_FPUT is set
    47f873ac267b net: phy: fix memory leak in device-create error path
    0b305f259ca9 net/nfc/rawsock.c: add CAP_NET_RAW check.
    02618095ab45 net: Fix potential memory leak in proto_register()
    f6c5d9f3361a drivers/net/wan/lapbether: Added needed_headroom and a skb->len check
    de236de3df57 af_packet: TPACKET_V3: fix fill status rwlock imbalance
    5ef739b7a5be crypto: aesni - add compatibility with IAS
    c44efee6e432 x86/fsgsbase/64: Fix NULL deref in 86_fsgsbase_read_task
    18d1bb497364 SUNRPC: Fix ("SUNRPC: Add "@len" parameter to gss_unwrap()")
    789be9705ed1 svcrdma: Fix page leak in svc_rdma_recv_read_chunk()
    fa6bd08869c5 pinctrl-single: fix pcs_parse_pinconf() return value
    50abf1b9ad10 ocfs2: fix unbalanced locking
    ba8a72193346 dlm: Fix kobject memleak
    41e8b5afde8e net: thunderx: initialize VF's mailbox mutex before first usage
    3084ecb02357 fsl/fman: fix eth hash table allocation
    2997cea07f9e fsl/fman: check dereferencing null pointer
    158ccb4f03b5 fsl/fman: fix unreachable code
    a405fb3ffdab fsl/fman: fix dereference null return value
    e9b3249a3df6 fsl/fman: use 32-bit unsigned integer
    8c68da19fd02 net: spider_net: Fix the size used in a 'dma_free_coherent()' call
    dc66a35ffee6 liquidio: Fix wrong return value in cn23xx_get_pf_num()
    eb4afeaf861f net: ethernet: aquantia: Fix wrong return value
    fe8571b4d5ac net/mlx5: Delete extra dump stack that gives nothing
    87a43dac39c2 net/mlx5: DR, Change push vlan action sequence
    a4301de4be41 tools, bpftool: Fix wrong return value in do_dump()
    94bc0ab6043f tools, build: Propagate build failures from tools/build/Makefile.build
    2684577dd9bc wl1251: fix always return 0 error
    3bec3e41db0d rtw88: coex: only skip coex triggered by BT info
    1b7546010b01 rtw88: fix short GI capability based on current bandwidth
    ff1ecaf751d7 rtw88: fix LDPC field for RA info
    fef9f09078b0 ice: Graceful error handling in HW table calloc failure
    2fd47ea1e063 s390/qeth: don't process empty bridge port events
    b8ae2bf5ccc6 ASoC: fsl_sai: Fix value of FSL_SAI_CR1_RFW_MASK
    115da6e650ab ASoC: meson: axg-tdm-formatters: fix sclk inversion
    0cc88bf69411 ASoC: meson: axg-tdmin: fix g12a skew
    a9d54ebf8db0 ASoC: meson: axg-tdm-interface: fix link fmt setup
    5299edbfc19a selftests/powerpc: Fix online CPU selection
    5412751327e8 cpufreq: ap806: fix cpufreq driver needs ap cpu clk
    0df3fad9c17f PCI: Release IVRS table in AMD ACS quirk
    07783db29f89 RDMA/netlink: Remove CAP_NET_RAW check when dump a raw QP
    04cf65b784d2 selftests/powerpc: Fix CPU affinity for child process
    3e95f258a143 powerpc/boot: Fix CONFIG_PPC_MPC52XX references
    69a797a04517 powerpc/32s: Fix CONFIG_BOOK3S_601 uses
    09c2050239fb selftests/powerpc: Squash spurious errors due to device removal
    5f56aa0b1fec xfs: fix inode allocation block res calculation precedence
    5c0fd1e61b5a net: dsa: rtl8366: Fix VLAN set-up
    8cd2a4878787 net: dsa: rtl8366: Fix VLAN semantics
    495b9d0dd071 Bluetooth: hci_serdev: Only unregister device if it was registered
    ba5c28f78461 Bluetooth: hci_h5: Set HCI_UART_RESET_ON_INIT to correct flags
    8d91c73c13f1 power: supply: check if calc_soc succeeded in pm860x_init_battery
    b2b8438ed831 Smack: prevent underflow in smk_set_cipso()
    674992659a97 Smack: fix another vsscanf out of bounds
    3a2cd06a3d93 RDMA/core: Fix return error value in _ib_modify_qp() to negative
    16416a158743 PCI: cadence: Fix updating Vendor ID and Subsystem Vendor ID register
    845601756341 macintosh/via-macii: Access autopoll_devs when inside lock
    a88f86763cbc net: dsa: mv88e6xxx: MV88E6097 does not support jumbo configuration
    f6f75b1756f7 scsi: mesh: Fix panic after host or bus reset
    b41e8798f288 scsi: megaraid_sas: Clear affinity hint
    1d7e19cf79f4 usb: gadget: f_uac2: fix AC Interface Header Descriptor wTotalLength
    b2c2b88b0496 usb: dwc2: Fix error path in gadget registration
    b8f3c361ca2c MIPS: OCTEON: add missing put_device() call in dwc3_octeon_device_init()
    db2eabff57cc phy: armada-38x: fix NETA lockup when repeatedly switching speeds
    2bf9418b7b11 mt76: mt7615: fix potential memory leak in mcu message handler
    54c9afe415dc powerpc/perf: Fix missing is_sier_aviable() during build
    53eeba79c152 coresight: tmc: Fix TMC mode read in tmc_read_unprepare_etb()
    6482f5119946 thermal: ti-soc-thermal: Fix reversed condition in ti_thermal_expose_sensor()
    c30281c4b28f usb: core: fix quirks_param_set() writing to a const pointer
    92581069807b USB: serial: iuu_phoenix: fix led-activity helpers
    278b532dfeaf spi: lantiq-ssc: Fix warning by using WQ_MEM_RECLAIM
    7e206d89e1c7 gpu: ipu-v3: Restore RGB32, BGR32
    e66ffe919ed4 drm/imx: tve: fix regulator_disable error path
    1a279871012d drm/imx: fix use after free
    44ae76d01d95 powerpc/book3s64/pkeys: Use PVR check instead of cpu feature
    6112c341ba3a phy: renesas: rcar-gen3-usb2: move irq registration to init
    e82e9db82faf PCI/ASPM: Add missing newline in sysfs 'policy'
    c537bd0732ea ASoC: meson: fixes the missed kfree() for axg_card_add_tdm_loopback
    2698fab03884 staging: rtl8192u: fix a dubious looking mask before a shift
    209207562934 ima: Have the LSM free its audit rule
    7ecfbee3b9c3 RDMA/rxe: Prevent access to wr->next ptr afrer wr is posted to send queue
    4cf66d70b5ef RDMA/qedr: SRQ's bug fixes
    978bef91cad7 powerpc/vdso: Fix vdso cpu truncation
    7beea356fabb powerpc/rtas: don't online CPUs for partition suspend
    936e927ece9b kernfs: do not call fsnotify() with name without a parent
    b7fc8591cae4 mwifiex: Prevent memory corruption handling keys
    0c0d30eaf31c scsi: scsi_debug: Add check for sdebug_max_queue during module init
    6a292c4bc027 drm/bridge: sil_sii8620: initialize return of sii8620_readb
    8ffa0cf2b662 phy: exynos5-usbdrd: Calibrating makes sense only for USB2.0 PHY
    36f9ed95ec52 drm: panel: simple: Fix bpc for LG LB070WV8 panel
    d25c81232007 leds: core: Flush scheduled work for system suspend
    adbb26e2d44e kobject: Avoid premature parent object freeing in kobject_cleanup()
    59f69f1edb56 drm/stm: repair runtime power management
    cc5f55c46a71 PCI: Fix pci_cfg_wait queue locking problem
    8fbefed6c3a0 RDMA/rxe: Skip dgid check in loopback mode
    6093eae667d6 xfs: fix reflink quota reservation accounting error
    2c5170b451b7 xfs: don't eat an EIO/ENOSPC writeback error when scrubbing data fork
    deaf69f5b028 media: cros-ec-cec: do not bail on device_init_wakeup failure
    951a21261577 media: exynos4-is: Add missed check for pinctrl_lookup_state()
    210ab36cdaa9 media: firewire: Using uninitialized values in node_probe()
    0c122fc90d02 ipvs: allow connection reuse for unconfirmed conntrack
    45a769a10126 scsi: eesox: Fix different dev_id between request_irq() and free_irq()
    76189426da56 scsi: powertec: Fix different dev_id between request_irq() and free_irq()
    691081c0558a RDMA/core: Fix bogus WARN_ON during ib_unregister_device_queued()
    67642ac2ac0b iavf: Fix updating statistics
    8d5ce7e06ff8 iavf: fix error return code in iavf_init_get_resources()
    f27a965b042f staging: vchiq_arm: Add a matching unregister call
    87a30aa61f60 drm/radeon: fix array out-of-bounds read and write issues
    db377d8caf08 cxl: Fix kobject memleak
    835c6f7c0a94 drm/mipi: use dcs write for mipi_dsi_dcs_set_tear_scanline
    6f2b14006d44 scsi: cumana_2: Fix different dev_id between request_irq() and free_irq()
    d92cc98b7423 ASoC: Intel: bxt_rt298: add missing .owner field
    a1773c8b04a4 ASoC: SOF: nocodec: add missing .owner field
    d85cebc8656f media: omap3isp: Add missed v4l2_ctrl_handler_free() for preview_init_entities()
    8fe0119f5c63 media: marvell-ccic: Add missed v4l2_async_notifier_cleanup()
    79962a7a1dd1 media: cxusb-analog: fix V4L2 dependency
    a728697b74b7 Bluetooth: btmtksdio: fix up firmware download sequence
    ecab4ef93ce6 Bluetooth: btusb: fix up firmware download sequence
    6db3579dd3a4 leds: lm355x: avoid enum conversion warning
    cc51ca361059 clk: bcm63xx-gate: fix last clock availability
    8bfd16c687cf drm/arm: fix unintentional integer overflow on left shift
    018192e85860 drm/etnaviv: Fix error path on failure to enable bus clk
    8080ccd31233 iio: improve IIO_CONCENTRATION channel type description
    b4a09e491d38 ath10k: Acquire tx_lock in tx error paths
    d9411fcc9a48 video: pxafb: Fix the function used to balance a 'dma_alloc_coherent()' call
    703a2e85a3a8 console: newport_con: fix an issue about leak related system resources
    e95d33905a4e video: fbdev: sm712fb: fix an issue about iounmap for a wrong address
    d9e13b0c26cf btmrvl: Fix firmware filename for sd8997 chipset
    671f14a14471 btmrvl: Fix firmware filename for sd8977 chipset
    89b09156ed41 mwifiex: Fix firmware filename for sd8997 chipset
    be9903c9ebe4 mwifiex: Fix firmware filename for sd8977 chipset
    e3b04e1b5b03 agp/intel: Fix a memory leak on module initialisation failure
    7669b6beb4fd drm/bridge: ti-sn65dsi86: Clear old error bits before AUX transfers
    1a981f4d6c97 drm/gem: Fix a leak in drm_gem_objects_lookup()
    167708cbebd3 drm/msm: ratelimit crtc event overflow error
    1e8d2186551b ACPICA: Do not increment operation_region reference counts for field units
    ca6654d7da59 bcache: fix super block seq numbers comparision in register_cache_set()
    db9b14ae4b6a dyndbg: fix a BUG_ON in ddebug_describe_flags
    8fb05790b55b usb: bdc: Halt controller on suspend
    296184490e2c bdc: Fix bug causing crash after multiple disconnects
    77d7ce9ccb33 usb: gadget: net2280: fix memory leak on probe error handling paths
    7404ce0f639c mmc: sdhci-pci-o2micro: Bug fix for O2 host controller Seabird1
    d000795c9f25 ionic: update eid test for overflow
    691ae7c87ff7 gpu: host1x: debug: Fix multiple channels emitting messages simultaneously
    ff3fde9d4519 iwlegacy: Check the return value of pcie_capability_read_*()
    ef62e5411db2 platform/x86: asus-nb-wmi: add support for ASUS ROG Zephyrus G14 and G15
    ce3ae44103ca brcmfmac: set state of hanger slot to FREE when flushing PSQ
    1c53aefa2866 brcmfmac: To fix Bss Info flag definition Bug
    29dd5e5309b1 brcmfmac: keep SDIO watchdog running when console_interval is non-zero
    5908a17b247d bpf: Fix fds_example SIGSEGV error
    4360d9b560bd drm/amd/powerplay: fix compile error with ARCH=arc
    fae763f1357b drm/amdgpu/display bail early in dm_pp_get_static_clocks
    87834546ea2c mm/mmap.c: Add cond_resched() for exit_mmap() CPU stalls
    ae3033d38596 irqchip/irq-mtk-sysirq: Replace spinlock with raw_spinlock
    d17931fbe9dd drm/radeon: disable AGP by default
    238e32468e0d drm/debugfs: fix plain echo to connector "force" attribute
    df91fe834bd4 drm/msm: Fix a null pointer access in msm_gem_shrinker_count()
    fae8ff2dfd8d drm: msm: a6xx: fix gpu failure after system resume
    0e76c2ffb8f0 usb: mtu3: clear dual mode of u3port when disable device
    e633add66d17 btrfs: fix lockdep splat from btrfs_dump_space_info
    7795eb18ce7d mmc: sdhci-cadence: do not use hardware tuning for SD mode
    3b69bcd45426 drm/nouveau: fix multiple instances of reference count leaks
    db0a2e4857dd drm/nouveau: fix reference count leak in nouveau_debugfs_strap_peek
    20e7c4456069 drm/etnaviv: fix ref count leak via pm_runtime_get_sync
    274f4e9c575a arm64: dts: hisilicon: hikey: fixes to comply with adi, adv7533 DT binding
    454a00e9ed83 drm/nouveau/kms/nv50-: Fix disabling dithering
    d72c0f225a2f md-cluster: fix wild pointer of unlock_all_bitmaps()
    2ac7df0910e5 bus: ti-sysc: Add missing quirk flags for usb_host_hs
    6754d2a86c43 video: fbdev: neofb: fix memory leak in neo_scan_monitor()
    9ca426693563 video: fbdev: savage: fix memory leak on error handling path in probe
    8b8d17d9ff8a crypto: aesni - Fix build with LLVM_IAS=1
    cab45cfa00b8 drm/radeon: Fix reference count leaks caused by pm_runtime_get_sync
    2f04f5bcf6d9 drm/amdgpu: avoid dereferencing a NULL pointer
    6402b231824f fs/btrfs: Add cond_resched() for try_release_extent_mapping() stalls
    a6619810135b loop: be paranoid on exit and prevent new additions / removals
    0e656b7e85c3 Bluetooth: add a mutex lock to avoid UAF in do_enale_set
    f8b0407f6a5f soc: qcom: rpmh-rsc: Set suppress_bind_attrs flag
    94fd6f72a826 drm/tilcdc: fix leak & null ref in panel_connector_get_modes
    86f305a9aca0 nvme-multipath: do not fall back to __nvme_find_path() for non-optimized paths
    f0a8c0254fde nvme-multipath: fix logic for non-optimized paths
    4e8691ba0e78 nvme-rdma: fix controller reset hang during traffic
    b98a96662a4e nvme-tcp: fix controller reset hang during traffic
    6f01de256dd0 md: raid0/linear: fix dereference before null check on pointer mddev
    0f09c88f207c seccomp: Fix ioctl number for SECCOMP_IOCTL_NOTIF_ID_VALID
    7915a3c04139 irqchip/ti-sci-inta: Fix return value about devm_ioremap_resource()
    2f53a4b54e25 iocost: Fix check condition of iocg abs_vdebt
    3f4f3b350a8a ARM: socfpga: PM: add missing put_device() call in socfpga_setup_ocram_self_refresh()
    9600bdd6924a spi: rockchip: Fix error in SPI slave pio read
    0b1799662a61 io_uring: fix sq array offset calculation
    afa16b50e2aa regulator: fix memory leak on error path of regulator_register()
    80242590651c recordmcount: only record relocation of type R_AARCH64_CALL26 on arm64.
    3a17c7bfe705 tpm: Require that all digests are present in TCG_PCR_EVENT2 structures
    b1fe27d227c6 spi: lantiq: fix: Rx overflow error in full duplex mode
    e22730350d9e ARM: dts: sunxi: bananapi-m2-plus-v1.2: Fix CPU supply voltages
    acbe4a1dc54c ARM: dts: sunxi: bananapi-m2-plus-v1.2: Add regulator supply to all CPU cores
    cd9f5d2b3999 ARM: at91: pm: add missing put_device() call in at91_pm_sram_init()
    1b3cb69fd559 ARM: dts: gose: Fix ports node name for adv7612
    e21665164e99 ARM: dts: gose: Fix ports node name for adv7180
    4361bec62bda platform/x86: intel-vbtn: Fix return value check in check_acpi_dev()
    ed48a02d4cbd platform/x86: intel-hid: Fix return value check in check_acpi_dev()
    78448034fafb m68k: mac: Fix IOP status/control register writes
    b8ad79dde63f m68k: mac: Don't send IOP message until channel is idle
    38702b9081c9 clk: scmi: Fix min and max rate when registering clocks with discrete rates
    047187eb0a3f sched/uclamp: Fix initialization of struct uclamp_rq
    4d7115d29201 arm64: dts: exynos: Fix silent hang after boot on Espresso
    420acbfdd64b firmware: arm_scmi: Fix SCMI genpd domain probing
    0155cd348be2 ARM: exynos: MCPM: Restore big.LITTLE cpuidle support
    489ee1f21993 crypto: ccree - fix resource leak on error path
    6a291f9c21e4 blktrace: fix debugfs use after free
    34108464f808 arm64: dts: qcom: msm8916: Replace invalid bias-pull-none property
    f2b639b2aa21 crc-t10dif: Fix potential crypto notify dead-lock
    c73eec04e666 EDAC: Fix reference count leaks
    192b8516c99c arm64: dts: rockchip: fix rk3399-puma gmac reset gpio
    da9dfd06dbaa arm64: dts: rockchip: fix rk3399-puma vcc5v0-host gpio
    066f85458d9c arm64: dts: rockchip: fix rk3368-lion gmac reset gpio
    e8eb09e542c1 sched: correct SD_flags returned by tl->sd_flags()
    b8d9908c9d3d sched/fair: Fix NOHZ next idle balance
    072d1300f1ce x86/mce/inject: Fix a wrong assignment of i_mce.status
    a36ff7a40d11 clk: qcom: clk-rpmh: Wait for completion when enabling clocks
    a02df82a59c3 fs/io_uring.c: Fix uninitialized variable is referenced in io_submit_sqe
    bd1584865c12 nvme: add a Identify Namespace Identification Descriptor list quirk
    039b66468fc4 HID: input: Fix devices that return multiple bytes in battery report
    16d2fb138f98 tracepoint: Mark __tracepoint_string's __used

(From OE-Core rev: d1e62066f50aaac6e1064e381c8440d45d9322b5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-22 15:46:55 +01:00
Ming Liu
a58ad4eb85 systemd: split systemd specific udev rules into its own package
In case some other packages need these udev rules but they wont install
systemd, for instance, a issue was found that plymouth needs
71-seat.rules to be present in rootfs or it will fail.

Let systemd RDEPENDS on systemd-udev-rules.

(From OE-Core rev: a235b994deb20c312c5871e5c463ff963267d2ab)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-22 15:46:55 +01:00
Khem Raj
dd14862946 gcc-cross-canadian: Install gcc/g++ wrappers for musl
gcc needs -mmusl option to be passed in SDK since we ship crossdk compiler
configured for glibc by default, this helps in creating correct
compiler defaults for musl based SDK compilers

[YOCTO #13459]

(From OE-Core rev: e6fbac7aeabe00d8fb734992012dd629a8527b25)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Leon Woestenberg <leon@sidebranch.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-22 15:46:55 +01:00
Richard Purdie
fd2081188c nativesdk-sdk-provides-dummy: Add /bin/sh
By doing this we can revert b18c32ab6bc9c4f1953e9f79aa39bc92d1c4e30d which
was a pretty ugly hack anyway and now means the different providers are all
being handled consistently.

Anyone with SDK recipes will need to ensure nativesdk-sdk-provides-dummy
is included in those builds (or an equivalent). This is a good thing to
do anyway.

(From OE-Core rev: dd2c603befdd65c92c6196d5b103568249766b3e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-22 15:46:55 +01:00
Chris Laplante
c67f57c09e bitbake: build: make shell traps less chatty when 'bitbake -v' is used
This shuts up both the DEBUG and EXIT handlers.

Also, remove an unneeded "set -o errtrace" (i.e. set -E),
since we no longer use an ERR trap.

(Bitbake rev: 89e851fa0403d1e98aeed69990101e3f84f0b283)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-21 14:29:25 +01:00
Khem Raj
d416bb3a68 curl: Upgrade to 7.72.0
(From OE-Core rev: f3fc6de9de6b6a24649864c598d5ee9abfae4af3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-21 14:29:11 +01:00
Alex Kiernan
4d37676006 systemd: Upgrade v246.1 -> v246.2
Commits:

  946e4c43bb4a tools/make-man-index: fix purpose text that contains tags
  dae0586e9193 test-fs-util: skip encrypted path test if we get EACCES
  0d026c9b0d2f Newer Glibc use faccessat2 to implement faccessat
  fde6520d468f namespace: fix minor memory leak
  208ba581f44f man: fix incorrectly placed full stop
  6c81d578289b man: fix typo
  53a8d2588e72 bless-boot: add missing verb to --help
  4cfa0ac4fdc4 user-record: deal with invalid GECOS fields gracefully
  ae5234ef4838 user-util: add mangle_gecos() call for turning strings into fields suitable as GECOS fields

(From OE-Core rev: 1f5873c476284f0d1ed23345825a0d3ac2b3c626)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-21 14:29:11 +01:00
Alex Kiernan
7c25854ee6 systemd: Upgrade v246 -> v246.1
Commits:

  972391ac396f fix typo in systemctl help
  443aacfcda39 man: clarify that LogNamespace= is for system services only
  5aec8fe54e47 _sd-common.h: avoid parsing errors with Coverity
  f9ad4ea2ca06 analyze: fix 'cat-config systemd/zram-generator.conf'
  dda6fec1dfc7 man: describe that changing Storage= does not move existing data
  2bbd33e476ac core: reset bus error before reuse
  b81504a3c76b nspawn: Fix incorrect usage of putenv
  cb263973acf8 man: fix typo in systemd.service
  73b432e7ef21 network: fix DHCPv6 Prefix Delegation example after option rename

(From OE-Core rev: 26c30c4cccb05d68d22e66dd3b34882837cac5dd)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-21 14:29:11 +01:00
Alex Kiernan
e5ff035e85 volatile-binds: Drop StandardOutput=syslog from systemd unit
With systemd v246 the syslog target now generates a warning (and has
been deprecated for some time). Drop the target and allow the default to
take effect.

(From OE-Core rev: dba15118a749b5e633f03b662c9ba00d6b0eff02)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-21 14:29:11 +01:00
Alex Kiernan
c52cb6a8b8 openssh: Drop StandardError=syslog from systemd unit
With systemd v246 the syslog target now generates a warning (and has
been deprecated for some time). Drop the target and allow the default to
take effect.

(From OE-Core rev: 2ba088d8373d9d54930bc3f5ec1799ea1a6ffafc)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-21 14:29:11 +01:00
Alex Kiernan
c73b843f91 nfs-utils: Drop StandardError=syslog from systemd unit
With systemd v246 the syslog target now generates a warning (and has
been deprecated for some time). Drop the target and allow the default to
take effect.

(From OE-Core rev: 81cc21e57ac309ba728cb4f13fd70d3367b93ab7)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-21 14:29:10 +01:00
Alex Kiernan
be65fe73b7 systemd: Fix path to modules-load.d et al
Following 4a56315a990b ("path: use ROOTPREFIX properly"), the paths to
sysusers.d, sysctl.d binfmt.d and modules-load.d changed to /lib when
building without usrmerge, which aoppears to be an inadvertent ABI
change. Undo this change and track upstream:

  https://github.com/systemd/systemd/issues/16773

(From OE-Core rev: a2b68ba14fb97349d3ebc71e5ca96a340aec243e)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-21 14:29:10 +01:00
Alex Kiernan
828298c4bb systemd: Move musl patches to SRC_URI_MUSL
Supplemental musl patches for v246 were erroneously added to SRC_URI,
move them to SRC_URI_MUSL.

Fixes: 470c58ba45 ("systemd: Upgrade v245.6 -> v246")
(From OE-Core rev: fb7a03fb6c057e4f8b802671230f67bef53a5818)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-21 14:29:10 +01:00
Khem Raj
52635969f9 gcc-cross-canadian: Correct the regexp to delete versioned gcc binary
After gcc 10 this expression needed to be adjusted, its better to use a
bitbake variable which we do have readily available

(From OE-Core rev: ee2beaff701d02736c8244ebc76f6d6ca96a04f4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-21 14:29:10 +01:00
Khem Raj
f809d27e29 binutils: Let crosssdk gold linker generate 4096 btyes long .interp section
When gold is used as default linker in crosssdk e.g. when building SDK
binaries with LTO, the binaries do not have large enough .interp
section size and SDK relocation fails for those nativesdk binaries and libraries
which used gold for linking. This patch extends the .interp relaxation
fix to gold

(From OE-Core rev: f856b5f38263251bc48af8ba0da3385c09663d38)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-21 14:29:10 +01:00
Jonathan Richardson
5731777f62 cortex-m0plus.inc: Add tuning for cortex M0 plus
Add tuning files for ARM cortex m0 plus and the armv6-m architecture
that it is based on.

(From OE-Core rev: 1a2d05b504c7a6f5a917cb2e7d026e57bb2daf8f)

Signed-off-by: Jonathan Richardson <jonathan.richardson@broadcom.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
Bruce Ashfield
3558af1ce6 linux-yocto/5.8: update to v5.8.1
Updating linux-yocto/5.8 to the latest korg -stable release that comprises
the following commits:

    5f49ff2540e2 Linux 5.8.1
    b08bdb1dfc66 arm64: kaslr: Use standard early random function
    cdb665888c69 random: random.h should include archrandom.h, not the other way around
    6ccec4279301 random32: move the pseudo-random 32-bit definitions to prandom.h
    37b9e5781ba9 ima: move APPRAISE_BOOTPARAM dependency on ARCH_POLICY to runtime
    f9e3fa895314 PCI: tegra: Revert tegra124 raw_violation_fixup
    6f5f284ac0a1 powerpc/kasan: Fix shadow pages allocation failure
    4fed32566a03 Revert "powerpc/kasan: Fix shadow pages allocation failure"
    ff35fac0d075 xattr: break delegations in {set,remove}xattr
    325811793d34 gpio: max77620: Fix missing release of interrupt
    344c69a06049 leds: 88pm860x: fix use-after-free on unbind
    6796fca30e0a leds: lm3533: fix use-after-free on unbind
    6e99065db5b9 leds: da903x: fix use-after-free on unbind
    405c0f560437 leds: lm36274: fix use-after-free on unbind
    2cbb6111b385 leds: wm831x-status: fix use-after-free on unbind
    eb3d82abc335 mtd: properly check all write ioctls for permissions
    0ca4ebe9d635 vgacon: Fix for missing check in scrollback handling
    b8eb3d95c2d4 lkdtm/heap: Avoid edge and middle of slabs
    3266873640b7 scripts: add dummy report mode to add_namespace.cocci
    5ec142a2e9e6 Smack: fix use-after-free in smk_write_relabel_self()
    382c0fa38c0e binder: Prevent context manager from incrementing ref 0
    3a75ed41c7ab omapfb: dss: Fix max fclk divider for omap36xx
    be1c835747f9 Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_with_rssi_evt()
    f00e01212d78 Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt()
    cc09a53b7252 Bluetooth: Fix slab-out-of-bounds read in hci_extended_inquiry_result_evt()
    51af3c373643 Staging: rtl8188eu: rtw_mlme: Fix uninitialized variable authmode
    22e041f720e6 staging: rtl8712: handle firmware load failure
    7fa3a6e9061c staging: android: ashmem: Fix lockdep warning for write operation
    98228ec8440f ALSA: seq: oss: Serialize ioctls
    f990beaaff08 ALSA: hda/ca0132 - Fix AE-5 microphone selection commands.
    e0b12b2ba9ed ALSA: hda/ca0132 - Fix ZxR Headphone gain control get value.
    b743b82bdfa8 ALSA: hda/ca0132 - Add new quirk ID for Recon3D.
    ea441daae389 ALSA: hda/realtek: Add alc269/alc662 pin-tables for Loongson-3 laptops
    88f484351d8f Revert "ALSA: hda: call runtime_allow() for all hda controllers"
    a7e7da440092 usb: xhci: Fix ASMedia ASM1142 DMA addressing
    2ef10b5be9a5 usb: xhci: define IDs for various ASMedia host controllers
    3d73faca68fa USB: iowarrior: fix up report size handling for some devices
    a7ee4b448513 USB: serial: qcserial: add EM7305 QDL product ID
    e912cdc8d225 scsi: ufs: Fix and simplify setup_xfer_req variant operation

(From OE-Core rev: 0344dd754aafbf3d05539bbc0c6d39f0541f300b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
Bruce Ashfield
4ccc353330 kernel-yocto/5.8: add gmp-native dependency
With the latest gcc10 plugins, the host tools need gmp support
or we end up with:

  HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o
In file included from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/gcc-plugin.h:28,
                 from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/gcc-common.h:7,
                 from
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/system.h:687:10:
fatal error: gmp.h: No such file or directory
  687 | #include <gmp.h>
      |          ^~~~~~~

(From OE-Core rev: d3590f16d9c1b56813114113b74f7b6f01e6b0ba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
Bruce Ashfield
b8036e017c linux-yocto: introduce 5.8 reference kernel
Add the next set of "versioned" linux-yocto recipes that can be
used to build v5.8 upstream (v5.8/base) or 5.8 with some emedded
specific features (v5.8/standard/*).

Note: along with the new 5.8 content, the recipes have a tweaked
licence checksum, which The needs to be updated to account for kernel
commit 74835c7db0322b [COPYING: state that all contributions really
are covered by this file].

These have been built and booted for all supported qemu architectures.

(From OE-Core rev: 18edf84ec6cfcc137602f89ddc024d1fe1dcf03a)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
Bruce Ashfield
57d5f4ad41 libc-headers: update to v5.8
Updating the libc-headers to v5.8. Adjustments to the recipe
include:

The license checksum. Needs to be updated to account for kernel
commit 74835c7db0322b [COPYING: state that all contributions really are
covered by this file].

And the ARM multilib headers need to check the version to adjust for
kernel commit: 541ad0150ca4 [arm: Remove 32bit KVM host support]. We
don't want to break potential other libc-header users, so we check
the version and continue to install the file if the version is less
than v5.8

One patch is refreshed to remove fuzz when building musl.

(From OE-Core rev: 4c3750bbc9dae30d91bd0e5efc8f614810289b31)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
Martin Jansa
c36fb625d1 perf: backport a fix for confusing non-fatal error
* add V=1 to make log.do_compile a bit more useful, with this it shows:
  /bin/sh '/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/tools/perf/trace/beauty/arch_errno_names.sh' x86_64-oe-linux-gcc  -m64 -march=core2 -mtune=core2 -msse3 -mfpmath=sse --sysroot=/OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/recipe-sysroot /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/tools > /OE/build/oe-core/tmp-glibc/work/qemux86_64-oe-linux/perf/1.0-r9/perf-1.0/trace/beauty/generated/arch_errno_name_array.c
  find: unknown predicate `-m64/arch'
  x86_64-oe-linux-gcc: error: unrecognized command-line option '-m64/include/uapi/asm-generic/errno.h'
  x86_64-oe-linux-gcc: fatal error: no input files
  compilation terminated.
  x86_64-oe-linux-gcc: error: unrecognized command-line option '-m64/include/uapi/asm-generic/errno.h'
  x86_64-oe-linux-gcc: fatal error: no input files
  compilation terminated.

* apply e4ffd066ff
  with sed call to fix this

(From OE-Core rev: c603e6e13e44ae907cf1f04abf6e1babf3d7be26)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
Changqing Li
58eb470cad gpgme: fix multilib header conflict
fix error:
file /usr/include/gpgme.h conflicts between attempted installs of gpgme-dev-1.13.1-r0.core2_64 and lib32-gpgme-dev-1.13.1-r0.core2_32

part of diff:
-#if 64
+#if 0
 #ifndef _FILE_OFFSET_BITS
-#error GPGME was compiled with _FILE_OFFSET_BITS = 64, please see the section "Largefile support (LFS)" in the GPGME manual.
+#error GPGME was compiled with _FILE_OFFSET_BITS = 0, please see the section "Largefile support (LFS)" in the GPGME manual.
 #else
-#if (_FILE_OFFSET_BITS) != (64)
-#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 64, please see the section "Largefile support (LFS)" in the GPGME manual.
+#if (_FILE_OFFSET_BITS) != (0)
+#error GPGME was compiled with a different value for _FILE_OFFSET_BITS, namely 0, please see the section "Largefile support (LFS)" in the GPGME manual.
 #endif
 #endif
 #endif

LFS support is enabled by default, and this header is generated during
build according to current configure

(From OE-Core rev: bd056f9c4c22740a4f7ede00c758a21037eae5ca)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
Guillaume Champagne
76dbaaf5e2 weston: add missing packageconfigs
Add missing package configs to:
	- Select shell integration
	- Disable screen sharing module (independent from backend)
	- Disable jpeg image support

`PACKAGECONFIG` default value is updated to enable these configs, since
they were previously implicitly enabled.

(From OE-Core rev: f883413b2bc6e7d0bd44ce8324cd36a8fe918e5f)

Signed-off-by: Guillaume Champagne <champagne.guillaume.c@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
Mark Hatle
85869d615b package.bbclass: Sort shlib2 output for hash equivalency
The output was unsorted, so different versions of python, different input
ordering could have have changed the files, and thus changed the hashes
making the system think the output was different, even when unmodified.

(From OE-Core rev: 23cc846c92219c5cbe3fc6a0024579195d3cbd78)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
Changhyeok Bae
b75ae656fa ethtool: upgrade 5.7 -> 5.8
test-features is only generated without netlink configuration.

(From OE-Core rev: bc037110fc53b34db7073b7c17fd715b30651a9e)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
Changhyeok Bae
56e6931c50 iproute2: upgrade 5.7.0 -> 5.8.0
(From OE-Core rev: a38527357f4255f0f4cf888f640f38f2ef5942e0)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
TeohJayShen
660f5694dd oeqa/manual/bsp-hw.json : remove X_server_can_start_up_with_runlevel_5_boot test
remove the test as graphical mode is already being validated

(From OE-Core rev: ad5b5ca9ec1d9106911a610bb36fb98e3f17748d)

Signed-off-by: TeohJayShen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
TeohJayShen
8db6cf92b4 oeqa/manual/bsp-hw.json : remove shutdown_system test
remove the test as shutdown function is already being validated

(From OE-Core rev: 58281082fbed57298247c019c3d8149e688de161)

Signed-off-by: TeohJayShen <jay.shen.teoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-20 15:30:07 +01:00
Vasyl Vavrychuk
21c13f75b5 runqemu: Check gtk or sdl option is passed together with gl or gl-es options.
runqemu help reports that gtk or sdl option is needed with gl or gl-es
option. But if user forgot to add gtk or sdl option, then gl or gl-es
options were silently skipped.

(From OE-Core rev: 4d1e93d4bf013bb0c48032bfda43f77c5aba9ecf)

Signed-off-by: Vasyl Vavrychuk <vvavrychuk@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19 10:57:44 +01:00
Khem Raj
9e82d25fd3 xserver-xorg: Fix build with -fno-common/mips
Build fails on architectures which use IOPortBase

(From OE-Core rev: 36dc499eea1d0e5c342b94ce30b56ba8bbf04922)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19 10:57:44 +01:00
Anuj Mittal
3e57921973 x264: upgrade to latest revision
(From OE-Core rev: 20027520b586e0514774203a882617319cccfa2b)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19 10:57:44 +01:00
Anuj Mittal
255c900701 stress-ng: upgrade 0.11.17 -> 0.11.18
(From OE-Core rev: 036f29472caed24f905ed0bed3c8f0d2b079ee22)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19 10:57:44 +01:00
Anuj Mittal
073ef419d5 sqlite3: upgrade 3.32.3 -> 3.33.0
(From OE-Core rev: ef27d18d3b91d0545cb1e4ef3cb8bd002ea73b47)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19 10:57:44 +01:00
Anuj Mittal
84bc48263f harfbuzz: upgrade 2.6.8 -> 2.7.1
(From OE-Core rev: 0ad37a94afd9a04a4582ee2ec51d218d28669264)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19 10:57:44 +01:00
Mikko Rapeli
b5a1389b47 alsa-ucm-conf: use ${datadir} in do_install()
Fixes build with custom directory structure.

(From OE-Core rev: 710567168eca3d9a580f768a82db033f1cca3cec)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19 10:57:44 +01:00
Mikko Rapeli
5349866935 alsa-topology-conf: use ${datadir} in do_install()
Fixes build with custom directory structure.

(From OE-Core rev: 9eec98b3842bb046cbd202140b9b5ccf09d20466)

Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19 10:57:44 +01:00
Changqing Li
49865a6061 libffi: fix multilib header conflict
fix error:
file /usr/include/ffitarget.h conflicts between attempted installs of lib32-libffi-dev-3.3-r0.armv7vet2hf_vfp and libffi-dev-3.3-r0.cortexa57

part of diff

#ifndef LIBFFI_ASM
-typedef unsigned long          ffi_arg;
-typedef signed long            ffi_sarg;
-
-typedef enum ffi_abi {
-  FFI_FIRST_ABI = 0,
-  FFI_SYSV,
-  FFI_VFP,
-  FFI_LAST_ABI,
-#if defined(__ARM_PCS_VFP) || defined(_M_ARM)
-  FFI_DEFAULT_ABI = FFI_VFP,
+#ifdef __ILP32__
+#define FFI_SIZEOF_ARG 8
+#define FFI_SIZEOF_JAVA_RAW  4
+typedef unsigned long long ffi_arg;
+typedef signed long long ffi_sarg;
+#elif defined(_M_ARM64)
+#define FFI_SIZEOF_ARG 8
+typedef unsigned long long ffi_arg;
+typedef signed long long ffi_sarg;
 #else
-  FFI_DEFAULT_ABI = FFI_SYSV,
-#endif
-} ffi_abi;
+typedef unsigned long ffi_arg;
+typedef signed long ffi_sarg;
 #endif

-#define FFI_EXTRA_CIF_FIELDS			\
-  int vfp_used;					\
-  unsigned short vfp_reg_free, vfp_nargs;	\
-  signed char vfp_args[16]			\
-
-#define FFI_TARGET_SPECIFIC_VARIADIC
-#ifndef _M_ARM
-#define FFI_TARGET_HAS_COMPLEX_TYPE
+typedef enum ffi_abi
+  {
+    FFI_FIRST_ABI = 0,
+    FFI_SYSV,
+    FFI_LAST_ABI,
+    FFI_DEFAULT_ABI = FFI_SYSV
+  } ffi_abi;
 #endif

 /* ---- Definitions for closures ----------------------------------------- */

 #define FFI_CLOSURES 1
-#define FFI_GO_CLOSURES 1
 #define FFI_NATIVE_RAW_API 0

 #if defined (FFI_EXEC_TRAMPOLINE_TABLE) && FFI_EXEC_TRAMPOLINE_TABLE

 #ifdef __MACH__
-#define FFI_TRAMPOLINE_SIZE 12
-#define FFI_TRAMPOLINE_CLOSURE_OFFSET 8
+#define FFI_TRAMPOLINE_SIZE 16
+#define FFI_TRAMPOLINE_CLOSURE_OFFSET 16
 #else
 #error "No trampoline table implementation"
 #endif

 #else
-#ifdef _MSC_VER
-#define FFI_TRAMPOLINE_SIZE 16
-#define FFI_TRAMPOLINE_CLOSURE_FUNCTION 12
-#else
-#define FFI_TRAMPOLINE_SIZE 12
-#endif
+#define FFI_TRAMPOLINE_SIZE 24
 #define FFI_TRAMPOLINE_CLOSURE_OFFSET FFI_TRAMPOLINE_SIZE
 #endif

+#ifdef _M_ARM64
+#define FFI_EXTRA_CIF_FIELDS unsigned is_variadic
+#endif
+

(From OE-Core rev: efe8d76810973e7032e729beee106b8acc39b8ed)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-19 10:57:44 +01:00
Ming Liu
4d02faf634 libubootenv: uprev to v0.3
Update libubootenv to the latest 0.3 release, which comprises the
following commits:

```
1efed83 Increase max length for device name
6f4fc1c uboot_env: Use canonicalized pathname when reading device
23b3086 Fix bug introduced by commit 52a70114
ed1a53e Dont store to device if no value changes
4a0a466 Merge pull request #7 from TomzBench/cmake-fix
6117831 Added Coverity badge
49372a1 Fix coverity #293496
69a6819 Fix coverity #293503 and #293507
258bf52 Fix coverity #293501
aa52e61 Fix coverity #293505
52a7011 Fix coverity #293504 and #293506
e822218 Fix coverity #293495 and #293497
23b305f Fix coverity #293499
25ef1f6 Add coverity setup for Travis
41b5188 fixed install for static target, fixed BUILD_DOC acknowledgement
86bd30a Restore ability to feed script file via stdin, using `-s -`.
c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP
f4b9cde Allow negative offsets
45bf92a Detect sector size if not found in config
9f59db6 uboot_env: remove unused variables
65d243e README: libubootenv is now in oe-core
ba952d0 BUG: variable lists not released in close()
690f868 Variables are not removed when loading from file
9e3586a Make sure there's no file descriptor leakage in case of error
03647c4 Check config file defines a non-zero Sector size
3b2d4f1 Check environment size from fw_env.config
879c073 Do not hardcode path for install
d9c639b libubootenv: add pkg-config support
cc628ee libuboot: wrap libuboot in extern "C" for C++
```

Also add u-boot-default-env to RRECOMMENDS since
/etc/u-boot-initial-env is being referred in libubootenv source, and
turns libubootenv's PACKAGE_ARCH to be MACHINE_ARCH since
u-boot-default-env is a machine-arch package.

(From OE-Core rev: 02d55cd35aac15095fc44f0cf8f9e7a71638f485)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Ming Liu
fe80568a88 multilib.conf: add u-boot to NON_MULTILIB_RECIPES
u-boot should be a non multilib recipe, add it in NON_MULTILIB_RECIPES.

(From OE-Core rev: 5e7dc0d68efb2d43bbd5b1be9e6d555fc4456fb6)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Ming Liu
d41805aa5e conf/machine: set UBOOT_MACHINE for qemumips and qemumips64
These machines support booting U-Boot, so set the machine appropriately.

(From OE-Core rev: b812fad85aed6cb9e433c689f3b14425488dfc68)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Khem Raj
a8558cbf7d localedef: Update to include floatn.h fix
Currently localedef-native build fails on older hosts which have glibc
headers without floatn.h this patch created a local file to avoid this
dependency

[YOCTO #14004]

(From OE-Core rev: 8cabd4d25d967289eaea4a2e4b3c837e9c6d2bee)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Denys Dmytriyenko <denys@ti.com>
Cc: Philip Balister <philip@balister.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Khem Raj
b230ee4eaf buildgalculator: Patch to fix build with -fno-common
We need to apply a patch to galculator for it to build with gcc-10+
Remove double definition of 'prefs' variable

(From OE-Core rev: 93a62e6b35d1a6ed3c678f8e27508dd0cdbdbbe4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Khem Raj
a8b4215985 buildcpio.py: Apply patch to fix build with -fno-common
This sed expression implements the needed patch to fix compilation with
-fno-common, hopefully this patch will get included in 2.14 release and
we can remove this operation

(From OE-Core rev: 77b2e00c37c661a502bb47fcbbeb2e71aca5b9ce)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Bruce Ashfield
196e8c6daf linux-yocto/5.4: perf cs-etm: Move definition of 'traceid_list' global variable from header file
Integrating the following commit(s) to linux-yocto/5.4:

    706efec4c1e2 perf cs-etm: Move definition of 'traceid_list' global variable from header file

(From OE-Core rev: 8e1d8c2099f29b45f1e96d4349731db036fb7548)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Bruce Ashfield
7b732da82a linux-yocto/5.4: update to v5.4.58
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    cad17feaf0d0 Linux 5.4.58
    512570b17807 nfsd: Fix NFSv4 READ on RDMA when using readv
    df6aeb5235e9 ima: move APPRAISE_BOOTPARAM dependency on ARCH_POLICY to runtime
    fb264505b395 tcp: apply a floor of 1 for RTT samples from TCP timestamps
    848e15a8c8f6 selftests/net: relax cpu affinity requirement in msg_zerocopy test
    b8f2d34f6bb5 Revert "vxlan: fix tos value before xmit"
    daff7f09f341 openvswitch: Prevent kernel-infoleak in ovs_ct_put_key()
    ba729a97ae54 net: thunderx: use spin_lock_bh in nicvf_set_rx_mode_task()
    786a9368be8c net: gre: recompute gre csum for sctp over gre tunnels
    5d791d36a49b hv_netvsc: do not use VF device if link is down
    3a82f4bfd20a dpaa2-eth: Fix passing zero to 'PTR_ERR' warning
    5a963aa72107 appletalk: Fix atalk_proc_init() return path
    3787b5a3ac67 net: lan78xx: replace bogus endpoint lookup
    31489ed8c20c vxlan: Ensure FDB dump is performed under RCU
    106b415d5139 rxrpc: Fix race between recvmsg and sendmsg on immediate call failure
    6f9354702ca5 net: ethernet: mtk_eth_soc: fix MTU warnings
    bd68177f26e4 ipv6: Fix nexthop refcnt leak when creating ipv6 route info
    89c12bc36262 ipv6: fix memory leaks on IPV6_ADDRFORM path
    9b37a7bcdd8a ipv4: Silence suspicious RCU usage warning
    4913f71e64ab PCI: tegra: Revert tegra124 raw_violation_fixup
    ceff42e6c1fc Revert "powerpc/kasan: Fix shadow pages allocation failure"
    11e64146dc69 xattr: break delegations in {set,remove}xattr
    6059000e145f Drivers: hv: vmbus: Ignore CHANNELMSG_TL_CONNECT_RESULT(23)
    3429579045f1 tools lib traceevent: Fix memory leak in process_dynamic_array_len
    414f10532c14 atm: fix atm_dev refcnt leaks in atmtcp_remove_persistent
    5414f27048e5 igb: reinit_locked() should be called with rtnl_lock
    7c8a863ba3cb cfg80211: check vendor command doit pointer before use
    83ea63708a29 firmware: Fix a reference count leak.
    01fdcb848611 ALSA: hda: fix NULL pointer dereference during suspend
    eb96e4f71f59 net: ethernet: mtk_eth_soc: Always call mtk_gmac0_rgmii_adjust() for mt7623
    fd601f38f59d usb: hso: check for return value in hso_serial_common_create()
    871b5a5a3be9 i2c: slave: add sanity check when unregistering
    fa0195d83a49 i2c: slave: improve sanity check when registering
    4bba72b72c36 drm/drm_fb_helper: fix fbdev with sparc64
    8e6af828a332 nvme-pci: prevent SK hynix PC400 from using Write Zeroes command
    802df1e3f40c drm/nouveau/fbcon: zero-initialise the mode_cmd2 structure
    5955ccb5a46d drm/nouveau/fbcon: fix module unload when fbcon init has failed for some reason
    e0c47a51fc62 net/9p: validate fds in p9_fd_open
    fe6402e0e66c leds: 88pm860x: fix use-after-free on unbind
    3564cddefb5b leds: lm3533: fix use-after-free on unbind
    385c1ae9ddb9 leds: da903x: fix use-after-free on unbind
    bde8f23c030c leds: lm36274: fix use-after-free on unbind
    635f8fcc2ee3 leds: wm831x-status: fix use-after-free on unbind
    9a53e8bd59d9 mtd: properly check all write ioctls for permissions
    8c3215a0426c vgacon: Fix for missing check in scrollback handling
    1ae21e97d5d3 scripts: add dummy report mode to add_namespace.cocci
    5f5fb7cea828 Smack: fix use-after-free in smk_write_relabel_self()
    c5665cafbedd binder: Prevent context manager from incrementing ref 0
    da47eae4e165 omapfb: dss: Fix max fclk divider for omap36xx
    b78763e0a247 Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_with_rssi_evt()
    70d1e884edc4 Bluetooth: Prevent out-of-bounds read in hci_inquiry_result_evt()
    c26eaaf547b7 Bluetooth: Fix slab-out-of-bounds read in hci_extended_inquiry_result_evt()
    a8b8b535c588 Staging: rtl8188eu: rtw_mlme: Fix uninitialized variable authmode
    af707d9d7f44 staging: rtl8712: handle firmware load failure
    6a7626c4798d staging: android: ashmem: Fix lockdep warning for write operation
    4d81a7bdd3b2 ALSA: seq: oss: Serialize ioctls
    3ebdc7b61906 ALSA: hda/ca0132 - Fix AE-5 microphone selection commands.
    b8ce0756b312 ALSA: hda/ca0132 - Fix ZxR Headphone gain control get value.
    87775770635a ALSA: hda/ca0132 - Add new quirk ID for Recon3D.
    1d05ad79e1dd ALSA: hda/realtek: Add alc269/alc662 pin-tables for Loongson-3 laptops
    864468a7a63b Revert "ALSA: hda: call runtime_allow() for all hda controllers"
    e8053c68337e io_uring: Fix use-after-free in io_sq_wq_submit_work()
    a4d61e66ee4a io_uring: prevent re-read of sqe->opcode
    67afa25456d0 usb: xhci: Fix ASMedia ASM1142 DMA addressing
    e7ad225ba4ef usb: xhci: define IDs for various ASMedia host controllers
    7173ac5c07bb USB: iowarrior: fix up report size handling for some devices
    68a2350376b1 perf/core: Fix endless multiplex timer
    aabba1b10075 USB: serial: qcserial: add EM7305 QDL product ID

(From OE-Core rev: 62acf5a876875bf734d53bd526b11b19e7bfcf45)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Richard Purdie
11651de07d lttng-tools: upgrade 2.12.1 -> 2.12.2
Drop patch merged upstream.

(From OE-Core rev: 5df317553cb764ca873bf209bbd2bc8a47296169)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Richard Purdie
482cee03f2 selftest/tinfoil: Increase wait event timeout
We're seeing this on the autobuilder when IO load is high. Increase
the timeout to give this a better chance of working out ok since
there is no particular reason we only need to wait 5s and searching
for files is IO sensitive.

[YOCTO #14001]

(From OE-Core rev: c847ed207795bc03f791ee5a3348fa5860c53e70)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Khem Raj
a8fef8bee7 gcc: Upgrade to 10.2.0
Drop 0036-Enable-CET-in-cross-compiler-if-possible.patch and
pr96130.patch they are already in 10.2

(From OE-Core rev: 35eda14fbdc38ae5e686c2d30a2c1d5569bd3088)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Khem Raj
2d54561f74 kexec-tools: Fix additional duplicate symbols on aarch64/x86_64 builds
Fixes build with -fno-common

(From OE-Core rev: 984740bfd8b655a95065f628a89459ac06086b42)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-18 11:44:55 +01:00
Richard Purdie
7e25a6b4d5 qemu: Upgrade 5.0.0 -> 5.1.0
* Drop backported CVE fixes
* Drop cpu backtrace patch from 2015 for debugging an issue which we no longer see
  (patch throws rejects, files have moved)
* Update mips patch to account for file renames
* Update chardev patch to match upstream code changes
* Update webkitgtk patch, qemumips build works ok but qemux86 musl webkitgtk still
  fails. Need to figure out the correct fix and upstream it for this, current
  revert patch is not maintainable.

Release notes for 5.1.0 mention slight qemumips performance improvements
which would be valuable to us. My tests show no improvement in qemumips
testimage execution time for core-image-sato-sdk.

Fix a ptest issue for a file looking for /usr/bin/bash when we have
/bin/bash.

(From OE-Core rev: 686b770af67fdd2251f4ddab5b0eefc8fb0870ef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-17 08:45:35 +01:00
Chen Qi
1bff01bda9 fribidi: extend CVE_PRODUCT to include fribidi
For example, CVE-2019-18397 uses fribidi instead gnu_fribidi.

(From OE-Core rev: fa5d0f2c61a704436d71e5f02042fa8b2940f541)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15 11:44:20 +01:00
Changqing Li
de11fb92cf gcc-runtime.inc: fix m32 compile fail with x86-64 compiler
configuration:
MACHINE ??= "qemux86-64"
require conf/multilib.conf
MULTILIBS ?= "multilib:lib32"
DEFAULTTUNE_virtclass-multilib-lib32 ?= "core2-32"
IMAGE_INSTALL_append = " packagegroup-core-buildessential lib32-libstdc++ lib32-libstdc++-dev"

m32 compile failed on target:
cmd: gcc -m32 -v test.cpp -o test
output:
GGC heuristics: --param ggc-min-expand=45 --param ggc-min-heapsize=29590
ignoring nonexistent directory "/usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0/x86_64-poky-linux/32"
ignoring nonexistent directory "/usr/lib64/x86_64-poky-linux/10.1.0/include"
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../x86_64-poky-linux/include"
 /usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0
 /usr/lib64/gcc/x86_64-poky-linux/10.1.0/../../../../include/c++/10.1.0/backward
 /usr/lib64/gcc/x86_64-poky-linux/10.1.0/include
 /usr/lib64/gcc/x86_64-poky-linux/10.1.0/include-fixed
 /usr/include
End of search list.
GNU C++14 (GCC) version 10.1.0 (x86_64-poky-linux)
	compiled by GNU C version 10.1.0, GMP version 6.2.0, MPFR version 4.1.0, MPC version 1.1.0, isl version none
GGC heuristics: --param ggc-min-expand=45 --param ggc-min-heapsize=29590
Compiler executable checksum: bc3b2f3a33dad80e30112cf1235bf631
In file included from test.cpp:1:
/usr/include/c++/10.1.0/iostream:38:10: fatal error: bits/c++config.h: No such file or directory
   38 | #include <bits/c++config.h>
      |          ^~~~~~~~~~~~~~~~~~

cannot find header since
/usr/lib64/gcc/x86_64-poky-linux/10.1.0/x86_64-poky-linux/32 is missing

fixed by link it to ../i686-poky-linux

(From OE-Core rev: 509022ea8db314dd9d010a478fd84d0234905c6b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15 11:44:20 +01:00
Adrian Bunk
33f3cf3aae librsvg: Upgrade 2.40.20 -> 2.40.21
This fixes CVE-2019-20446.

(From OE-Core rev: 5c117379dec1e33216fcbaf49d2b6130adf54bc1)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15 11:44:20 +01:00
Jeremy Puhlman
0bdb86b457 gobject-introspection: disable scanner caching in install
do_compile and the wrapper already disable touching the
home cache. Do the same in do_install.

[YOCTO #13970]

(From OE-Core rev: ad4b50ca75b902d217c2ce6ebdf7cad7426fc23f)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15 11:44:20 +01:00
Khem Raj
e95851d966 webkitgtk: Upgrade to 2.28.4
backport a patch from master to fix clang11 build error

(From OE-Core rev: 6d38f23f5c34dfb2a2d28b834b0c35b1f7778f85)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15 11:44:20 +01:00
Richard Purdie
1a801e2354 build-compare: Drop recipe
If we no longer have the packagefeed-stability class, we no longer need
need build-compare as it was the only user of it. Therefore drop
the recipe too.

(From OE-Core rev: d6eb93d7c5c9bb1891527581eb0675c3aee271f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15 11:44:20 +01:00
Richard Purdie
f31ed30c11 packagefeed-stability: Remove as obsolete
This class had great ideas and potential but now we have hash
equivalence and reproducibility, its effectively obsolete.

I'm not aware of any serious use of the class, we certainly don't
get bug reports or patches so remove it and focus on those other
areas.

(From OE-Core rev: a7f7fc07fa9a95bb0294fa4398a0e56e80a7e148)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15 11:44:20 +01:00
Chris Laplante
0e15931688 bitbake: build: print a backtrace with the original metadata locations of Bash shell funcs
Leverage the comments that emit_var writes and the backtrace that
the shell func writes to generate an additional metadata-relative
backtrace. This will help the user troubleshoot shell funcs much
more easily.

Example:

| WARNING: /home/laplante/repos/oe-core/build/tmp-glibc/work/core2-64-oe-linux/libsolv/0.7.14-r0/temp/run.do_compile.68955:171 exit 1 from 'exit 1'
| WARNING: Backtrace (BB generated script):
| 	#1: myclass_do_something, /home/laplante/repos/oe-core/build/tmp-glibc/work/core2-64-oe-linux/libsolv/0.7.14-r0/temp/run.do_compile.68955, line 171
| 	#2: do_something, /home/laplante/repos/oe-core/build/tmp-glibc/work/core2-64-oe-linux/libsolv/0.7.14-r0/temp/run.do_compile.68955, line 166
| 	#3: actually_fail, /home/laplante/repos/oe-core/build/tmp-glibc/work/core2-64-oe-linux/libsolv/0.7.14-r0/temp/run.do_compile.68955, line 153
| 	#4: my_compile_extra, /home/laplante/repos/oe-core/build/tmp-glibc/work/core2-64-oe-linux/libsolv/0.7.14-r0/temp/run.do_compile.68955, line 155
| 	#5: do_compile, /home/laplante/repos/oe-core/build/tmp-glibc/work/core2-64-oe-linux/libsolv/0.7.14-r0/temp/run.do_compile.68955, line 141
| 	#6: main, /home/laplante/repos/oe-core/build/tmp-glibc/work/core2-64-oe-linux/libsolv/0.7.14-r0/temp/run.do_compile.68955, line 184
|
| Backtrace (metadata-relative locations):
| 	#1: myclass_do_something, /home/laplante/repos/oe-core/meta/classes/myclass.bbclass, line 2
| 	#2: do_something, autogenerated, line 2
| 	#3: actually_fail, /home/laplante/repos/oe-core/meta/recipes-extended/libsolv/libsolv_0.7.14.bb, line 36
| 	#4: my_compile_extra, /home/laplante/repos/oe-core/meta/recipes-extended/libsolv/libsolv_0.7.14.bb, line 38
| 	#5: do_compile, autogenerated, line 3
ERROR: Task (/home/laplante/repos/oe-core/meta/recipes-extended/libsolv/libsolv_0.7.14.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 542 tasks of which 541 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/laplante/repos/oe-core/meta/recipes-extended/libsolv/libsolv_0.7.14.bb:do_compile
Summary: There was 1 ERROR message shown, returning a non-zero exit code.

(Bitbake rev: ae1aa4ea79826c32b20e1e7abdf77a15b601c6f2)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15 11:44:20 +01:00
Chris Laplante
b1cd7723c4 bitbake: build: print a backtrace when a Bash shell function fails
The trick here is to use a DEBUG trap to record the line
number of each command as they execute. This is so we
can report the real line number of the failing command,
which is otherwise not possible in a Bash EXIT trap. See
http://gnu-bash.2382.n7.nabble.com/trap-echo-quot-trap-exit-on-LINENO-quot-EXIT-gt-wrong-linenumber-td3666.html

(Bitbake rev: 8366e2ad5fdad3972766b40b23188908330067ee)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-15 11:44:20 +01:00
Joshua Watt
bd1da2aca0 perl: Add check for non-arch Storable.pm file
Under unknown conditions, Storable.pm will be placed in the base library
directory instead of under the arch specific one. This causes build
issues, see https://bugzilla.yoctoproject.org/show_bug.cgi?id=13946. To
try and catch this happening, add an explicit check for the bad file
existing and fail the build if it is found.

[YOCTO #13946]

(From OE-Core rev: 140ec7b71b71a23ebeae12c63ed1c1ac2c227097)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 14:49:42 +01:00
Chandana kalluri
8731b9879c qemu.inc: Use virtual/libgl instead of mesa
Use virtual/libgl instead of mesa within the recipes to provide users the
flexibility to specify providers other than mesa.

(From OE-Core rev: ddbe09b0f9861fe3012611b5a5298eb4d7c4df45)

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:01 +01:00
Bruce Ashfield
fc2b9f7f99 kernel-devsrc: 5.8 + gcc10 require gcc-plugins + libmpc-dev
In order to execute 'make scripts prepare' on target with the
5.8 kernel and gcc 10, we need to have the gcc-plugins and
libmpc-dev on target.

Although not strictly required for all kernel versions, they
don't do any harm when included.

We add them to the RDEPENDS of devsrc to avoid the errors:

   scripts/gcc-plugins/gcc-common.h:5:10: fatal error: bversion.h: No such
   file or directory
   | #include "bversion.h"

and

   /usr/lib/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/builtins.h:23:10:
     fatal error: mpc.h: No such file or directory

(From OE-Core rev: a69746351029a878d4d41baeb3f679d65118d5e3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Bruce Ashfield
84daf88c9c kernel-devsrc: fix on target modules prepare for ARM
The arm compiler and linker weren't matching the replacement
regex's in devsrc. We make the expressions a bit more generic
to catch the triplets for ARM.

(From OE-Core rev: 36b848118fc4963118c96b0c3211e7ee017790eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Bruce Ashfield
b866a973ac make-mod-scripts: add HOSTCXX definitions and gmp-native dependency
With kernel v5.8+ and gcc10 plugins, we can run into the following build error:

      HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o
    In file included from
    /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/gcc-plugin.h:28,
                     from
    /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/gcc-common.h:7,
                     from
    /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work-shared/qemuarm/kernel-source/scripts/gcc-plugins/arm_ssp_per_task_plugin.c:3:
    /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/qemuarm-poky-linux-gnueabi/make-mod-scripts/1.0-r0/recipe-sysroot-native/usr/bin/arm-poky-linux-gnueabi/../../lib/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/10.1.0/plugin/include/system.h:687:10:
    fatal error: gmp.h: No such file or directory
      687 | #include <gmp.h>
          |          ^~~~~~~

(From OE-Core rev: cb055446e0fe4771c8bd6122e79d43ef8db2e45b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Bruce Ashfield
095175595d kernel-yocto: split meta data gathering into patch and config phases
do_kernel_metadata gathers and sanitizes the meta-data that is used
in later steps of the kernel-yocto build process. The processing
takes the form of configuration and patch gathering.

The current single pass of both config and patch gathering means
that patches can't modify in-tree configuration elements (although
this makes tracing configuration changes harder, it is a valid
workflow).

We can divide the routine into a patch and configuration phase, and
call the config variant after patching is done. This keeps the
common parts of the gahering intact, but allows us flexibilty in
when the stages happen.

(From OE-Core rev: 004da4c6c6029bb2bdcea6da8afa70368ddd1bca)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Bruce Ashfield
c74b763e04 kernel-yocto: make # is not set matching more precise
Integrating the following commit:

    symbol_why: tighten 'is not set' matching

    Commented lines that contained CONFIG_FOO ... were being picked up
    as option lines and reported as invalid.

    We make the regex more explicit and only match on spaces before
    CONFIG_ to declare if a 'is not set' line is invalid.

(From OE-Core rev: 63c8681e6bf763800e797f6d37f2f133abb7a0e8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Bruce Ashfield
17798a89ad kernel-yocto: set cwd before querying the meta data dir
To aid classifying options and streamling reports, fragments
and classification info are consolidated into a kernel meta
directory.

The name of the meta directory is (somewhat) flexible, and hence
is queried by the tools and created if it doesn't exist.

The recent enhancements to the .config auditing introduced a
new query for the meta directory, but isn't being run in the
kernel's source directory .. and is hence creating an unwanted
file in $TOPDIR. We set the kernel source directory as the cwd
for the call, and everything goes back to where it belongs.

(From OE-Core rev: 36f95f5e22cb4858c927f2a5a3bfeae630a41f1d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Zhang Qiang
d23cfcf727 kernel.bbclass: Configuration for environment with HOSTCXX
When compiling xilinx-zynq board linux-kernel-dev(v5.8) if
"GCC_PLUGINS=y", The following error will appear:

"HOSTCXX -fPIC scripts/gcc-plugins/arm_ssp_per_task_plugin.o
fatal error: gmp.h: No such file or directory"

the GCC_PLUGINS depend on return result of gcc-plugin.sh execution
however in gcc-plugin.sh use HOSTCC to detect the feature of GNU
extension of gcc, this will result that HOSTCC can compile the file
successfully, but HOSTCXX is used in the actual compilation process.

(From OE-Core rev: 740d87766cb87f75c477666d97cb0480c10217f4)

Signed-off-by: Zhang Qiang <qiang.zhang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Bruce Ashfield
2323531c10 linux-yocto/5.4: update to v5.4.57
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    d9939285fc81 Linux 5.4.57
    ca7ace8fd26d bpf: sockmap: Require attach_bpf_fd when detaching a program
    9fe975acb53f selftests: bpf: Fix detach from sockmap tests
    c77610435355 ext4: fix direct I/O read error
    6330b0cb2ace arm64: Workaround circular dependency in pointer_auth.h
    f06d60ff794a random32: move the pseudo-random 32-bit definitions to prandom.h
    c131009987f2 random32: remove net_rand_state from the latent entropy gcc plugin
    7471f3228e7a random: fix circular include dependency on arm64 after addition of percpu.h
    50bf89625bba ARM: percpu.h: fix build error
    c15a77bdda2c random32: update the net random state on interrupt and activity

(From OE-Core rev: 00ea26a7e535c70998a5b9228185403e3f440042)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Bruce Ashfield
70231e3230 linux-yocto/5.4: update to v5.4.56
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    1b940bbc5c55 Linux 5.4.56
    df35e878d0a5 perf bench: Share some global variables to fix build with gcc 10
    702d1b287fd2 perf env: Do not return pointers to local variables
    73d2d6b421df perf tests bp_account: Make global variable static
    39568546706f x86/i8259: Use printk_deferred() to prevent deadlock
    01ac46c6baf0 KVM: LAPIC: Prevent setting the tscdeadline timer if the lapic is hw disabled
    fd412846a6ec KVM: arm64: Don't inherit exec permission across page-table levels
    1aff51292ee8 drivers/net/wan: lapb: Corrected the usage of skb_cow
    f88c909dc28c RISC-V: Set maximum number of mapped pages correctly
    e3043abb5baa xen-netfront: fix potential deadlock in xennet_remove()
    a7b488d65d39 cxgb4: add missing release on skb in uld_send()
    5f4e6b874b57 x86/stacktrace: Fix reliable check for empty user task stacks
    32344d2993b0 x86/unwind/orc: Fix ORC for newly forked tasks
    a14d6a9ddf33 Revert "i2c: cadence: Fix the hold bit setting"
    df366abb9c8f net: ethernet: ravb: exit if re-initialization fails in tx timeout
    ac7c3b8f34ec parisc: add support for cmpxchg on u8 pointers
    a0ba41317c89 scsi: core: Run queue in case of I/O resource contention failure
    0ac155dcf048 nfc: s3fwrn5: add missing release on skb in s3fwrn5_recv_frame
    50c5f89637bc selftests: net: ip_defrag: modprobe missing nf_defrag_ipv6 support
    78c7532b80c6 qed: Disable "MFW indication via attention" SPAM every 5 minutes
    6e4620df9cbc selftests: fib_nexthop_multiprefix: fix cleanup() netns deletion
    5b235c1d9022 usb: hso: Fix debug compile warning on sparc32
    cac2b7ad0915 vxlan: fix memleak of fdb
    1df0000b30cd perf tools: Fix record failure when mixed with ARM SPE event
    568995fb61e7 net/mlx5e: fix bpf_prog reference count leaks in mlx5e_alloc_rq
    e68b7b9b03fb net: gemini: Fix missing clk_disable_unprepare() in error path of gemini_ethernet_port_probe()
    1158aa743a0b net: nixge: fix potential memory leak in nixge_probe()
    9acd96f14a49 Bluetooth: fix kernel oops in store_pending_adv_report
    3bb2f52ad9e7 arm64: csum: Fix handling of bad packets
    8a90b436a0c9 arm64/alternatives: move length validation inside the subsection
    4a50753aacb5 mac80211: mesh: Free pending skb when destroying a mpath
    3f15e3e62c80 mac80211: mesh: Free ie data when leaving mesh
    fe58e3dd6e11 bpf: Fix map leak in HASH_OF_MAPS map
    43c390b751ba ibmvnic: Fix IRQ mapping disposal in error path
    ea559138b331 mlxsw: core: Free EMAD transactions using kfree_rcu()
    57f498ced731 mlxsw: core: Increase scope of RCU read-side critical section
    0f424eda4705 mlx4: disable device on shutdown
    c3883876d3f1 rhashtable: Fix unprotected RCU dereference in __rht_ptr
    b1d629d32910 net: lan78xx: fix transfer-buffer memory leak
    9db3040eb952 net: lan78xx: add missing endpoint sanity check
    32ec4441cca1 net/mlx5e: Fix kernel crash when setting vf VLANID on a VF dev
    475cbcef491a net/mlx5e: Modify uplink state on interface up/down
    43608372b84d net/mlx5: Verify Hardware supports requested ptp function on a given pin
    8901896f69d4 net/mlx5e: Fix error path of device attach
    00bedd730d1f net/mlx5: E-switch, Destroy TSAR when fail to enable the mode
    d70f9a3cc32c net: hns3: fix aRFS FD rules leftover after add a user FD rule
    475b8d619268 net: hns3: fix a TX timeout issue
    5fc02e8d1bfd sh: Fix validation of system call number
    2f2674997dfb sh/tlb: Fix PGTABLE_LEVELS > 2
    222dbeca05fb selftests/net: so_txtime: fix clang issues for target arch PowerPC
    d817b2c8d3cf selftests/net: psock_fanout: fix clang issues for target arch PowerPC
    22f84cce9527 selftests/net: rxtimestamp: fix clang issues for target arch PowerPC
    831c904a0f68 nvme-tcp: fix possible hang waiting for icresp response
    9a1d0084cbe1 ARM: dts: armada-38x: fix NETA lockup when repeatedly switching speeds
    731e013e33b3 xfrm: Fix crash when the hold queue is used.
    a4c902887f1d ARM: dts sunxi: Relax a bit the CMA pool allocation range
    0307da686660 xfrm: policy: match with both mark and mask on user interfaces
    bbb13adb07af net/x25: Fix null-ptr-deref in x25_disconnect
    69cd304cfa5c net/x25: Fix x25_neigh refcnt leak when x25 disconnect
    c2fd34d43110 libtraceevent: Fix build with binutils 2.35
    2ec69499b758 rds: Prevent kernel-infoleak in rds_notify_queue_get()
    6a9428427da1 drm: hold gem reference until object is no longer accessed
    7eef3b463d88 drm/dbi: Fix SPI Type 1 (9-bit) transfer
    8ea180f1c7ec drm/amdgpu: Prevent kernel-infoleak in amdgpu_info_ioctl()
    f1b4bdde2bdc drm/amd/display: Clear dm_state for fast updates
    22d3202e51a7 Revert "drm/amdgpu: Fix NULL dereference in dpm sysfs handlers"
    cea6633d5382 virtio_balloon: fix up endian-ness for free cmd id
    c2f787f904e0 ARM: dts: imx6qdl-icore: Fix OTG_ID pin and sdcard detect
    b9274613114a ARM: dts: imx6sx-sdb: Fix the phy-mode on fec2
    c4738c67a569 ARM: dts: imx6sx-sabreauto: Fix the phy-mode on fec2
    3b7e4a5ba95d ARM: 8986/1: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
    b8fa0b037047 wireless: Use offsetof instead of custom macro.
    d3472f74d229 9p/trans_fd: Fix concurrency del of req_list in p9_fd_cancelled/p9_read_work
    96f105943cff vhost/scsi: fix up req type endian-ness
    951117a2079b IB/rdmavt: Fix RQ counting issues causing use of an invalid RWQE
    dc731d262811 ALSA: hda/hdmi: Fix keep_power assignment for non-component devices
    6a67b05c6f30 ALSA: hda/realtek - Fixed HP right speaker no sound
    09832a9e0b76 ALSA: hda/realtek: Fix add a "ultra_low_power" function for intel reference board (alc256)
    e9f147c937a5 ALSA: hda/realtek: typo_fix: enable headset mic of ASUS ROG Zephyrus G14(GA401) series with ALC289
    cd76d30f51fb ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G15(GA502) series with ALC289
    6d84a8cf8a02 ALSA: usb-audio: Add implicit feedback quirk for SSL2
    47e20933814f mm/filemap.c: don't bother dropping mmap_sem for zero size readahead
    140210554274 PCI/ASPM: Disable ASPM on ASMedia ASM1083/1085 PCIe-to-PCI bridge
    2ff65580d477 ath10k: enable transmit data ack RSSI for QCA9884
    98cef10fbcca sunrpc: check that domain table is empty at module unload.
    84da97713b91 media: rc: prevent memory leak in cx23888_ir_probe
    ecfa7fa198fc crypto: ccp - Release all allocated memory if sha type is invalid
    169b93899c7d Linux 5.4.55
    909dbf09cd01 Revert "dpaa_eth: fix usage as DSA master, try 3"
    4918285a6c7d PM: wakeup: Show statistics for deleted wakeup sources again
    59242fa1d2ba regmap: debugfs: check count when read regmap file
    df89c1ee034c udp: Improve load balancing for SO_REUSEPORT.
    6735c126d272 udp: Copy has_conns in reuseport_grow().
    86512c6938a9 sctp: shrink stream outq when fails to do addstream reconf
    46e7c7efc30d sctp: shrink stream outq only when new outcnt < old outcnt
    bbf6af4a938a AX.25: Prevent integer overflows in connect and sendmsg
    182ffc66456b tcp: allow at most one TLP probe per flight
    e2f904fd79a0 rxrpc: Fix sendmsg() returning EPIPE due to recvmsg() returning ENODATA
    01c928350641 rtnetlink: Fix memory(net_device) leak when ->newlink fails
    b7d3d6df72a8 qrtr: orphan socket in qrtr_release()
    2bf797a8691a net: udp: Fix wrong clean up for IS_UDPLITE macro
    274b40b6df6c net-sysfs: add a newline when printing 'tx_timeout' by sysfs
    8d9f13dd400c ip6_gre: fix null-ptr-deref in ip6gre_init_net()
    fbcd85cd11de drivers/net/wan/x25_asy: Fix to make it work
    d109acd58052 dev: Defer free of skbs in flush_backlog
    52aeeec1a635 AX.25: Prevent out-of-bounds read in ax25_sendmsg()
    2f1624faf647 AX.25: Fix out-of-bounds read in ax25_connect()

(From OE-Core rev: a9b3ecf377a1c01979311dc7082c401c957ca6ff)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Bruce Ashfield
eccfc1f5a5 linux-yocto-rt/5.4: update to rt32
Integrating the following commit(s) to linux-yocto/5.4:

    2739bdb0bfa0 Linux 5.4.54-rt32
    0124e412ea96 Linux 5.4.52-rt31
    d85676a72421 Linux 5.4.49-rt30
    72bbd8083a44 Linux 5.4.48-rt29

(From OE-Core rev: b21783c173594e5dac3c437e290b26643382c2e9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Oleksandr Kravchuk
a00c64d320 python3-setuptools: update to 49.3.1
(From OE-Core rev: a2abc8cfd9aedcd541443d02a8dcc28de711c2ba)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Richard Purdie
2976f43c22 bitbake: server/process: Add extra logfile flushing
There is the possibility data is being lost from the logfile due to
data buffering. Add in a couple of extra flush calls to ensure data
is being written out before the lock file is dropped.

Possible fix for [YOCTO #14000]?

(Bitbake rev: 596ea229a87d26a8e970c7ee77179519ad081fef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Richard Purdie
b4919c7ad7 bitbake: server/process: Pass timeout/xmlrpc parameters directly to the server
Further cleanup, just pass these settings directly.

(Bitbake rev: ac2284357f1fc7044dac9c146fad218fc9906412)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Richard Purdie
a3448ad15e bitbake: server/process: Simplfy idle callback handler function
Having the idle callbacks abstracted via the configuration object
makes no sense. Its like this for historical reasons from the
multiple server backends but we don't need this now so simplfy.

(Bitbake rev: e56c49717355c9493b07d5fc80981a95ad8a0ec8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Richard Purdie
0c91113c07 bitbake: server/process: Remove pointless process forking
We already call bb.daemonize.createDaemon() in BitBakeServer so the extra
multiprocessing.Process() appears to be totally unneeded and just an extra layer
of forking which confuses things. Remove it.

(Bitbake rev: d214e55c45f9733b3289138feec0ae3361a4a48b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-13 08:07:00 +01:00
Alistair Francis
e5d9d71b47 binutils: Remove RISC-V PIE patch
Remove the out of tree patch that is trying to address a PIE issue. This
patch causes RISC-V applications to seg fault when running
_dl_relocate_object.

This fixes: https://github.com/riscv/meta-riscv/issues/236

(From OE-Core rev: 6360aed9dcde419134af169c2f3d91cae24c8bc5)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-12 10:51:46 +01:00
Ross Burton
65a2323431 gcc: backport a fix for out-of-line atomics on aarch64
(From OE-Core rev: ce99eb6b042cb36f5c07461fff7f49719550a955)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-12 10:51:46 +01:00
Khem Raj
528bdfc860 go: Upgrade to 1.14.7
CVE_CHECK_WHITELIST += "CVE-2020-16845"

(From OE-Core rev: 91580c9d335e0fbee95f94be6f9b34298d3e9a48)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-12 10:51:46 +01:00
Richard Purdie
883b4377f8 gcr: Fix patch Upstream-Status from v2 patch
(From OE-Core rev: ea75203b6c2b8c5ad36a604a84b194c6f81313b3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11 20:37:19 +01:00
Richard Purdie
7e658aebed maintainers: Update entries for Mark Hatle
db/rpm/depmodwrapper-cross no longer have a maintainer, update his
address on prelink. I take pseudo since I'm doing the work there
in the absence of anyone else.

(From OE-Core rev: 0aba2a78ed9a51bf71d9180352518764386454ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11 20:35:39 +01:00
Joe Slater
75a5e8ad05 gcr: make sure gcr-oids.h is generated
Backport, without modification, a patch from mainline after
gcr-3-36 branch created.

(From OE-Core rev: b281dcb199552247b6f0d0b03d0e64af9683ff3f)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11 20:35:39 +01:00
Nathan Rossi
56fd64447c python3-manifest.json: Updates
- Regenerate using create_manifest
- Fix up some indentation compared to generated
- Add "secrets" module into netclient package (introduced in 3.6)
- Move "urllib" python package into core package, it is used more
  commonly than just netclient (e.g. email, xml, mimetypes, pydoc)
- Update compression package dependencies due to some modules moving
  into core package
- Update dependencies due to improvements to get_module_deps handling
  modules of a python package (e.g. ctypes.utils)

(From OE-Core rev: 892a8fb85a986a65e9ebef368ddab15068fb6d92)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11 20:35:39 +01:00
Nathan Rossi
dc74b6e8d5 python3: Improve handling of python3 manifest generation
Specifically cover detection of modules within a python package that do
not import anything within their __init__.py. This is at least the case
with the xmlrpc package which is only used via its modules xmlrpc.server
and xmlrpc.client. Other important corner cases include ctypes.utils
which depends on some modules not used by ctypes.

This is implemented by generally assuming that importing all the modules
of a package (aka *.py within a package, excluding _*.py) will provide
enough information.

Also due to this change some modules import sysconfig, resulting in
sysconfigdata being imported. Handle the conversion of its path to a
wildcard based on the platform dependent name being replaced.

(From OE-Core rev: bef4be54e02df5f230d250487f85994a3b7bbd77)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11 20:35:39 +01:00
Chen Qi
98549fd68c runqemu: fix permission check of /dev/vhost-net
The code should check /dev/vhost-net instead of /dev/kvm. And
the permission check logically belongs to the part when kvm-vhost
is enabled. Also fix the URL to point to the correct wiki page.

(From OE-Core rev: 53bdf2d20077921bdf83641c365d60d85174f5b5)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-11 20:35:39 +01:00
Nathan Rossi
9e2c0e57df cmake.bbclass: Rework compiler program variables for allarch
CMake projects can specify the NONE project type. Projects that do this
do not use any C or C++ compiler, this currently works fine with caveat
that when changing the machine/arch the compiler is different causing
signature hash differences.

To avoid the signature hash differences clear the associated C/CXX
compiler variables. In order to achieve this with overrides, simplify
the existing construction of the values using a python function and
variable setting and remove the anonymous variable setup.

(From OE-Core rev: e0657ff13453deedbdcf7c2f8a8854f601c659bd)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-10 18:14:59 +01:00
Nathan Rossi
e4f6ea6811 libexif: Enable native and nativesdk
(From OE-Core rev: 66b50021c1f5db65d2bbf45b11b4d7c2eb47cd1b)

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-10 18:14:59 +01:00
Alexander Kanavin
a06e5ac221 libhandy: upstream has moved to gnome
(From OE-Core rev: dccb7dd6dcc092b35f6665bd4dc9aee1378b599e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-10 18:14:59 +01:00
Chris Laplante
f664ecb910 bitbake: data: emit filename/lineno information for shell functions
Make it easier for users to debug shell task failure by including
some breadcrumbs in the emitted .run file that (hopefully) points
to the .bb/.bbclass file where the shell function was defined.

Unfortunately this won't work with functions with _append
or _prepends, since BitBake wipes the filename/lineno information.
This shouldn't be too hard to fix; for now, you'll just see
comments like this for such functions:

[YOCTO #7877]

(Bitbake rev: 9747211cbb45401cbf4dd0409e9c80c648a178c6)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:19:34 +01:00
Chris Laplante
1752a47664 bitbake: tests/color: add test suite for ANSI color code filtering
Includes tests for bb.progress integration.

(Bitbake rev: c472a8da521cc7f1d61ac2f28596167d47ab8a5a)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:19:34 +01:00
Chris Laplante
5a80602564 bitbake: progress: filter ANSI escape codes before looking for progress text
This is in prepartion for introducing the log-colorizer bbclass into poky.

(Bitbake rev: 889a873d71a6543efb71a0eb4ea6632c9f17175d)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:19:34 +01:00
Chris Laplante
9b41300d47 bitbake: progress: fix hypothetical NameError if 'progress' isn't set
(Bitbake rev: ff821022ef1fdf05482590d8e4fe003abf227135)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:19:34 +01:00
Chris Laplante
e4e6756308 bitbake: progress: modernize syntax, format
Also fixes DummyMultiStageProcessProgressReporter calling the wrong super __init__

(Bitbake rev: 7a1b4a7e4fffe54afe8d1d7e169ff558ad8c92d9)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:19:34 +01:00
Usama Arif
6f9d4614e9 ref-manual: Add documentation for kernel-fitimage
This documents kernel-fitimage.bbclass as well as
the variables that are required to use the class
to create a FIT image.

(From yocto-docs rev: 3aeca3b342e5be92be562f6dea6b71390c31b636)

Signed-off-by: Usama Arif <usama.arif@arm.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:18:12 +01:00
Khem Raj
392c117e7a glibc: Upgrade to 2.32 release
Drop 0001-localedef-Add-hardlink-resolver-to-build.patch as its applied
to localedef upstream

Drop CVE patches which are already part of 2.32 release

Drop unused attribute patch as its fixed differently in 2.32

Add a patch to mitigate the sideffect of [1] for ppc which detect wrong
cpu in OE since we are cross compiling

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=146fea07640387c78e334933de24b6353e1f0eba

(From OE-Core rev: fe3d5136ef02721f9bbe01d98c1743b8dbcb69c5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:49 +01:00
Alex Kiernan
470c58ba45 systemd: Upgrade v245.6 -> v246
Drop backport of CVE-2020-13776 (merged upstream), refresh
0001-binfmt-Don-t-install-dependency-links-at-install-tim.patch. Refresh
musl patches for v246.

Commits:

  ae366f3acb NEWS: last rites
  cae1e8fb88 loop-device: implicitly sync device on detach
  3660da17b0 Merge pull request #16624 from keszybz/timesync-retry-interval
  e7e954243a udev: fix codesonar warnings
  b67ec8e5b2 pid1: stop limiting size of /dev/shm
  2f2c60d7fe path-util: make use of TAKE_PTR() where we can
  b6eb208b29 hwdb: Add EliteBook to use micmute hotkey
  c8f3d7672c repart: log fixes
  5919bd3df3 timesync: increase retry interval more slowly
  8588146f69 added alternative version of SurfTab Twin
  2ac7eec3b5 network: fix use of uninitialized value
  b209cff2ad network: Fix "Unknown section 'DHCPv6PrefixDelegation'." message
  c05b8edde0 NEWS: mention about [DHCPv6PrefixDelegation] section
  dd57cf6444 meson: run 'ninja man/update-man-rules' again
  6b222c4b02 man: fix link markup
  0cfb490fe9 Merge pull request #16585 from yuwata/network-dhcp6-fixes
  ee56c072b9 Merge pull request #16590 from keszybz/test-fs-util-relax
  f8528230b3 Merge pull request #16576 from keszybz/bump-tmp-size
  b1d666ac58 test-cgroup-util: Handle result=NULL as empty string
  f649325ba7 firstboot: Update help string with --root-shell options
  c550cb7f8c test-sleep: add more logging, show secure boot mode
  02e1eb6d02 NEWS: mention new tmpfs limits
  362a55fc14 Bump /tmp size back to 50% of RAM
  99e015e28c network: rename settings about DHCPv6 Prefix Delegation
  61c0ef4ff3 network: make RADVPrefixDelegation enum bitfield
  ea121d8f25 network: update address infomation even if link is in failed or linger state
  e55265184b network: do not assume static addresses are configured
  15797d6a2b network: check at least one dynamic address is assigned when DHCP is enabled
  1633c45731 network: dhcp6: drop addresses and delegated prefixes on client stop
  1c09d84e42 network: rename ipv4ll_address -> ipv4ll_address_configured
  b0b9776656 network: ndisc: also remove old DNSSL or RDNSS records after an SLAAC address is ready
  69203fba70 network: ndisc: remove old addresses and routes after at least one SLAAC address becomes ready
  6e537f62d7 network: dhcp4: release old lease after the new address become ready
  80b0e86084 network: make address/route_configure optionally return created Address/Route object
  8eec0b9da5 network: set key destructor in several hash_ops
  5f58af25e6 network: make link_check_ready() return earlier if the link is not in 'configuring' state
  3336e946da network: ndisc: do not set configured flags when addresses or routes are not assigned yet
  5d8c3ec1e9 network: make link enter failed state if address_update() failed
  97f000744f network: introduce callback called when an address becomes ready
  c9d223e803 test-network: add tests for prefix routes
  3606ca659e network: add debug log for configuring address
  c21ed6812e test-ndisc-rs: increase timeouts
  500727c220 test-path: increase timeout
  933ab8199d test-fs-util: do not assume /dev is always real
  31363bd564 firstboot: Check if the given shell exists
  97efde65d8 network: radv: Send RA on newly-added dynamic prefix
  c8f12abc73 Fix clang-11 issues
  116d6d2965 catalog: update Polish translation
  f527c6fa08 resolvectl: fix older resolved or networkd support to set DNS servers
  e128723dae Merge pull request #16566 from poettering/nspawn-osrelease-fixes
  a8bd4bab75 Merge pull request #16567 from keszybz/more-news
  199a892218 selinux: handle getcon_raw producing a NULL pointer, despite returning 0
  d05f7b5007 semaphoreci: update Debian release to bullseye
  38821a0e29 update TODO
  d64e32c245 nspawn: rework how /run/host/ is set up
  62b0ee9eb1 portabled: update host's os-release path
  98aac2ad5a doc: update os-release spec with new path for container host's file
  549719699c NEWS: fix typo in path
  d130181fd8 nspawn: add missing spdx header
  e9769453e3 Merge pull request #16561 from yuwata/test-ordered-set
  8047ac8fdc core: clean more env vars from env block pid1 receives
  337f0b0094 NEWS: reorder entries a bit and add a few items
  8b25484af3 NEWS: update contributors list for v246-pre
  c015d657ec hwdb: update again for v246
  b226422cd7 firstboot: don't create /etc/passwd with mode 000
  2a2e78e969 nspawn: fix MS_SHARED mount propagation for userns containers
  fe224669fb Update mkosi.ubuntu to 'focal'
  6f5d73aba6 network: compare with peer address if it is specified
  01b92946c5 Merge pull request #16532 from yuwata/network-sync-state-file
  d4fa0493a7 test-ordered-set: add a case where we get 0 for duplicate entries
  5cf821acf8 man: do not say that isolate is like switching runlevels
  402e1e699f Merge pull request #16557 from keszybz/two-ci-fixes
  2645d4bcc1 test: clarify that ordered_set_put() returns -EEXIST if entry is duplicated
  0390b094f5 meson: do not choke on time epoch when there are no git tags
  960a64691f semaphore: pull in tree explicitly
  495454f40f update NEWS
  82ff544160 Merge pull request #16496 from DaanDeMeyer/firstboot-shell
  bd190899bb Get SOURCE_EPOCH from the latest git tag instead of NEWS
  00b868e857 Merge pull request #16542 from keszybz/make-targets-fail-again
  c3f8a065e9 execute: take ownership of more fields in ExecParameters
  28900a1bfe firstboot: Add --root-shell option
  c4a53ebf7a firstboot: Tighten up passwd/shadow handling
  94d1ddbd7c pid1: target units can fail through dependencies
  74c8e3c4e0 Revert "units: drop OnFailure= from .target units"
  771b52427a core/job: adjust whitespace and comment
  7f8c1e95a5 test-network: add test for duplicated IPv6Token=
  2c62149509 network: ndisc: ignore duplicated IPv6Token=
  92ee90af47 network: ndisc: do not store duplicated data in Set
  3bb4126262 Merge pull request #16536 from poettering/time-clock-map-fixes
  3dbd8a15d5 util: use IN6_ARE_ADDR_EQUAL() macro
  f91b234077 test-network: drop unnecessary sleep() in NetworkdStateFileTests.test_state_file
  1b14222124 network: make bus methods sync link state file
  c2a6595014 network: introduce link_save_and_clean()
  f281fc1e95 tree-wide: use siphash24_compress_string() where it is applicable
  1c568d65ac util: introduce siphash24_compress_string()
  6c04fccb1d util: make siphash24_compress_boolean() inline
  e3643b00a8 test-path: decrease variable scope
  8f8c7801e9 test: increase timeout for test-path
  2859bb932b Merge pull request #16530 from yuwata/udev-fix-race-in-renaming-network-interface
  63fdaa36c5 Merge pull request #16407 from bluca/verity_reuse
  8fa2cd83c6 Revert "man: add note about systemd-vconsole-setup.service and tty as input/output"
  2aa5a13aa9 test: adapt test-functions for SUSE
  f25e9eda52 Merge pull request #16514 from keszybz/zstd-decompress-fix
  b876b07812 Merge pull request #16540 from poettering/acl-fix
  ac1f3ad05f verity: re-use already open devices if the hashes match
  536879480a dm-util: use CRYPT_DEACTIVATE_DEFERRED instead of ioctl
  d81be4e752 coredump: port to use common add_acls_for_user()
  2ea6247e01 acl-util: fix error handling in add_acls_for_user()
  002674387c offline-passwd: use chase_symlinks()
  628db21130 update TODO
  0da322d9a4 man: update docs with the new functions and other enhancements
  7cbb7d62c6 homectl: fix warning about unused function
  06847d0fba TODO: add entry for XZ
  e4a321fc08 journal/compress: remove loop in decompress_startswith_zstd()
  a24153279e journal/compress: fix zstd decompression with capped output size
  b4a11ca3f2 journal: use -EPROTONOSUPPORT for unknown compression
  76cbafcdd4 sd-journal: when enumerating, continue even after an inaccessible field
  04dffc0add user-util: indentation fix
  58afc4f8e4 core: don't acquire dual timestamp needlessly if we don't need it in .timer handling
  d3926f9a46 test: add basic test for clock mapping
  7c0eb30e32 time-util: rework clock conversion logic
  4c967576da update NEWS
  6456dafa12 Merge pull request #16504 from poettering/read-file-ipc
  c400d040ce import: always prefer GNU tar, to avoid cmdline incompatibilities
  3177b9270c fileio: add brief explanations for flags
  49f16281c9 tree-wide: use READ_FULL_FILE_CONNECT_SOCKET at various places
  c668aa8b35 fileio: allow to read base64/hex data as strings
  b93d3f6b81 fileio: add support for read_full_file() on AF_UNIX stream sockets
  f294470262 fileio: add explicit flag for generating world executable warning when reading file
  2e3e2750bb Merge pull request #16519 from yuwata/networkctl-altnames
  739b9a4354 Merge pull request #16353 from yuwata/network-dns-sni
  28266c446a udev: drop unnecessary checks
  ae353ec2f6 udev: save ID_RENAMING= property to database before renaming network interface
  1cdea1a2f7 network: update one log message
  08de6f945d test: run systemd-dissect and systemd-run with log level debug in TEST-50-DISSECT
  3a978b30cd logind: Fix org.freedesktop.login1.set-reboot-to-boot-loader-menu saving to the wrong file in the non EFI case
  ddbab78f9a bus: use bus_log_connect_error to print error message
  711dd5db9e man: update explanation about the format to specify DNS servers
  a574b7d152 resolvectl: use bus_message_read_in_addr_auto()
  7695e2cbbe network, resolve: use bus_message_read_ifindex() or friends
  3dd95ab6c5 util: introduce bus_message_read_ifindex()
  10d4620467 util: introduce bus_mesage_read_dns_servers()
  976009897b util: introduce helper functions to read in_addr from bus message
  e293e755d5 util: drop duplicated inclusion of sd-bus.h
  66479677a9 test-network: add tests for DNS= with port number and SNI
  a747e71c56 resolvectl: show DNS servers with port and SNI
  b1881e8320 resolvectl: make DNS servers can be specified with port number and SNI
  8e56ea4c88 resolve: add DBus properties which support DNS SNI and port number
  95ce1ba87b resolve: add DBus method to set DNS server with port number and SNI
  4e11ddfdd3 network: add DBus method to set DNS server with port number and SNI
  87d6489776 network: save DNS servers specified by DBus interface
  6458176514 network: do not save DNS= entries not match link ifindex
  e77bd3fdff network: support port number and SNI in [Network] DNS=
  8aa5afd20f resolve: read/save port number and SNI from/into link state file
  b6af282475 resolve: compare port and SNI in dns_server_hash_ops
  1b86009298 resolve: also compare port and SNI in dns_server_find()
  da9de7385a resolve: support port specifier in DNS= setting
  395aa34023 resolve: ignore empty server name
  408f8fbc0f util: introduce 'struct in_addr_full' and its helper functions
  a723fb85da util: introduce in_addr_port_ifindex_name_from_string_auto() and in_addr_port_ifindex_name_to_string()
  cbe194b39e resolve: propagate error in link_load_user()
  eced0d2a46 Merge pull request #16518 from yuwata/network-fix-failure-in-updating-mac-address
  2665327a41 travis: compile with -O1 with clang
  d7d717b7e2 docs: Document xdg-autostart parameter X-systemd-skip
  4c0668bc14 Merge pull request #16478 from bluca/dissect_tests
  6a097936b2 docs: Update section about XDG autostart generator
  e6791b5522 Merge pull request #16497 from DaanDeMeyer/mkosi
  7e8279c0a6 Merge pull request #16501 from yuwata/udev-fix-renaming
  807667f7ac network: stop already running engines before updating MAC address
  96fe813c42 radv: introduce sd_radv_is_running()
  48c5398951 networkctl: do not ignore -EOPNOTSUPP when reading netlink message
  ae5b779252 networkctl: sort alternative names
  0ef1adf512 vconsole-setup: downgrade log message when setting font fails on dummy console
  628f08b66d sd-netlink: make timeout message sealed
  d735e4f2d6 Merge pull request #16505 from yuwata/network-manage-foreign-routes-cleanups
  ed4512d009 nspawn: set container_host env vars before user arguments
  a9c9b18a95 networkd: Use NLM_F_ACK on the netlink message to add a neighbor.
  d3f45d130e clang-format: set Break afer enum to false
  4573592ddf Merge pull request #16512 from keszybz/offline-passwd-altfiles
  241947d1b4 shared/offline-passwd: look at /usr/lib/{passwd,group} too
  3e5d2264b5 Move offline-password.[ch] to shared and add test-offline-passwd
  55678b9eae build: skip installation of 2 files if feature is disabled
  0119ab3d6c Merge pull request #16476 from keszybz/qemu-autosuspend-rules
  a8c10331b4 network: replace NDISC -> NDisc in log messages
  5eec0a0810 network: introduce address_exists() helper function
  d15818f227 network: update debug log when foreign routes are received with ManageForeignRoutes=no
  5ff1ef31f2 network: do not enumerate routes if ManageForeignRoutes=no
  97fdae33df udev: do not try to reassign alternative names
  434a348380 netlink: do not fail when new interface name is already used as an alternative name
  1498252614 netlink: introduce rtnl_get/delete_link_alternative_names()
  77547d5313 hwdb: check that uppercase digits are used in modalias patterns
  7f16ef9fba Merge pull request #16490 from yuwata/network-radv-ndisc-cleanups
  457763aa03 hwdb: allow spaces in usb: matches and similar patterns
  dc9e9a18be Merge pull request #16491 from keszybz/udev-logging
  e5f0010659 mkosi: Update help comment in settings files
  172ad053ff mkosi: Keep mkosi.default out of the repository.
  9e79123884 tree-wide: use SYNTHETIC_ERRNO with log_device_* in more places
  46d4149d0f sd-device: use LOG_PRI() in log_device_full()
  b5ef66101a analyze: CAP_RAWIO -> CAP_SYS_RAWIO
  94ec163ad2 timedatectl: do not show (null) if the address of NTP server is not resolved
  ec8bebbcc2 Add autosuspend rules for emulated QEMU devices
  df7667323d udev: change the modalias string for usb devices to include the device name
  d6d4961b01 udev: don't complain when udev_watch_end() is called without udev_watch_init()
  6b9f5f01cb basic/string-table: reduce variable scope
  5992f362bf udevadm: use STR_IN_SET(), add comment
  fe20121a4c sd-device: use strjoin instead of asprintf
  22ba4525d3 udev: tweak debug logs for udev rules
  12254ccab0 man: add more details for IMPORT, PROGRAM and RUN keys
  ba60127df7 udev: accept OPTIONS+= without any fuss
  b6a80b83bc udev: accept IMPORT{}= without any fuss
  13e8a49a58 network: ndisc: any failures in processing event make the link in failed state
  c97785168b network: radv: clean up conf parsers
  19b4864346 hwdb/autosuspend: add missing parenthesis
  d96edb2c6e network: downgrade log level in conf parsers
  4d939d2c84 Merge pull request #16485 from bluca/nspawn_os_release_mounts
  9e54462cd5 Merge pull request #16482 from poettering/coverity-246
  14f1c47a0c nspawn: mount os-release in two steps to make it read-only
  eafc7d6056 nspawn: use access/F_OK instead of stat to check for file existence
  2094cd49c4 shared/os-util: fix comment style to follow guidelines
  cc76bf01e3 basic/mkdir: use uid_is_valid instead of manual check
  40282752a2 Merge pull request #16483 from poettering/man-env-d-no-session
  27806670ef Merge pull request #16480 from yuwata/network-fix-dhcp4-races
  3f13f9159f man: configuration files contain assignments, no directories
  d320bfa558 man: GNOME is usually capitalized
  a449b7198c man: don't claim environment.d/ was about sessions
  3cd4459003 Revert "selinux: cache enforced status and treat retrieve failure as enforced mode"
  8e32ad9557 machine: fix if check
  f63ef93703 execute: fix if check
  0ded0e40ab dhcp4: only renewing lease when the client already has a lease
  330f899079 load-fragment: downgrade log messages we ignore to LOG_WARNING
  89a5385fb7 mountpoint-util: fix error handling
  f766d9af38 network: dhcp4: add two warnings
  153cf04139 network: dhcp4: fix another race with SendDecline=yes
  75be72d139 network: dhcp4: also release old lease in dhcp_lease_lost()
  8d5bb13d78 core: fix invalid assertion
  aeba8dd523 network: fix typo
  2bc148add0 test: exercise RootImage, RootHash and RootVerity in TEST-50-DISSECT
  0f5d24a8b9 test: pre-assemble minimal image for TEST-50-DISSECT at build time
  a5f1d665d7 test: exercise systemd-dissect with GPT and verity in TEST-50-DISSECT
  6939873412 test: exercise systemd-dissect --mount in TEST-50-DISSECT
  42165319b1 update TODO
  95b29f3267 Merge pull request #16396 from yuwata/network-configured-flag
  b8ff0663e8 Merge pull request #16468 from keszybz/two-unrelated-patches
  43bf28741f network: drop doubled white space
  93b0b88c3a network: free address when it is removed
  6906794dd1 network: dhcp4: do not assign new address before old one is not removed
  5d976f5f64 network: do not call link_check_ready() in link_request_set_routing_policy_rule()
  0c816fcc7b network: make link_request_set_nexthop() called from link_request_set_routes() or route_handler()
  659ad3a0af network: do not make link in configured state when no address is assigned
  d98c546dac network: ndisc: split ndisc_configured flag into for addresses and routes
  01c344bdd4 network: ndisc: do not ignore remaining addresses
  571f953934 test-network: wait for addresses are not in tentative state
  39373cb984 network: add debugging log why link is not in configured state yet
  c5fcd8a70a test-network: check assigned address is not tentative state
  491b79aeac test-network: set IPv6AcceptRA=no if no dynamic addresses are not required
  eb01a2dfb1 network: make link_request_set_nexthop() static
  a4623f84ed network: add a debugging log
  feb596b5c3 network: include error code in the log message
  2a877f4560 network: set dhcp6_xxx_configured flag after routes/addresses are assigned
  ee5c1311ee logs: when embedding catalog info in log output use a dash of color and unicode
  a996ead6a2 Merge pull request #16398 from poettering/machined-varlink
  26698337f3 timer: Adjust calendar timers based on monotonic timer instead of realtime
  d3e0662c7d Revert "ci: turn off the "upstream-systemd-ci" ppa"
  06bb441102 test: Add "finish" rule to .PHONY
  76830e2500 Merge pull request #16462 from keszybz/rpm-macro-warnings
  b56a877ef8 test-fs-util: use log_info instead of printf
  d4ff79bbe1 ci: turn off the "upstream-systemd-ci" ppa
  6cdc429454 Merge pull request #16340 from keszybz/var-tmp-readonly
  56a13a495c pid1: create ro private tmp dirs when /tmp or /var/tmp is read-only
  a318a5659a man: document F1 in sd-boot too
  1061fc1c17 rpm: include macro name in errors for two args macros too
  281014b73e rpm: adjust various macros to print macro name in the error message
  8800df5f71 Merge pull request #16430 from mikhailnov/fix-rpm-create-package-macros
  dad2062f40 update TODO
  38ccb55731 nss-mymachines: drop support for UID/GID resolving
  4c2cf15751 man: document new varlink service
  4751364e76 machined: implement user/group lookup varlink API in machined too
  74d1b7d2ad machined: refactor UID/GID machine translation
  a07f18cd30 process-util: make sure procfs_file_alloca() works for non-literal field names too
  56870d324b docs: permit user/group services that do not support enumeration
  16a4a2f8cc update TODO
  08ef688656 analyze: make testing ConditionPathExistsGlob= work
  4519c7c706 update TODO
  77ee1783eb udevadm: beef up deprecation log warning
  a18c7865be meson: do not install testdata when -Dinstall-tests=false
  60b45a80c1 Update .clang-format
  5b72b34708 Make the instructions slightly easier to read
  8ba6c15a82 Merge pull request #16437 from systemd/coverity-gcc-10
  b7067c4d87 coverity: install systemd
  1374448add coverity: switch back to Fedora 31
  46072ae35a repart: include more relevant information in the warning message, fix test
  5553041a62 Merge pull request #16435 from gaoyi1988/master
  6b949d2605 NEWS: mention source mode for MACVLAN or MACVTAP
  ddcdcac519 Merge pull request #16432 from cgzones/selinux_err_fix
  0d3a8bc7eb test: add test case for multi matches when use "||"
  1e67a9c2cd udev: specify the end of value
  d67b1d18fc bus: use bus_log_parse_error to print message
  f2df56bfea namespace: unify logging in mount_tmpfs
  db06c162e8 shared: fix error handling in make_inaccessible_nodes
  3e6e0856cd rpm: avoid hiding errors and output in *_create_package macros
  93406fd379 rpm: avoid odd symbols in EOF indicator
  b159831b61 Merge pull request #16424 from keszybz/cap-bpf-compat
  b0ff0eaa01 Merge pull request #16426 from cgzones/run_user_label
  675fa6ea28 man: fix some manvolnum
  abad72be4d namespace: fix MAC labels of TemporaryFileSystem=
  8d9cbd809d selinux: create standard user-runtime nodes with default context
  7a3e4dc38b basic: add helper function mknod_label()
  5149990e1f NEWS: grammar improvements (#16413)
  5c53766f28 Added MSI Prestige15 A10SC specific keycodes
  d0571b758b Add support for HP Elitebook x360 1040 G6 micmute button
  ed1de7108e Explain how to determine hierarchy type from shell
  5700780389 basic/cap-list: reduce scope of variables
  864a25d99b basic/capability-util: let cap_last_cap() return unsigned integer
  417770f303 basic/cap-list: parse/print numerical capabilities
  76fb53c94a install: fix wrong data type
  a38c68a18a NEWS: drop duplicate entry, add --image= entry
  976efe1b80 NEWS: add date
  a127c6208f userdb: fix dlopen call
  5157d719f0 Merge pull request #16411 from ddstreet/bridge_without_carrier_fails
  5961d35a5b NEWS: add blurb about os-release and $container_host_*
  55aacd502b Merge pull request #15891 from bluca/host_os_release
  001c07cfff test-netowrk: in test_bridge_configure_without_carrier, avoid strange test failures
  48c190822b Merge pull request #16405 from sipraga/master
  02b0109af5 Merge pull request #15955 from anitazha/nullorempty
  4e3376d43a test-network: don't print networkctl output for passing subtests
  62320feb9f Merge pull request #16404 from keszybz/release-246-prep
  2e7090e94d test: bump the TEST-47 sleeps once again
  0d0de133f0 network: add support for MACVLAN source mode
  3994922baf meson: bump version numbers for v246
  72e5190878 NEWS: update contributors list for v246-rc
  9c70fc2164 git-contrib: simplify implementation a bit
  cbc056c819 core: wrap some long lines and other formatting changes
  24e2494407 Merge pull request #16385 from JackFangXN/master
  43b24a0716 sd-device: use log_device_debug_errno()
  4b6607d949 table use table_log_print_error() instead of table_log_show_error
  df83eb546b table add table_log_sort_error()
  d836018a73 table add table_log_show_error()
  c253a95bca Merge pull request #16379 from yuwata/network-dhcp6-delegated-prefix-address-handler
  21d19a7a13 docs: update information where to file bugs against RHEL/CentOS versions of systemd
  2e2f6a01a0 Merge pull request #16143 from fbuihuu/fstab-generator-fix
  5dc60faae5 add error message when bind mount src missing
  3650173fec network: make address_handler() static
  a211ff4b84 network: introduce own address handler for dhcp6 delegated prefix
  2b0bf3ccf8 Merge pull request #16301 from poettering/firstboot-image
  9870cfdf7f Merge pull request #16388 from keszybz/xdg-desktop-fuzz-case
  60e3a5a252 Merge pull request #16390 from keszybz/coverity-and-typos
  dea7f5cc87 xdg-autostart: ignore all empty entries in multi-string entries
  f4e1a42592 man: match parentheses
  d1ca1f7c2a xdg-autostart: avoid quadratic behaviour in strv parsing
  a53f024d71 journald: minor wording tweak in message
  cd990847b9 tree-wide: more repeated words
  0da425df65 networkd: use capitalized "IP" and "TOS" in messages
  8ab0f03266 journal/compress: drop "future" code in zstd compression
  d7b34e3841 all: fix minor typos
  5d043c9fdf update NEWS
  cbe952fe1f update TODO
  737ec51444 TODO
  a122502077 firstboot: add option to turn off welcome text display
  dcfdd62184 man: document the new --image= switch of systemd-firstboot
  3ff9fa591e firstboot: add --image= switch
  827ea52125 mount-util: use UMOUNT_NOFOLLOW in recursive umounter
  e49ee28522 mount-util: add destructor helper that umounts + rmdirs a path
  e2ec9c4d3a namespace-util: introduce helper for combining unshare() + MS_SLAVE remount
  9ecf5d9340 fuzz: add test case that should already be resolved
  cda667722c core: refresh unit cache when building a transaction if UNIT_NOT_FOUND
  3f2e15abc5 sleep: one spelling unification
  77ecc1aaa5 Merge pull request #16380 from yuwata/network-dhcp6-update-prefix-route
  9389a271b7 Merge pull request #16381 from yuwata/dhcp4-renewing
  a240147bdc Merge pull request #16383 from yuwata/network-dhcp6-radv-update-prefix
  7f6e342c93 hwdb: Add Google Pixel Slate (nocturne) (#16377)
  58e6c62191 network: fix memleak
  1d596fdec2 network: do not restart radv engine when adding prefix
  8fc2a5dff4 network: fix indentation
  290696e512 Revert "network: Don't send RA with zero router lifetime when restarting radv"
  c1495f8e9d fix typo
  d469cea3bd network: Don't send RA with zero router lifetime when restarting radv While investigating https://github.com/systemd/systemd/issues/16356, I discovered that networkd stops the radv service before adding or updating prefixes and then starts it again.  This causes networkd to send an RA with a router lifetime of zero, causing the routes to flap on systems receiving the RA for a fraction of a second before radv is started again and proper RAs are sent.  That has the potential to cause issues with latency-sensitive traffic like gaming or VoIP.  This patch adds a boolean argument to the sd_radv_stop() function to control this behavior.  The zero lifetime RA is still sent whenever radv is actually being stopped, but when it is being restarted for a prefix update (from networkd-dhcp6.c), the final RA is no longer sent to avoid the route flapping.
  921693a0f3 dhcp4: do not try to renew address when client has no lease
  ceaec54a3c dhcp4: do not renew address if client is not running yet
  f050c94df0 network: always update acquired prefix route
  1419ff0401 network: decrease indentation level
  cecd68c70f network: fix indentation
  c82012605b Merge pull request #16374 from keszybz/docs-and-networkd
  08bf20287c hwdb: update again for v246
  98ebef62c7 DHCPv4: client add support for DHCP server allow list
  b3077c47a8 Merge pull request #16344 from keszybz/update-utmp-erofs
  c5bc4f77d9 hwdb: add another Logitech M705 mouse variant
  5544cd3199 Merge pull request #16373 from JackFangXN/master
  9a61e8fca2 unit-name: fix a potential memory leak
  1f68f77292 networkd: we should not loop when extract_first_word() fails
  8dc647fd30 man: do not say that tasks are threads and processes
  24c8d4d3f4 man: one more typo
  b37e4d9c87 Merge pull request #16370 from keszybz/tree-wide-spelling
  e26538dd04 network: tc: fix n_prio bounds check
  f987a261b4 userdbctl homectl use table_log_add_error()
  f04a98e13f Fix two typos found by codespell
  bdac560801 tree-wide: drop quotes from around [section]
  e9dd698407 tree-wide: fixes for assorted grammar and spelling issues
  a64911f9b7 travis: install missing deps for the Coverity run
  c5fbdebec6 Merge pull request #16287 from yuwata/udevadm-info-attribute-walk
  4276749dd3 shared/install: do not require /dev/null to be present in chroots
  3da49ad55a catalog: update Polish translation
  ca1d199b48 update-utmp: do not fail on EROFS
  c2a9909377 Define _cleanup_ helper for setutxent()+endutxent()
  bf795c47bc test: use KILL instead of SIGKILL in TEST-52-HONORFIRSTSHUTDOWN
  21c7fe6d12 sd-device: be more defensive in FOREACH_DEVICE_SYSATTR
  2fadbb4535 core: set private section name for automount units
  c2056dd6f9 hwdb: Pavilion 13 x360: Tablet mode and SYSRQ key
  071be2fa9f Merge pull request #15442 from poettering/fido2
  21df146501 udevadm: sort entries in `udevadm info -a` by attribute name
  fadcc12229 sd-device: make FOREACH_DEVICE_SYSATTR() list attributes in subdirectories
  33d943d168 initialize arg_clock_usec
  9e99bfbd5a Merge pull request #16348 from yuwata/news-sriov
  640f3b143d core: check null_or_empty for masked units instead of /dev/null
  71af436c63 NEWS: mention .network [SR-IOV] section
  554a97ba23 NEWS: WithoutRA= is not a boolean option anymore
  a68da22257 NEWS: tweak WithoutRA= description a bit more
  272ac70a21 various daemons: emit Stopping... notification before destructing the manager object
  cc090ca7fe initctl: use _cleanup_ and run()
  e9d9d50cef initctl,update-utmp: define iterator variable in loop
  bc9d1dbfc8 update-utmp,initctl: drop ppid check
  c03ef420fa network: tc: rename several settings which take size in bytes
  25b67032a8 Merge pull request #16343 from jirislaby/master
  cc832f9772 Merge pull request #16338 from keszybz/spelling2
  63b7e7b4ba Merge pull request #16336 from yuwata/ifindex-cleanups
  cbdf02952e NEWS: update document about WithoutRA=
  1447dc625a Merge pull request #16219 from ssahani/network-sr-iov
  74986a0f88 hwdb: Add accel orientation quirk for UMAX VisionBook 10Wi Pro
  52e085af82 tree-wide: "unparseable" → "unparsable"
  13adf35343 resolve: use appropriate type
  5e958e1d6c util: use setsockopt_int() at one more place
  1a6c913676 libsystemd-network: rename index -> ifindex
  7fa69c0a6f dhcp6, radv: only accept valid ifindex
  15e6a6e87b tree-wide: spell "lifecycle" without hyphen everywhere
  37b22b3b47 tree: wide "the the" and other trivial grammar fixes
  838d39af93 network: Allow DHCPv6 client  to start solicit mode
  51115fdc42 l10n: update Czech Translation
  6371e69b49 fstab-generator: introduce an helper to write extra dependencies specified via the mount options
  045c5faf5a fstab-generator: extra dependencies specified in fstab should be applied to the mount unit
  c8fe23d45c update TODO
  4442c26942 man: update homectl man page with documentation for new features
  fe2520fbb5 docs: document new FIDO2 user record fields
  0eb3be4644 homectl: add --pkcs11-uri=auto and --pkcs-11-uri=list support
  2af3966af3 homectl: add acquired fido2 PIN to user record
  93295a2501 homectl: split out pkcs#11 related code bits into own .c/.h file
  c98811d837 homectl: rework how we log when doing a home directory update
  8e62dfb12a homectl: do generic error handling/retry also when creating a home directory
  f737186ab1 homectl: show touch emoji when asking for PKCS#11 protected auth path
  85b1294488 pam-systemd-home: print helpful message when token's PIN is locked
  7b78db28e5 homed: add support for authenticating with fido2 hmac-secret tokens
  1c0c4a43c6 homectl: add support for enrolling FIDO2 HMAC-SECRET tokens
  5e4fa456fa user-record: add fields for FIDO2 HMAC authentication options
  af4fbd463f build-sys: add libfido2 as optional dependency
  c0bde0d240 user-record: rename JSON field "pkcs11Pin" to "tokenPin"
  d00f318323 user-record: securely erase pkcs#11 when assigned NULL too
  7b8d55b72c homectl: add missing log messages when json_variant_format() fails
  c63ec11bf5 pkcs11-util: reduce scope of a variable
  1146b664e6 macro: add new FOREACH_POINTER() macro magic
  428d32afea locale-util: add support for touch emoji
  830ffbce1b doc: add recentry introduced transient settings
  9457b6bb21 Merge pull request #16303 from poettering/dbus-util-split
  3d2c26925f test-network: add tests for SR-IOV
  c3a5025dc6 network: add MACAddress= setting in [SR-IOV] section
  e64b31c848 network: add VLANProtocol= setting in [SR-IOV] section
  518cd6b527 network: Introduce SR-IOV
  5908ddd763 sd-netlink: Add SR-IOV netlink properties
  b46d8c1c70 udev: spi: include chip select number in ID_PATH
  d17eabb105 Fix build with µhttpd 0.9.71
  116739cfb6 Merge pull request #16316 from yuwata/backlight-use-actual-brightness
  5c236388c3 update TODO
  6c3a19d5b3 Merge pull request #16313 from yuwata/network-move-ipv6ll-gen-mode
  7233e91af0 core: store timestamps of unit load attempts
  f93dd4b940 Merge pull request #16282 from poettering/repart-copy-blocks
  437b9a7f75 backlight: read current backlight brightness from 'actual_brightness' attribute
  daa227a320 backlight: call log_setup_service() before logging
  74f1bb5c9f backlight: use SYNTHETIC_ERRNO() macro
  40af3d020f shared: split out property get helpers
  9176326ba2 shared: split out code for printing properties
  807542bece shared: split out code that maps properties to local structs
  9b71e4ab90 shared: actually move all BusLocator related calls to bus-locator.c
  c664cf5607 shared: split out BusObjectImplementor APIs
  7aee1e7304 hwdb: adjust touchpad edge detection for X1Tab3 (#16310)
  aa0b850bca NEWS: minor fixes
  6f6296b93f network: move IPv6LinkLocalAddressGenerationMode= to [Network] section
  3ea58e010d NEWS: add several entries about networkd
  26b0fda9b7 test-repart: allow the test to pass on non-amd64 architectures
  e4f8d5e01f shell-completion: add missing verbs for networkctl
  8f843190ff test: bump the timeout for systemd-hwdb-update.service under ASan
  0e31a6c2ad Merge pull request #16142 from poettering/random-seed-cmdline
  bed0b7dfc0 pid1: warn if people use User=nobody (#16293)
  7143b95552 efi: define cache functions inside EFI_ENABLE ifdef
  cb713f1696 tree-wide: spellcheck fixes
  7f56c26d10 NEWS: reorder entries with some minor additions
  0cffae953a core: add device mapper to allow-list with DevicePolicy=closed and RootImage
  b47261e5cb update TODO
  e78228b1b0 update TODO
  10f9436c2d Merge pull request #16281 from poettering/logind-cache-more-efi
  0090b551e6 Add quotes for -n
  22aa58adc9 JOURNAL_FILE_FORMAT: minor markdown fixes
  1f19ae0ffb NEWS: add more items for 246
  af2697e83d logind: also cache LoaderEntryOneShot EFI variable
  e8df4eee65 efi-loader: cache LoaderConfigTimeoutOneShot too
  6eea6e30ab tmpfile-util: typo fixes
  95fc17bf46 util: add missing header guard
  12d14b7373 Merge pull request #16096 from poettering/journal-hash-fix
  a79be2f807 hwdb: update for v246
  7caaf44777 update TODO
  757bc2e4c1 repart: add new CopyBlocks= setting
  3f11426f52 Merge pull request #16275 from yuwata/network-deprecate-netdevsim
  fdf3e48c44 udev: split attribute assignment for MMC cards
  6d88513e6b portabled: create temp file for unit, not directory
  823e917f13 selinux: check mac_selinux_init() in tests
  0986bb9b95 Merge pull request #16278 from keszybz/fix-man-links
  66ed28d332 Merge pull request #15624 from poettering/hostnamed-instant
  98506a41fe Merge pull request #15697 from OhNoMoreGit/fix-path-units
  5c0102f83f update TODO
  c85cf04fa3 compress: do something roughly reasonable when building without compressor
  3afe5c00a5 coredump: use log_error_errno() where appropriate
  d80b051cea tree-wide: add new HAVE_COMPRESSION compile time flag
  70cd1e561c docs: document the new journal file format additions
  bbcd38e41e docs: import journal file format docs from fdo wiki
  8653185a9e journal: support zstd compression for large objects in journal files
  0dbe57ee86 journal-file: when individual hash chains grow too large, rotate
  4ce534f4cd journal: use a different hash function for each journal file
  7851ec6634 journal: make signature arrays const
  20b0acfacd journal: rename hash64() to jenkins_hash64()
  f4474e004d journal-file: rename return parameters to ret_xyz
  5030c85a3e journal-file: also show field hash table size in debug output
  e958c05703 journal-file: simplify boot ID acquiring
  cde8c5f722 journal: store NE hash instead of LE hash in Match object
  a76560915f journal-file: use FLAGS_SET where appropriate
  e9ece6a0e3 journal: fix definition of _OBJECT_COMPRESSED_MAX
  d1d8f0f369 macro: add CONST_MIN() similar to CONST_MAX()
  4a5a01ccdd man: reword awkward sentence
  55cf7779f2 man: fix various internal references
  b7a4734551 man: fix links to various external man pages
  f49bead3b0 Merge pull request #16257 from keszybz/two-fuzzer-issues
  b7d81d19cc Merge pull request #16249 from bluca/root_verity_sig
  d7f4ad203a hostnamed: minimize caching of /etc/hostname, /etc/os-release and /etc/machine-info
  aa994368c9 hostnamed: don't cache local hostname either
  a055076988 ci: free up some resources on Pipelines
  efa5bef285 ci: switch to Ubuntu Bionic on Semaphore
  440988666c test-network: remove unused config
  59a9ef1022 network: deprecate netdevsim support in .netdev config
  d4d55b0d13 core: add RootHashSignature service parameter
  c2923fdcd7 dissect/nspawn: add support for dm-verity root hash signature
  035e8e50d7 veritysetup: add support for dm-verity root hash signature
  e60d3b13df Merge pull request #16265 from Werkov/fix-16248
  fd7c7fc8ee Merge pull request #16271 from yuwata/network-cleanups-around-link-get
  e41de5e491 missing: Add new Linux capabilities
  6b000af4f2 tree-wide: avoid some loaded terms
  f23810da20 fuzz-udev-rules: -ENOBUFS should be accepted too
  85fbebe61a journal: fix buffer overrun when urlifying
  f50f597217 network: fix typo in comment
  7936917e3e network: do not update operstate when netdev is not ready
  e856ed00f9 network: fix assertion in link_get()
  25b831bac8 network: check that received ifindex is valid
  d184fb39b6 test: Test memory limit parsing
  67e2baff6b cgroup: Parse infinity properly for memory protections
  b18573e16f ci: bring back Coverity part 2
  595cb4211a ci: bring back Coverity
  c4e90266db Merge pull request #16093 from yuwata/network-htb-add-settings-15213
  f9044b74c5 Merge pull request #16106 from yuwata/network-tc-ets
  f83803a649 Merge pull request #16238 from keszybz/set-handling-more
  41d1f469cf log: introduce log_parse_environment_cli() and log_setup_cli()
  3f8ed9fd96 update TODO
  18d9cee002 man: document systemd.random-seed=
  d247f232a8 core: add new systemd.random_seed= kernel command line option for seeding entropy pool
  4dd055f907 random-util: add common helper random_write_entropy() for crediting entropy to the kernel's pool
  45250e66cc pid1: don't apply "systemd.clock_usec" kernel cmdline parameter outside of PID 1
  97f1c6af8c random-seed: use ERRNO_IS_NOT_SUPPORTED() where appropriate
  e198eba7c2 sysv-generator: reduce scope of variables
  80ce54adaf socket-proxy: use structured initialization in one place
  add74e8929 basic/hashmap,set: propagate allocation location info in _copy()
  35e601d4f9 tree-wide: use set_ensure_consume() in various places
  39dbd0c74c networkd: take ref immediately after storing item in set
  d02fd8b1c6 core/bpf-firewall: use the correct cleanup function
  648c339c49 logind: fix possible memleak of message if the message was already in the set
  d378ef708b portable: rework set handling in portable_detach()
  ab9dd0b997 resolved: fix memleak on duplicate host lines in /etc/hosts
  ceb17827fa resolved: simplify allocation failure handling in dns_stub_process_query()
  b8b46b1ce5 basic/set,hashmap: pass through allocation info in more cases
  fcc1d0315d basic/set: add set_ensure_consume()
  a1ba8c5b71 feature to honor first shutdown request to completion
  7bf6babfa2 Merge pull request #16112 from poettering/nss-systemd-block-fix
  bc8d57f290 Merge pull request #16223 from cgzones/user_selinux
  3d9fbea43e selinux: update mac_selinux_free()
  1cdc42f283 hwdb: add another Logitech G502 Hero variant (#16256)
  0d0248c665 Merge pull request #16246 from benzea/benzea/xdg-autostart
  21856e3462 Merge pull request #16213 from yuwata/network-cleanup-link-state-file
  87d25bdead make-autosuspend-rules: restore compatibility with Python3 < 3.6
  db3b8d5d41 fuzz-udev-rules: rewrite to not require root privileges
  a9ba0e328f Make failures of mac_selinux_init() fatal
  a11bfc17dc Initialize SELinux in user instances
  c238a1f5f1 udev: split rules object creation and loading
  037b0a47b0 userdb: replace recursion lock
  6e78726e20 nss-systemd: skip /etc/gshadow look-ups when we just need the GID of a group
  88d775b734 util: add dlfcn-util.h
  21385e639a man: replace perl bug tracker link that went away with link to paper
  92d64d1444 man: s/PROGRAMM/PROGRAM/
  311a0e2ee6 Revert "cgroup: Allow empty assignments of Memory{Low,Min}="
  73083ca238 portabled: implement container host os-release interface
  e1bb4b0d1d nspawn: implement container host os-release interface
  34e0d56ce2 Container interface: document exposing the host's os-release
  b3b1a08a56 nspawn: use mkdir_p_safe instead of homegrown version
  17b99e377b basic/mkdir: introduce safe recursive variants
  3d0c8750c5 networkctl: display DHCPv4 server address
  fd1f3b3eed dhcp: fix entry name in parsing lease file
  46986251d6 network: drop duplicated information from link state file
  5202be27ee sd-network: drop unused functions
  862e710820 networkctl: use lease file to get DHCPv4 client ID
  d41fa6ee91 networkctl: use lease file to get DHCPv4 address
  35cab5f99d networkctl: load DHCPv4 lease file and use timezone data from the lease file
  ef0daa1129 libsystemd-network: move prototypes of dhcp_lese_save/load() to network-internal.h
  cc479760b4 Revert "job: Don't mark as redundant if deps are relevant"
  9d9a9500cd xdg-autostart: Ignore all files with GNOME autostart phase
  566cb7e23b xdg-autostart: Fix info message if Type= is not Application
  0389f4fa81 core: add RootHash and RootVerity service parameters
  6fe01ced0e nspawn: mkdir selinux mount point once, but not twice
  75ae672bb2 Merge pull request #16196 from mrc0mmand/travis-simplification
  5c9918aca0 Merge pull request #16216 from nabijaczleweli/make-a-fuss
  65804d6aff selinux-util: tweak log_enforcing_errno() to return the errno passed in or 0 when in non-enforcing mode
  9e1732924d test-functions: read /usr/etc/nsswitch.conf if /etc/nsswitch.conf does not exist (#16195)
  affa893da0 man/sd-makefs: link to btrfs.wiki.kernel.org for btrfs-man5, since the man-pages link is dead
  2edc494216 Merge pull request #16237 from keszybz/revert-message-type-check
  c2c193f79a Merge pull request #16179 from keszybz/auto-suspend-hwdb
  b98f393d88 bus-message: add macro for calculation of offset from the page
  b17af3e503 bus-message: avoid dereferencing a NULL pointer
  a9c9f79ece Revert "bus-message: immediately reject messages with invalid type"
  6cd55d6f74 shared/bus-util: fix misleading error handling
  e2ab8e09c8 udevadm-monitor: simplify creation of arg_tag_filter set
  804a436582 fuzz-netdev-parser: add test case for earlier version of preceding patches
  44e9342078 netdev/wireguard: do not invalidate peer on invalid syntax
  de7fef4b6e tree-wide: use set_ensure_put()
  0f9ccd9552 basic/set: add set_ensure_put()
  aaffd34933 sd-device: use set_put_strdup() in one more place
  29bd6012f1 resolved: introduce dns_transaction_gcp()
  7b33ff7388 make-autosuspend-rules: remove one instance of "whitelist"
  88936ed6f9 rules: remove 61-autosuspend-manual.rules
  39d5b72e32 hwdb: enable autosuspend for Wacom Pen and EMV Smartcard Reader
  aa549ff397 test: also verify the generated autosuspend hwdb file
  79dc5d35dd tools: rewrite make-autosuspend-rules.py and add udev rules
  5fde0607a8 Merge pull request #16235 from yuwata/network-fix-warning-16224
  bc694c06e6 log: Prefer logging to CLI unless JOURNAL_STREAM is set
  7830b5c103 Merge pull request #16059 from keszybz/resolve-single-label-names
  b7e8286b4a Merge pull request #15926 from fbuihuu/rework-show-status
  8db8f99eb9 man: add note regarding editing user groups
  c4e585a36b network: add missing break
  1e42c269cb Merge pull request #16239 from keszybz/cleanups
  e6175fbe45 ci: pass -Werror using CFLAGS
  8d9982e30d network: drop unnecessary "&"
  a51a3247e5 man: Fix a typo of session
  c2ad8c0978 man/sd-makefs: also mention /sbin/mkswap
  2bd5e1b272 man: document the new option
  3b5bd7d6b8 resolved: optionally allow single-label A/AAAA queries
  c2f1e83e27 resolved: drop bit-field annotations for fields in Manager
  7877e5ca7c resolved: add dns_query_candidate_freep()
  801d25ef0f man: rework description of Domains=
  876c75fe87 udev: do not execute hwdb builtin import twice or thrice
  b753e8358c test-network: add tests for ETS
  d474aa51bf network: tc: introduce Enhanced Transmission Selection (ETS)
  4dec921889 sd-netlink: add netlink properties of Enhanced Transmission Selection (ETS)
  3a712fda86 sd-boot: Add small comments after device-specific key macros
  034d0eb962 Merge pull request #16191 from poettering/repart-spec
  bc3b868b42 Merge pull request #16208 from yuwata/udev-fix-16207
  cc17c4c9a1 network: do not fail to configure non-nl80211 wifi interfaces
  845d784e54 network: drop casting in memcpy()ing IPv6 address
  5eb6ef8b45 udev: udev_event_apply_format() always make buf NUL terminated
  bc568a7a35 udev: fix error handling of sd_device_get_parent()
  2a71d57f4e network: clean-up DHCP lease server data configuration
  d5da3ada8e Merge pull request #16061 from filbranden/standalone1
  2ee7e54b9e test-network: add tests for HTB settings
  d9eacc1cdd network: tc: add more settings for HTB
  120b5c0bbe network: DHCPv6 - Add support to set token on the LAN interface
  8d2d64166e efi: use stub for cache_efi_options_variable if !ENABLE_EFI
  ffc8eeae62 USER_RECORD: fix typo
  0116d27a30 travis: sort dependencies
  305efcaf3c travis: drop stuff moved to GH Actions
  eeb8c7accf travis: use a matrix for similar jobs
  fb08381c14 repart: if now minimal size is specified, default to 10M
  e031166e15 repart: add simple specifier expansion in Label=
  cdfd853744 update TODO
  d9b6decd88 README: add reference to systemd.io
  77169ed09b update TODO
  d8a9dd0dc1 hwdb: Mask rfkill event from intel-hid on HP platforms
  c73624a553 man: do not say that systemd-modules-load.service only uses static config
  6fe95d3020 sd-boot: Work around malformed CR key code
  7daaf56761 hwdb: Add accel orientation quirk for Odys Fusion Win 12 2in1
  cb24fad361 Merge pull request #16170 from keszybz/man-user@
  387536b3a9 man: mention systemd-user-runtime-dir in user@.service too
  7283fbfd0c efi: Skip parsing SystemdOptions if there's an error getting it.
  25c86e4c39 networkd: Add missing match_wlan_iftype check to network_verify
  f1a20afacd man: Document the crypttab keyfile syntax specifying a device
  550c14fedd Merge pull request #16163 from DaanDeMeyer/resolved-edns-info
  6df8a6c753 Improve message for scheduled shutdown or reboot
  b4564641be hwdb: generate a hwdb file instead of rules for autosuspend
  4677c3da97 man: really fix conditional in homed.conf
  4f0ef40deb man: drop obsolete HAVE_PYTHON conditional
  a2095c0698 update-man-rules: properly filter out directives index again
  4f571b4061 resolved: Log the feature level we're downgrading from as well
  209b2592ed efi: Cache contents of EFI variable SystemdOptions
  6d0f38017c test: in test_bridge_configure_without_carrier, ignore setup_state
  e034886b80 resolved: Don't complain too much when downgrading from EDNS
  ac4e03d45b login: filenames in /run/systemd/users are uids
  a2c7035976 cifuzz: build fuzz target with UBsan and MSan as well
  135a1add7b turn off fuzzit part 2
  60950f3c25 Merge pull request #16144 from mrc0mmand/gh-actions-followup
  86a23f38ab ci: tweak the dependency installation
  3d0a45d5da ci: tweak the compilation options
  4e1a13db89 ci: move the build check script to workflows directory
  0664249ffc ci: do the compiler-detection magic in the test script
  ed6727d40a Merge pull request #16137 from poettering/sleep-fixlets
  119111645b Merge pull request #16136 from mrc0mmand/travis-cleanup
  35cd3db4e5 ci: add homed/zstd dependencies
  aab86b12dd github: move the clang/gcc build check to GH Actions
  241616d57d Merge pull request #16124 from ssahani/dhcpv6-duid
  43bba15ac8 pid1: rename manager_set_{show_status,watchdog}_overridden() into manager_override_(show_status,watchdog}
  0bb007f7a2 pid1: add a new SetShowStatus() bus call to override/restore show status mode
  3ceb347130 pid1: introduce an helper to handle the show-status marker
  2c4702057b sleep: pass error we see to log function
  1326de0158 sleep-config: modernize destructors
  c732e87979 sleep-config: downgrade log level in can_s2h()
  c02540dc9e sleep: clean up debug/error logging
  6f9120ad61 sleep-config: return correct error code
  c0d8fbfa34 sleep-config: add more debug logging
  48c6399ad8 github: rename CIFuzz workflow file to cifuzz.yml
  b31fba440c travis: bump Ubuntu release to Bionic
  2b918da5a1 journal: drop the assert-only variable completely
  5a573f2b91 travis: replace set (+|-)e with travis_terminate
  0f2d351f79 tree-wide: port to fd_wait_for_event()
  db64ba81c6 meson: build standalone version of systemd-tmpfiles
  8ef8f3d5a7 meson: add a new -Dstandalone-binaries=true option
  639118854f networkctl: Display DHCP6 DUID
  a9deab2eec sd-network: Introduce APIs to get DHCP6 DUID
  7e738e7b70 network: DHCP6 - save DUID to state file
  6b7d5b6eaf network: DHCP6 - introduce DHCP6 DUID to string
  24bd74ae03 Merge pull request #15940 from keszybz/names-set-optimization
  4c150809eb update TODO
  e47add9edc test: make TEST-02-CRYPTSETUP a bit more robust
  bb9244781c core: don't consider SERVICE_SKIP_CONDITION for abnormal or failure restarts
  6a881daf85 docs: Change suffix for desktop applications to support non-transient services
  d5da196319 journal: simplify vsnprintf() ret value check
  97033ba455 pager: set PR_DEATHSIG for pager to SIGINT rather than SIGTERM
  c85b6ff1b2 docs: point contributors to list of most recent systemd releases
  51b367b86d Merge pull request #16111 from poettering/bitlck-fix
  9664be199a Merge pull request #16118 from poettering/inaccessible-fixlets
  2befe404d4 Merge pull request #16120 from poettering/udevd-fixlets
  e2ea005681 core: do not touch instance from unit_choose_id()
  934ef6a522 core: create socket service instances with the correct name from the start
  ada4b34ec7 core: rework error messages in unit_add_name()
  d383acad25 core: when adding names to unit, require matching instance strings
  4562c35527 core: store unit aliases in a separate set
  02939ee001 Merge pull request #16087 from mrc0mmand/travis-build-check
  dad28bffd6 tree-wide: check POLLNVAL everywhere
  dfa64b64a7 tree-wide: mark assert()-only variables as unused
  b36746c90e travis: check build with various compiler options
  45204921be Merge pull request #16104 from ssahani/dhcpv6-iaid
  2ffadd3cee AppArmor: Support for loading a set of pre-compiled profiles at startup time
  d689f0f20a Merge pull request #16058 from Werkov/fix-memory-protection-default
  4f4f37b20d Merge pull request #16046 from bluca/dissect_squashfs_verity
  2233c2703c man: udevadm: mention non-zero exit code on settle
  60b316b1e9 test-network: wait 2min for the bridge being in configured state
  69876f94ab doc: Try to clarify automount dependency confusion
  fa0e23c900 docs: use bool in varlink interface definition
  48b747fa03 inaccessible: move inaccessible file nodes to /systemd/ subdir in runtime dir always
  b8c9074534 login: use ERRNO_IS_PRIVILEGE() where appropriate
  d582afe144 mkdir: use log_full_errno() where appropriate
  6b2229c6c6 udev: set fewer process properties
  fe56acd8e0 udevd: use cpus_in_affinity_mask()
  57b611a5bf Merge pull request #16074 from msekletar/freezer-test-flakes
  6930d069a3 cryptsetup: pass selected mode to crypt_load() when doing LUKS
  5af39ac850 cryptsetup: try to load bitlocker superblock only if requested
  8b8ae7959d hwbd entry for  Dell Inspiron Chromebook 14 2-in-1 sensor (#16109)
  f01994380e login: allow individual USB ports to be assigned to seats
  e7cbe5cb9e dissect: support single-filesystem verity images with external verity hash
  331ee15f18 networkctl: DHCPv6 - display IAID
  01dd138031 sd-network: Introduce API to get DHCPv6 IAID
  18d8a2cf30 network: DHCPv6 - export IAID to state file
  d69d4038ec dhcp6: Provide method to access IAID
  ed66590d15 Merge pull request #16080 from YmrDtnJu/9p
  bf76080180 core: let user define start-/stop-timeout behaviour
  8b5616fa91 Merge pull request #16073 from keszybz/shell-completion
  d3d0b763b4 Merge pull request #15953 from keszybz/gdb-script
  44a419540e pid1: rework handling of m->show_status
  0d6d3cf055 pid1: rename manager_get_show_status() to manager_should_show_status()
  b309078ab9 pid1: make more use of show_status_on()
  5a36324962 Merge pull request #16047 from poettering/udev-ro-block
  707dc7949c update TODO
  a4d1bef73f Merge pull request #16085 from ssahani/network-client-id
  6cc27c29ad Add 'bitlk' option to mount Bitlocker drives with cryptsetup.
  c15ab81ed9 mount-tool: Replace fstype_is_{network,api_vfs} with fstype_is_blockdev_backed
  ac2474e4ff basic: New function fstype_is_blockdev_backed for fstypes that need a blockdev
  b11e98037c hwdb: add HP Spectre x360's mic mute switch
  b1481b2092 Merge pull request #16092 from yuwata/network-accept-local-16090
  a34a2933e9 man: single-char parameters take no '='
  048b4dc2e1 units: tweak udev unit descriptions
  95ac523030 udev: optionally mark all block devices read-only as they pop up
  b1806441bb dissect-image: wait for udev for single filesystem images too
  2153bbc81a networkctl: Display DHCP4 client ID
  daec96821d sd-network: Introduce API to access DHCP4 client ID
  5dfaf89b5b network: DHCP4 client ID save in state file
  29f69c5741 test-network: add test for IPv4AcceptLocal=
  94d76d071e network: introduce IPv4AcceptLocal= setting
  a07e962549 homed help --uid short option
  7887e58051 test: avoid failing due to unexpected precision
  6495ceddf3 Merge pull request #16033 from poettering/parse-int-fixlets
  a742f9828e resolve: enable RES_TRUSTAD towards the 127.0.0.53 stub resolver
  9141594cae lldp: fix assertion checking argument for sd_lldp_set_neighbors_max()
  7487b48688 man: fix typo Takse -> Takes
  3a9692dd05 shell-completion: add homectl for bash
  3ac33bc966 kernel-install: extend --help
  ea9f36ac83 Merge pull request #15378 from msekletar/udev-kill-signal
  2884836e3c core: fix the return value in order to make sure we don't dipatch method return too early
  a0d79df8e5 tests: sleep a bit and give kernel time to perform the action after manual freeze/thaw
  42e57a4eb2 test: add test for parse_uid_range()
  53c6db99fa tests: beef up integer parsing tests
  fc80cabcf5 parse-util: also parse integers prefixed with 0b and 0o
  60eb1f0728 parse-util: rewrite parse_uid_range() on top of parse_uid()
  f5979b63cc user-util: be stricter in parse_uid()
  c44702a8bd parse-util: rewrite parse_mode() on top of safe_atou_full()
  aa85e4d3ce parse-util: make return parameter optional in safe_atou16_full()
  c78eefc135 parse-util: allow '-0' as alternative to '0' and '+0'
  707e93aff8 parse-util: allow tweaking how to parse integers
  3611ed7378 test: add integration test for udev event timeout
  e209926778 udev: make signal that we use to kill workers on timeout configurable
  0ce8092109 Merge pull request #15466 from elmarco/dhcp-leases
  b3753406c0 turn off fuzzit
  d9ce1c2493 networkctl: print DHCP leases
  090c923b4d networkctl: factor out link_get_property()
  7be3261222 sd-dhcp-client: add sd_dhcp_client_id_to_string()
  aaec2d7b9b macro.h: add sizeof_field() helper
  00ebe01156 sd-dhcp-client: make struct sd_dhcp_client_id reusable
  cf72a78660 networkd: expose DHCPServer interface on links
  38ee31a6e4 networkd: start a DBus interface for the DHCP server
  36d35f2259 sd-dhcp-server: notify callback on lease changed
  5b03043a75 sd-dhcp-server: add sd_dhcp_server_set_callback()
  3cd5924c85 network: make link become configured state when at least one dynamic protocol provide an address
  168561f2eb change fs/file-max to LONG_MAX instead of ULONG_MAX
  161bc1b627 Merge pull request #16057 from keszybz/resolvectl-sorted-no-nta
  bb9a9e33c9 Merge pull request #15171 from ssahani/tc-qfq
  0d63e7dd0b Merge pull request #16056 from keszybz/minor-doc-updates
  ecc04067f9 seccomp: filter openat2() entirely in seccomp_restrict_sxid()
  7ade8982ca core: remove support for ".include" stanza
  c643bda5ec network: read driver name from ethtool
  33bece166c basic/sort-util: adorn qsort_safe with a prefix underscore
  bacafb0990 pstore: use typesafe_qsort
  eb10767565 resolvect: sort status output by link number
  c9d243cdef resolvectl,systemctl: reduce scope of variables
  6cf3011c6c Introduce strcasecmp_ptr() and use it in a few places
  6773049a4c resolvectl: do not show NTA lists in status
  891ff9633f test-network: add tests for QFQ
  4d7ddaf97b network: tc: introduce [QuickFairQueueingClass] section
  b12aaee5ab network: tc: introduce Quick Fair Queueing (QFQ)
  c33f1e5a3f sd-netlink: add netlink properties of Quick Fair Queueing (QFQ)
  6161b35d5e Merge pull request #16048 from poettering/conf-parser-mtime
  c9e0695675 core: set source_mtime after load dropins
  4f9ff96a55 conf-parser: return mtime in config_parse() and friends
  5aca2e6733 conf-parse: fix pretty bad typo
  22ed4a6d9a fs-util: add stat_warn_permissions() that operates on struct stat instead of fd
  7183b22f12 Merge pull request #15996 from yuwata/network-dhcp6-route-metric-15295
  53aa85af24 cgroup: Allow empty assignments of Memory{Low,Min}=
  db2b8d2e28 cgroup: Make empty assignments reset to default
  21c8397694 tests: Fix description of test units
  eee9b30af4 basic/efivars: try re-reading efivars without delay first
  75f6d5d87e fd-util: be more careful with fclose() errnos
  112bed84bf update TODO
  927b9b8f63 man: add note that emergency.target inherits mount state
  41a7c3bf5d units: uppercase the description
  b68edd3006 man,mkosi: bump Fedora version
  68f6c58354 test: temporarily block test 48 on Ubuntu's autopkgtest
  8dd91cb55b network: drop an unused function
  c24dd73952 network: move DHCPv6 related conf parsers to networkd-dhcp6.c
  bdad94d0d6 network: set both dhcp_route_metric and dhcp6_route_metric by DHCP.RouteMetric= for backward compatibility
  1bf1bfd958 network: add DHCPv6.RouteMetric=
  132be2b868 network: use uint32_t instead of unsigned for route priority
  d06661ab66 Merge pull request #16030 from yuwata/network-read-mtime-of-dropin-configs-15521
  397288e3eb Merge pull request #15991 from keszybz/uids-gids-only-decimal
  9f83091e3c network: also read mtime of drop-in configs
  c4473dec34 network: do not propagte error on stat()
  63e2d1714e udev: single binary replacing udevd and udevadm
  0e77fc66bc network: fix double free in macsec_receive_channel_free()
  b9d19abd38 Merge pull request #16029 from yuwata/network-wireguard-without-peers-15786
  6597cb324a Merge pull request #15990 from jwrdegoede/hwdb-accel-quirks
  da3509f0f5 test-network: add test for wireguard without peers
  50254f5500 network: wireguard: set ListenPort= when no peers are configured
  dc851c00c3 Merge pull request #15982 from keszybz/shell-completion-and-help
  f3e4b1e07c Merge pull request #15884 from ssahani/dhcpv6-vendor
  a8b46548e6 Merge pull request #15993 from mrc0mmand/news-update
  fdd156dd99 tests: add a testcase triggering https://github.com/systemd/systemd/issues/15968
  1d16f661eb NEWS: fix several typos
  156a5fd297 basic/user-util: always use base 10 for user/group numbers
  f7091f458e loginctl: define loop iterators in the loop header
  a7a8dcffc2 hwdb: Add accel orientation quirk for Trekstor Surftab Twin 10.1 ST10432-8
  b5f829a2da hwdb: Add accel orientation quirk for Toshiba Encore WT10A tablet
  aa0cb635f1 network: L2TP fix crash
  9774347b57 Fix typo.
  2cac801f0f stat-util: trivial empty_or_null() tweaks
  b054e69bf9 Check ambient set against bounding set prior to applying ambient set
  bed695375a udev: when the BSD lock on a block device is taken, don't complain
  66fcfdfde7 core: add forgotten return in error path
  05dd19fad3 shared/efi-loader: remove check that uses absolute tick value
  753a71ad1d gpt: include homed GPT partition type in well-known partition table
  3668722049 units: don't set PrivateNetwork= in systemd-homed.service
  2bca2d77d3 resolved-dns-query: remove dns_query_candidate_is_routable
  a3f6020432 sd-network: fix inverted error message
  a7a9fe3c93 network: allow empty assignment to PreferredLifetime=
  8df6fc1241 Update resolvectl zsh completion
  c1a83277d0 shared: treat generator units as vendor units
  1f382d818d tree-wide: fix bad errno checks
  667c207683 bus-message: immediately reject messages with invalid type
  116a8eadb6 bus-message: fix negative offset with ~empty message
  4d5779d886 load-fragment: fix a typo
  c8b6de003a NEWS: retroactively document Family=
  cf6b8e6ec5 man: fix dir name in sysctl.d(5)
  6d009b7a25 journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo is not readable
  cf786ef164 makefs: log about OOM condition
  0b1839822f blockdev: propagate one more unexpected error
  d78ce949d0 repart: don't insist on coming up on partition label ourselves
  9e1363fcc6 journal: fix dropping first record during upload to remote journal
  50cb4e418d meson: initialize time-epoch to reproducible builds compatible value
  76abe079b7 limit-util: quieten a very common debug message that is misleading
  b3e484a3b1 shared: fix integer overflow in calendarspec
  0c29eea969 repart: suppress complaints about lack of BLKRRPART when operating on regular file
  3db52f5ed8 repart: explain when we exit early and don't do a thing
  d99cba3aaa mount: introduce mount_is_nofail() helper
  7bc4bcea15 mount: default startup dependencies and default network ones are orthogonal
  7fe617fa53 mount: introduce mount_add_default_ordering_dependencies()
  e1c091b6d4 automount: fix handling of default dependencies for automount units
  ae05a137c9 mount: let pid1 alone handle the default dependencies for mount units
  f1fb197176 mount: mount unit activated by automount unit should be only ordered against the automount unit
  c9bcc69703 generator: don't generate device dependencies for extrinsic mounts
  ebac09ea0a fstab-util: introduce fstab_is_extrinsic()
  a20e4ea0ed device: drop refuse_after
  2799fffac1 man: drop some left-over mentions of StandardOutput=syslog
  144aff9c3b sd-netlink: remove unused RTNL_WQUEUE_MAX define
  34ca8df8e1 test: Add return 0 to main() function (even it is not strictly necessary)
  6e03f328a9 network: 'cur' variable cannot be null, so simplify code
  8d0c97f6ca tree-wide: Initialize _cleanup_ variables if needed
  4f174e49ae netlink: Fix assert condition on n_containers
  3905ce532c journald: Increase stdout buffer size sooner, when almost full
  5a37eb7c61 core: don't bind varlink socket if running in test mode
  33fff72ce6 pam_systemd: also print debug lines when ending a session
  ba9af79ccb pam_systemd_home: use correct macro for converting ptr to fd
  6199235489 Fix misuse of PAM_PROMPT_ECHO_OFF in systemd-homed
  c180a2c452 shared/ethtool-util: hush gcc warnings about array bounds
  1addba4aac core: fix compilation with gcc -O3
  9c46b97161 random-util: use ERRNO_IS_NOT_SUPPORTED() macro
  d85f9093d2 tmpfiles: clarify that "!" lines are filtered before collisions are checked
  2fac966a5c man: mention the exclamation mark and minus sign literally, to make things searchable
  4f61be3373 man: clarify that exit status name mappings are unaffected by SuccessExitStatus=
  b747d74a41 seccomp-util: add new syscalls from kernel 5.6 to syscall filter table
  c30d8caf8b tree-wide: Replace assert() by assert_se() when there is side effect
  b6e8e3be7e networkctl: use uint64_t for link speed throughout
  be66ce6089 tree-wide: use CMSG_SPACE() (and not CMSG_LEN()) to allocate control buffers
  1cb197798a man: suffix pam options with "=" where arg is required too
  a5fe01d3da test: Use assert_se() where variables are only checked by assert
  6960efd198 tree-wide: Fix, replace assert() by assert_se() when there is side effect
  93c1b03074 tree-wide: Mark as _unused_ variables that are only used in assert()
  c7679d7a9f tree-wide: Workaround -Wnonnull GCC bug
  073b257fd7 man: bring example PAM snippet of pam_systemd and pam_systemd_home back in sync
  855291a81c man: highlight relevant lines in pam_systemd_home.so example PAM snippet
  f89ad7c0fd login: include pam_systemd_home.so in the default PAM snippet we ship for user@.service
  9357f9466f test: Skip test-boot-timestamps on permission denied
  cad4ebe14e sysusers: be extra careful when locking accounts
  551e6f233a shared/install: print name of offending file in error
  c6a2e51232 systemctl: fix --root support in querying presets
  6f1eedbfdd systemctl: fix hint when 'systemctl help' is given
  925521df7c shared/unit-file: fix resolution of absoulute symlinks with --root
  756ba362e8 man: mention that ProtectSystem= also takes care of /efi
  4f77cf43b5 man: systemd.service: systemd-analyze exit-codes -> exit-status
  7c6ea7a053 man: expand on the star…end/repetition time expressions
  e06b940792 calendarspec: be more graceful with two kinds of calendar expressions
  f3dd0b476d calendarspec: minor simplification
  3581c16d56 shutdown: fix spacing in shutdown error message
  9556255349 nspawn: mount custom paths before writing to /etc
  37447b7e78 repart: fix partition maximum size segfault
  7f231ba503 link: Add units and fix typo in (Rx|Tx)BufferSize= manpage. Clean up the implementation slightly
  e75d2cdb0b main: bump RLIMIT_MEMLOCK by physical RAM size
  e16b9a1e31 nspawn: be more careful with creating/chowning directories to overmount
  765d184a69 homectl: say "home area" in more places
  c11bff4fa7 userdbctl: make --help fit in 80 columns
  0e56c2ef3f shell-completion/zsh: update systemd-analyze completions
  2bb580f994 zsh: fix disable/enable completion
  607a19a309 cgroup-util: check for SYSFS_MAGIC when detecting cgroup format
  ddb3c38efc stat-util: no need to open a file to check fs type
  bd8842304c sysusers,tmpfiles: always mention error when failing to replace specifiers
  bdea9b65d2 sysusers: add accidentally forgotten 'return'
  17b059774d man: document binfmt's new --unregister switch
  560380d8ec binfmt: also unregister binfmt entries from unit
  80835d9c51 binfmt: modernize code a bit
  a1745741b8 shutdown: unregister all binfmt_misc entries before entering shutdown loop
  b637445950 shared: add common helper for unregistering all binfmt entries
  0215625e99 home: fix strv NUL termination
  038988baa1 networkd: don't do lldp rx nor tx on bond devices
  9512d576d9 sd-bus: Fix typo in sd_bus_message_append_array docs
  63cef71dd0 shared: add NULL callback check in one more place
  6b91ca22a2 core: fix unused variable warning when !HAVE_SECCOMP
  f7c1c79c57 udev: prepare memory for extra NUL termination for NULSTR
  69e0ef0d99 tree-wide: use recvmsg_safe() at various places
  cd0a84d4e9 socket-util: add recvmsg_safe() wrapper that handles MSG_CTRUNC
  2bb48c704b sd-bus: work around ubsan warning
  c147bba1fb shared: Don't try calling NULL callback in bus_wait_for_units_clear
  f907491463 run: don't wait for start job to complete when running interactively anyway
  d3d1550a5d man: Fix typo "multiplied with" -> "multiplied by"
  ae5a9f27c5 core: make sure we don't get confused when setting TERM for a tty fd
  a07d3eaf76 man: document that VirtualEthernetExtra= has nothing to do with Bridge=
  35fe81078e core: add debug log when a job in the activation queue is not runnable
  a0cd882be8 core: add log_get_max_level check optimization in log_unit_full
  2a6ad1093c util: return the correct correct wd from inotify helpers
  9ec244c5c1 core: minor error code handling fixes
  a799283c91 man: document how to get the boot menu with zero time-out
  7263e86c8d resolved: return org.freedesktop.resolve1.DnsError.NXDOMAIN on LLMNR resolution failure
  6eab4c2b3e man: use manpages.ubuntu.com for resolvconf(8) link
  75ccec5cde man: add a note that resolvconf updates /etc/resolv.conf in specific circumstances
  3e3a31743a resolvectl: fix indentation of hexdump'ed packets
  6576058fab journald: add configuration option for enabling/disabling audit during journald startup
  52c5909f15 man/systemd-service: clarify env variable expansion
  ac08df59c0 resolved: fix typo in an unused function and add comment
  d1109e12c0 udevd: update snippet string
  d904afc730 core: reload cache if it's dirty when starting a UNIT_NOT_FOUND unit
  8f0a346a29 shell-completions: update bootctl
  956508cb5d Merge pull request #15935 from poettering/cache-more-efi-vars
  d308cd4bfa po: update Brazilian Portuguese translation
  3a02643a40 Merge pull request #15915 from poettering/journal-external-link
  366d077235 update NEWS
  ddb82ec2a2 sd-dhcp: clean-up of DHCP lease server code
  eed44b715d fix_test_function_timeout
  5e0676c2ca hwdb: Add accel orientation quirk for Chuwi Hi10 X
  a1422af564 network: L2TP fix crash
  856e51957a strv: propagate location info from the call site too
  138f49e452 basic/hashmap,set: change "internal_" to "_" as the prefix
  ea806175cd gdb: make output a bit nicer
  68b0ab5891 gitignore: ignore mypy cache
  55825de59b basic/hashmap: drop unneeded macro
  3aff6c7917 gdb: update accessors for bucket counts and entry sizes
  31ca609f8a gdb: drop python2 support
  43874aa7bb hashmap: don't allow hashmap_type_info table to be optimized away
  c544fc319c tools/gdb: decrese indentation to 4 spaces
  06134457d2 basic/hashmap: update comment
  269412ef44 Merge pull request #15958 from layderv/master
  02591c95bb Merge pull request #15975 from mgub/patch-1
  bf1abf1a2c Fix typo.
  dae710bef1 #15773 add --reboot-argument to systemctl reboot
  29da419305 stat-util: trivial empty_or_null() tweaks
  8acb11a6a3 Check ambient set against bounding set prior to applying ambient set
  42ba8d25ad update TODO
  5fc20ede0f Merge pull request #15954 from keszybz/unit-file-leak
  84190644ff efi: add more logging for all EFI variable reads
  002914e688 bootctl: add simple, low-level reboot-to-firmware verb for controlling the flag
  8a96369e0b bootctl: show reboot-to-firmware info, too
  c37070c85a efi: cache OsIndications too
  d197c403b2 efi: explicitly update mtime of EFI variables when changing them
  c75e7da0b5 efi: as extra paranoia NUL terminate UTF-16 strings with three NUL bytes
  9e5230aad9 efi: cache OsIndicationsSupported
  5c25f42322 efi: avoid weirdly double }} by indenting differently
  d4bd786d69 efi: cache LoaderEntries EFI variable
  ceae629564 README: add a Fossies codespell badge
  433e14fda7 network: fix memleaks
  7c5f97f5e3 network: clean up doubled white space
  1c3ec1cd45 network: dhcp6 - fix memory leak
  b4ccc5de7d network: Inroduce DHCP6- send vendor options
  99ccb8ff89 sd-dhcp6: Introduce vendor specific information
  4737345173 update NEWS
  dd587c3a88 man: briefly document the DOCUMENTATION= structure log field
  2fac514fa9 logs: strndupa() cannot fail
  2108b56749 journal: show documentation hyperlink if known in log output
  422c8251e5 pretty-print: export urlify_enabled()
  a90fb08c81 locale-util: add glyph for external links
  b965ec7a63 catalog: normalize how we link to documentation
  9efa8a3cff network: DHCPv6 Assign delegated prefix to LAN interface
  5c95a9134a sd-network: Rectify Advertise Message Processing by a Client
  fac729f811 Merge pull request #15911 from poettering/unit-name-tighten
  f6dbcebdc2 sd-device: check netlink netns matches host netns before using monitor
  8abbd9a4d9 Merge pull request #15944 from poettering/sd-path-fixups
  27cd09442f Merge pull request #15942 from poettering/pass-pktinfo
  cfbee85ce2 Merge pull request #15956 from poettering/news-v246
  63ef9d31fd Merge pull request #15930 from poettering/udev-no-lock-warn
  63b00fa77d Merge pull request #15619 from ddstreet/ignore_carrier_loss_default
  bfafec253c update TODO
  ccdf03b9c7 sd-path: drop "-dir" and "-path" suffixes from path enums
  4a56315a99 path: use ROOTPREFIX properly
  6527b019fc xdg-autostart: fix two coverity found issues
  871dc8d644 homed: enable userdb too if homed is requested
  a745117dba udev: catch genuine_random_bytes() failures
  70d8586365 libsystemd: properly export new sd_notify_barrier() API call
  5a7cf2e9d8 hwdb: whitespace fix
  b0d0e0ef98 start NEWS file for v246
  08b8f29a25 tree-wide: remove spurious whitespace
  a4ac27c1af manager: free the jobs hashmap after we have no jobs
  f6173cb955 core: define UnitDependency iterators in loops
  3fb2326f3e shared/unit-file: make sure the old hashmaps and sets are freed upon replacement
  db868d45f9 core: make unit_set_invocation_id static
  60daebdec2 Merge pull request #15882 from poettering/pam-sudo-fixes-part4
  38344f1a79 Merge pull request #15893 from DaanDeMeyer/firstboot-overwrite
  e0d70f7691 pam_systemd: set legacy D-Bus path only if the runtime directory is validated
  6d06dfad85 pam_systemd: be more thorough when validating runtime paths
  08ab18618e resolved: tweak cmsg calculation
  43007b302e networkd: clean up NETLINK_PKTINFO vs. SO_PASSCRED confusion
  a3d19f5d99 core: add new PassPacketInfo= socket unit property
  35a3eb9bdc socket-util: add generic socket_pass_pktinfo() helper
  a5925354bb firstboot: Add --kernel-command-line option
  676339a191 firstboot: Add --root-password-hashed option
  97a1a1103c Remove systemd-firstboot --force entry from TODO
  4926ceaff3 firstboot: Add --delete-root-password option
  b4909a3fd0 firstboot: Add --force option
  2da3dc69e7 fileio: Rename rename_and_apply_smack to rename_and_apply_smack_floor_label.
  90c81688ff fileio: Refactor sync_rights to take fds as arguments
  494735f3d0 sysusers: Move sync_rights and rename_and_apply_smack to basic
  1fbc95d388 firstboot: Don't check twice if /etc/shadow exists
  bb2294e454 Merge pull request #15669 from andir/systemd-ipv6-pd-subnet-id
  6bce17455e Merge pull request #15226 from benzea/benzea/xdg-autostart-generator
  f978844eb6 man: fix conditional in homed.conf.xml
  9ff7c5b031 basic/hashmap: make _ensure_allocated return 1 on actual allocations
  5abee64ed4 udev: when the BSD lock on a block device is taken, don't complain
  49d5aae503 Merge pull request #15934 from keszybz/docs-and-test-fix
  6d02412d51 Merge pull request #15928 from poettering/kill-mode-warnings
  8aa36b1ddd man: Fix typo in suggested permissions
  2b5f708985 run: when waiting for unit, also check if no job is pending anymore
  518a9bd689 Merge pull request #15853 from poettering/tmp-argument
  ffbb0fb9cb meson: support building fuzzers with meson <0.48.0
  4793c31083 service: Display updated WatchdogUSec from sd_notify
  dde5c821bf shared/efi-loader: remove check that uses absolute tick value
  24b4597064 core: minor simplification
  40fd0a77c6 userwork: remove trailing comma in message
  1414090854 core: add forgotten return in error path
  2ad7597e44 fuzz: Add an XDG desktop file fuzzer
  98e07533a2 test: Add test for XDG desktop file parsing and interpretation
  4540e698e8 man: Add systemd-xdg-autostart-generator man page
  8feca2472c xdg-autostart-generator: Add a generator for XDG autostart files
  3035a7c577 core: update comment about sysv compat
  8746820b87 sysv-generator: Downgrade directory listing fails to warning
  2991fa41e4 test: create public images by default
  9554b8d1d1 fuzzit: switch to -fundefined
  8441ff6886 test: make the systemd-run calls synchronous
  698564d147 efivars: log whenever an EFI variable read access is slow
  effefa30de update TODO
  0e42cbe254 sysv: generate warning for every SysV service lacking a native systemd unit
  470ab28d07 sysv: use structured initialization
  c8aa4b5b86 core: voidify one function return
  b0cea477d4 core: some more structured initialization
  4c42543429 core: also log about left-over processes during unit stop
  021acbc188 units: remove KillMode=process in our regular gettys
  9b52e0d81a man: document that KillMode=none is a bad idea
  d068765b68 core: warn if KillMode=none is used
  7b11770bae gpt: include homed GPT partition type in well-known partition table
  48432791ac units: don't set PrivateNetwork= in systemd-homed.service
  8a7b71bd97 Merge pull request #15910 from poettering/tmpfiles-pstore-tweak
  4b019d2f2d tmpfiles: deal with kernel errno change if quota is not enabled
  548af942b8 Revert "presets: "disable" all passive targets by default"
  90bdc8be66 resolved-dns-query: remove dns_query_candidate_is_routable
  e6190e2882 sd-boot: fix menu ordering with boot counting
  2d2d75047e update TODO
  7257f717c1 Merge pull request #15920 from keszybz/userwork-proc-title
  53ac130b51 cryptsetup: support tmp= file system argument
  92a08691c2 fstab-util: prefix return parameters with ret_
  0fc0d85fae test: add bridge configure-without-carrier test
  9bacf4313e test: expand configure-without-carrier test
  6b8a1aa6a3 network: return 1 on start and 0 if ipv4ll is already started
  cf3317f63a Merge pull request #15906 from keszybz/busctl-stdout-stderr
  47eeb381c8 Merge pull request #15909 from keszybz/sd-network-serialization
  3544f65f0c editorconfig: add man configuration
  6589a56972 dont install systemd-initctl, runlevel, telinit if no SYSV compat
  bd0d471c8f network: Change IgnoreCarrierLoss default to value of ConfigureWithoutCarrier
  a53a85b35e Merge pull request #15914 from poettering/ubsan-float-check
  02e9e34bd9 networkd: Add support for setting a preferred subnet id for IPv6 PD leases
  171f625b9e in-addr-util: removed in_addr_prefix_next implementation
  863b99cdd9 in-addr-util: introduce in_addr_prefix_nth
  e1a0423266 man: reword description of IPAddressDeny/Allow a bit
  201632e314 tree-wide: s/time-out/timeout/g
  e14db35072 userwork: fix typos in comment
  c55104ce58 basic/process-util: only try PR_SET_MM once
  ad4f7f6747 basic/process-util: create helper function
  fdf3c16d75 man: beef up $MAINPID examples
  d8bff5cc37 network: simplify how initial space is handled
  d5e172d2fb networkd: unfoobar serialization of links
  253acc229c Merge pull request #15840 from Werkov/mkosi-opensuse
  00813316b0 sd-dhcp6: constify output arguments in get_{ntp,nds}_addr
  dddc8d1e1e sd-network: reduce scope of some variables
  ffec8658db Merge pull request #15862 from hunger/master
  6ae8c6f5d7 update TODO
  8dd7cbce42 journal: expand variables up to PATH_MAX in size in catalog output
  2c905207db core: improve log messages when we cannot process a mount point
  5aec5c751a unit-name: use TAKE_PTR() where appropriate
  ab19db01ae unit-name: tighten checks for building valid unit names
  445bd57e39 busctl: drop unneeded param
  50f20d1bc2 busctl: verify args early and always print results to stdout
  e5af586f49 add a test triggering https://github.com/systemd/systemd/issues/15907
  8e2fa6e223 json: turn off ubsan for json_variant_has_type()
  6028d766d1 macro: introduce DISABLE_WARNING_TYPE_LIMITS and make use of it everywhere
  56e577c62f tree-wide: use DISABLE_WARNING_FORMAT_NONLITERAL where appropriate
  6a5b28def2 json: use our regular way to turn off compiler warnings
  1283366a90 Merge pull request #15167 from ssahani/address-gen-mode
  a177f05a5c Merge pull request #15872 from keszybz/networkd-types
  203c07c95b tmpfiles: don't complain if we can't enable pstore in containers
  1baaf8aa04 tmpfiles: downgrade log message when we can't write a file and failure is allowed
  7b5cb4ceb4 Repart: Add simple tests for Label="" and UUID=""
  129635333d repart: Add UUID option to config files
  10b20e5a93 network: allow empty assignment to PreferredLifetime=
  d273579667 network: use consistent type when parsing lifetimes
  2206aa5c35 sd-network: fix inverted error message
  062ac2ea85 sd-bus: internalize setting of bus is_system/is_user
  0406d1a843 man: add docs for the new functions
  5453a4b1a8 tree-wide: use public sd-bus functions in more places
  d2916409ed sd-bus: make name validation functions public
  4c163bf1f4 busctl: use set_put_strdup()
  15dd451535 tree-wide: codespell fixes
  639375e0b6 ACCEL_MOUNT_MATRIX for additional Acer Spin model
  cc1c85fbc3 login: limit nr_inodes for /run/user/$UID
  6a220cdb0b home: respect user record mount flags
  9f50cdd34a hwdb: remove support for MOUSE_WHEEL_TILT_*
  3c60fb077f Merge pull request #15886 from mrc0mmand/travis-enable-fuzz-tests
  87666b31f9 meson: pass the optimization level to the fuzzer build
  e9158b254c travis: enable fuzzer regression tests under sanitizers
  0aeb407cb4 Merge pull request #15889 from evverx/15885
  0d5266541c tests: add a testcase for https://github.com/systemd/systemd/issues/15885
  1eb73422f2 network: Fix crash when SendOption= is invalid
  fbc6d1716f Merge pull request #15869 from poettering/cant-auth
  5dd1469ef1 Merge pull request #15877 from mrc0mmand/meson-fuzz-test
  c8f145adbb homed: don't insist on authentication against host-copy user record
  1a53adb3ab homed: include error string when in log message if quota doesn't work
  2fcbf417b6 bus-util: actually register the object manager
  fa3709c5fb homed: also fsync private/public key pair when storing it
  e8dd54ab3c homed: fix typo
  b847192699 homed: make sure we log about invalid user records we load
  20f4a308bf homed: automatically clean up empty user record files
  e4005ffe00 homed: when updating local copy of user record, sync to disk
  5b3f4a20ea fileio: sync directory after rename, too
  cbffdcecae homed: return a better error when a home has no authentication information defined
  766507972b Merge pull request #15433 from mrc0mmand/test-reintroduce-parallelization
  c56463fdb4 meson: add fuzz-tests= option
  e72ecbf506 Merge pull request #15873 from evverx/pointer-overflow-oss-fuzz
  a6f1848a23 network: Allow to configure addr_gen_mode
  d0192e93f8 Update resolvectl zsh completion
  efdbf5fe9c shared: treat generator units as vendor units
  9b3278d907 udev: rename the persistent link for ATA devices
  7f20a9e5b9 networkctl: Add a range to address genmode
  1b1b7b44cc rules: automatically pull in smartcard.target from all CCID devices
  7c15a55f8b Merge pull request #15870 from poettering/proc-cmdline-efi-fix
  2f0a427b45 docs: add a link to the Fossies codespell report
  1f034000a5 oss-fuzz: turn on the pointer-overflow check
  f198303902 sd-path: fix systemd-system-generator-path lookup
  5dc31db7c1 network: reduce scope of variables, etc.
  a27060759b network: fix signed/unsigned confusion
  a60416f319 homed: fix return value mix-up
  b10ceb4783 Merge pull request #15557 from poettering/journal-zero-fix
  a88dce2bdd Merge pull request #15865 from evverx/ubsan-to-the-rescue
  acf70f8dd1 Merge pull request #15854 from poettering/call-method-ret-error
  30ed6e2250 Merge pull request #15864 from poettering/pam-sudo-fixes-part3
  0c789b6b81 Merge pull request #15868 from keszybz/fix-failed-to-fix-up-pid1-environment
  09835de3cc proc-cmdline: make checking of EFI options variable optional
  05a7827e87 proc-cmdline: add checking of EFI options variable in proc_cmdline_get_key_many() too
  4b5ee5901c proc-cmdline: fix return value clobbering in proc_cmdline_get_key()
  6b8664cb5b tree-wide: fix bad errno checks
  a0fa268337 basic/efivars: fix errno propagation
  929d07ddcb Merge pull request #15274 from ssahani/network-issue-9610
  400530c1e2 Merge pull request #15490 from ssahani/dhcpv6-vendor-class
  157dcb8de3 fuzzit: turn on the pointer-overflow check
  8976715804 build-system: build the fuzz targets with both ASan and UBSan
  2efa512a1a man: let's document explicitly that method reply handlers won't get ret_error set to method error
  af955f917f man: include sd_bus_message_handler_t prototype in synopsys of all man pages that reference the type
  a94d11cc66 Merge pull request #15860 from keszybz/bus-message-empty-fields
  bb94ded693 Merge pull request #15661 from hundeboll/mount-read-write-only
  579ca0a2b2 sd-network: DHCPv4 - Add user class, extra option and send generic options in request state
  3d45f6b2d0 Merge pull request #15535 from fbuihuu/update-runtime-watchdog-on-reload
  929fed02df load-fragment: fix a typo
  ad76560525 man: document x-systemd.rw-only fstab option
  f42aa41683 fstab-generator: add x-systemd.rw-only option support
  75f4bd7fd0 man: document ReadWriteOnly property for mount units
  a2dd991d0f bus-message: immediately reject messages with invalid type
  e0c17a7d1b bus-message: fix negative offset with ~empty message
  550c8784c5 udev: when random MACs are requested, generate them with genuine randomness
  2d3adfa6c4 DHCPv6: MUD URL lengh - use UINT8_MAX instead of 255
  ed0d1b2e99 network: DHCPv6 - Add support to send vendor class information
  73c8ced784 sd-network: DHCPv6 - Add support to send vendor class data
  d6463307e0 network: DHCPv4- Allow to set DHCP lease lifetime
  4c0b8d563d sd-dhcpv4: Allow to configure lease lifetime
  e945dd9eed pam_systemd: clean up success path
  764ae4dd51 man_systemd_home: intrdouce SYSTEMD_HOME_SUSPEND env var
  d08a6ec39c update TODO
  1c3232e4a4 Merge pull request #15482 from ssahani/dhcpv6-userclass
  38fee61952 systemctl: Fix frozen state coloring
  d31dda5e95 Merge pull request #15637 from poettering/cryptsetup-literal
  6e41f4dd91 man: document the newly acquired cryptsetup features
  4eb08bdb71 cryptsetup: fix minor indentation issue
  0ba6f85ed3 cryptsetup: optionally, see if empty password works for unlocking the file system
  2424fb7e7b cryptsetup: fix minor memory leak
  c6b1d7d1da cryptsetup: also check for /dev/hwrng as random device node
  cb6c9283b5 cryptsetup: make sure to return EAGAIN on wrong tcrypt password too
  7407f68980 cryptsetup: automatically load luks keys off disk
  23769fb371 cryptsetup: split out key loading from pkcs11 code and teach search path logic
  d3d49e7649 cryptsetup: optionally remove key file after use
  8ced40c09b cryptsetup: catch up with debian crypttab options a bit
  053e0626db fs-util: teach unlinkat_deallocate() a simple scheme for overwriting for erasing
  1d06deba0f Merge pull request #15845 from poettering/btrfs-encrypted-fix
  2946d46355 Merge pull request #15843 from poettering/busctl-duplicate-tweaks
  f12465466d Merge pull request #15848 from keszybz/small-doc-tweaks
  70fcda8562 NEWS: retroactively document Family=
  b406c6d128 pid1: make manager_deserialize_{uid,gid}_refs() static
  80f605c807 pid1: make manager_serialize_{uid,gid}_refs() static
  06a4eb0737 pid1: make manager_vacuum_{uid,gid}_refs() static
  1addc46c8c pid1: make manager_flip_auto_status() static
  ffe5c01eaa pid1: fold load_configuration() into main()
  986935cf6a pid1: update manager settings on reload too
  544e146b0e journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo is not readable
  7f6b827f36 Merge pull request #15836 from poettering/makefs-lock
  feb13fca97 repart: don't insist on coming up on partition label ourselves
  a840ad5ae8 mkosi: Add explicit --bootable=no openSUSE dependencies
  3468e5ac51 btrfs-util: tweak error code a bit
  f8838c6c2f test-fs-util: don't fail on btrfs file systems in containers
  ffed0205c7 DHCP: Use UINT8_MAX instead of 255
  f37f2a6b8a network: DHCPv6 - Add support to send user class
  3392392518 sd-network: DHCPv6 - add support to send userclass option
  44dcb318cc Merge pull request #15842 from evverx/cifuzz
  cdf7ad38b6 allow removal of initrd services
  5e375a1ef2 Merge pull request #15794 from poettering/pam-sudo-fixes-part2
  201fa8f256 Merge pull request #15166 from ssahani/networkctl-ipvlan
  c5dc0a298e homed: use right config section in example config
  f17153a721 busctl: improve error messages on duplicate members/interfaces
  9600c27c41 busctl: use structured initialization
  11aaaa2c96 TODO: drop some external items
  e2da649182 TODO: drop some networkd items
  619720ba0a Merge pull request #15810 from poettering/override-first-boot
  01bcea4999 dhcp6: slightly improve log message
  e2cf880e68 README: add a CIFuzz badge
  82d7a25ee6 cifuzz: protect forks from CIFuzz
  bc48b25afd journal: fix dropping first record during upload to remote journal
  abc72137d1 Merge pull request #15838 from poettering/hostnamed-instant-part2
  498115c2b6 mkosi: Add openSUSE Tumbleweed packages
  7b9289b1a0 man: fix dir name in sysctl.d(5)
  cfb9433de4 hostnamed: call our destructor _destroy(), not _clear()
  5704cd733c hostnamed: don't cache system UUID
  72f48cd3e3 hostnamed: don't cache uname() data
  db2c56b0dd cryptsetup-generator: use systemd-makefs for implementation of "swap" and "tmp" options
  a5a8fe2e8d makefs: normalize logging a bit
  0181ad85b3 makefs: lock device while we operate
  c6526b8d66 update TODO
  34293dfafd core: allow overriding the system hostname with systemd.hostname= on the kernel command line
  3753325bef main: add a kernel command line option for setting the system clock early during boot
  814872e925 condition: introduce systemd.condition-first-boot= kernel command line switch
  5439d8212c condition: debug log if F_OK check on /run/systemd/first-boot fails unexpectedly
  ce0f7f5546 condition: reverse if check to lower indentation level
  f8b4ae29c7 condition: allow overriding of ConditionNeedsUpdate= on the kernel command line
  3931056767 proc-cmdline: add some explanatory comments
  b2d1ad757c condition: when reading /etc/ modification timestamp, let's actualy compare it as-is
  f33cd69b5c condition: downgrade a few log messages to debug
  df1f5dc1d9 condition: add debug log messages on unexpected errors
  841c0987f7 condition: check if path is absolute first
  851ef1ed56 networkctl: Add support to display ipvlan
  ac83e5aeca blockdev: add helper for locking whole block device
  58dfbfbdd6 dissect: use log_debug_errno() where appropriate
  700e0d3d87 makefs: log about OOM condition
  6cba41ab0d blockdev: propagate one more unexpected error
  34d16bad2d update TODO
  b3d15d90c0 Merge pull request #15804 from poettering/hostnamed-instant-part1
  d7d892e694 Merge pull request #15494 from ssahani/dhcpv6-request-options
  d0e3e76bb1 Merge pull request #15165 from ssahani/bonding
  6dbf352cfb meson: initialize time-epoch to reproducible builds compatible value
  28a060688f dhcpv6 tests: Update since we allow arbitrary options to be set
  35f6a5cb44 network: DHCPv6 - Add support set arbitary request options
  2b20ca653c sd-dhcp6: Allow to add arbitary request option
  7a57256c73 test: introduce TEST_PARALLELIZE to support running tests in parallel
  e89450921f test: fix public/private image detection and prefer the latter one
  3be6f50117 test: unify quotation around image names
  b55818fd12 networkctl: Use bond util common functions
  5fe5908eed network: Introduce bond util
  22ae6c7d9a networkctl: VXLan - display more properties
  35072050e6 network: Introduce ipvlan util
  f00c36641a pstore: introduce tmpfiles.d/systemd-pstore.conf
  b4e1563ffb Increase size of /run to 20%
  154962d348 docs: policy for systemd-security subscriptions
  18fbb567a8 Merge pull request #15817 from poettering/more-conditions
  cb1277fa3b udev: get rid of "Could not set flow control of" message on "lo" interface
  c07f18ffd4 shared: fix integer overflow in calendarspec
  bccba5249a update TODO
  410abf8304 man: document the two new condition types
  a0b191b705 condition: add ConditionEnvironment=
  7cd9e4f8a0 limit-util: quieten a very common debug message that is misleading
  411e835c50 condition: return (Condition*) NULL from condition_free()
  dce719f6c1 condition: introduce generic function type for condition_to_string()-like functions
  7f19247b5e condition: add ConditionPathIsEncrypted=
  89fe653544 network: Add support to group links.
  bf896ca628 Merge pull request #15792 from poettering/repart-allocate
  e1e214c56b Merge pull request #15265 from fbuihuu/mount-fixes
  214ffe64fc Merge pull request #15052 from jaankit/journal-send
  f5b04551b8 Merge pull request #15812 from poettering/deprecate-stdout-syslog
  b0eb3d6ed2 hwdb: fix microphone shortcut on HP EliteBook 840 G1
  f3dc6af20f core: automatically update StandardOuput=syslog to =journal (and similar for StandardError=)
  d2b843554a man: drop some left-over mentions of StandardOutput=syslog
  157644119b update TODO
  96deebbcda man: document new --empty=create and --size= switches to repart
  05ae606b79 test: update tests to use new repart features
  a26f4a49f4 repart: add support for create/growing loopback files
  9a1deb8578 repart: suppress complaints about lack of BLKRRPART when operating on regular file
  e2d65cd299 repart: explain when we exit early and don't do a thing
  32fcf399bf sd-netlink: remove unused RTNL_WQUEUE_MAX define
  c53ce14dfc sysctl: check correct error code
  2eaf435a16 journal-send: Fix the limitation of LINE_MAX
  969d329490 test-journal-send: send printing of long lines
  4df4df5b56 network: allow setting VLAN protocol on bridges
  cf217a0922 networkctl: Add support to display macvlan/macvtap mode
  d51674806a network: Introduce macvlan util
  6551cf2d61 man: document $LOG_NAMESPACE
  90810f7a37 sd-dhcp-server: some function prototype fix-ups
  4b129fba30 cifuzz: set allowed-broken-targets-percentage to 0
  2b8c2fbb2d Merge pull request #15765 from benjarobin/fix_kw
  3250501865 Merge pull request #15660 from benjarobin/perf_barrier_fd
  de07add2c9 Merge pull request #15801 from poettering/journal-pid-change-fix
  9bf4984a2a selinux: add parenthesis to function names in log messages
  5141b4e3b6 ci: install fdisk on Debian
  243945e95e test: Add return 0 to main() function (even it is not strictly necessary)
  fbb0b66577 systemctl: Check clean_or_freeze_unit(): Add assert if unknown method
  81c5a5961f network: 'cur' variable cannot be null, so simplify code
  b9c54c4665 tree-wide: Initialize _cleanup_ variables if needed
  179b4db439 netlink: Fix assert condition on n_containers
  5151b4ccd2 core: Parse the tags list sooner, and use it for multiple function
  a3d9aee14f man: document the new _LINE_BREAK= type
  d38b3b74db test: Stricter test case for #15654 (Add more checks)
  c11d8fd1da test: Add a test case for #15654
  45ba1ea5e9 journald: rework pid change handling
  020b4a023c journald: use the fact that client_context_release() returns NULL
  549b7379ba journald: rework end of line marker handling to use a field table
  5fe7fb0bf6 journald: use log_warning_errno() where appropriate
  034e9719ac journald: Increase stdout buffer size sooner, when almost full
  e65848175f semaphore: use dots instead of dashes
  0271e9b10c man: complete vtable flag documentation
  491ce16103 sd-bus: introduce new SD_BUS_VTABLE_ABSOLUTE_OFFSET vtable flag
  61c12865f5 resolved: port to stat_inode_unmodified()
  fee5c52ac2 stat-util: add stat_inode_unmodified() helper that checks if an inode was modified
  5a0173147b docs: add some backticks and more formatting to PASSWORD_AGENTS.md (#15803)
  053fbf54fc Merge pull request #15795 from gdamjan/master
  266dd55505 systemctl: fix indentation of 'Active:' field in status output
  8284f81bf7 Tidy up the Fedora mkosi Package list
  8623836502 fix WikiWord not-links
  7d85383edb tree-wide: add size limits for tmpfs mounts
  7cc8fb3ef0 update TODO
  08d50deaf8 core: don't bind varlink socket if running in test mode
  67a40f217c docs: import password agents documentation
  6c8428bb8b pam_systemd_home: also store acquirement fd per user
  dbe7fff476 pam_systemd/pam_systemd_home: rework how we cache user records
  0289b4ec69 Merge pull request #15785 from poettering/pam-sudo-fixes-part1
  cd8fdc2c73 Merge pull request #15789 from poettering/homed-bus-api
  3d9237d666 update TODO
  45c5fa253a pam_systemd: also print debug lines when ending a session
  3400bc866d pam_systemd: drop unused uid argument from export_legacy_dbus_address()
  da4340fd43 pam_systemd_home: use correct macro for converting ptr to fd
  2dffb32309 man: document homed D-Bus API
  55842c7326 homed: fix parameter names on D-Bus methods
  671fee1873 man: run man/update-dbus-docs again
  9e45fb09bf netlink: port to recvmsg_safe()
  d423294394 Fix misuse of PAM_PROMPT_ECHO_OFF in systemd-homed
  9b107000ab Merge pull request #15762 from keszybz/gcc-10-build
  e7d5fe17db DHCP client: make SendOption work for DHCPv6 too.
  2d5996c175 Merge pull request #15460 from elmarco/network-dhcp-resolve1
  94c0c5b7ea shared/ethtool-util: hush gcc warnings about array bounds
  6b726e602e Merge pull request #15768 from poettering/grnd-insecure
  f1f7b08805 Merge pull request #15769 from poettering/man-tmpfiles-boot-override
  1e0d5eebf1 man: clarify that exit status name mappings are unaffected by SuccessExitStatus=
  13c829c1bd Added Chuwi Hibook Pro (Model: CWI526) (#15770)
  8270e3d8ed seccomp-util: add new syscalls from kernel 5.6 to syscall filter table
  fcee2755ec core: Update prototype of notify_message, tags list is read only
  147d8fc1a7 basic: Allow to call STRV_FOREACH_BACKWARDS() with a char * const * strv
  ead2a4a231 tmpfiles: clarify that "!" lines are filtered before collisions are checked
  f742f9d317 man: mention the exclamation mark and minus sign literally, to make things searchable
  82c8bda1f1 update TODO
  0497c4c28a random-util: make use of GRND_INSECURE when it is defined
  e2b5546452 random-util: use ERRNO_IS_NOT_SUPPORTED() macro
  57ee010ff2 random-util: actually encode our expectations on RAND_MAX
  f1eb0ccd9e update TODO
  622e1cdb31 fs-util: beef up path_is_encrypted() to deal with LVM block devices
  20c3acfaad tree-wide: Replace assert() by assert_se() when there is side effect
  b2da95cfa1 update TODO
  15981c26e3 update TODO
  23450c897d core: fix compilation with gcc -O3
  2f665f2437 networkctl: use uint64_t for link speed throughout
  a114ab6373 cifuzz: fuzz the master branch on push
  94f660a8fe cifuzz: run only for relevant PRs
  f2a8372e37 Merge pull request #15703 from poettering/homed-tweak-default-storage
  dd1d306058 network: fallback on resolved resolv.conf for DHCP server settings
  0328d672f3 Merge pull request #15651 from poettering/newlocale-check
  c01ef54f7f homectl: color disk free output if low on free space
  27593a0641 hwdb: Fix accel orientation quirk for Medion Akoya E2215T MD60198
  165bda37ba Merge pull request #15718 from poettering/tmpfiles-offline
  8acb7780df Merge pull request #15623 from poettering/cmsg-cleanup
  321330ecab update TODO
  feb86ca90c man: document homed.conf
  c76dd733af homed: make default storage/file system type configurable in homed.conf
  c07bf7a4ed homed: move supported_fstype() to home-util.c
  1dfe5de095 homed: tweak logic for picking a default storage and file system
  0d5e523461 home: when adding a binding for a user record, use common code for determining automatic image path
  a43eddbdf4 user-record: split out code that generates automatic image path for records
  ed9c0851e5 fs-util: add helper path_is_encrypted() that checks if a file system is encrypted
  a6e1018df2 update TODO
  2d95d81f7b shared: move in_addr_ifindex_name_from_string_auto() there
  d910f4c2b2 core/cgroup: fix return value of unit_cgorup_freezer_action()
  c60bc8d4fb Merge pull request #15745 from keszybz/one-more-specifier
  7c5137329d Merge pull request #15713 from poettering/home-discard-when-offline
  bb5da6c385 meson: re-run ninja update-man-rules
  5e55340ad4 Merge pull request #15681 from vcaputo/buslocator
  43fe4f7613 timedate: switch to BusLocator-oriented helpers
  8010c205dd systemctl: switch to BusLocator-oriented helpers
  7ad61613de run: switch to BusLocator-oriented helpers
  d96f9abc95 resolve: switch to BusLocator-oriented helpers
  bf5c8177f8 portable: switch to BusLocator-oriented helpers
  a63d7e7bf6 nss-resolve: switch to BusLocator-oriented helpers
  7b38987880 nss-mymachines: switch to BusLocator-oriented helpers
  1ecaac5c30 nspawn: switch to BusLocator-oriented helpers
  8a048c8c42 network: switch to BusLocator-oriented helpers
  92cb8ebcb4 mount: switch to BusLocator-oriented helpers
  14456f7607 machine: switch to BusLocator-oriented helpers
  5d990cc571 login: switch to BusLocator-oriented helpers
  e3c8ec3b33 locale: switch to BusLocator-oriented helpers
  de770b6042 analyze: switch to BusLocator-oriented helpers
  8a1596aab5 home: switch to shared bus_home_mgr
  54e27bb5c0 bus: introduce bus-locator.[ch]
  b6c93a5a44 test-specifier: add a simple test which prints "global" specifiers
  e97708fa3e Add %l as specifier for the hostname without any domain component
  eef4b80033 Add a basic test that the configured fallback hostname is OK
  a00a78b84e tree-wide: port various bits over to locale_is_installed()
  b45b0a69bb test: add test case for locale_is_installed()
  23fa786ca6 locale-util: add new helper locale_is_installed()
  5cea17a177 Merge pull request #15635 from keszybz/set-put-strdup
  b36dc5cebd Merge pull request #15714 from poettering/homed-key-mgmt-doc
  77a3cec0c7 man: document the new tmpfiles --root= behaviour regarding users
  7dc6477dc9 sysusers/tmpfiles: use --root=/ as way to force offline operation (i.e.  without NSS)
  a3451c2c4c tmpfiles: optionally, read /etc/passwd + /etc/group without NSS
  6dbf40256b man: put all pages which mention a specifier in the index
  6552874506 man: fix indentation in sysusers.d.xml
  6a49603e08 update TODO
  c0440512e6 docs: document the new offline discard logic
  28a7f10620 homework: run fitrim or fallocate on logout based on the new user record property
  cba116991d homectl: add option for controlling new luksOfflineDiscard user record field
  5e86c82acd user-record: add new field for requesting LUKS discard on logout
  c06bcd4d68 homed: allow overriding homework path via env var
  1f7c6f906b update TODO
  6d68a0b3dd man: document homed key management
  0d525a3e93 man: add specifiers section to directives index
  282230882c tools: move directive index template to separate file
  fb29cdbef2 tree-wide: make sure our control buffers are properly aligned
  0d9d333672 tree-wide: remove redundant assignments
  a258f4915a tree-wide: use CMSG_SPACE() (and not CMSG_LEN()) to allocate control buffers
  c62e7d041f man: update rules
  06689b8d11 meson: rename make-man-rules.py to update-man-rules.py
  dd1e33c8dc meson: drop "meson-" prefix from various helper script filenames
  1f63c72d2e man: suffix pam options with "=" where arg is required too
  6bae4b905c Revert "Add Kensington SlimBlade Trackball"
  d402edb764 resolved: Fix build error due to missing include.
  48a3b5c6db netlink socket correct check (#15720)
  f5b7d681c7 homectl: show disk free in percent in 'inspect'
  354722dde4 Merge pull request #15733 from benjarobin/fix_warn_ndebug
  08f468567d tree-wide: Workaround -Wnonnull GCC bug
  ba876a4c8d homed: open up home dir Acquire operation to unpriv clients
  be28f72d6a resolved: Break include cycles
  0454681395 meson: Do not drop warnings (unused variable) when NDEBUG is defined
  683d0bc041 resize-fs: Use xsprintf instead of snprintf
  060d9c61b6 test: Use assert_se() where variables are only checked by assert
  f391597c67 tree-wide: Fix, replace assert() by assert_se() when there is side effect
  0a0e594a26 tree-wide: Mark as _unused_ variables that are only used in assert()
  96249bf8d6 Merge pull request #15735 from poettering/pam-snippet-update
  a06df2a4bd Merge pull request #15727 from poettering/systemctl-list-sockets-tweak
  4ad5bf7865 man: bring example PAM snippet of pam_systemd and pam_systemd_home back in sync
  c6472bb019 man: highlight relevant lines in pam_systemd_home.so example PAM snippet
  bd685faa1a login: include pam_systemd_home.so in the default PAM snippet we ship for user@.service
  e48471b948 test: Skip test-boot-timestamps on permission denied
  259f0dfbec hwdb: Force "mouse" type on Logitech Ultrathin Touch Mouse
  e57ac1b017 tree-wide: use _cleanup_set_free_ where appropriate
  2f063186d5 shared/logs-show: constify Set *fields
  476a63e9c0 sd-device: get rid of device_enumerator_clear_match_parent
  2204f018cd sd-device: optimize addition of already present matches
  eb1c1dc029 sd-device: use hashmap_put_strdup()
  25b3e2a835 basic/hashmap: allow NULL values in strdup hashmaps and add test
  c73bb51364 sd-device: use string hash ops in device enumerator
  de747a0008 test-set: make test-set not link to libshared and test test_set_put_strdup*()
  be32732168 basic/set: let set_put_strdup() create the set with string hash ops
  1fab579743 systemctl: underline whole rows, gapless
  b0395c1176 format-table: support coloring the gap right of each cell individually
  45d82c3f1c systemctl: ensure underline for "list-unit-files" empty cells
  50098d87fb systemctl: let's tweak how we synthesize a cell for activating unit
  bc04bb0d29 systemctl: change column name in "list-sockets" out from "units" to "unit"
  0773357ad1 systemctl: show empty cells as '-'
  557b0841b7 format-table: display an empty strv cell the same way as an empty cell
  0894f08bf1 resolve: fix type of parameter and update man page
  ba5a389d24 Merge pull request #15473 from keszybz/bus-introspection
  9e12d5bf63 socket-proxy: Support exit-on-idle
  c28904dae0 Update the rsync command in CONVERTING_TO_HOMED
  eff7c2d3c9 sd-bus: Add a nicer way of specifying sd-bus vtable method arguments
  7f3a5eb70e build-system: bring back 'nonnull'
  fc58c0c7bf sysusers: be extra careful when locking accounts
  b61cc5fdad man: update login1(5) for SetType()
  b856b346c1 man: add stub for home1(5)
  cfd508a9d6 homed: convert to the new scheme and add --bus-introspect
  c92391f52f Merge pull request #15692 from keszybz/preset-cleanup
  1a0e562a5b man: add description of org.freedesktop.LogControl1
  81e06775be meson: add man/update-dbus-docs target
  7cb4f4145f man: drop LogLevel from resolve1(5)
  38b52b6918 man: drop CanMultiSession from documention
  48f99d7c06 man: use --bus-introspect to autogenerate dbus api docs
  c351d568c3 update-dbus-docs: use executables in build/
  5c08257b70 pid1: add --bus-introspect
  f6e9aa9e45 pid1: convert to the new scheme
  4faa530cf6 machined: convert to the new scheme and add --bus-introspect
  5ceceff170 localed: convert to the new scheme and add --bus-introspect
  670139db40 hostnamed: convert to the new scheme and add --bus-introspect
  8b4933973e bus-introspect: list the interfaces with "list"
  8d1280897b resolved: convert to the new scheme
  c4b7d95c46 timedated: convert to the new scheme and add --bus-introspect
  cd7e1e1a7f units: change description of systemd-logind.service
  d4cc0edfce importd,logind: add --bus-introspect= option
  1e9bc92dba bus-util: add wrapper for interface introspection
  c2b178d3ca logind: convert to the new scheme
  a3b7cf5013 importd: convert to the new scheme
  6a7e98aaca sd-bus: add helper struct for interface definitions
  31b8895af7 systemctl: do not show preset state for "static"/"alias"/"generated"/"transient" units
  15d7ab87c4 systemctl: add new enablement state "alias"
  9c894b8579 shared/install: rename variable for clarity
  bce84e10f8 shared/install: print name of offending file in error
  babccf14ce shared/install: indent tables
  8f7b256665 shared/install: optionally cache the preset list
  87afd40b5a man: systemd.service: systemd-analyze exit-codes -> exit-status
  a8acbf9748 Add Zowie ZA12 details to mouse hwdb
  c39b7821f6 systemctl: fix --root support in querying presets
  4cb1015e6b systemctl: refuse online-only ops with --root
  9321e23c40 shared/verbs: split out helper to find verbs
  d8b065e056 shared/verbs: add a modicum of documentation
  ae98f726ff systemctl: mark log-level,log-target,service-watchdogs as online-only
  77102db288 systemctl: fix hint when 'systemctl help' is given
  eaf7ac4929 Merge pull request #15645 from poettering/calender-expression-doc-fix
  05c7d9bf5b Revert "logs-show: declare [static 2] on all highlight parameters"
  640ebaa952 Merge pull request #15648 from poettering/journalctl-cat-beefup
  c83347b49d man: migrate more specifier explanations to standard-specifiers.xml
  90f1f8188b Merge pull request #15701 from poettering/systemctl-json-table
  cae97f3b60 correct evdev dimensions for T490 trackpad
  4723f9ef16 hwdb: Fix brightness keys for Logitech K811
  5fe4d1b514 shutdown: fix spacing in shutdown error message
  5444520628 logs-show: declare [static 2] on all highlight parameters
  e0e3d38726 man: document the new -o cat feature
  4d5d1bba73 journalctl: optionally, show a different field than MESSAGE in -o cat mode
  54ff74d273 journal: use set_contains() where appropriate
  5c4deb9a5c nspawn: mount custom paths before writing to /etc
  2edc7aea7a man: expand on the star…end/repetition time expressions
  c9c9f6f450 calendarspec: be more graceful with two kinds of calendar expressions
  05851cb9df calendarspec: minor simplification
  3c6f0300ae calendarspec: drop _pure_ from static function
  80b19994a4 calendarspec: pack our flags a bit
  a4d6d711cf calendarspec: encode that it's OK to store µs in 'int's
  49cd06fa2d systemctl: optionally output tables in JSON format
  e21b76cd68 format-table: generate better JSON field names
  708961c701 core/path: recheck path specs when triggered unit changes state
  f285f07752 core/path: use escaped path in serialization
  848cfa74d2 Merge pull request #15636 from poettering/sensitivity-training
  53491f7fe7 Merge pull request #15647 from benzea/benzea/graphical-use-app-prefix
  05d9125ece mkosi: Fix openSUSE image declaration
  8049c79b65 Add Kensington SlimBlade Trackball
  793452e0ba catalog,po: update Polish translation
  111e71c431 test: fix potential use-after-free
  80cf50120c Merge pull request #15422 from nolange/add_zstd_coredump
  8012d5c08e install libzstd-dev for CI builds
  ef5924aa31 coredump: add zstandard support for coredumps
  ddd6a22a0f basic: add STRCASE_IN_SET() which is to STR_IN_SET() what strcaseeq() is to streq()
  fc021a5bbf logind,importd,hostnamed,localed,timedated,machined,resolved: add option parsing stubs
  7ae473268c manager: add highlighting to --help
  53f7f7fcf2 util-lib: add stub parser for --help, --version
  ab09bf9007 importd: wrap long lines
  b49ca3bc37 sd-bus: use STR_IN_SET() in one more place
  2b6a1d155d bus-introspect: move xml string defines into the .c file
  61d0df3919 bus-introspect: write <interface> from within introspect_write_interface()
  2d4f8cf467 man: fix few spelling errors
  2e4086060b test: Fix build with !HAVE_LZ4 && HAVE_XZ
  9494b39dac cifuzz: upload artifacts only when the "run fuzzers" step fails
  db1442260a repart: fix partition maximum size segfault
  843c631a8e Merge pull request #15652 from MadMcCrow/master
  c600357ba6 mount: add ReadWriteOnly property to fail on read-only mounts
  6eb35fd695 Merge pull request #15547 from kkdwivedi/notify-barrier
  b76ef59756 Merge pull request #13512 from msekletar/freezer
  5ec7a9947e man: sd_notify() race is gone with sd_notify_barrier()
  4f07ddfa9b Introduce sd_notify_barrier
  cad6727906 test: find path for systemd-journal-remote
  a8332698d7 Merge pull request #15592 from kennylevinsen/fdpoll-standalone
  db72aea4a9 Add SetType method to login Session interface
  3052049260 core: (De-)Serialize poll flag for fds in fdstore
  cb5a46b845 core: Add optional FDPOLL=0 argument to fdstore
  208bf319d3 Fix Chromebook Caroline board accelerometer not having correct orientation
  d446ae89c0 test: add test for cgroup v2 freezer support
  d9e45bc3ab core: introduce support for cgroup freezer
  9dcd43b149 notify: beef up --pid= logic
  60ca8f22b8 docs: Change prefix for desktop applications to app-
  484f4e5b2d efi: honour SYSTEMD_EFI_OPTIONS even if we wouldn't honour SystemdOptions EFI var due to SecureBoot
  b8239b9c50 shared/unit-file: fix resolution of absoulute symlinks with --root
  26b8190841 man: mention that ProtectSystem= also takes care of /efi
  f46ba93944 efi: cache test results of boolean EFI state functions
  d47df15b11 Merge pull request #15630 from nabijaczleweli/symmetric-buffers
  e81f5fc4e8 link: Allow configuring RX mini and jumbo ring sizes, too
  80af9bdabe link: Add units and fix typo in (Rx|Tx)BufferSize= manpage. Clean up the implementation slightly
  25a1f04c68 basic/cgroup-util: introduce cg_get_keyed_attribute_full()
  f20078df0b docs: reorder the section about security reporting to emphasize the sekrit list
  560a3e5dd6 home: make sure whenever we touch the 'secret' part of a user record, we set the the sensitive flag on it
  2ffee2c9b0 home: mark various bus messages we write user records to as sensitive
  94600eeb29 json: when making a copy of a json variant, propagate the sensitive bit
  08deac6e3e selinux: do preprocessor check only in selinux-access.c
  e83ef04d97 Merge pull request #15626 from poettering/more-specifiers
  384bd937fa Merge pull request #15628 from poettering/tmpfiles-fuzz-fix
  dfe01841e6 tmpfiles: remove unnecessary assert
  d02933fded tmpfiles: use log_syntax() for all parse errors
  33bd857f94 update TODO
  503298b724 man: document new specifiers
  268f5a5463 tree-wide: support a bunch of additional specifiers
  76410e9849 update TODO
  04d1ee0f7e main: bump RLIMIT_MEMLOCK by physical RAM size
  dcff2fa5d1 nspawn: be more careful with creating/chowning directories to overmount
  c98fef264b update TODO
  bac1b83217 sd-bus: Add sd_bus_query_sender_creds/privilege docs
  2344aefccf Merge pull request #15618 from keszybz/help-output
  8653422b6a sd-bus: Add sd_bus_get_creds_mask docs
  4096043f05 Revert "detect-virt: also detect "microsoft" as WSL"
  c11428adf9 homectl: say "home area" in more places
  460e5af05d meson: test userdbctl and homectl --help
  7009610ff5 userdbctl: make --help fit in 80 columns
  6164ec4c93 meson: modernize indentation
  7229ec02ab efivars: retry open and read operations
  4b6d94a1e5 shell-completion/zsh: update systemd-analyze completions
  f5b3be308d zsh: fix disable/enable completion
  3c14dc61f7 tests: various small fixes for strict systems
  7b679a188e sd-bus: Cite sd_bus_creds_unref in sd_bus_get_name_creds docs
  af5654d35c test-cgroup: skip if /sys/fs/cgroup unknown fs
  0bc5f001db cgroup-util: check for SYSFS_MAGIC when detecting cgroup format
  84cb27086f Improve help for clang-format
  3b4ea094e2 ci: introduce CIFuzz
  feb7d7a212 dhcp6: make string argument to sd_dhcp6_client_set_request_mud_url() const
  c13f4643f4 Merge pull request #15579 from DaanDeMeyer/sd-bus-get-name/owner-creds-docs
  e2697253c8 Merge pull request #15564 from poettering/tmpfiles-no-proc
  425d5cecbe sd-bus: Add sd_bus_get_name/owner_creds docs
  11f9379866 Merge pull request #15570 from poettering/cmsg-find
  41ab8c67eb tree-wide: use structured initialization at various places
  2efa5bc6fa dhcp-server: port to recvmsg_safe()
  2adfd1bda1 icmp6-util: port to recvmsg_safe()
  84b5d3e532 dhcp-client: port to recvmsg_safe()
  a8af7f6a5c fuzzit: make the submit phase a bit more robust
  9494da41c2 nss-systemd: don't synthesize root/nobody when iterating
  68b5003bc1 sd-bus: Add sd_bus_message_get_creds docs
  0e4305eeea sd-bus: Add sd_bus_get_name_machine_id docs
  d7fbc6804e sd-bus: Add sd_bus_send_to docs
  bf39cb7b92 Merge pull request #15566 from poettering/destroy-binfmt
  113a51d221 home: fix strv NUL termination
  927cffd57f Merge pull request #15569 from DaanDeMeyer/sd-bus-message-peek-type-docs
  b2cdefad3a networkd: don't do lldp rx nor tx on bond devices
  37f446eab7 Merge pull request #15550 from DaanDeMeyer/sd-bus-open/close/enter/exit-container-docs
  9d569d5fcb man: add a description of handling of single-label names
  035e3cb9f9 Merge pull request #15563 from keszybz/wait-callback-tweak
  08508c4862 Merge pull request #15561 from poettering/udev-memdup-fix
  371d72e05b socket-util: introduce type-safe, dereferencing wrapper CMSG_FIND_DATA around cmsg_find()
  dac556fa7b tree-wide: use cmsg_find() helper at various places where appropriate
  3df22bb5c8 sd-bus: Add sd_bus_message_peek_type docs
  7cd40caa66 sd-bus: Add sd_bus_message_open/close/enter/exit_container docs
  31e4abd1a6 sd-bus: Fix typo in sd_bus_message_append_array docs
  0f4a141744 Merge pull request #15504 from poettering/cmsg-find-pure
  cd9aa8f0f9 man: document binfmt's new --unregister switch
  846acb6798 binfmt: also unregister binfmt entries from unit
  f3670df13e binfmt: modernize code a bit
  0282c0285a shutdown: unregister all binfmt_misc entries before entering shutdown loop
  965cc99416 shared: add common helper for unregistering all binfmt entries
  a9ab5cdb50 Merge pull request #15472 from keszybz/dbus-api-docs
  185924ab63 update TODO
  d3d53e5cd1 shared: add NULL callback check in one more place
  f8606626ed tmpfiles: if we get ENOENT when opening /proc/self/fd/, check if /proc is mounted
  883fff25f4 stat-util: add simpler helper for checking if /proc/ is mounted
  6d965610bd stat-util: no need to open a file to check fs type
  0f7e4b2888 sysusers,tmpfiles: always mention error when failing to replace specifiers
  2230e8f29d sysusers: add accidentally forgotten 'return'
  8f3e342fa9 core: fix unused variable warning when !HAVE_SECCOMP
  9663ed378e udev: use STR_IN_SET() wher eit makes sense
  cd3c8a117c udev: prepare memory for extra NUL termination for NULSTR
  2d69cf6eb0 Merge pull request #15543 from poettering/fix-ubsan-sd-bus
  9f65637308 shared: Don't try calling NULL callback in bus_wait_for_units_clear
  b70cc80ffb Merge pull request #15544 from poettering/fix-journalctl-namespace
  bfbd5be02a journal: no need to check offset twice, journal_file_move_to_object() does it again
  893e0f8fb6 journal: make sure to explicitly copy out values of mmap before doing arithmetics on them
  711398986e journal: several minor coding style fixes/clean-ups
  0600ff0e66 journal: don't assert on mmap'ed object type
  13933c6b6f memory-util: add missing () in macro evaulation
  bba6e4aeec journal: use structured initialization for Location structure
  e6fea3063b journal: use a bitfield where appropriate
  20ee282bb7 journal-file: avoid risky subtraction when validity checking object
  ed50f18c4d macro: add READ_NOW() macro for force reading of memory, making a copy
  a5f0f46f1a Merge pull request #15538 from poettering/nspawn-no-netns
  ca57eed2e1 Merge pull request #15527 from Werkov/mkosi-opensuse
  69d95d6468 mkosi: Add openSUSE params file
  a7c71d214c run: don't wait for start job to complete when running interactively anyway
  3691bcf3c5 tree-wide: use recvmsg_safe() at various places
  47eae6ce0c socket-util: add recvmsg_safe() wrapper that handles MSG_CTRUNC
  5c568be167 test: add a test case for #15528
  2b6df46d21 sd-journal: don't check namespaces if we have no namespace to go by
  287b737693 nspawn: refuse politely when we are run in the non-host netns in combination with --image=
  1433e0f212 nspawn: minor simplification
  73781de41f Merge pull request #15530 from ssahani/lpr-dhcpv4-option-9
  0076098b0a sd-bus: Add sd_bus_message_get_error/errno docs
  49490c1d35 acpi-fpdt: mark structures as packed
  0cd41757d0 sd-bus: work around ubsan warning
  570f92c691 sd-bus: Add sd_bus_get/set_allow_interactive_authorization docs
  9786b27cbb Merge pull request #15546 from poettering/pid1-serialize-comand-fix
  4ee40eefce Merge pull request #15516 from poettering/nspawn-resolv-conf
  81d2fe53fc nspawn: some minor modernizations
  69123c218c man: Fix typo "multiplied with" -> "multiplied by"
  e8c47f7370 sd-bus: Add sd_bus_message_at_end docs
  bbdeb2b5e9 Merge pull request #15517 from DaanDeMeyer/sd-bus-monitor-docs
  1943d50e4e Merge pull request #15507 from poettering/bus-log-api
  e8cf09b2a2 core: make sure we don't get confused when setting TERM for a tty fd
  60e16d20a3 man: document that VirtualEthernetExtra= has nothing to do with Bridge=
  e9da62b18a core: make sure to restore the control command id, too
  5b99bd5fd4 core: some minor clean-ups/modernizations
  e309b929ba man: document the new --resolv-conf= options
  86775e3524 nspawn: beef up --resolve-conf= modes
  082814743f resolve: move resolv.conf path definitions to shared header
  828e653c48 networkctl: Add support to display LPR servers
  d64cc72e80 sd-network: Add support to retrive LPR servers
  d361b3730a network: Add support send and receive LPR servers
  50018bfa84 sd-network: DHCPv4 Add support to send and receive LPR servers.
  eecf4f7e04 Merge pull request #15526 from bluca/start_stop_wait_debug
  c03fbd37d6 core: add debug log when a job in the activation queue is not runnable
  ff5499824f mkosi: Unify environment for unit tests
  9acb2964d7 test: Simplify hostname checking
  bac567a53b mkosi: Use distro-invariant rootprefix
  9df91db5e0 Merge pull request #15519 from DaanDeMeyer/sd-bus-message-read-strv-docs
  80b44b38b5 test: correctly clean up test artifacts
  f6f4f5fe53 util: return the correct correct wd from inotify helpers
  df3d3bdfe8 core: minor error code handling fixes
  42f5c9a335 sd-bus: Clarify sd_bus_list_names results ownership
  e5f1a3faab sd-bus: Add sd_bus_message_read_strv docs
  2807b68019 Merge pull request #15520 from mrc0mmand/various-codebase-improvements
  a00f28c554 Merge pull request #15443 from ddstreet/use_gateway_backwards_compatible
  06c2b0c76b test: verify RoutesToDNS= is independent of UseGateway=
  86b52a3958 tree-wide: fix spelling errors
  e4ff03935c tree-wide: formatting tweaks reported by Coccinelle
  244490f5e0 network: honor SetDNSRoutes= even if UseGateway=False
  7c0d36ff5f test: modify/add tests for UseRoutes= and UseGateway= configuration
  589397a277 network: change UseGateway= default to UseRoutes= setting
  f74067dfbd sd-bus: Add sd_bus_list_names docs
  ff3518f1f4 test: drop Disk (Size|Free|Floor|Ceiling) fields prior comparing
  c5ca6d9076 update TODO
  0eb5b641c5 sd-bus: Add sd_bus_set/is_monitor docs
  7fffaafaf2 sd-bus: Rewrap sd_bus_set_server docs at 109 columns
  c5bc2c01ee core: add log_get_max_level check optimization in log_unit_full
  beb1d28654 man: remove gendered pronoun and reindent a paragraph
  98ab0daeeb docs: use "polkit" to refer to PolicyKit
  10d5ce0aa5 man: fix two typos
  2a9159244b man: timedate1(5) — add missing descriptions
  5d2262d7c3 man: hostname(5) — add description of methods and properties
  893f801d67 core: implement generic log control API in PID1 too
  25141692e9 core: use generic implementations of log level/target bus propertier getters
  ac9f55ed40 tree-wide: implement new log control API dbus interface in all our daemons
  4c4520789d resolved: replace private log level control API with generic one
  052740e2e3 log-control-api: add generic D-Bus interface for querying/setting log level/target
  38b38500c6 tree-wide: use "hostname" spelling everywhere
  debf2ddd28 man: reorder hostname1(5)
  33b58dfb41 core: automatically add udev dependency for units using RootImage=
  91b75f1f2f Merge pull request #15508 from keszybz/add-dbus-entities-to-index
  ede32a7cff Merge pull request #15505 from keszybz/man-sd-hwdb-sd-journal
  e14a0c21e9 man: document how to get the boot menu with zero time-out
  32c4d2ba62 man: add SD_HWDB_FOREACH_PROPERTY with an example
  ec7ea47dae man: add description of all the sd-hwdb funtions
  00bb75d7ce man: add markers to put all dbus entities in the directives index
  47fb7fd6b0 man: run systemd1(5) through the updater
  4a582e73b9 Merge pull request #15476 from boucman/directive_dbus
  f9411d5d5f Merge pull request #15495 from keszybz/resolve-debugging-and-stub-handling
  543d1e7854 Merge pull request #15314 from keszybz/network-server-access-functions
  55c0fbde8f Merge pull request #15502 from DaanDeMeyer/sd-bus-exit-on-disconnect-docs
  309b7d41f2 Merge pull request #15503 from DaanDeMeyer/sd-bus-get-docs
  21dc5e82ad man: add sd_j_open_namespace as refname
  622018c5b4 check-api-docs: sd_journal_open_container is deprecated
  c11edfee98 man: document sd_journal_*_with_location
  23139f89dc sd-bus: Rewrap sd_bus_set_close_on_exit + small fixes
  4eaf8bc69e sd-bus: Add sd_bus_get_scope/tid/unique_name docs
  b778146b94 sd-bus: Rewrap sd_bus_set_description docs
  75358555a5 sd-bus: sd_bus_get_fd docs typo fix
  f92c8d1c67 update-dbus-docs: automatically add variablelist for introspected items
  d4169bf8b0 sd-bus: Rewrap sd_bus_get_fd docs
  37409a1c68 sd-bus: Small sd_bus_set_server doc fix
  c72d0fb154 sd-bus: Add sd_bus_get/set_exit_on_disconnect docs
  842a362c3a sd-bus: Add sd_bus_is_server + sd_bus_set/is_bus_client docs
  8906e26278 make-directive-index: allow variablelist to specify an element to index
  acbfdec33e make-directive-index: allow pages to specify the path to search
  d512670a1f sd-bus: sd_bus_get_current_* docs fixes
  ca8b81d923 resolve: when the stub listener is disabled, symlink stub-resolv.conf to resolv.conf
  965228a846 resolve: when writing of private resolv.confs fails, do not remove old copies
  5c35cd5f47 resolved: include actual path in error message
  e53b8cc521 resolved: return org.freedesktop.resolve1.DnsError.NXDOMAIN on LLMNR resolution failure
  6daebf9e4a TODO: add a hypothetical
  7f25507647 man: add forgotten <para> tags around a paragaph in resolve1(5)
  df9578498f resolve: allow setting the log level dynamically as in pid1
  59eb35bd94 Merge pull request #15439 from keszybz/man-resolve
  b136cf54fc Merge pull request #15491 from keszybz/resolvconf-compat
  3d334c40b4 resolved: fix minor confusion in comment
  42ecca2e68 man: use manpages.ubuntu.com for resolvconf(8) link
  d8c73cb7c2 man: fix formatting in resolved.conf(5)
  b0fb800c9b man: reindent nss-resolve(8)
  f294b60204 Merge pull request #15480 from DaanDeMeyer/sd-bus-add-node-enumerator-docs
  9268c04bc1 Merge pull request #15478 from DaanDeMeyer/dbus-api-docs-fixes
  db5328e931 sd-bus: Add sd_bus_get_current_* docs
  ad30002885 sd-bus: Add sd_bus_emit_* docs
  7f3daf158a sd-bus: Small sd_bus_add_object_manager docs fix
  a3c0b9df9a sd-bus: Add sd_bus_add_node_enumerator docs
  85eeb14210 sd-bus: sd_bus_add_object docs fixes
  924ccc35f9 man: add a note that resolvconf updates /etc/resolv.conf in specific circumstances
  c40bd28419 sd-bus: Add sd_bus_set_server, sd_bus_get_bus_id docs
  2736c25ce2 D-Bus docs: systemd1 fixes
  e762fa0392 sd-bus: Add sd_bus_add_object_manager docs
  3841fa7916 sd-bus: Add sd_bus_add_filter docs
  89fc6fd3ea D-Bus docs: Use method instead of call
  5099fd44ca Merge pull request #15463 from keszybz/resolvectl-query-formatting
  0d5071fb29 Merge pull request #15444 from poettering/audit-enable
  09f8722801 Merge pull request #15396 from keszybz/dbus-api-docs
  1cabd2d0c5 systemctl: hide first column with --plain instead of --no-legend
  75dff0f910 Merge pull request #15459 from keszybz/remove-seat_can_multi_session
  affb59e6a2 network: add TUN/TAP vt-* network rule for VMs
  0136b1d1e0 resolvectl: fix indentation of hexdump'ed packets
  2cb9a8b963 test-resolve: add a bunch more packets for testing
  0500114e2a headers: get rid of pointless /* deprecated */ comment
  8f8cc84ba4 sd-login: get rid of seat_can_multi_session()
  0648f9beb9 errno-util: let's beef up ERRNO_IS_NOT_SUPPORTED() with socket not supported errors
  511e03a3ee journald: add configuration option for enabling/disabling audit during journald startup
  3db1c62d22 man/systemd-service: clarify env variable expansion
  f3a604e4cf Add .clang-format file
  4444e8533f Merge pull request #15454 from keszybz/codespell-fixes
  9a506b7e92 network: use "FooOverUDP" as one word
  c5e3469059 network: fix static assertion on IPPROTO_MAX range
  a71980e030 resolved: tone down comment in /run/systemd/{stub-,}resolve.conf
  7a2b5237d1 logind: skip polkit query with --no-wall
  e7ee906371 verify: ignore nonexistent executables if required
  037b5e2281 hwdb: optimize isatty()-per-line away
  2099a9e58d fileio: extend comment a bit
  abbfa8fdfa fileio: optionally allow telling read_line_full() whether we are processing a tty or not
  10731dde42 fileio: fileno() can realistically return -1
  40b2a5975c coredumpctl: support --file=PATH
  059211c7c6 Fix pam_systemd_home's debug parameter to match man page description
  c4883fe438 core: make sure ProtectHostname= is handled gracefully in containers lacking seccomp
  3ad42f3837 test: wait a bit after stopping the test service
  76e0d8b380 catalog: add entry for SD_MESSAGE_UNSAFE_USER_NAME
  ed86450ff4 docs: hook up the new USER_NAMES document everywhere
  64fdacd5f1 user-util: rework how we validate user names
  110d89cb65 userdbctl: drop redundant user name validity check
  f0300901ba man: explicitly note that ExecSt*Post does count for After/Before ordering
  78b3f7348d sleep: improve log msg slightly
  680d485902 man: correct the default slice for systemd-run units
  e04ee3c708 hwdb: Update database of Bluetooth company identifiers
  d830b0574e detect-virt: also detect "microsoft" as WSL
  dea7e0dd97 dbus-execute: show also ProtectClock
  8a2b89b5d6 man: add note that --no-hostname has limited effect
  8b0368f511 journal-remote: fix description of option
  da2125b6a2 capability: don't skip ambient caps setup if we actually have something to set
  e3b6d65c53 shared/dissect-image: log messages from cryptsetup
  9c61b53c74 resolve: reload /etc/hosts on inode change
  d540b947f4 string-util: make sure we eat even half complete words in split()
  3fa7fdce59 udev: Fix SIGSEGV in AlternativeNamesPolicy handling
  a8cff0034c Merge pull request #15347 from hakman/journald-upload-public-cloud
  c3b22a92a9 Merge pull request #15452 from keszybz/fix-ipproto-assert
  f1e318f690 network: fix typo
  a942084057 resolved: fix typo in an unused function and add comment
  ca264f7d96 man: fixes from online review
  ae53ea5226 man: update description of polkit rules for systemd1
  b9a1ee32c4 shared/reboot-util: indentation update
  c4b01de482 man: locale1(5) — adjust page structure and fill in the missing parts
  7592871e26 man: login1(5) — fix markup and fill in the missing descriptions
  b441a1d4bc man: review of import1(5)
  8024ac43b9 man: various tweaks to org.freedesktop.hostname1(5)
  4fb222c4b2 man: run dbus api docs through the updater
  08fe1b6cdc update-dbus-docs: add support for settings printing just one selected interface
  e5dd26cc20 Add updater for dbus introspection in man pages
  dad97f0425 manager: add dbus parameter names
  3031660c21 man: import org.freedesktop.systemd1(3) from the wiki
  edc6a8031e resolved: add dbus parameter names
  ffd10e5a24 man: import org.freedesktop.resolve1(3) from the wiki
  ce416f425c resolved: tone down comment in /run/systemd/{stub-,}resolve.conf
  b11b278097 Merge pull request #15448 from keszybz/logind-avoid-polkit-query
  162392b75a tree-wide: spellcheck using codespell
  fac2166359 network: use "FooOverUDP" as one word
  3d58d7328a network: fix static assertion on IPPROTO_MAX range
  e46736fbb6 units: use correct path to refer to plymouth
  c5f8a179a2 watchdog: reduce watchdog pings in timeout interval
  0f6d7be844 Merge pull request #15437 from keszybz/man-nss-resolve
  9ba4029f8f Merge pull request #15441 from sartura/src/analyze
  5644d47b7c logind: skip polkit query with --no-wall
  8183ebcd45 loginctl: adjust indentation
  3dadb54f5f Support journal-upload HTTPS without key and certificate
  f2a20e9966 man: move "myhostname" right after "resolve"
  44b7aedbde man: move "files" after "resolve" in the suggested configuration
  f30bf4d937 Include new configure options in features list
  ac24e418d9 network: Allow DHCPv6 client to be started even if no O or M bit in RA.
  9b4f3fa3ea virt: Use cache for VIRTUALIZATION_PROOT
  67551eac30 Add Logitech G502 HERO to mouse hwdb
  904ebcb200 sd-boot: Add → as alternative to boot selected entry
  80cc3e3eab virt: Detect proot virtualisation by ptrace metadata
  6ab2e1178e Merge pull request #15431 from poettering/lock-and-key-emoji
  dd0f79523f Add new meson configure option for controlling systemd-analyze support
  f4ff71b360 man: update os-release(5) to use 24bit ANSI color in example
  3614df0575 meson,resolved: make default LLMNR= and MulticastDNS= values configurable
  e3ac53a27d ask-password-api: reword some debug messages
  52d199e318 ask-password: prefix password questions with lock and key emoji
  539ee0989e locale-util: export emoji_enable() for other code to use
  48d70b4ac9 locale-util: add support for lock+key emoji
  c90c597ee3 verify: ignore nonexistent executables if required
  5fa5c3e2d0 Add meson build option to prevent building kernel-install
  3cfb7cc507 Merge pull request #15417 from poettering/fileno-can-fail
  a3af963958 Merge pull request #15414 from mrc0mmand/coredumpctl-file
  332f38d084 Fix pam_systemd_home's debug parameter to match man page description
  76643fedc8 sd-network: DHCPv6 - Add status codes
  daf8f72b4e core: make sure ProtectHostname= is handled gracefully in containers lacking seccomp
  aeb5645082 coredumpctl: support --file=PATH
  6663cfd574 update TODO
  648ba0ee81 hwdb: optimize isatty()-per-line away
  451fcbfc58 fileio: extend comment a bit
  609ae0f596 fileio: optionally allow telling read_line_full() whether we are processing a tty or not
  14f594b995 fileio: fileno() can realistically return -1
  9d5dac4dce Merge pull request #15411 from ssahani/systemd-issue-15375
  d9235719f2 Merge pull request #15397 from ssahani/vxlan
  38cd55b007 Remove unneded {}s
  667ceb9d9d sd-network: DHCP6 - Use readable error status rather than numeric value in the log message
  5cc34d6d1a localed: add dbus parameter names
  91c7ac94ba man: import org.freedesktop.locale1(3) from the wiki
  599c99ee3b timedated: add dbus parameter names
  9c970e5f55 man: import org.freedesktop.timedate1(3) from the wiki
  106d79be06 hostnamed: add dbus parameter names
  e09a36bd46 man: import org.freedesktop.hostname1(3) from the wiki
  956ecd3cd3 importd: add dbus parameter names
  2fe60ff1d0 man: import org.freedesktop.import1(3) from the wiki
  bbe17ca1cb machined: add dbus parameter names
  de2efb75f7 man: import org.freedesktop.machine1(3) from the wiki
  4cb5fd0da8 logind: add dbus parameter names
  44fd44f1cf man: import org.freedesktop.login1(3) from the wiki
  8cf85bb575 Merge pull request #15281 from keszybz/functional-test-rework
  92cad3f82d Merge pull request #15406 from DaanDeMeyer/sd-bus-set-exec-docs
  3415b0cc8a sd-bus: Add sd_bus_set_exec docs
  ea7cbf5bdd home: switch to BusLocator-oriented helpers
  964df69bd5 hwdb: Add accel orientation quirk for Geoflex laptop
  a1a11d5610 Merge pull request #15365 from poettering/remount-fs-pstore-fix
  b15b4376af Merge pull request #15405 from DaanDeMeyer/sd-bus-can-send-docs
  e5a12c4961 Merge pull request #15399 from DaanDeMeyer/sd-bus-property-docs
  7a0f1895d3 sd-network: DHCPv6 - Add NoPrefixAvail to error code
  59a77060e0 sd-bus: Use pointer syntax for sd_bus_set_exec argv parameter
  3258aa750e sd-bus: Add sd_bus_can_send docs
  535f1d0492 sd-bus: Fix sd_bus_close.xml line wrapping
  eb74579d09 meson: Exclude more deprecated functions from check-api-docs
  4b7f8d78de sd-bus: Add sd_bus_get/set_property docs
  5fe63895b9 docs: introduce documentation category for user/group stuff
  bba97c98b8 Merge pull request #15376 from poettering/homed-btrfs-subvol-luks
  659f85a519 networkctl: Add support to display VXLan remote address
  2d9123cebd Merge pull request #15377 from poettering/userdb-no-shadow
  edc8dd26e2 Merge pull request #15392 from keszybz/flag-helper
  fc1d9c7b0c network: VXLan - Add support for remote address
  7f782005e5 sd-bus: sd_bus_message_append fixes
  b05e122036 docs: add some documentation about hooking up userdb/homed to desktop environments
  24e6f45842 network: use a loop for repetitive operation
  c1997a5bf7 network: add helper to extract server lists
  ddc026f303 network: define string lookup table for the DHCP info bits
  c8407baf30 sd-dhcp-server: add a meta-setter to simplify setting of server lists
  8541db8f59 sd-dhcp-lease: add a meta-getter to simplify querying of server lists
  0da965037e Add yet another tiny helper to manipulate flags
  7d6342e401 man: fix garbled paragraph in systemd.network(3)
  16c347b3b6 busctl: wrap long lines
  8722b297e5 busctl: use the pager everywhere
  562ffaca26 man: extend documentation of the suspend= switch of pam_systemd_home
  5a3033321a docs: add brief document how to convert home directories to homed
  7c9b26900c network: VXLan - fix adding Group address
  fa2cf64a91 login: Fix incorrect reporting of CanMultiSession=no on non-seat0 seats
  df91e319a9 bus: add sd_bus_message_new_method_call() helper
  a028ef14c9 bus: s/BusAddress/BusLocator/
  764bffee88 Merge pull request #15379 from poettering/homed-man-ref-add
  dc487c9801 Merge pull request #15361 from mrc0mmand/yet-another-TEST-47-tweak
  c46db6c0a2 bootctl: fix assert issue
  10eed9848d docs: fix typo now → not
  b27cb676bf docs: add missing dash
  9b3c65ed36 Merge pull request #15352 from poettering/user-group-name-valdity-rework
  611cb82612 Merge pull request #15318 from fbuihuu/inherit-umask-for-user-units
  f58921bde3 Merge pull request #15332 from keszybz/coredump-filter
  f4cfdf07c8 man: reference pam_systemd_home man page from systemd-homed man page
  5a7c4f4f3b mount: introduce mount_is_nofail() helper
  2ec15c4f8a mount: default startup dependencies and default network ones are orthogonal
  61154cf953 mount: introduce mount_add_default_ordering_dependencies()
  b3d7aef525 automount: fix handling of default dependencies for automount units
  83cdc87094 mount: let pid1 alone handle the default dependencies for mount units
  b062ca616c logind: avoid shadow lookups when doing userdb client side
  ed30170ea0 userdb: when doing client-side NSS look-ups optionally avoid shadow look-ups
  a1792d1ada pam-systemd-home: drop redundant newline
  e58cd39f63 hwdb: Fix kbd brightness keys on Acer Predator PH 315-52
  5e37d1930b pid1: by default make user units inherit their umask from the user manager
  b94fb74bae manager: also log at debug level failure to read oom_score_adj
  ad21e542b2 manager: add CoredumpFilter= setting
  4d1f2c621f Merge pull request #15345 from keszybz/systemctl-show-spaces
  b34612bd5a Add parser and printer for coredump filter mask
  0be94a199e homed: when creating home directory as btrfs inside luks volume, place subvol inside it
  82c4440ddd import: use our new btrfs_subvol_make_fallback() at two places
  d78a95d751 btrfs-util: define helper that creates a btrfs subvol if we can, and a directory as fallback
  a1db42eb0b man: add missing varname around keywords in systemd.unit.xml
  fe78538cab man: explicitly note that ExecSt*Post does count for After/Before ordering
  ce51632a35 basic/parse-util: add safe_atoux64()
  0ed4b54e05 sleep: improve log msg slightly
  302dc5b913 Merge pull request #15368 from poettering/color-fix
  f74349d88b mount-setup: change the system mount propagation to shared by default only at bootup
  241c4b6ada systemctl: show Environment entries with whitespace
  2b99f645c6 shared/escape: add new escape style with \n\t escaped
  ca03142040 Merge pull request #15331 from vcaputo/busdpi
  2c7039b316 systemd-run: add --slice-inherit
  ba45534917 man: correct the default slice for systemd-run units
  876acda0ed Merge pull request #15234 from ssahani/mud-lldp
  a45aced09a test-terminal-util: fix typo
  a851ba0795 terminal-util: fixate underlined yellow color too
  ad313ec33b catalog: add entry for SD_MESSAGE_UNSAFE_USER_NAME
  887a8fa341 docs: hook up the new USER_NAMES document everywhere
  cafed7b32c docs: add a longer document explaining our rules on user/group names
  7a8867abfa user-util: rework how we validate user names
  2aea5883f1 userdbctl: drop redundant user name validity check
  b0c1a07654 units: make sure systemd-pstore stops at shutdown
  e0f968ad96 units: drop systemd-remount-fs.service dependency from more services
  0c978faa16 units: drop dependency on systemd-remount-fs.service from systemd-pstore.service
  f3b7a79b97 core: automatically add dependency on systemd-remount-fs.service if StateDirectory= is used
  167241912f units: pull in systemd-pstore.service from sysinit.target
  e00e2e0b50 test: wait a bit after stopping the test service
  8ff8ce6284 Merge pull request #15358 from poettering/preset-clean-up
  e9a8c550c1 LLDP: Add support to transmit MUD URL
  9e27fd321c preset: let's clean up preset list a bit
  f69b4ae885 sd-lldp: Add support to receive MUD
  9afe05c149 Merge pull request #14930 from tomhughes/dnssec-canonicalise
  cabc1c6d7a units: add ProtectClock=yes
  c3362c2f97 Remove message->priority field
  6635f57d3e sysctl: enable coredump for suid binaries
  f9d29f6d06 fix manager_state
  e6b68254c2 hwdb: Add accel orientation quirk for MPMAN MPWIN895CL tablet
  602235f27d Merge pull request #15349 from keszybz/doc-work
  9aa822179b man: update rules
  326b1f897b Remove stray file
  bb288a2cb3 man: drop apostophe from section title
  9fac14980d hwdb: Update database of Bluetooth company identifiers
  219ab1fbd0 bus: introduce some sd-bus convenience helpers
  3c2a50c945 oss-fuzz: point the badge directly to our logs
  858b64593a semaphore: switch to upstream-ci
  a2f838d590 detect-virt: also detect "microsoft" as WSL
  4c39820562 Merge pull request #15298 from keszybz/show-property-value
  3d9489ee45 Merge pull request #15321 from topimiettinen/dbus-execute-add-protect-clock
  4fbf39926e Merge pull request #15290 from keszybz/unrelated-fixes
  3adb304ae6 Merge pull request #15297 from poettering/homed-no-fallocate
  5522e628f5 test: use show -P in places
  5292c24047 systemctl: add -P as short for --value --property=
  1b87e27999 Merge pull request #15315 from DaanDeMeyer/deprecate-sd-bus-priority
  c4b2371263 capability: don't skip ambient caps setup if we actually have something to set
  e30934c80f Merge pull request #15310 from poettering/repart-no-enable
  1887032f71 shared/dissect-image: log messages from cryptsetup
  aa5408e2e8 resolve: reload /etc/hosts on inode change
  b8b7b838fd dbus-execute: show also ProtectClock
  50f5e2e281 Merge pull request #15309 from poettering/strv-split
  1e9a7c44a9 sd-bus: remove unused priority logic
  11a177d9de sd-bus: Deprecate priority functions
  fdfe909123 units: run systemd-repart only if there's configuration for it
  aade0c3b6e Revert "units: make systemd-repart.service installable"
  0fc659eea9 update TODO
  82aa14e2a3 string-util: make clear that split() + FOREACH_WORD() should die
  29965a2a6e string-util: make sure we eat even half complete words in split()
  5fed82c642 string-util: some minor coding style updates
  77b19caf6b update TODO
  c83a5ead31 Merge pull request #15210 from ssahani/networkctl-up-down
  457d65932b mount: mount unit activated by automount unit should be only ordered against the automount unit
  935052a8aa sd-bus: add va_list variants of variadic convenience functions
  c51c6f2f57 Merge pull request #15252 from ssahani/dhcpv6-mud
  4e561c6200 Merge pull request #15109 from keszybz/units-make-installable
  61fd7d6720 udev: Fix SIGSEGV in AlternativeNamesPolicy handling
  e7b0ea5440 Merge pull request #15238 from rpls/canfd
  7e025e9cdb network: can: add support for CAN-FD related properties
  74a2726869 network: can: introduce a config parser function for bitrates
  2c4229221c man: mention that stdout logging works the same as stderr logging
  1e4711af5b userwork: fix signal worker sends to manager requesting more workers
  c7f9da1e4a units: do not pull in home.mount from systemd-homed.service
  3469a951fa home: fix several typos
  2c5ae0f58a homectl: fix a typo
  5eedafd01a import: Only keep RO copy if ETag header is set
  5b434d7209 nss-systemd: add missing jump to unlock mutex
  1a2f596bcb basic: Fix capability_ambient_set_apply for kernels < 4.3
  e4b7c40dca sd-journal: remove the dead code and actually fix #14695
  a0b77ea24b user-util: switch order of checks in valid_user_group_name_or_id_full()
  d71c24910d user-util: Allow names starting with a digit
  9ac3070285 Remove stale doc about PrivateNetwork and type
  d822e2a524 Add `shell` to machinectl ZSH completion
  60521ea904 Silence Wstring-plus-int warning when using clangd with GCC.
  e6fcb95f4a path-lookup: Use default value for XDG_CONFIG_DIRS if environment is not set
  e46f877c5c homed: fall back to ftruncate() if fallocate() is not supported on backing fs
  ad8f1b0f36 generator: don't generate device dependencies for extrinsic mounts
  3175a8c21b network: DHCPv6 Add support to send MUD URL
  de8d6e5563 sd-dhcpv6: Add support to set request MUD URL
  6829d8ce69 Merge pull request #15253 from DaanDeMeyer/object-vtable-error-docs
  bc9e5a4c67 fstab-util: introduce fstab_is_extrinsic()
  b862c25716 device: drop refuse_after
  e6a4e25a82 man: add note that --no-hostname has limited effect
  c083264115 Merge pull request #15278 from vcaputo/more-trivial-cleanups
  9e76a88faf man: mention that stdout logging works the same as stderr logging
  47203ed085 sd-bus: sd_bus_call docs improvements
  e3e5a6eebd sd-bus: Add sd_bus_get/set_priority docs + fixes
  b1b9e829c2 Merge pull request #15229 from ssahani/mud
  82b2281dd5 journal-remote: fix description of option
  934cf0a9c7 sd-bus: simplify bus_maybe_reply_error
  9b62e232ea sd-bus: Add note about sd_bus_reply_method_return to SD_BUS_METHOD docs
  fc91667d77 sd-bus: Add sd_bus_add_object and callback docs
  6ba8071ca1 sd-bus: Fix typos in sd_bus_add_object_vtable docs
  50b88e87c8 sd-bus: Wrap add_object_vtable docs at 100 columns
  8e06af804b *: use _cleanup_close_ with fdopendir() where trivial
  b46c3e4913 *: use _cleanup_close_ with fdopen() where trivial
  9f81a592c1 *: convert amenable fdopendir() calls to take_fdopendir()
  f61457b0fe fileio: add take_fdopendir() variant
  4fa744a35c *: convert amenable fdopen calls to take_fdopen
  3ebbb6cb39 fileio: introduce take_fdopen{_unlocked}() variant
  f5d9daaea3 Merge pull request #15268 from poettering/sigusr1-sigusr2
  286fe8ee21 units: do not pull in home.mount from systemd-homed.service
  80ace4f25e home: fix several typos
  20f938ff7f test: print path to build directory on misconfiguration
  ead7af3093 units: make systemd-userdbd.{socket,service} installable
  5ef9eda17f units: make systemd-homed.service installable
  7e1ed1f3b2 units: make systemd-repart.service installable
  73abf7ae06 run-integration-tests: only do the clean operation in the beginning
  6e5b51d94a test: run loop device cleanup in more cases
  5a89d7b39c run-integration-tests: print times
  e00fca8c2e TEST-13-*: remove containers created in test before running the test
  68a7705e35 TEST-06-*: also try the installation path for Debian
  f1416431b6 test: optionally print the journal after tests
  f9eb2d51da test: use systemd-journal-remote for journal copying, support $ARTIFACT_DIRECTORY
  8943daf813 test: use a helper function to move the journal files
  3597bf7550 run-integration-tests: add support for blacklisting
  a455e75a30 test: use systemd.status-unit-format=name in all but one test
  a85daa0dfb user-util: switch order of checks in valid_user_group_name_or_id_full()
  3aeea37d88 home: narrow scope of 'size_t n'
  36e4a8f22a homectl: fix a typo
  7b8d23a9bb network: DHCPv4 - introduce The Manufacturer Usage Description (MUD)
  d11d4a6459 sd-dhcpv4: introduce The Manufacturer Usage Description (MUD)
  1f4faf21e8 Merge pull request #15197 from ssahani/smtp-dhcp
  01262d0d9e Merge pull request #13084 from ddstreet/log_time
  6305608f1c Merge pull request #15194 from keur/import_pull_etag
  4c287f9a0b Merge pull request #14853 from floppym/issue9806
  fef7397022 Merge pull request #15251 from keszybz/coverity-fixes
  15529f5cea Merge pull request #14338 from keszybz/functional-test-rework
  e3028514ae userwork: fix signal worker sends to manager requesting more workers
  6b8d32ea7b ci: turn off FuzzBuzz
  c4ae2704b7 travis: install ninja with pip
  ad1e288013 networkctl: Add support to display DHCP SMTP servers
  c1c6ff10a1 sd-network: Add support to emit and receive SMTP server information
  f6269fe7bb network: DHCP - add support to emit and receive SMTP server information
  4a874560c5 Merge pull request #15217 from keszybz/beef-up-sd-path
  35bae98dce sd-bus: Fix pointer alignment
  45069c67ce sd-bus: Add sd_bus_slot_get_current_* docs
  a6c9f8fa6d README.md: add repology badge
  7ea4392f1e basic: Fix capability_ambient_set_apply for kernels < 4.3
  3e118d135b Merge pull request #15233 from msekletar/device-dbus
  2e129d5d6b device: don't emit PropetiesChanged needlessly
  7c4d139485 device: make sure we emit PropertiesChanged signal once we set sysfs
  37bc9dcc09 nss-systemd: use _cleanup_ for pthread_mutex_{lock,unlock}
  29d4392ca0 basic: add _cleanup_ wrappers for pthread_mutex_{lock,unlock}
  e7e9a9d0dc nss-systemd: add missing jump to unlock mutex
  42b977810d test-strv: add missing oom check
  8af10ca3fc test: print test of name in output
  e2d612a8e4 meson: use find_program() for add-git-hook.sh
  f4c7bf9e90 test: run unittests with newlines in /proc/cmdline
  1506edca91 test: stop caching loopdev
  693ad298e9 test: perform partial cleanup after each test is run
  108d00a6b2 test: simplify the Makefiles
  ec43f6862e test: run tests directly from the loopback device
  eb1290ef35 test: wipe journal files after test
  b74a306197 test: echo a message when the tests fails
  9d84eb2053 test/TEST-01: allow running w/o -Dinstall-tests=true
  8c3534b5db test: rework how images are created
  388b68a74f semaphoreci: trivial cleanup
  de0162a95a test/TEST-28: avoid race in handling of /testok
  4962ed9f33 test: make sure to reset state before starting integration tests
  8a59e79c09 test: mount root rw and drop /etc/fstab
  50b836518c test: drop cargo-cult line
  80c53fe7d5 test: improve reporting a bit
  70ce817ccb test: de-duplicate test_setup() functions
  bdfa9657d0 test: move TEST-47-* to static files
  2c75449a38 test: move TEST-46-HOMED to static files
  e29e4d5742 test: convert TEST-45 to a normal meson test
  07d16f438a test: move TEST-44-* to static files
  d0ac89a1e8 test: move TEST-43-* setup to static files
  bdfd515ad1 test: move TEST-42-EXECSTOPPOST setup to static files
  0ac5dbf3ae test/TEST-41: use a file in /tmp and reset the contents
  2b2eefee06 test: move TEST-41-ONESHOT-RESTART setup to static files
  d48b27bffd test: move TEST-40-EXEC-COMMAND-EX setup to static files
  7124ae207a test: move TEST-39-EXECRELOAD setup to static files
  4db7d044b8 test: move TEST-37-RUNTIMEDIRECTORYPRESERVE setup to static files
  534a42705b test/TEST-36: move the config files to /run
  097d8c6eb7 test: move TEST-36-NUMAPOLICY setup to static files
  fbaa11372b test: convert TEST-35-NETWORK-GENERATOR into a unit test
  01efa07960 test: move TEST-34-DYNAMICUSERMIGRATE setup to static files
  ff978cd24a test: move TEST-33-CLEAN-UNIT setup to static files
  c8937bed08 test: move TEST-32-OOMPOLICY setup to static files
  048d52d51e test: move TEST-31-DEVICE-ENUMERATION setup to static files
  7eeeab205d test: move TEST-30-ONCLOCKCHANGE setup to static files
  e578ea4df4 test: move TEST-29-UDEV-ID_RENAMING setup to static files
  94370e627f test: move TEST-28-PERCENTJ-WANTEDBY setup to static files
  468874997a test: move TEST-27-STDOUTFILE setup to static files
  dfa633ca6a test: move TEST-26-SETENV setup to static files
  68e2dc0f91 test/TEST-25: remove all images at the end of the test
  6e796683df test: move TEST-25-IMPORT setup to static files
  f4c40fd754 test: move TEST-24-UNIT-TESTS setup to static files
  30b84c78ea test-fileio: fix bogus error when /proc/cmdline contains newlines
  b49325d028 test: move TEST-23-TYPE-EXEC setup to static files
  c0b97b0fc8 test: move TEST-22-TMPFILES setup to static files
  c1d6c135bc test: move TEST-20-MAINPIDGAMES setup to static files
  e67a2644a8 test: move TEST-19-DELEGATE setup to static files
  dce2b8ce48 test: move TEST-18-FAILUREACTION setup to static files
  9911131a60 test: move TEST-17-WANTS setup to static files
  e5b0aaaf56 test/TEST-16: simplify how variables are set
  2b5981b40a test: move TEST-16-EXTEND-TIMEOUT setup to static files
  1aa0f38491 test/TEST-15: call daemon-reload in two more places
  4e2ac45a83 test/TEST-15: remove all created unit files
  2c7519c036 test: move TEST-15-DROPIN setup to static files
  afd9c55dcc test: move most of TEST-14-MACHINE-ID setup to static files
  e5badaf335 test: move most of TEST-13-NSPAWN-SMOKE setup to static files
  d10029bba4 test: move TEST-12-ISSUE-3171 setup to static files
  3ac189d8aa test: move TEST-11-ISSUE-3166 setup to static files
  8c6d58f65d test: move TEST-10-ISSUE-2467 setup to static files
  4110a6deb9 test: use shell arrays and remove duplicates
  e88302002f test: move TEST-09-ISSUE-2691 setup to static files
  c84752398b test: move TEST-08-ISSUE-2730 setup to static files and meson scripts
  58a1bdb467 test: move TEST-07-ISSUE-1981 setup to static files
  4caa1ac794 test/TEST-06: make autorelabel.service a static file too
  1c76b5b5bb test/TEST-06: skip test if no selinux
  1ed5556e56 test: move most of TEST-06-* setup to static files
  ed024e1d98 test: move TEST-05-RLIMITS setup to static files
  9901a6ad2e test: convert TEST-04-JOURNAL to generic image
  41b1b2a563 test: move TEST-03-JOBS setup to static files
  5964e39a69 test: move part of TEST-02-CRYPTSETUP setup to static files
  fe85f2bb9c test: move TEST-01-BASIC setup to static files
  2c649ca1c9 sd-dhcp: Add support to emit and retrieve SMTP server
  69d06b7acf Add a device to 60-sensor.hwdb
  8581b9f973 sd-journal: remove the dead code and actually fix #14695
  2df0df56dd Merge pull request #15237 from cgzones/improve
  3c04ed633b Merge pull request #15195 from ssahani/dhcp-option-pop-server
  9f4aafea37 networkctl: Add support to display DHCP pop3 servers
  8102b9e710 sd-network: Add support to emit and receive pop3 server information
  284e8fd0d7 DHCP: Add support to emit and retrieve POP3 server
  f678ac7e29 libsystemd-network: DHCP add support to emit and retrive DHCP POP3 server
  31c68e0277 docs: Add some notes about managing graphical user sessions
  1b7d1cae0f selinux: print enforcing state in access check debug message
  2073bf3f58 selinux: add debug logging to cache functions
  c8aa389c42 selinux: add unlikely compiler hints for cache functions
  2e09fa8906 sd-path: handle case of missing runtime dir in test
  e342055851 path: log at debug level when we can't query a variable
  f52b9131e5 man: fix typo
  f1bb691a5a sd-path: export "systemd-network-path"
  b0c8219260 network: move NETWORK_DIRS to path-lookup.h
  96d33e4ac0 Rename _PATH variables to _DIR when they refer to a directory
  9c5bb2033d path: show various systemd directories and search paths too
  ce7eb6aa84 sd-path: simplify implementation of sd_path_lookup*()
  09e6443ef4 Move path-lookup.c to src/basic
  385093b702 Split out generator directory setup to a src/core/generator-setup.c
  a7addf32a5 sd-path,strv: add simple helper to wrap oom handling around strv_split_nulstr()
  b35ed5530b man: add sd_path_lookup(3)
  557afad2b7 libsystemd: install sd-path.h and export sd_path_lookup{,_strv}
  3919ecc553 meson: run a no-op build to generate man rules
  51327bcc74 sd-path: rename the two functions
  d32014a5bb test-sd-path: basic test for the sd-path API
  4908de44b0 {systemd,udev}.pc: add names with underscores, deprecate the old ones
  009b80a48d path: align columns
  b642dfcdc2 hwdb: add Star Lite Mk II and Star LabTop Mk III (#14621)
  90c40df0a6 Add Lenovo IdeaPad Miix 300 ACCEL_MOUNT_MATRIX
  93c23c9297 user-util: Allow names starting with a digit
  acd1987a18 core/unit: print info when unit_add_name failed
  9520a0308d Remove stale doc about PrivateNetwork and type
  e730db6c90 systemd-network-generator.service: network-pre.target is a passive target unit
  72e1c0b308 Add `shell` to machinectl ZSH completion
  4047a411f4 Merge pull request #15186 from DaanDeMeyer/clangd-fix-wstring-plus-int
  c08323dcd1 Merge pull request #15236 from ssahani/br-follow-up
  4c6a4a5bfe shared- bride util allign bridge_state_table
  c30ffcee9b networkctl: Add support to set link up and down
  6281c6e56c po: update Ukrainian translation (#15228)
  1ab2033804 Merge pull request #15224 from ssahani/geneve
  f0d0698f0b path-lookup: Use default value for XDG_CONFIG_DIRS if environment is not set
  a879b6d22f Merge pull request #15214 from ssahani/networkctl-br1
  272a8864da Merge pull request #15170 from keszybz/sd-bus-resolve-magic
  ce4c73eb5d Merge pull request #15209 from anitazha/moar-cgroup-utils
  0f5047b7d3 network: DHCP lease load SIP copy paste error
  98a3494652 davfs is a network file system
  9b52ce58de units: Don't mount tracefs in LXC
  cd6ff773bd swap: check p->what for NULL
  9ac1ab1658 login: allow non-console sessions to change vt
  8f0feac20f logind: log a more accurate error when we failed at session creation
  a0b4460e49 core: add support for setting CPUAffinity= to special "numa" value
  e3b12a749d shared: split out NUMA code from cpu-set-util.c to numa-util.c
  a22e8850a8 Merge pull request #15191 from GiedriusS/feature/list-unit-files-return-1
  eeb1542b5e systemctl: exit with 1 if no unit files found
  e7b38d7d5c networkctl: Display more geneve preperties
  3039cc0281 network: Introduce geneve util
  baa358df32 cgroup-util: cg_get_xattr_malloc helper
  613328c3e2 cgroup-util: helper to cg_get_attribute and convert to uint64_t
  1b43e24602 network: attach sd-event in link_load() when creating link dhcp_client or ipv4ll
  a8389a3307 networkctl: Use string table for bridge state
  af94bb24b5 shared: Introduce bridge util
  12ef8fb6f1 networkctl: Add more bridge properties
  2e7d6d1d32 Merge pull request #15185 from ssahani/fix-sip-copy-paste
  137d448751 davfs is a network file system
  71180f8e57 Fall back to kexec when no kexec binary exists
  50dfca2eaf import: Only keep RO copy if ETag header is set
  cdc6c95737 units: Don't mount tracefs in LXC
  d4a3494e65 swap: check p->what for NULL
  992622c428 man: fix typo in loader.conf(5)
  b0f4c02e2d sd-bus: Add sd_bus_send docs + cleanups.
  1f807af6de networkctl: Add support to display SIP servers
  eb46288cca sd-network: Provice APIs to access SIP servers given by DHCP4 server
  5f28f3ddaf test: allow overriding EFI_MOUNT like other variables
  b6261be84d meson: report -Dinstall-tests in summary
  80769cb66c meson: use install_subdir() to install files
  f55198f034 test: replace symlinks with actual unit files
  f455f8633e Silence Wstring-plus-int warning when using clangd with GCC.
  be1af90585 network: DHCP lease load SIP copy paste error
  f41df6954c sd-bus: whitespace adjustments
  70bc558cc1 sd-bus: support SD_BUS_DEFAULT* and don't crash in functions where bus is optional
  501ecd670c sd-bus: make sure SD_BUS_DEFAULT* works everywhere
  60ef094297 sd-bus: Add sd_bus_reply_method_return docs + cleanups
  7b43295346 tests: move unit files to units/ subdirectory
  4bd859be95 sd-bus: add sd_bus_message_seal docs + cleanups
  b5b179e49e Fix keys on Medion Akoya P6669
  19bb87fbfa login: allow non-console sessions to change vt
  b39648ed47 logind: log a more accurate error when we failed at session creation
  677ceb0c2f Merge pull request #15153 from keszybz/man-bus-address
  7354900ddd network: Fix split in `SendOption=` on client and server
  d69b62de44 networkctl: Add support to display IPv6 addrgenmode
  194fe32296 selinux: delay mac_selinux_enforcing call after SELinux was determined to be enabled
  d1d3f2aa15 docs: Add syntax for templated units to systemd.preset man page
  3c69813c69 man: add a tiny bit of markup
  bf595e788c home: fix segfault when parsing arguments in PAM module
  e110f4dacb test: wait a bit after starting the test service
  e8df08cfdb fix journalctl regression (#15099)
  eb3a38cc23 NEWS: add late note about job trimming issue
  405f0fcfdd systemctl: hide the 'glyph' column when --no-legend is requested
  1c7de81f89 format-table: allow hiding a specific column
  b7f2308bda core: transition to FINAL_SIGTERM state after ExecStopPost=
  2867dfbf70 journalctl: show duplicate entries if they are from the same file (#14898)
  af339a3122 namespace: ignore prefix chars when comparing paths
  d58988be7f udev: fix SECLABEL{selinux} issue (#15064)
  98f8a718c1 dissect-image: avoid scanning partitions
  35c4d42040 test: ignore IAB capabilities in `test-execute`
  40737329d9 test: add a test case for migrating DynamicUser=yes to no
  7059385290 execute: Fix migration from DynamicUser=yes to no
  cc46b9d913 sd-bus: sd_bus_set/get_method_call_timeout docs + cleanups.
  9178398f2e man: say "is" not "has been"
  92b6df1d68 man: mention sd_bus_is_anonymous() and sd_bus_is_trusted()
  cc3d85eb97 sd-bus: mark sd_bus_try_close() as deprecated
  99cde098f8 bus: drop dead code for kdbus support
  9783b59bf6 man: describe sd_bus_default_flush_close()
  3f549982a5 man: add sd_bus_set_address(3)
  d3d5ff4bc2 sd-bus: make bus_set_address_user always go through sd_bus_set_address
  27622235c4 man: add sd_bus_start(3)
  b1d6fe7055 networkctl: Add support to display bond
  8c357762c7 Merge pull request #14749 from msekletar/cpu-aff-numa-v3
  953ee402cb sd-bus: sd_bus_call/sd_bus_call_async_docs + cleanups.
  b48772f6cb Merge pull request #15143 from ssahani/networkctl-tunnel-geneve
  5712d689b9 networkctl: Add support to display vti and vti6 tunnels
  ad760bc1e7 networkctl: add support to display ip6gre, ip6gretap, ip6erspan
  1f667d8a7c docs: Add syntax for templated units to systemd.preset man page
  34bc838f15 Merge pull request #15136 from yuwata/network-dhcp4-use-gateway
  52d247154b Merge pull request #15108 from keszybz/systemctl-set-default-notices
  4d75ea1ea3 networkctl: Add support to display gre gretap and erspan
  4e1a1991c6 networkctl: Add support to display geneve tunnel info
  24a3c4299f hwdb: add support for Lenovo Legion Y9000X2020 (#15127)
  0208c4bb3c po: update Polish translation
  1f5d1de269 Fix volume control keys on Lenovo Yoga S940
  12877da215 systemctl: print a notice when set-default is not effective
  dca352245b networkctl: Add support to show tunnel (ipip/sit) local and remote address
  9735c644be sd-bus: Add sd_bus_method_call/sd_bus_method_call_async docs + cleanups.
  a4f4a4e441 Merge pull request #15138 from ssahani/networkctl-vlan
  272e6b8c62 Merge pull request #15139 from DaanDeMeyer/sd-bus-remove-unused-cite
  aff618c769 sd-bus: Remove unused man cite of `sd_bus_slot_new_signal`.
  08c588d18b network: do not re-attach sd-event object
  74f0fb9095 network: can: add support for listen-only mode
  6cfef1b308 networkctl: Add support to display master device
  2b2a1ae6fb networkctl: Add support to display vlan ID
  0d7bd445d2 test-network: add a test case for DHCPv4.UseGateway=no
  b453122789 network: add a flag to ignore gateway provided by DHCP server
  e2b2fb7f56 core: add support for setting CPUAffinity= to special "numa" value
  1808f76870 shared: split out NUMA code from cpu-set-util.c to numa-util.c
  f12d19b304 home: fix segfault when parsing arguments in PAM module
  0e4daba173 NEWS: fix use of tabs instead of spaces for one item
  aaf6c75061 sd-bus: Add sd_bus_set_fd documentation along with some cleanups.
  197298ff9f test: wait a bit after starting the test service
  9790ca75fc Merge pull request #15104 from ssahani/networkctl-qdisc
  5e59431c53 systemctl: emit notice about some kernel commandline options
  cd57038a30 core: consistently emit oom warning when parsing args
  e810df37e4 networkctl: Add support to display qdisc
  8394952777 sd-netlink: Add IFLA_QDISC
  ec458d20b2 homed: replace "home directory" with "home area" in a few places
  20a7592edf shared/ask-password-api: do not show hint on echo
  8d0726fcd7 fix journalctl regression (#15099)
  557b9716f6 Merge pull request #15097 from keszybz/job-logging-and-news-update
  ddee0e815e shared/ask-password-api: do not show hint on echo
  567a530760 fstab-generator: handle systemd.swap= command-line argument
  2ca17c7801 NEWS: add late note about job trimming issue
  c86c31d9ca core: log an info line about the default target
  392a2d5148 Merge pull request #15095 from yuwata/tc-tiny-fixes
  1f58feec73 linux: update headers from v5.6
  f344a492d1 man: use include directive for Parent= or friends
  ff60129bc4 network: rename type name to ProportionalIntegralControllerEnhanced
  c3151977d7 namespace: fix MAC labels of /dev when PrivateDevices=yes
  7bda173f6a Merge pull request #15084 from yuwata/network-tc-next
  970ab1fcc0 test-network: add a test case for HHF
  7f22402007 network: TC - introduce HHF
  7e16f84ea2 sd-netlink: add HHF netlink property
  41bb371bb0 test-network: add a test case for PFIFOFast
  1a95964bfa network: TC - introduce pfifo_fast
  73136507ac test-network: add a test case for PFIFOHeadDrop
  053a2ddbb2 network: TC - introduce pfifo_head_drop
  7b1a31a3d0 test-network: add a test case for BFIFO
  c853f594d4 network: TC - introduce BFIFO
  557fa421ff test-network: add a test case for DRR
  ad365c5de7 network: tc: introduce DRR class
  f5fc04417e network: TC - introduce DRR
  5c21b46e49 sd-netlink: add DRR netlink properties
  be94e591fb test-network: add test case for PIE
  bde4ae88c8 network: tc- introduce PIE
  55d228311b sd-netlink: add support for PIE
  782a7eb719 Merge pull request #15081 from mrc0mmand/systemctl-hide-glyph-column
  88c2616509 Merge pull request #14901 from w-simon/fix-tests
  d171e679e7 systemctl: hide the 'glyph' column when --no-legend is requested
  0080964cc8 format-table: allow hiding a specific column
  f1d075dcb7 core: shorten local variable names in do_queue_default_job()
  b5947b5b10 homed: replace "home directory" with "home area" in a few places
  0b1b0a01ab man: add a tiny bit of markup
  c1566ef0d2 core: transition to FINAL_SIGTERM state after ExecStopPost=
  b6849042d6 journalctl: show duplicate entries if they are from the same file (#14898)
  693040bde5 Merge pull request #15063 from topimiettinen/execute-dont-create-tmp-dirs-if-inaccessible
  7600dbb870 udev: add debug logs for delaying and delegation of events
  0335d110af udev: fix SECLABEL{selinux} issue (#15064)
  42a739a0b5 Modified line 197 for readability. (#15071)
  4f2db15371 meson: mark test-cgroup as standard
  67da33231a test-cgroup: do not require root to pass
  efa2f3a18b execute: don't create /tmp and /var/tmp if both are inaccessible
  de46b2be07 namespace: ignore prefix chars when comparing paths
  1c132196b1 test-cgroup: fix memleak
  2a8020fe9d basic/cgroup-util: modernize cg_split_spec()
  b35e9974fa test-cgroup: split into functions as usual
  084df9c616 analyze: fix table time output
  9251cac7b2 Support compiling with clang and gnu11 standard
  ffccc15f72 Typo fix
  1777c7f70d Update Croatian translation (#15042)
  73678d2307 boot: Ensure ARM UEFI binary does not contain FP/SIMD instructions
  0108c42f59 dissect-image: avoid scanning partitions
  4b3abcd019 safe_fork: use a cleanup function to restore signal mask in parent
  d7e38115cb safe_fork: unblock most signals before waiting for child
  3b5b6826aa mount-setup: make /dev noexec
  e9cdcbed77 test: ignore IAB capabilities in `test-execute`
  908055f61f Merge pull request #15033 from yuwata/state-directory-migrate-issue
  47cc458e97 analyze: fix table time output
  36e0d89a88 Support compiling with clang and gnu11 standard
  f14266c843 meson.build: drop unused SYSTEMD_SLEEP_BINARY_PATH
  1cee1c5283 Typo fix
  51915ca447 Update Croatian translation (#15042)
  1ad6056239 boot: Ensure ARM UEFI binary does not contain FP/SIMD instructions
  a834cb5247 Merge pull request #15036 from yuwata/can-termination-mod
  084f99afce Merge pull request #15038 from lucaswerkmeister/docs
  e1ef1e5d53 docs: fix typo
  afcb3e758c docs: fix misplaced close-paren
  52aa38f14a network: add CAN Termination tristate option
  9c01b203a7 linux: add can/netlink.h
  bba1f90ff5 Merge pull request #14890 from yuwata/network-tc-next
  a34811e4ef udev: support to update flow control parameter
  5d3b801764 network: Add support to ignore foreign routes
  d739fddeb5 network: add setting to support RA without DHCPv6 client
  cd305af1fe network: Allow DHCPv6 client to start without router's managed flag.
  eec394f10b systemd-resolved: use hostname for certificate validation in DoT
  0d14eefb0d Merge pull request #14893 from benzea/benzea/generator-path-environment-variables
  a1e13c30de Merge pull request #14904 from ssahani/dhcp-server-force-renew
  5bb67b107f Merge pull request #14956 from ssahani/delegated-prefix-14474
  dfb3303b6c Merge pull request #15010 from cgzones/selinux_reload_cache_enforce
  abaaa79b22 test: add a test case for migrating DynamicUser=yes to no
  578dc69f2a execute: Fix migration from DynamicUser=yes to no
  5b058473fe man: Add documentation for generator path environment variables
  96b10a13f2 test: Add test for setting generator paths via environment
  39f7d10c24 path-lookup: Allow setting generator paths via environment
  2909f4dd28 path-lookup: Split out helper to get paths from environment
  cccf570355 core: Move environment generator path lookup into path-lookup.c
  257188f80c selinux: cache enforced status and treat retrieve failure as enforced mode
  61f3e897f1 selinux: add trigger for policy reload to refresh internal selabel cache
  f6c6af3811 test-network: add a test case for CAKE
  ad8352f4ff network: tc: introduce cake
  aa550d2a51 sd-netlink: introduce sd_netlink_message_append_s8() and friends
  f2c5c1296a test-network: add a test case for sfb
  982998b087 network: TC introduce sfb - Stochastic Fair Blue
  95edcf3fac test-network: add a test case for GRED
  609e8340bb network: TC introduce GRED, Generic Random Early Detection
  bc0769c9f7 test-network: add a test case for PFIFO
  a74760653c network: TC introduce PFIFO
  f1de1eb3e3 test-network: add test case for HTB class
  19f86a6351 network: tc: support HTB class
  4666f63bb8 network: introduce struct TClass to prepare for supporting tc class
  0ebb76de8b sd-netlink: introduce sd_rtnl_message_new_tclass() and friends
  34658df256 network: introduce TrafficControlKind to prepare for supporting tc class
  931c8c824a test-network: add a test case for HTB
  b934ac3d6e network: tc: support Hierarchy Token Bucket (HTB)
  2a09633117 network: tc: make Parent= take class id
  3c874fd79d test-network: add a test case for [IPv6Prefix] Assign=yes
  a781ddefe5 network: make use of generate_ipv6_eui_64_address
  bd6379ec57 network: introduce IPv6 prefix assign
  34332af2bc network: radv introduce sd_radv_prefix_get_prefix
  5ead535224 network: Introduce method to generate EUI-64 addresses
  3efdd6af2c network: Add support in networkctl for DHCP server forcerenew
  4e58741d55 Canonicalise names in DNS responses per RFC4034 requirements
  19be3da991 Remove dnssec_canonicalize function which is no longer used
  a32c7a4615 network: Add policy in polkit DHCP server forcenenew
  90867f6a3a network: introduce bus method forcerenew for DHCP server
  4ef0ac8f50 test: fix some failures in test-cgroup
  c5673ed0de log: add support for prefixing console log messages with current timestamp
  2526af6ddd man: remove the '=' from --log-color and --log-location as they are optional arg
  3d5f01383d man: sort log parameters in alphabetical order

(From OE-Core rev: 828dace4b227d041dee352680e9f7326d3bcd532)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>

systemd: musl fixup
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:49 +01:00
Alexander Kanavin
3ee166c0dd oeqa: write @OETestTag content into json test reports for each case
This allows using these tags for classification and filtering of test results
according to various organization-specific criteria, such as teams
responsible for the test, internal test ids, feature domains and so on.

Test name itself meanwhile can stay short and human-readable.

(From OE-Core rev: 3801b126eb52cd46efe417111afcd27f05d8f72b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:49 +01:00
Richard Purdie
917032944e uninative: Handle PREMIRRORS generically
Currently uninative handles SOURCE_MIRROR_URL but not generic PREMIRRORS.
It can handle this better, attempt to iterate PREMIRRORS entries.

(From OE-Core rev: 6426c952b5ade48ea94fb647efc464e603989b97)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:49 +01:00
Richard Purdie
26499d1b08 buildtools: Handle generic environment setup injection
Currently buildtools has its own hacked environment setup. We added
capability for generic script fragements but this code was never updated
to use it even if several components it contains needs it.

Remove a hardcoded variable in favour of the generic scripts to
avoid bugs in this area in future. The others should probably be
migrated to environment files in future too but there isn't such
a file for those at present.

(From OE-Core rev: eb210cee4bd71614dd108027e6d5aa8f8d451b27)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:49 +01:00
Richard Purdie
4901fc6d27 populate_sdk_ext: Ensure buildtools doesn't corrupt OECORE_NATIVE_SYSROOT
buildtools is built as a nativesdk which needs to use OECORE_NATIVE_SYSROOT
for its own purposes and can reset it. Save and restore the value
within the eSDK so the two don't clash.

(From OE-Core rev: 513f4006bf563620ee063ba6d0e9b3f27334642e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:49 +01:00
Bruce Ashfield
db05c02af4 strace: update to 5.8 (fix build against v5.8 uapi headers)
Updating strace to the 5.8 release. The signficant change in this
release is fixes to build against the v5.8 kernel.

Noteworthy changes from the strace site:

 - Changes in behaviour

    - Modified %process class to contain system calls associated with
      process lifecycle (creation, exec, termination):
      kill, tkill, tgkill, pidfd_send_signal and rt_sigqueueinfo are added,
      arch_prctl and unshare are removed.

 - Improvements
    - Implemented decoding of faccessat2 syscall.
    - Implemented decoding of LOOP_CONFIGURE ioctl command.
    - Updated decoding of io_uring_setup syscall to match Linux 5.8.
    - Updated lists of AUDIT_*, BPF_*, CAP_*, ETH_*, INET_DIAG_*, IORING_*,
      KEYCTL_*, KVM_*, LOOP_*, NDA_*, RTC_*, TCA_*, STATX_*, and *_MAGIC
      constants.
    - Updated lists of ioctl commands from Linux 5.8.

 - Bug fixes

    - Added statx syscall to %fstat trace class.

(From OE-Core rev: d656936ec7fbd4c2748a8f2239b6c09e5b9216d9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:49 +01:00
Bruce Ashfield
24f830fc75 kernel-yocto: enhance configuration queue analysis capabilities
Enable the kernel-yocto bbclass to use enhanced capabilities from
the kern-tools symbol_why.pl.

We bump the kern-tools SRCREV to pickup the reworking of symbol_why,
which uses Kconfiglib to provide analysis on configuration values.

This is useful for debugging why a symbol specified in a fragment
did not end up in the final .config.

We introduce two ways to interact with the new symbol_why:

 1) a replacement of the existing kconf_check script
 2) a dedicated task that is explicitly invoked to dump details
    on the configuration.

The kconf_check replacement is transparent to the user, and is
run in exactly the same way as it was previously. But we get better
output and more detailed diagnostics if there are symbols that
don't make it into the final .config

The second way to interact with symbol why is via the new task
do_config_analysis. This is invoked like any other task, and by
default will provide a full configuration analysis and point the
user at files to look at for details.

If a more targetted analysis is desired, then specific symbols
can be set in the CONFIG_ANALYSIS variable. When this variable
is set, the task will only run for the given symbols and provide
per-variable links to the user. This variable can be set like
any other, including specification in the local.conf:

  CONFIG_ANALYSIS_pn-linux-yocto-dev = 'NF_CONNTRACK LOCALVERSION'

Which produces output as follows:

   WARNING: linux-yocto-dev-5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0
   do_config_analysis: Configuration analysis executed, see: tmp/work/qemuarm64-poky-linux/linux-yocto-dev/5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0/NF_CONNTRACK-config-analysis.txt for details
   WARNING: linux-yocto-dev-5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0
   do_config_analysis: Configuration audit executed, see: tmp/work/qemuarm64-poky-linux/linux-yocto-dev/5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0/NF_CONNTRACK-config-audit.txt for details
   WARNING: linux-yocto-dev-5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0
   do_config_analysis: Configuration analysis executed, see: tmp/work/qemuarm64-poky-linux/linux-yocto-dev/5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0/LOCALVERSION-config-analysis.txt for details
   WARNING: linux-yocto-dev-5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0
   do_config_analysis: Configuration audit executed, see: work/qemuarm64-poky-linux/linux-yocto-dev/5.8-rc++gitAUTOINC+d22beb8f8a_8fc484ed37-r0/LOCALVERSION-config-audit.txt for details

(From OE-Core rev: cbc896def4c8bab3150d3405969e5dd018d62d0c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:49 +01:00
Diego Sueiro
bfabdcfa37 cml1: Add the option to choose the .config root dir
Introduce the KCONFIG_CONFIG_ROOTDIR variable to allow recipes
which the .config file is not under the ${B} to select the root
directory location for the config file.

(From OE-Core rev: f86282ad2c66f843e000a889c403b3f09bce33f0)

Signed-off-by: Diego Sueiro <diego.sueiro@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:49 +01:00
zangrc
bf2b4c6943 python3-setuptools: Upgrade 49.2.0 -> 49.2.1
(From OE-Core rev: 4dfd58e189598ce3b9d14528b1e9d443dbc97926)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:48 +01:00
zangrc
df8b8c553e libinput: Upgrade 1.15.6 -> 1.16.0
(From OE-Core rev: c862f628a5be1d8a95ad2e82672553ef0c1eda49)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:48 +01:00
zangrc
f87f1a7eec libcap: Upgrade 2.41 -> 2.42
(From OE-Core rev: e45c5c9d99ff7707d4df484fb7158e414e98ddc8)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:48 +01:00
Lee Chee Yang
d3c60cde03 qemu : fix CVE-2020-15863
(From OE-Core rev: 4d44369c7e65b110412e96c86b51d9791d94cb05)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:48 +01:00
Lee Chee Yang
6ec51d096e ghostscript: fix CVE-2020-15900
(From OE-Core rev: d70012e8971a4762ea402c3c843938640b9ab9fc)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:48 +01:00
Chen Qi
ddd3e25679 grub: set CVE_PRODUCT to grub2
grub and grub-efi recipes' CVE_PRODUCT should be grub2.

(From OE-Core rev: 8682f6bc7e3e8d5fcf682647526f1a8430d08768)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:48 +01:00
Khem Raj
4a74697970 xf86-video-intel: Fix build with -fno-common
(From OE-Core rev: 37faa5d2c441623f6e451c3a7ed2985840a2fc61)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:48 +01:00
Usama Arif
12521660ec oeqa/selftest/imagefeatures: Add testcase for fitImage
This testcase generates the Image Tree Source and
the corresponding fitImage containing a kernel and
a ramdisk. It then checks if the these files exist
and if the right fields are present in the right
order in the Image Tree Source.

Tested with: oe-selftest -r  imagefeatures.ImageFeatures.test_fit_image

(From OE-Core rev: 97e986030ef33dbc43f8e18f7721b98ee381e29b)

Signed-off-by: Usama Arif <usama.arif@arm.com>
Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:48 +01:00
Usama Arif
8f8ec92d7b kernel-fitimage: build configuration for image tree when dtb is not present
This patch adds support for adding configuration node even
when dtb is not part of the FIT image. The conf and default
node number are therefore changed to point to kernel ID rather
than dtb ID when dtb does not exist.

(From OE-Core rev: 2d9f3c3d763e2bca704da4019add973b9a2c572f)

Signed-off-by: Usama Arif <usama.arif@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-08 09:17:48 +01:00
Bruce Ashfield
d5bb221646 yocto-bsps: update reference BSPs to 5.4.54
(From meta-yocto rev: cc10c1589b4a4c9471bd5c847ef2f8ccc4e8a58f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:58 +01:00
Khem Raj
56b201df77 binutils: Upgrade to 2.35 release
assembler supports dwarf-5 format line numbers
linker has -M -MP gcc-like option

for detailed release notes see [1]

[1] https://lists.gnu.org/archive/html/info-gnu/2020-07/msg00008.html

(From OE-Core rev: 7a7667127625244aae2b1ff179e431fc9ad25737)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Bruce Ashfield
4a832bc5d5 lttng-modules: update to 2.12.2 (fixes v5.8+ builds)
Updating to the 2.12.2 lttng-modules release. This is the standard
collection of bug fixes as well as changes to support building against
the v5.8 kernel.

Changelog follows:

 2020-08-04 (National Chocolate Chip Cookie Day) LTTng modules 2.12.2
         * Fix: Lock metadata cache on session destroy
         * Fix: metadata stream leak, missing list removal and locking
         * Fix: coherent state not changed atomically with metadata written
         * fix: include module.h for EXPORT_SYMBOL_GPL
         * fix: __lttng_vmalloc_node_range const caller introduced in v3.6
         * fix: version range for overflow_callback
         * fix: global_dirty_limit was introduced in v3.1
         * fix: wrapper_uprobe_unregister is a void function
         * fix: prior to v4.0, __vmalloc_node_range had no vm_flags param
         * fix: vmalloc on v5.8 without KALLSYMS
         * Detect missing symbols used with kallsyms_lookup at compile time
         * Use exported symbol bdevname() instead of disk_name()
         * Add git-review config
         * fix: mm: remove vmalloc_sync_(un)mappings() (v5.8)
         * fix: mm/writeback: discard NR_UNSTABLE_NFS, use NR_WRITEBACK (v5.8)
         * fix: block: remove the error argument to the block_bio_complete (v5.8)
         * fix: pipe_buf_operations rework (v5.8)

(From OE-Core rev: 08532e86d4c50e4d9ff99b4bb60f88ec3f5fc239)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Bruce Ashfield
dfa3d5e395 kernel-devsrc: fix x86 (32bit) on target module build
The previous devsrc v5.8 on target build fixup [532ae127c
kernel-devsrc: fix on-target module build for v5.8+], missed
on condition: the defconfig

On 32bit x86 the arch can be queried differently on the host
and target. We aren't building against the defconfig, so we
remove it from auto.conf.cmd and we can again prepare to build
modules on target.

(From OE-Core rev: 368537ab94e141e02eb981fa0fb44548b4be297e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Bruce Ashfield
939690c9e4 systemtap: update to 4.3 latest
Updating systemtap to the latest of the 4.3 release branch. Without
this update we cannot pass on-target sanity tests with a 5.8
kernel.

Changelog is as follows:

    82b8e1a07 (HEAD -> master, origin/master, origin/HEAD) Make dtrace generated code work with LTO (take 2)
    03a6c471a Fix --enable-http build errors by always using MHD_Result
    87344e948 PR26307: rhel6 porting tweak redux
    24810e5ac PR26307: rhel6 porting tweak
    327956981 java/HelperSDT.c: correct 32-bit pointer cast warnings
    2f3580f40 PR26307: adapt to kernel module_sect_attr changes in 5.8+
    84bc64ff1 systemtap.spec: let -testsuite subrpm require elfutils-debuginfod
    27b087e7f PR26249: "%p" -> "0x%lx" pointer formatting in *conversions.stp error messages
    5e1ef9d7f PR25568 / RHBZ1857749: sdt_buildid.exp test case
    e90530877 PR25568 / RHBZ1857749: buildid/uprobes/inode rework, task_finder etc. side
    40dbe72af PR26234: stapbpf should warn about other unsupported derived_probe types
    82f358beb testsuite: shrink output
    a9a0131eb rhbz1857749: uprobes-inode regression in sdt semaphore setting
    ce0fa621e configury: make systemtap buildable with gcc -flto
    e5a63d9c0 Make dtrace generated code work with LTO
    e8070f260 Revert "Make dtrace generated code work with LTO"
    b26a86bfb systemtap.spec: comment syntax tweak
    8212024da Make dtrace generated code work with LTO
    601778117 PR26234: stapbpf should warn about unsupported utrace_derived_probes
    c7d4f550e testsuite: block listing_mode_sanity large tests on small machine
    046fa017d RHBZ1847676 cont'd: one more uprobes-inode/onthefly concurrency control
    a8351c3dc runtime: startup dmesg %p decloaking
    65d6fbd21 run-stap.in: forget about bundled elfutils build mode
    57c76ab3f PR25549: format tweak
    143974310 PR25549: statement probe visibility for openmp / lto binaries
    c6831f14e testuite: More @cast() fallout
    a4d7b3797 README: modernize
    f1a9bb064 Tapset and testsuite updates against @cast() change 00ee19ff03
    4ccdfe453 RHBZ1847676 cont'd: more uprobes-inode/onthefly concurrency controls
    487d6b6e8 tapset: *user_string* formatting directive tweaks
    b266d0bf8 PR26142: Adapt to linux/vermagic.h file hiding ... but with proper include order
    79000b42e PR26142: Adapt to linux/vermagic.h file hiding ... but not on rhel6
    37066e2c3 PR26142: adapt to linux mmap_sem api transition
    6af5df835 PR26142: Adapt to linux/vermagic.h file hiding
    403e92779 PR26181: Use explicit @cast() within get_ip_from_client()
    4bb36e7fb Exclude some __NR_compat_* defines for newer aarch64 kernels
    a948c291c Use explicit @cast() operators pointing to kernel for tapsets
    469d20e8b PR26131: garbled data might appear in staprun data channel output
    36430614d Use kernel.trace("sched:sched_process_fork") for kprocess.create when possible
    b2d18cb3a Use explicit @cast() operators for semop-watch.stp example.
    3d922919d Use explicit @cast() operators for periodic.stp
    9a2cd427a PR24758: increase stack size for BPF userspace interpreter
    3040d4e8d Use explicit @cast() operators for stapgames/pingpong.stp tapset.
    9eb37102d Use explicit @cast() operators for pfiles.stp and ioctl_handler.stp
    7a28529f6 Remove the unneeded test_support check the lwtools meta info
    717b7dddd Use explicit @cast() operators to fslatency-nd.stp and fsslower-nd.stp
    2b2b6a622 Fix sizeof.stp to explicitly use kernel debuginfo if one not specified
    db91f0291 bpf.exp: tentative fix for bigmap1.stp hang on RHEL8
    11c39a737 RHBZ1847676: uprobes-inode tweaks redux
    0a281a96d Make sizeof.stp runnable with the bpf backend.
    5b8f6c174 remove comment
    fb59e8c75 PR26123: fixed memory leaks in vma map for kernels without CONFIG_UTRACE.
    cc7b62017 Add overcommit.stp to examples that can run in bpf.
    ac8f2b7c9 configury: post-release version bump
    7a7016a12 Avoid exceeding space constraints for the BPF environment in mmfilepage.stp
    c488859d6 Avoid exceeding space constraints for BPF environment in mmwriteback.stp

(From OE-Core rev: 06f0e54c06a9e07dabb612a907bbf2542b5ac52e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Daniel Ammann
f39694933a wic: fix typo
(From OE-Core rev: 9ab4c4571d899d2eefcd2fc53af0851863f29008)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Khem Raj
781e2a8d95 minicom: Fix build when using -fno-common
gcc10 defaults to -fno-common which flags the multiple global variables
as errors, these patches ( from fedora ) fixes the issue

(From OE-Core rev: d79177ab293063b176ded2566173c29d00360ad5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Alejandro Hernandez
a5ba89ac4b musl: Upgrade to latest release 1.2.1
(From OE-Core rev: 227430916a3e50bec5741e00cb7f2dbc52a85eb3)

Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Daniel Gomez
7ac4833236 allarch: Add missing allarch ttf-bitstream-vera
allarch is missing in ttf-bitstream-vera recipe. Add it and include the
recipe in the SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS list.

(From OE-Core rev: 31c02477a4fb91f19f8c3ef3f8bc9a20e416c859)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Matthew
b6b6a39ee8 ltp: make copyFrom scp command non-fatal
[YOCTO #13802]

Make the scp failure non-fatal so the ltp tests continue to run and
the rest of the logs will be available to see afterwards.

(From OE-Core rev: 0f7d093038274f4f21f6cca39a96aac4f6c32ee3)

Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Khem Raj
1beb67e4df libacpi: Fix build with -fno-common
(From OE-Core rev: 6d4bfd341eb48e6904cb5b645727cbf351f02a2e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Khem Raj
140483d180 distcc: Fix build with -fno-common
(From OE-Core rev: 3ee28664c7db2e0e548941205ec94c1652a3ac17)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Khem Raj
d9f2e59317 kexec-tools: Fix build with -fno-common
(From OE-Core rev: f389ee22a0f3829624fc4d7ebbd3747e827bcf2e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Khem Raj
cac052cdec libomxil: Use -fcommon compiler option
This ensures that when compiler defaults become -fno-common it still
keeps compiling

(From OE-Core rev: 5fa3c1ff157047f433f25b8b9952f99445d32538)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Khem Raj
35d23eaf53 inetutils: Fix build with -fno-common
Fixes errors like

telnetd/state.c:69: multiple definition of `not42'; utility.o:/usr/src/debug/inetutils/1.9.4-r0/build/telnetd/../../inetutils-1.9.4/telnetd/utility.c:66: first defined here
| clang-11: error: linker command failed with exit code 1 (use -v to see invocation)

(From OE-Core rev: 555bb1191459aa2a05a4ed9e044c0eba085a7162)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Tyler Hicks
b148043e0e kernel-devicetree: Fix intermittent build failures caused by DTB builds
Fix a build-time race condition that resulted in intermittent build
failures in the do_assemble_fitimage task. The race condition involved
the do_assemble_fitimage task reading the vmlinux file while the
do_compile_kernelmodules task was re-writing the vmlinux file.

This can be seen with an aarch64 image build that uses a 5.4 based
kernel and sets KERNEL_DEVICETREE. The problem is that the do_compile
snippet that the kernel-devicetree class appends did not specify the
full kernel build environment when building the DTB(s) from the kernel
tree. This resulted in CONFIG_CC_CAN_LINK=y being removed from the
kernel config file just before the do_compile task completed. The
CONFIG_CC_CAN_LINK=y line was then re-inserted into the kernel config
file as part of the do_compile_kernelmodules task.

In some cases, this resulted in the do_compile_kernelmodules task to
re-link vmlinux which sometimes occured at the same time that the
do_assemble_fitimage task was attempting to use vmlinux. The
do_assemble_fitimage task would fail with the following error message:

 aarch64-poky-linux-objcopy:vmlinux: file format not recognized

We can use the pine-a64-lts machine, from the meta-pine64 layer, to show
that the kernel config file was changed between do_compile and
do_compile_kernelmodules:

 $ C=tmp/work/pine_a64_lts-poky-linux/linux-pine64/5.7+gitAUTOINC+ae03bade3b-r0/linux-pine_a64_lts-standard-build/.config
 $ bitbake -c do_kernel_configcheck virtual/kernel
 ...
 $ md5sum $C; grep CC_CAN_LINK $C
 32b133cf8a749a91f698a7ca8616c84f  ...
 CONFIG_CC_CAN_LINK=y

 $ bitbake -c do_compile virtual/kernel
 ...
 $ md5sum $C; grep CC_CAN_LINK $C
 2fd2ec2a66eecc329dcb5afaf005eada  ...

 $ bitbake -c do_compile_kernelmodules virtual/kernel
 ...
 $ md5sum $C; grep CC_CAN_LINK $C
 32b133cf8a749a91f698a7ca8616c84f  ...
 CONFIG_CC_CAN_LINK=y

With this change, the do_compile snippet appended by the
kernel-devicetree class does not modify the kernel config. The kernel
config is unchanged across the do_compile and do_compile_kernelmodules
tasks and do_compile_kernelmodules will not attempt to re-link vmlinux.

(From OE-Core rev: 74619de0277471f446bf7a719f4c445359c823f6)

Signed-off-by: Tyler Hicks <tyhicks@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Khem Raj
3488a38e60 dhcp: Use -fcommon compiler option
This ensures -fcommon is still used when compiler defaults to
-fno-common in gcc10 and clang11

Fixes
dhcp-4.4.2/server/mdb.c:70: multiple definition of `dhcp_type_host'; dhcpd-omapi.o:/usr/src/debug/dhcp/4.4.2-r0/dhcp-4.4.2/server/omapi.c:50: first defined here

(From OE-Core rev: ee585ced8e48bca508c03ce71741bbcd672ee80d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Khem Raj
97bef7627b libunwind: Backport a fix for -fno-common option to compile
defaults for gcc is to use -fno-common this ensures that it keeps
building with gcc -fno-common

Fixes
src/arm/Ginit.c:60: multiple definition of `_U_dyn_info_list'; mi/.libs/dyn-info-list.o:/usr/src/debug/libunwind/1.4.0-r0/build/src/../../libunwind-1.4.0/src/mi/dyn-info-list.c:28: first defined here

(From OE-Core rev: 6cd2cf6525bcb241b3a2538e559fcef2a2084a7e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Bruce Ashfield
9471602f5a linux-yocto/5.4: update to v5.4.54
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    58a12e3368db Linux 5.4.54
    c15d59b94511 ath9k: Fix regression with Atheros 9271
    e6eb815beccc ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
    6d4448ca54bc dm integrity: fix integrity recalculation that is improperly skipped
    2ca71b807383 ASoC: topology: fix tlvs in error handling for widget_dmixer
    a4fd00dd8299 ASoC: topology: fix kernel oops on route addition error
    e60e53e685d9 ASoC: qcom: Drop HAS_DMA dependency to fix link failure
    8f64dc9e1d49 ASoC: rt5670: Add new gpio1_is_ext_spk_en quirk and enable it on the Lenovo Miix 2 10
    697bd3e4aa4b x86, vmlinux.lds: Page-align end of ..page_aligned sections
    c89af82f64a0 parisc: Add atomic64_set_release() define to avoid CPU soft lockups
    d1bab3cf71dd drm/amd/powerplay: fix a crash when overclocking Vega M
    33ab3f2dc444 drm/amdgpu: Fix NULL dereference in dpm sysfs handlers
    c3de96686db9 mmc: sdhci-of-aspeed: Fix clock divider calculation
    615f44e04792 io-mapping: indicate mapping failure
    40c5836b4a48 khugepaged: fix null-pointer dereference due to race
    95750e1edbcd mm: memcg/slab: fix memory leak at non-root kmem_cache destroy
    db949f60d983 mm/memcg: fix refcount error while moving and swapping
    549bfc142706 mm/mmap.c: close race between munmap() and expand_upwards()/downwards()
    5835e6d5988f Makefile: Fix GCC_TOOLCHAIN_DIR prefix for Clang cross compilation
    23e8b741c8a1 vt: Reject zero-sized screen buffer size.
    028b478f2231 fbdev: Detect integer underflow at "struct fbcon_ops"->clear_margins.
    bf331efc8ea4 /dev/mem: Add missing memory barriers for devmem_inode
    3c52751df236 serial: 8250_mtk: Fix high-speed baud rates clamping
    af811869db06 serial: 8250: fix null-ptr-deref in serial8250_start_tx()
    fb8d832978bb serial: tegra: fix CREAD handling for PIO
    c76a1dacc28d staging: comedi: addi_apci_1564: check INSN_CONFIG_DIGITAL_TRIG shift
    178a09b0fb0d staging: comedi: addi_apci_1500: check INSN_CONFIG_DIGITAL_TRIG shift
    7ee8d78bc12b staging: comedi: ni_6527: fix INSN_CONFIG_DIGITAL_TRIG support
    747558b1c737 staging: comedi: addi_apci_1032: check INSN_CONFIG_DIGITAL_TRIG shift
    c9afe420c53a staging: wlan-ng: properly check endpoint types
    a44c859323c2 tty: xilinx_uartps: Really fix id assignment
    f32718cfa5db iwlwifi: mvm: don't call iwl_mvm_free_inactive_queue() under RCU
    3e84602475f7 Revert "cifs: Fix the target file was deleted when rename failed."
    86894c3797ed usb: xhci: Fix ASM2142/ASM3142 DMA addressing
    1d91547f2fc8 usb: xhci-mtk: fix the failure of bandwidth allocation
    93f1e16af4a5 binder: Don't use mmput() from shrinker function.
    35728cac176a RISC-V: Upgrade smp_mb__after_spinlock() to iorw,iorw
    5345ede4acde drivers/perf: Prevent forced unbinding of PMU drivers
    0821295b23cc asm-generic/mmiowb: Allow mmiowb_set_pending() when preemptible()
    90e78ec7d725 x86: math-emu: Fix up 'cmp' insn for clang ias
    679fe09188c1 arm64: Use test_tsk_thread_flag() for checking TIF_SINGLESTEP
    7fc7942f52cf drivers/perf: Fix kernel panic when rmmod PMU modules during perf sampling
    347f735ca82b ALSA: hda/realtek - fixup for yet another Intel reference board
    30a17b51d80d hwmon: (scmi) Fix potential buffer overflow in scmi_hwmon_probe()
    76361edb5559 platform/x86: asus-wmi: allow BAT1 battery name
    41a7fdf90ce2 platform/x86: ISST: Add new PCI device ids
    ace6e8b448b9 hwmon: (nct6775) Accept PECI Calibration as temperature source for NCT6798D
    6627a265c598 drm/amdgpu: fix preemption unit test
    ffb5604d2043 drm/amdgpu/gfx10: fix race condition for kiq
    c04a48251314 hwmon: (adm1275) Make sure we are reading enough data for different chips
    a2a380bd4575 usb: cdns3: trace: fix some endian issues
    103a90ad4e64 usb: cdns3: ep0: fix some endian issues
    89fe6eba178d usb: gadget: udc: gr_udc: fix memleak on error handling path in gr_ep_init()
    74ec2cc5bfff usb: dwc3: pci: add support for the Intel Jasper Lake
    c4c6363b8e68 usb: dwc3: pci: add support for the Intel Tiger Lake PCH -H variant
    4f5eb2735fa3 Input: elan_i2c - only increment wakeup count on touch
    186d3fe73e27 Input: synaptics - enable InterTouch for ThinkPad X1E 1st gen
    460c0dafea92 dmaengine: ioat setting ioat timeout as module parameter
    493aed3263ca dmaengine: fsl-edma: fix wrong tcd endianness for big-endian cpu
    6a3015ae35f5 hwmon: (aspeed-pwm-tacho) Avoid possible buffer overflow
    01d7bd8903d8 regmap: dev_get_regmap_match(): fix string comparison
    bbc0b6e18405 spi: mediatek: use correct SPI_CFG2_REG MACRO
    126a0ab6b83b ARM: dts: n900: remove mmc1 card detect gpio
    80fed4024c39 Input: add `SW_MACHINE_COVER`
    db886ec71fe4 dmaengine: tegra210-adma: Fix runtime PM imbalance on error
    5cbe437d5968 HID: apple: Disable Fn-key key-re-mapping on clone keyboards
    2c179ece3bfb HID: steam: fixes race in handling device list.
    5d273c566f7b HID: alps: support devices with report id 2
    08696a4ac9f6 HID: i2c-hid: add Mediacom FlexBook edge13 to descriptor override
    9ab9cfcc2d8f scripts/gdb: fix lx-symbols 'gdb.error' while loading modules
    22508bc315eb scripts/decode_stacktrace: strip basepath from all paths
    1e63d569fd2d serial: exar: Fix GPIO configuration for Sealevel cards based on XR17V35X
    a86abef1558a geneve: fix an uninitialized value in geneve_changelink()
    89b4f204ba43 bonding: check return value of register_netdevice() in bond_newlink()
    93bb40b79e84 i2c: i2c-qcom-geni: Fix DMA transfer race
    58637b3027db i2c: rcar: always clear ICSAR to avoid side effects
    e8b86b4d87e3 enetc: Remove the mdio bus on PF probe bailout
    9f2c2928b939 nfsd4: fix NULL dereference in nfsd/clients display code
    a44625dc0bd3 Revert "PCI/PM: Assume ports without DLL Link Active train links in 100 ms"
    9e3e96aa9a2e net: ethernet: ave: Fix error returns in ave_init
    eb2c32de1ce6 ipvs: fix the connection sync failed in some cases
    592614918431 qed: suppress false-positives interrupt error messages on HW init
    641bd96bd0ac qed: suppress "don't support RoCE & iWARP" flooding on HW init
    8d416c038a91 netdevsim: fix unbalaced locking in nsim_create()
    99a5e865cbe4 net: dsa: microchip: call phy_remove_link_mode during probe
    4997b311c01e net: hns3: fix error handling for desc filling
    107ea66643bd net: ag71xx: add missed clk_disable_unprepare in error path of probe
    34e93385c416 ionic: fix up filter locks and debug msgs
    42f5c49f7bbb ionic: use offset for ethtool regs data
    eac87543368c mlxsw: destroy workqueue when trap_register in mlxsw_emad_init
    9b52f23ad648 bonding: check error value of register_netdevice() immediately
    d11a27411c65 net: smc91x: Fix possible memory leak in smc_drv_probe()
    a2cdb4ebd84e drm: sun4i: hdmi: Fix inverted HPD result
    988e5d2179e4 ieee802154: fix one possible memleak in adf7242_probe
    7bf93c95a9b9 net: dp83640: fix SIOCSHWTSTAMP to update the struct with actual configuration
    e2e31a0bf7a1 ASoC: Intel: bytcht_es8316: Add missed put_device()
    613e7c52aaaa RDMA/mlx5: Use xa_lock_irq when access to SRQ table
    d0d394c71604 ax88172a: fix ax88172a_unbind() failures
    ad49d766612e vsock/virtio: annotate 'the_virtio_vsock' RCU pointer
    f826efa1c381 hippi: Fix a size used in a 'pci_free_consistent()' in an error handling path
    570b1c92cb48 fpga: dfl: fix bug in port reset handshake
    c73188295841 fpga: dfl: pci: reduce the scope of variable 'ret'
    57393e695a10 bnxt_en: Fix completion ring sizing with TPA enabled.
    9cc322773b20 bnxt_en: Fix race when modifying pause settings.
    38a66f3cdab4 btrfs: fix page leaks after failure to lock page for delalloc
    b04805a7e8a5 btrfs: fix mount failure caused by race with umount
    e333df0e4ac6 btrfs: fix double free on ulist after backref resolution failure
    f668e822950d ASoC: rt5670: Correct RT5670_LDO_SEL_MASK
    0f87dabe4415 ALSA: info: Drop WARN_ON() from buffer NULL sanity check
    aad343d571ae ALSA: hda/realtek: Fixed ALC298 sound bug by adding quirk for Samsung Notebook Pen S
    ee2f6a6b39be uprobes: Change handle_swbp() to send SIGTRAP with si_code=SI_KERNEL, to fix GDB regression
    ee08663380ff btrfs: reloc: clear DEAD_RELOC_TREE bit for orphan roots to prevent runaway balance
    044ca910276b btrfs: reloc: fix reloc root leak and NULL pointer dereference
    cb1225707041 SUNRPC reverting d03727b248d0 ("NFSv4 fix CLOSE not waiting for direct IO compeletion")
    02140e85d8e4 drm/amd/display: Check DMCU Exists Before Loading
    722c6e954c90 dmabuf: use spinlock to access dmabuf->name
    44838b956304 ARM: dts: imx6qdl-gw551x: fix audio SSI
    593221ce16af ARM: dts: imx6qdl-gw551x: Do not use 'simple-audio-card,dai-link'
    36f735554572 irqdomain/treewide: Keep firmware node unconditionally allocated
    8676732c3337 fuse: fix weird page warning
    96002e7485be drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups()
    d0e40e510aa7 dm: use bio_uninit instead of bio_disassociate_blkg
    0ff9fce4abee scsi: dh: Add Fujitsu device to devinfo and dh lists
    3959567d870d scsi: mpt3sas: Fix error returns in BRM_status_show
    0c1337e94a54 drm/nouveau/i2c/g94-: increase NV_PMGR_DP_AUXCTL_TRANSACTREQ timeout
    fb50c5cf2105 net: sky2: initialize return of gm_phy_read
    b4397143da53 ALSA: hda/hdmi: fix failures at PCM open on Intel ICL and later
    e50116e51281 drivers/net/wan/lapbether: Fixed the value of hard_header_len
    0eced7636001 scsi: mpt3sas: Fix unlock imbalance
    0edfdefc0a9c xtensa: update *pos in cpuinfo_op.next
    df5b65f5df3e xtensa: fix __sync_fetch_and_{and,or}_4 declarations
    806ffec1a93a scsi: scsi_transport_spi: Fix function pointer check
    65c835ebe2cd mac80211: allow rx of mesh eapol frames with default rx key
    f55550d566e4 pinctrl: amd: fix npins for uart0 in kerncz_groups
    de0d953ee787 gpio: arizona: put pm_runtime in case of failure
    52083907ebfa gpio: arizona: handle pm_runtime_get_sync failure case
    4f80cb2c787f soc: qcom: rpmh: Dirt can only make you dirtier, not cleaner

(From OE-Core rev: de8c92604ead0ed00fb035fb0c915ec03f729537)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Bruce Ashfield
2b44ac076c kernel/yocto: allow dangling KERNEL_FEATURES
KERNEL_FEATURES are explicitly checked by the kern-tools, and trigger
and error when not present. This is since the KERNEL_FEATURES are
specified by layers or BSPs as elements that are requied for correct
operation.

That being said, in order to support more kernel recipes that are using
fragments, but not necessarily the yocto kernel-cache for meta-data,
this change introduces: KERNEL_DANGLING_FEATURES_WARN_ONLY

As you'd expect, when set, missing kernel features only print a
message and warn that runtime issues may occur, but otherwise allow
the kernel configuration and build process to continue.

This was noticed/required when meta-virtualization adopted a more
generic kernel bbappend (to serve the needs of more layers in the
ecosystem), but also specifies some KERNEL_FEATURES. If layers using
a recipe derived from kernel-yocto, but not the main kernel-cache,
used meta-virtualization and error would be thrown due to missing
features. We now can both allow them to continue, and also provide
a more useful message to resolve the issue.

(From OE-Core rev: 8d44ea9fbb1ee7bec1062505a9bb1e2d7b360094)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Bruce Ashfield
bb983b8f80 linux-yocto/5.4: fix perf build with binutils 2.35
Integrating the following commit(s) to linux-yocto/5.4:

    1fe4ee7f680c libtraceevent: Fix build with binutils 2.35

(From OE-Core rev: 69faa62d840330f573101245e0aa3fed17984b70)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Bruce Ashfield
64dff5fd18 linux-yocto/5.4: update to v5.4.53
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    d811d29517d1 Linux 5.4.53
    e6c19fa5b6c6 gpio: pca953x: disable regmap locking for automatic address incrementing
    411c80267541 drm/i915/gvt: Fix two CFL MMIO handling caused by regression.
    517708c47c66 iommu/vt-d: Make Intel SVM code 64-bit only
    41389f739a5e ionic: export features for vlans to use
    5d7e2852d7e6 spi: sprd: switch the sequence of setting WDG_LOAD_LOW and _HIGH
    1245a1e0e1c3 rxrpc: Fix trace string
    07253d24cda3 libceph: don't omit recovery_deletes in target_copy()
    d2ccad3c9ce9 block: fix get_max_segment_size() overflow on 32bit arch
    310d75f274d5 block: fix splitting segments on boundary masks
    f2e57ed2f3f8 drm/i915/gt: Ignore irq enabling on the virtual engines
    64a17e1da02a drm/amdgpu/sdma5: fix wptr overwritten in ->get_wptr()
    9f8d3d2f79ba genirq/affinity: Handle affinity setting on inactive interrupts correctly
    6aae92ed2c42 sched/fair: handle case of task_h_load() returning 0
    b5b774918816 sched: Fix unreliable rseq cpu_id for new tasks
    5c2450ac7c7a arm64: compat: Ensure upper 32 bits of x0 are zero on syscall return
    ed766e740cc9 arm64: ptrace: Consistently use pseudo-singlestep exceptions
    bdb71132992b arm64: ptrace: Override SPSR.SS when single-stepping is enabled
    d3b7bacd1115 thermal/drivers/cpufreq_cooling: Fix wrong frequency converted from power
    025cec59aa17 thermal: int3403_thermal: Downgrade error message
    0ab6b541c6f8 misc: atmel-ssc: lock with mutex instead of spinlock
    746930d17d14 dmaengine: fsl-edma-common: correct DSIZE_32BYTE
    5f3fcbf5b57f dmaengine: mcf-edma: Fix NULL pointer exception in mcf_edma_tx_handler
    9464956544be dmaengine: fsl-edma: Fix NULL pointer exception in fsl_edma_tx_handler
    8fd0d8536805 intel_th: Fix a NULL dereference when hub driver is not loaded
    55d7092cc8f5 intel_th: pci: Add Emmitsburg PCH support
    905f20f4946a intel_th: pci: Add Tiger Lake PCH-H support
    5c698cc5b6f4 intel_th: pci: Add Jasper Lake CPU support
    c5ce2060f487 powerpc/pseries/svm: Fix incorrect check for shared_lppaca_size
    93d1e96b98b2 powerpc/book3s64/pkeys: Fix pkey_access_permitted() for execute disable pkey
    d6a76f8eee21 hwmon: (emc2103) fix unable to change fan pwm1_enable attribute
    9125d5762590 riscv: use 16KB kernel stack on 64-bit
    c28501385945 timer: Fix wheel index calculation on last level
    6c2388e2a12b timer: Prevent base->clk from moving backward
    e9506de7b305 scsi: megaraid_sas: Remove undefined ENABLE_IRQ_POLL macro
    acd3901a62f6 uio_pdrv_genirq: fix use without device tree and no interrupt
    17268122ba5e uio_pdrv_genirq: Remove warning when irq is not specified
    97f1aecb80e9 Input: elan_i2c - add more hardware ID for Lenovo laptops
    1fb81fe5e180 Input: i8042 - add Lenovo XiaoXin Air 12 to i8042 nomux list
    62dd03054918 mei: bus: don't clean driver pointer
    72648019cd52 Revert "zram: convert remaining CLASS_ATTR() to CLASS_ATTR_RO()"
    4dd2ad686704 fuse: Fix parameter for FS_IOC_{GET,SET}FLAGS
    e8f32a9f5aeb fuse: use ->reconfigure() instead of ->remount_fs()
    f96ce4be463a fuse: ignore 'data' argument of mount(..., MS_REMOUNT)
    09b696bd2149 ovl: fix unneeded call to ovl_change_flags()
    93f75b0f0d3b ovl: relax WARN_ON() when decoding lower directory file handle
    6270654c7de9 ovl: inode reference leak in ovl_is_inuse true case.
    4996065307c8 ovl: fix regression with re-formatted lower squashfs
    2cd065b91681 serial: mxs-auart: add missed iounmap() in probe failure and remove
    752641ba871a virtio: virtio_console: add missing MODULE_DEVICE_TABLE() for rproc serial
    8f4c040f45b9 Revert "tty: xilinx_uartps: Fix missing id assignment to the console"
    1bc2c30d861c virt: vbox: Fix guest capabilities mask check
    78d85ca8300e virt: vbox: Fix VBGL_IOCTL_VMMDEV_REQUEST_BIG and _LOG req numbers to match upstream
    cc894ec456c1 USB: serial: option: add Quectel EG95 LTE modem
    4eaf06c9bd35 USB: serial: option: add GosunCn GM500 series
    dcc1df3cdb04 USB: serial: ch341: add new Product ID for CH340
    dff0a4f024fc USB: serial: cypress_m8: enable Simply Automated UPB PIM
    18059e953e1f USB: serial: iuu_phoenix: fix memory corruption
    72596d0b2acd usb: gadget: function: fix missing spinlock in f_uac1_legacy
    01512075a387 usb: chipidea: core: add wakeup support for extcon
    3dd890afedbf usb: dwc2: Fix shutdown callback in platform
    4f0addeba0c0 USB: c67x00: fix use after free in c67x00_giveback_urb
    bd422c7fb477 ALSA: hda/realtek - Enable Speaker for ASUS UX563
    63d318f05e67 ALSA: hda/realtek - Enable Speaker for ASUS UX533 and UX534
    e7bafe0c94cc ALSA: hda/realtek: Enable headset mic of Acer TravelMate B311R-31 with ALC256
    4181b271908a ALSA: hda/realtek: enable headset mic of ASUS ROG Zephyrus G14(G401) series with ALC289
    246b9693026a ALSA: hda/realtek - change to suitable link model for ASUS platform
    71319db6f3b1 ALSA: usb-audio: Fix race against the error recovery URB submission
    25fd7ee3baeb ALSA: line6: Sync the pending work cancel at disconnection
    91a6d4049c58 ALSA: line6: Perform sanity check for each URB creation
    212425802dc6 HID: quirks: Ignore Simply Automated UPB PIM
    c0188ab5bc31 HID: quirks: Always poll Obins Anne Pro 2 keyboard
    e93ab4628452 HID: magicmouse: do not set up autorepeat
    bc94605df1f9 HID: logitech-hidpp: avoid repeated "multiplier = " log messages
    7c4e6cfd922c slimbus: core: Fix mismatch in of_node_get/put
    93b57bf835d2 clk: qcom: gcc: Add missing UFS clocks for SM8150
    cb7b7928310f clk: qcom: gcc: Add GPU and NPU clocks for SM8150
    cc490ea23f33 mtd: rawnand: oxnas: Release all devices in the _remove() path
    f8a2658d0fd7 mtd: rawnand: oxnas: Unregister all devices on error
    4682749ce329 mtd: rawnand: oxnas: Keep track of registered devices
    8463054e3d4e mtd: rawnand: brcmnand: fix CS0 layout
    ee73c81e386d mtd: rawnand: brcmnand: correctly verify erased pages
    e9f5e16f3228 mtd: rawnand: timings: Fix default tR_max and tCCS_min timings
    f1ad0fc9de60 mtd: rawnand: marvell: Fix probe error path
    be953ad71ce9 mtd: rawnand: marvell: Use nand_cleanup() when the device is not yet registered
    5f59ce425f78 mtd: rawnand: marvell: Fix the condition on a return code
    eec70178983f RDMA/mlx5: Verify that QP is created with RQ or SQ
    6b1aaceb0dab soc: qcom: rpmh-rsc: Allow using free WAKE TCS for active request
    e65ee5ad8903 soc: qcom: rpmh-rsc: Clear active mode configuration for wake TCS
    9e56b18ca5a3 soc: qcom: rpmh: Invalidate SLEEP and WAKE TCSes before flushing new data
    9edb7370f893 soc: qcom: rpmh: Update dirty flag only when data changes
    033f56f7d3d6 perf stat: Zero all the 'ena' and 'run' array slot stats for interval mode
    c2e29cac6d89 PCI/PM: Call .bridge_d3() hook only if non-NULL
    d950d2e79f0f habanalabs: Align protection bits configuration of all TPCs
    d79e57db4544 apparmor: ensure that dfa state tables have entries
    b7d9b78ab901 soc: qcom: socinfo: add missing soc_id sysfs entry
    8eeebe37c64e arm: dts: mt7623: add phy-mode property for gmac2
    742b79562142 copy_xstate_to_kernel: Fix typo which caused GDB regression
    319c3c7980c7 regmap: debugfs: Don't sleep while atomic for fast_io regmaps
    f62d7f91afa2 keys: asymmetric: fix error return code in software_key_query()
    c5acd9395d41 arm64: dts: spcfpga: Align GIC, NAND and UART nodenames with dtschema
    2e224b5d3149 ARM: dts: socfpga: Align L2 cache-controller nodename with dtschema
    c8a4452da9f4 xprtrdma: fix incorrect header size calculations
    a75a8aabb2f4 Revert "thermal: mediatek: fix register index error"
    cc3188b3bab2 ARM: dts: Fix dcan driver probe failed on am437x platform
    408ef501b894 fuse: don't ignore errors from fuse_writepages_fill()
    9b810684b1da NFS: Fix interrupted slots by sending a solo SEQUENCE operation
    dc92d84b371f clk: AST2600: Add mux for EMMC clock
    0392f18139aa clk: mvebu: ARMADA_AP_CPU_CLK needs to select ARMADA_AP_CP_HELPER
    36e6ac265fc0 staging: comedi: verify array index is correct before using it
    62013d49bcf6 usb: gadget: udc: atmel: fix uninitialized read in debug printk
    e435865c783f spi: spi-sun6i: sun6i_spi_transfer_one(): fix setting of clock rate
    f979982feb03 dmaengine: dmatest: stop completed threads when running without set channel
    e6b46f01d995 dmaengine: dw: Initialize channel before each transfer
    a6fe5dde5343 iio: adc: ad7780: Fix a resource handling path in 'ad7780_probe()'
    28be430bbf13 bus: ti-sysc: Do not disable on suspend for no-idle
    47ba42786d14 bus: ti-sysc: Fix sleeping function called from invalid context for RTC quirk
    5a23897f7a41 bus: ti-sysc: Fix wakeirq sleeping function called from invalid context
    b2c7d6ce2d5e arm64: dts: meson-gxl-s805x: reduce initial Mali450 core frequency
    cbd8c92a8d51 arm64: dts: meson: add missing gxl rng clock
    1d08f59081e5 phy: sun4i-usb: fix dereference of pointer phy0 before it is null checked
    684a5568df11 dmaengine: sh: usb-dmac: set tx_result parameters
    f5c6ebd5146e soundwire: intel: fix memory leak with devm_kasprintf
    7005a4885a29 iio:health:afe4404 Fix timestamp alignment and prevent data leak.
    ba3788d243cf ALSA: usb-audio: Add registration quirk for Kingston HyperX Cloud Flight S
    1510d8ab7bc9 bus: ti-sysc: Use optional clocks on for enable and wait for softreset bit
    7637bba4c621 ACPI: video: Use native backlight on Acer TravelMate 5735Z
    0a330aa202c9 Input: mms114 - add extra compatible for mms345l
    75ff2767e85c ALSA: usb-audio: Add quirk for Focusrite Scarlett 2i2
    695fcb612bf1 ALSA: usb-audio: Add registration quirk for Kingston HyperX Cloud Alpha S
    18f2cbb28730 ACPI: video: Use native backlight on Acer Aspire 5783z
    dc1e4db658a6 ALSA: usb-audio: Rewrite registration quirk handling
    592b179fa149 mmc: sdhci: do not enable card detect interrupt for gpio cd type
    e60b02922876 doc: dt: bindings: usb: dwc3: Update entries for disabling SS instances in park mode
    54100aa32f66 ALSA: usb-audio: Create a registration quirk for Kingston HyperX Amp (0951:16d8)
    35aef79e81a1 Input: goodix - fix touch coordinates on Cube I15-TC
    9c16b5e8b5d9 ALSA: usb-audio: Add support for MOTU MicroBook IIc
    d70a6425a6e2 bus: ti-sysc: Detect EDMA and set quirk flags for tptc
    d09e12709acd arm64: dts: g12-common: add parkmode_disable_ss_quirk on DWC3 controller
    234021eaddcb bus: ti-sysc: Detect display subsystem related devices
    e7e98dd42aae bus: ti-sysc: Handle module unlock quirk needed for some RTC
    e2c37939a795 bus: ti-sysc: Consider non-existing registers too when matching quirks
    f7280837df83 bus: ti-sysc: Rename clk related quirks to pre_reset and post_reset quirks
    69fbdbb4fa0c scsi: sr: remove references to BLK_DEV_SR_VENDOR, leave it enabled
    23a609417361 drm/sun4i: tcon: Separate quirks for tcon0 and tcon1 on A20
    de6d9aa5f7c1 ARM: at91: pm: add quirk for sam9x60's ulp1
    4301497fdc68 HID: quirks: Remove ITE 8595 entry from hid_have_special_driver
    1c96af59a904 mmc: mmci: Support any block sizes for ux500v2 and qcom variant
    cf911ee9f49d ARM: OMAP2+: use separate IOMMU pdata to fix DRA7 IPU1 boot
    3ea583b09537 ARM: OMAP2+: Add workaround for DRA7 DSP MStandby errata i879
    8d158e3453eb ARM: OMAP4+: remove pdata quirks for omap4+ iommus
    370cc95c00ae net: sfp: add some quirks for GPON modules
    17918c99abc1 net: sfp: add support for module quirks
    11a6ff1df31e Revert "usb/xhci-plat: Set PM runtime as active on resume"
    4cf55dcd4fa4 Revert "usb/ehci-platform: Set PM runtime as active on resume"
    add6b48ad376 Revert "usb/ohci-platform: Fix a warning when hibernating"
    267516d7009e net: ethernet: mvneta: Add back interface mode validation
    beee39d71e87 net: ethernet: mvneta: Do not error out in non serdes modes
    131ab7a0cdb8 net: macb: call pm_runtime_put_sync on failure path
    fefc7580af39 of: of_mdio: Correct loop scanning logic
    3f2f3edcc075 net: dsa: bcm_sf2: Fix node reference count
    cb2801017057 spi: spi-fsl-dspi: Fix lockup if device is shutdown during SPI transfer
    baf22f66c9cf iio:health:afe4403 Fix timestamp alignment and prevent data leak.
    5f8fe8ab4463 iio:pressure:ms5611 Fix buffer element alignment
    5a6378911f22 iio:humidity:hts221 Fix alignment and data leak issues
    74953efffb3d iio: pressure: zpa2326: handle pm_runtime_get_sync failure
    4ecff6ee264f iio: mma8452: Add missed iio_device_unregister() call in mma8452_probe()
    b4172e024d48 iio: core: add missing IIO_MOD_H2/ETHANOL string identifiers
    ead750685280 iio: magnetometer: ak8974: Fix runtime PM imbalance on error
    0b16921edc61 iio:humidity:hdc100x Fix alignment and data leak issues
    7cc8cad2bef9 iio:magnetometer:ak8974: Fix alignment and data leak issues
    4c7924060fe0 arm64/alternatives: don't patch up internal branches
    77a181fba1e5 i2c: eg20t: Load module automatically if ID matches
    27874115b059 gfs2: read-only mounts should grab the sd_freeze_gl glock
    827139ad9db5 tpm_tis: extra chip->ops check on error path in tpm_tis_core_init
    a8f13826f9c6 arm64/alternatives: use subsections for replacement sequences
    91e81d2262e7 cifs: prevent truncation from long to int in wait_for_free_credits
    43046f786714 dt-bindings: mailbox: zynqmp_ipi: fix unit address
    ea9d6016b1a4 m68k: mm: fix node memblock init
    560dbf34dec8 m68k: nommu: register start of the memory with memblock
    c3adbd37c054 blk-mq-debugfs: update blk_queue_flag_name[] accordingly for new flags
    9025a5589c03 thermal/drivers: imx: Fix missing of_node_put() at probe time
    c4db485dd3f2 x86/fpu: Reset MXCSR to default in kernel_fpu_begin()
    d2bfb9eb439c drm/exynos: fix ref count leak in mic_pre_enable
    f886b67c6b28 drm/exynos: Properly propagate return value in drm_iommu_attach_device()
    0885be75f1be drm/msm/dpu: allow initialization of encoder locks during encoder init
    5d6891a5a627 drm/msm: fix potential memleak in error branch
    f608a77e0cc9 arm64: arch_timer: Disable the compat vdso for cores affected by ARM64_WORKAROUND_1418040
    86e3c7c70c63 arm64: arch_timer: Allow an workaround descriptor to disable compat vdso
    71d65a3fc628 arm64: Introduce a way to disable the 32bit vdso
    36d60eba862d ip: Fix SO_MARK in RST, ACK and ICMP packets
    38b122c0af04 cgroup: Fix sock_cgroup_data on big-endian.
    94886c86e833 cgroup: fix cgroup_sk_alloc() for sk_clone_lock()
    171644727abf tcp: md5: allow changing MD5 keys in all socket states
    8ee263bd11af tcp: md5: refine tcp_md5_do_add()/tcp_md5_hash_key() barriers
    30d015f5ecd9 vlan: consolidate VLAN parsing code and limit max parsing depth
    f40c3a8438fc tcp: md5: do not send silly options in SYNCOOKIES
    1c8bad567b5d tcp: md5: add missing memory barriers in tcp_md5_do_add()/tcp_md5_hash_key()
    f52293aefe18 tcp: make sure listeners don't initialize congestion-control state
    7eec9f331223 tcp: fix SO_RCVLOWAT possible hangs under high mem pressure
    9b7fd81cf9b6 sched: consistently handle layer3 header accesses in the presence of VLANs
    aafe9dd13f42 net: usb: qmi_wwan: add support for Quectel EG95 LTE modem
    edbde451bf3f net_sched: fix a memory leak in atm_tc_init()
    d55dad8b1d89 net: dsa: microchip: set the correct number of ports
    64d782212646 net: Added pointer check for dst->ops->neigh_lookup in dst_neigh_lookup_skb
    a70a667736ed llc: make sure applications use ARPHRD_ETHER
    73e42f4d2d13 l2tp: remove skb_dst_set() from l2tp_xmit_skb()
    f8646548ee46 ipv6: Fix use of anycast address with loopback
    75270f819666 ipv6: fib6_select_path can not use out path for nexthop objects
    1418b60e998b ipv4: fill fl4_icmp_{type,code} in ping_v4_sendmsg
    7b42410d3556 genetlink: remove genl_bind
    aef7a9e21aa6 bridge: mcast: Fix MLD2 Report IPv6 payload length check
    587ccf092e28 net: rmnet: fix lower interface leak
    d06c17fcd7c0 net: atlantic: fix ip dst and ipv6 address filters
    de93c1c104ac crypto: atmel - Fix build error of CRYPTO_AUTHENC
    1f21bb70d7b1 crypto: atmel - Fix selection of CRYPTO_AUTHENC
    c57b1153a58a Linux 5.4.52
    1a70857590f7 s390/maccess: add no DAT mode to kernel_write
    627d15eecb61 s390: Change s390_kernel_write() return type to match memcpy()
    d64dc6118a0f pwm: jz4740: Fix build failure
    d13a78d13d2c perf scripts python: exported-sql-viewer.py: Fix unexpanded 'Find' result
    64e8b913c30b perf scripts python: exported-sql-viewer.py: Fix zero id in call tree 'Find' result
    2038998170b0 perf scripts python: exported-sql-viewer.py: Fix zero id in call graph 'Find' result
    e51a811c242e perf scripts python: export-to-postgresql.py: Fix struct.pack() int argument
    299ffecbd530 dm writecache: reject asynchronous pmem devices
    49a7ac29f6a0 blk-mq: consider non-idle request as "inflight" in blk_mq_rq_inflight()
    2dfd182451d9 s390/mm: fix huge pte soft dirty copying
    0d62bc7e960f s390/setup: init jump labels before command line parsing
    e6de7cbbcacb ARC: elf: use right ELF_ARCH
    854827a2697a ARC: entry: fix potential EFA clobber when TIF_SYSCALL_TRACE
    37634f502b53 mmc: meson-gx: limit segments to 1 when dram-access-quirk is needed
    b9fe45efa671 dm: use noio when sending kobject event
    ede24894e8bf drm/amdgpu: don't do soft recovery if gpu_recovery=0
    ef8164f03a86 drm/radeon: fix double free
    026f830e0ba3 btrfs: fix double put of block group with nocow
    808b2b3ea85a btrfs: fix fatal extent_buffer readahead vs releasepage race
    5a046d75acf7 Revert "ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb"
    baef8d1027b0 bpf: Check correct cred for CAP_SYSLOG in bpf_dump_raw_ok()
    e5541c6347b7 kprobes: Do not expose probe addresses to non-CAP_SYSLOG
    314ac273f005 module: Do not expose section addresses to non-CAP_SYSLOG
    0d5d9413a692 module: Refactor section attr into bin attribute
    2a6c8d3d0dd0 kallsyms: Refactor kallsyms_show_value() to take cred
    79aaeec71271 KVM: arm64: Fix kvm_reset_vcpu() return code being incorrect with SVE
    a494529add3f KVM: x86: Mark CR4.TSD as being possibly owned by the guest
    d29a79fa7559 KVM: x86: Inject #GP if guest attempts to toggle CR4.LA57 in 64-bit mode
    3f108b168002 KVM: x86: bit 8 of non-leaf PDPEs is not reserved
    388429498641 KVM: arm64: Annotate hyp NMI-related functions as __always_inline
    b956ec9afc2e KVM: arm64: Stop clobbering x0 for HVC_SOFT_RESTART
    a20aa35b839a KVM: arm64: Fix definition of PAGE_HYP_DEVICE
    9b742b6a3b78 ALSA: hda/realtek: Enable headset mic of Acer Veriton N4660G with ALC269VC
    8254cddab9a4 ALSA: hda/realtek: Enable headset mic of Acer C20-820 with ALC269VC
    c6fbfa6dd96b ALSA: hda/realtek - Enable audio jacks of Acer vCopperbox with ALC269VC
    615313fe4294 ALSA: hda/realtek - Fix Lenovo Thinkpad X1 Carbon 7th quirk subdevice id
    92b598132eec ALSA: usb-audio: Add implicit feedback quirk for RTX6001
    caead988fe61 ALSA: usb-audio: add quirk for MacroSilicon MS2109
    02b2f10e5c9f ALSA: hda - let hs_mic be picked ahead of hp_mic
    3496a18a1c3b ALSA: opl3: fix infoleak in opl3
    4a215725dec7 IB/hfi1: Do not destroy link_wq when the device is shut down
    607fbc27d75f IB/hfi1: Do not destroy hfi1_wq when the device is shut down
    6a882fb7232d mlxsw: pci: Fix use-after-free in case of failed devlink reload
    c9dcb4929ce2 mlxsw: spectrum_router: Remove inappropriate usage of WARN_ON()
    f62f896a56a2 net: macb: fix call to pm_runtime in the suspend/resume functions
    ad396c483dd5 net: macb: mark device wake capable when "magic-packet" property present
    5d744ee94b49 net: macb: fix wakeup test in runtime suspend/resume routines
    15442ef56405 bnxt_en: fix NULL dereference in case SR-IOV configuration fails
    65fb9bbee611 net/mlx5e: Fix 50G per lane indication
    ce27893535ca net/mlx5: Fix eeprom support for SFP module
    f277e0be69d4 qed: Populate nvm-file attributes while reading nvm config partition.
    e89b828ae357 IB/mlx5: Fix 50G per lane indication
    97d6855ac57d cxgb4: fix all-mask IP address comparison
    2a4c5ff12f42 nbd: Fix memory leak in nbd_add_socket
    06cee3572ed5 arm64: kgdb: Fix single-step exception handling oops
    9e8f4623e292 RDMA/siw: Fix reporting vendor_part_id
    1c54d0d9c4e6 ALSA: compress: fix partial_drain completion state
    175b5aa7b964 net: hns3: fix use-after-free when doing self test
    ab8c4fd863f4 net: hns3: add a missing uninit debugfs when unload driver
    5c0192d28513 smsc95xx: avoid memory leak in smsc95xx_bind
    81ed1f9fd0b3 smsc95xx: check return value of smsc95xx_reset
    3959bf65fe48 perf intel-pt: Fix PEBS sample for XMM registers
    da4b6eff382b perf intel-pt: Fix recording PEBS-via-PT with registers
    9ca67a453273 perf report TUI: Fix segmentation fault in perf_evsel__hists_browse()
    2d15663304f5 netfilter: conntrack: refetch conntrack after nf_conntrack_update()
    d9b8206e5323 net: dsa: microchip: set the correct number of ports
    fd3a612d9828 IB/sa: Resolv use-after-free in ib_nl_make_request()
    b0259e7056b1 net: cxgb4: fix return error value in t4_prep_fw
    92002d59ecee net: mvneta: fix use of state->speed
    4f412ae89e78 netfilter: ipset: call ip_set_free() instead of kfree()
    b709a08bc4d7 bpf, sockmap: RCU dereferenced psock may be used outside RCU block
    2000bb546525 bpf, sockmap: RCU splat with redirect and strparser error or TLS
    4625f4d5e4bf drm/mediatek: Check plane visibility in atomic_update
    a062088e675f nl80211: don't return err unconditionally in nl80211_start_ap()
    d63806c30706 gpio: pca953x: Fix GPIO resource leak on Intel Galileo Gen 2
    137e7782bddd gpio: pca953x: Override IRQ for one of the expanders on Galileo Gen 2
    91f8d05b4b56 net: qrtr: Fix an out of bounds read qrtr_endpoint_post()
    1128ed7e1dd0 sched/core: Check cpus_mask, not cpus_ptr in __set_cpus_allowed_ptr(), to fix mask corruption
    4e9631a90830 x86/entry: Increase entry_stack size to a full page
    010f93079a26 nvme-rdma: assign completion vector correctly
    074ae0cd8407 block: release bip in a right way in error path
    b1b252d8d9c5 usb: dwc3: pci: Fix reference count leak in dwc3_pci_resume_work
    2485b6afadd7 scsi: mptscsih: Fix read sense data size
    10533390da7c ARM: imx6: add missing put_device() call in imx6q_suspend_init()
    15fa5dfaa4e8 cifs: update ctime and mtime during truncate
    9c732cccb04b s390/kasan: fix early pgm check handler execution
    a9c816494dc2 drm: panel-orientation-quirks: Use generic orientation-data for Acer S1003
    fcab0d2f1b91 drm: panel-orientation-quirks: Add quirk for Asus T101HA panel
    b7556e7ca381 iommu/vt-d: Don't apply gfx quirks to untrusted devices
    1a570b8faea4 powerpc/kvm/book3s64: Fix kernel crash with nested kvm & DEBUG_VIRTUAL
    4e4ddeee7aff ibmvnic: continue to init in CRQ reset returns H_CLOSED
    ce4a93b9e607 i40e: protect ring accesses with READ- and WRITE_ONCE
    2e5a3586ca27 ixgbe: protect ring accesses with READ- and WRITE_ONCE
    203cfe694e9d net: ethernet: mvneta: Add 2500BaseX support for SoCs without comphy
    996bd0778a37 net: ethernet: mvneta: Fix Serdes configuration for SoCs without comphy
    8f23c0dcd096 spi: spidev: fix a potential use-after-free in spidev_release()
    010de5718162 spi: spidev: fix a race between spidev_release and spidev_remove
    44b6e192e05f ALSA: hda: Intel: add missing PCI IDs for ICL-H, TGL-H and EKL
    04197a8184e7 ASoC: SOF: Intel: add PCI ID for CometLake-S
    b1589bb5b04e drm: mcde: Fix display initialization problem
    408ddca5c737 gpu: host1x: Detach driver on unregister
    d78a975525f3 drm/tegra: hub: Do not enable orphaned window group
    dbe5fef1c2b1 drm/ttm: Fix dma_fence refcnt leak when adding move fence
    6bfa3b616c52 ARM: dts: omap4-droid4: Fix spi configuration and increase rate
    3965fe7c0a77 perf/x86/rapl: Fix RAPL config variable bug
    5f121ba6b625 perf/x86/rapl: Move RAPL support to common x86 code
    14e8708fffee regmap: fix alignment issue
    2ec3c8329aca spi: spi-fsl-dspi: Fix lockup if device is removed during SPI transfer
    6b64220baf4a spi: spi-fsl-dspi: Adding shutdown hook
    eb676bef0224 KVM: s390: reduce number of IO pins to 1

(From OE-Core rev: 60fec4d1792b8467acb53949c695775c7e7ae037)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Alexander Kanavin
e27d8d20b1 meson.bbclass: add a cups-config entry
This is required by newer meson versions in cross builds, as
acknowledgement that the tool in PATH is ok to use.

(From OE-Core rev: 267d1dc0794fc348a5f7af3de201c452c8b705a3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-06 15:12:39 +01:00
Alexander Kanavin
5e1bc3ef5a net-tools: fix upstream version check
There is no tag other than ancient 1.60, so bypass
the check for now.

(From OE-Core rev: 10221e578ffb3551ccefe15a523ceba0d289c086)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:09 +01:00
Alexander Kanavin
499c092ff5 libcap: update 2.36 -> 2.41
(From OE-Core rev: a29045d750b0c75878b6b6237bc657a1ff0b86ac)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:09 +01:00
Alexander Kanavin
06838f93e5 mesa: update 20.1.2 -> 20.1.4
(From OE-Core rev: 5774386700196499eb6d29b93158165ad9c4c15c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:09 +01:00
Alexander Kanavin
bf63957752 logrotate: update 3.16.0 -> 3.17.0
(From OE-Core rev: 9dbd16a50b18a5bd32025475f7252e44a628a1b9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:09 +01:00
Alexander Kanavin
5c185dd6f7 vala: update 0.48.6 -> 0.48.7
Remove patch, as issue fixed upstream.

(From OE-Core rev: 3e27b178a1cab60167812ff926e7b15a07af5811)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:08 +01:00
Alexander Kanavin
ce74971998 rsync: update 3.2.1 -> 3.2.2
(From OE-Core rev: a1b6e078e12fb3cd5057076d6ecd60152fd35074)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:08 +01:00
Alexander Kanavin
85d3e045bd glib-2.0: correct build with latest meson
(From OE-Core rev: 6a91d2b7d463abfd8f39a9f9d5ddde40a939d6e3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:08 +01:00
Alexander Kanavin
d9cfecad12 nasm: update 2.14.02 -> 2.15.03
Remove backported patches, rebase the rest.

Switch to using (mostly) standard autotools build.

(From OE-Core rev: 4d13e2713efd5f6cbdc6cf1f86edd0b336ba3ba2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:08 +01:00
Alexander Kanavin
61228679ec meson: update 0.54.3 -> 0.55.0
Rebase patches.

(From OE-Core rev: 09dd785ead455fa677c5ccf336d49a32dd7ab6d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:08 +01:00
Alexander Kanavin
3c3ff0fe40 go: update 1.14.4 -> 1.14.6
(From OE-Core rev: c9011d04eb624aeabf5d707e88de80137bcc2eb1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:08 +01:00
Alexander Kanavin
da4b3eecb4 gnu-config: update to latest revision
(From OE-Core rev: da09cea1fb61d4a69bcdde4d00ba4d15e73ad6b2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:08 +01:00
Alexander Kanavin
65525a3c6a kbd: update 2.2.0 -> 2.3.0
Drop ptest support: upstream has rewritten the tests in GNU autotest,
which is another m4 monstrosity entirely incompatible with the idea of
installing tests to the target system.

All dropped patches are either merged upstream, or made for ptest.

(From OE-Core rev: 79f456da4b752f897bb5546d9ec291cdf4196ae8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:08 +01:00
Alexander Kanavin
0c0a03eb4a sysvinit: update 2.96 -> 2.97
(From OE-Core rev: 84f56d6beffe830866d56be94149b747b04ea54d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-02 14:42:08 +01:00
zangrc
1790fd9b56 sudo:upgrade 1.9.1 -> 1.9.2
(From OE-Core rev: e9d825a780d68b485a71e880397ab2db8e0ac3ca)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-01 19:57:49 +01:00
zangrc
9647949d22 stress-ng:upgrade 0.11.15 -> 0.11.17
(From OE-Core rev: bbdc7434d14cae5b62a1c128ea218a24c745fbda)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-01 19:57:49 +01:00
Ross Burton
c25bdec524 conf/machine: set UBOOT_MACHINE for qemuarm and qemuarm64
These machines support booting U-Boot, so set the machine appropriately.

(From OE-Core rev: 7dd4100bf00fca0b98b762bb3815b8055f1201f2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-01 19:57:49 +01:00
Matthew
f5f14239cc ltp: remove OOM tests from runtest/mm
Remove the OOM tests, since they might cause oeqa ssh
connection lost.

[YOCTO #13802]

(From OE-Core rev: f2238b656e7f64c0f95556d2bf22420cef64d2a4)

Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-01 19:57:49 +01:00
Richard Purdie
b70c39767c lib/package_manager: Fix missing imports
The package_manager code rearranging had some issues with module imports that
were now missing. Fix all the ones I could spot from quick inspection.

(From OE-Core rev: 287eccd7af7d97604ca68d456c23655fd1b6c40b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-01 19:57:49 +01:00
Khem Raj
dca94d9aa4 qemumips: Use 34Kf CPU emulation
Few years ago we switched to using mips32r2 tunings for qemumips however
the default CPU emulation still remained 24Kf which is not optimal for
mips32r2 ISA for qemu [1], therefore switch to recommended 32Kf for CPU
emulation when running qemu in system mode

Boot time to console is ~1s faster with this setting, hopefully this
should speed up qemumips in general

[1] https://www.qemu.org/docs/master/system/target-mips.html#preferred-cpu-models-for-mips-hosts

(From OE-Core rev: e68d2afd4a5529437824b5d6b9a2077c2fefd337)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-01 19:57:49 +01:00
Oleksandr Kravchuk
29e52bff3c libwpe: update to 1.7.1
(From OE-Core rev: c89e4b47198c3557ff3086accb15e212d14a2a0d)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-01 19:57:49 +01:00
hongxu
92d9cc304d nativesdk-rpm: adjust RPM_CONFIGDIR paths dynamically
While installing/extracting SDK to a non-default dir(not /opt),
run rpm failed:
$ python3 -c "import rpm"
|error: Unable to open /opt/windriver/wrlinux-graphics/20.31/sysroots/
x86_64-wrlinuxsdk-linux/usr/lib/rpm/rpmrc for reading: No such file or
directory.

This patch adds a flexible way to configure RPM_CONFIGDIR in SDK.

(From OE-Core rev: 5f16fd0bf774314c79572daf4ba7e4a8ae209ba1)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-01 19:57:49 +01:00
Yi Zhao
4b6cafae71 pbzip2: extend for nativesdk
Make pzip2 available in nativesdk to speedup file compression.

(From OE-Core rev: 7b755f97da11c191f79cb201e1fa5f9009d85dd6)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-01 19:57:49 +01:00
zangrc
4c57328478 flex: Refresh patch
The patch changes the same file twice which causes issues with some patch
tools (not used in YP by default). Refresh the patch to clean this up
anyway.

RP: Tweak commit message
(From OE-Core rev: cb6e65f8196fd6587c75c3ab2cf060c00a074ec6)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-08-01 19:57:49 +01:00
Joshua Watt
20e9df5721 lib/oe/reproducible.py: Fix git HEAD check
The check for a git HEAD still wasn't quite correct because it was using
the .git directory as the current working directory. Instead, it should
be passed as the --git-dir argument when running git. Running `git
rev-parse HEAD` in a .git directory with no HEAD reports 'HEAD' and
exits with success but then 'git log' will fail, which is not what we
want.

(From OE-Core rev: cdbd47dd7e1657b91b65a0940b7cbf119764240f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-29 11:37:31 +01:00
Richard Purdie
4e3240220b Revert "lib/oe/log_colorizer.py: add LogColorizerProxyProgressHandler"
This reverts commit 312fb3c86a3d84e60867b132666c01859f73ceb2 as this
wasn't meant to merge as yet.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-29 11:35:51 +01:00
Chris Laplante
ef0ca299d6 bitbake: build: create_progress_handler: fix calling 'get' on NoneType
Just use the |resolve| function which already takes care of it.

(Bitbake rev: 91b809a0902ffd42be4edf7f0a7d25e6d354d822)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-29 10:13:02 +01:00
Chris Laplante
d50a04c304 bitbake: build: print traceback if progress handler can't be created
Before:

ERROR: expat-native-2.2.9-r0 do_compile: 'NoneType' object has no attribute 'get'
ERROR: Logfile of failure stored in: /home/laplante/repos/oe-core/build/tmp-glibc/work/x86_64-linux/expat-native/2.2.9-r0/temp/log.do_compile.90289
Log data follows:
| ERROR: 'NoneType' object has no attribute 'get'
ERROR: Task (virtual:native:/home/laplante/repos/oe-core/meta/recipes-core/expat/expat_2.2.9.bb:do_compile) failed with exit code '1'

After:

ERROR: expat-native-2.2.9-r0 do_configure: Failed to create progress handler
ERROR: expat-native-2.2.9-r0 do_configure: Traceback (most recent call last):
  File "/home/laplante/repos/oe-core/bitbake/lib/bb/build.py", line 400, in exec_func_shell
    logfile = create_progress_handler(func, progress, logfile, d)
  File "/home/laplante/repos/oe-core/bitbake/lib/bb/build.py", line 344, in create_progress_handler
    cls_obj = functools.reduce(resolve, cls.split("."), bb.utils._context)
  File "/home/laplante/repos/oe-core/bitbake/lib/bb/build.py", line 343, in resolve
    return x.get(y)
AttributeError: 'NoneType' object has no attribute 'get'

ERROR: expat-native-2.2.9-r0 do_configure: 'NoneType' object has no attribute 'get'
ERROR: Logfile of failure stored in: /home/laplante/repos/oe-core/build/tmp-glibc/work/x86_64-linux/expat-native/2.2.9-r0/temp/log.do_configure.22982
ERROR: Task (virtual:native:/home/laplante/repos/oe-core/meta/recipes-core/expat/expat_2.2.9.bb:do_configure) failed with exit code '1'

(Bitbake rev: ba0472a672eacbbbb2295252a0d2056d3399c6a9)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-29 10:13:02 +01:00
Chris Laplante
1739fee633 lib/oe/log_colorizer.py: add LogColorizerProxyProgressHandler
This progress handler intercepts log output, stripping any ANSII color
escape codes. Then the stripped output is fed to the underlying progress
handler which will render the progress bar as usual.

(From OE-Core rev: 312fb3c86a3d84e60867b132666c01859f73ceb2)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-29 10:12:31 +01:00
Ross Burton
2a401a2959 popt: upgrade to 1.18
All our patches are upstreamed so drop them.

(From OE-Core rev: aeb48eb989a42846fbaed6b7f3a5a3d951d11e23)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-29 10:12:31 +01:00
Matt Madison
0b70525986 cogl-1.0: correct X11 dependencies
cogl depends on libxdamage when configured for X11 support.
A dependency was added for this in 2012 with
959a2f6d88d8fa6874fff83b7a1f0e7d4e36b887, but that addition
was lost when the recipe was reworked in 2013 with
b508fdd2b19ca30da8d09caf646897dc4cf195c8. That commit also
added a dependency on libxi, which is not actually needed.

The missing dependency doesn't cause problems in most cases,
since mesa also depends on libxdamage, but when an alternative
opengl implementation such as libglvnd is used, cogl fails
to configure.

(From OE-Core rev: 7651a63c508562caf1a3732cb49af50bccc98e8b)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-29 10:12:31 +01:00
Changqing Li
9036f84956 gtk-icon-cache.bbclass: add features_check
'bitbake world -k' when DISTRO_FEATURES don't have x11 and wayland,
report errors:
Nothing PROVIDES 'gtk+3'
Nothing RPROVIDES 'blueman'

gtk+3 set ANY_OF_DISTRO_FEATURES, so add it here too
since we DEPENDS on it

(From OE-Core rev: ab9ff563c77cd5105f4ef9426f076b10ea8e2ee8)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-28 12:41:10 +01:00
Khasim Mohammed
cacfbbdada wic/bootimg-efi: Update docs for IMAGE_BOOT_FILES support in bootimg-efi
List of files defined using IMAGE_BOOT_FILES are installed into
the boot partition when preparing an image using the wic tool with
the bootimg-efi source plugin.

The corresponding code in bootimg-efi.py is updated to add this feature,
the documentation is updated to reflect the change.

Change-Id: I0d3ea8831440f4255e9d9bcf9f965c8b14331037
(From yocto-docs rev: 41ef4c9cb9882369f02826b6c096014a4d90ee67)

Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-28 12:40:27 +01:00
Richard Purdie
4cc76db0a0 bitbake: server/process: Account for xmlrpc connections
UI control can happen via the xmlrpc connection. Account for this when timing
out UI connections. This was causing issues for toaster on systems where it
couldn't parse the metadata within the timeout.

(Bitbake rev: fa85a8263971c25e67fa3b421c686a90e46acd87)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-28 12:40:11 +01:00
Richard Purdie
449e07c197 bitbake: server/process: Fix UI first connection tracking
We're only meant to be doing UI connection timeouts on the first connection
but haveui changes for each connection. We need to add a specific variable
to track this correctly and get the intended behaviour.

(Bitbake rev: e7c387c2e2fb2cc3ca1dc9d2029362909c326d72)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-28 12:40:11 +01:00
Richard Purdie
94eb5724b1 gcc: Fix mangled patch
To quote Zhuang <qiuguang.zqg@alibaba-inc.com>:
"""
A few days ago, I tried to compile a gcc plugin with the toolchain from poky sdk.
It failed with errors about missing header files such as backend.h etc.

After investigation, I found that the problem was brought by a gcc patch:
0012-gcc-Fix-argument-list-too-long-error.patch (which is considered derived from the original patch)

- headers=`echo $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def) | tr ' ' '\012' | sort -u`; \
+ headers="$(sort $(PLUGIN_HEADERS) $$(cd $(srcdir); echo *.h *.def))"; \

It changes the commands of install-plugin, making the sorting taken effect before the shell globs.
Thus results in the header files under gcc $(srcdir) being not installed.

By checking log.do_install, we can find that the `headers=' statement to run is incorrect and will not work as expected:
headers="$(cd *.def) *.h ../../../../../../../work-shared/gcc-10.1.0-r0/gcc-10.1.0/gcc/../include/ansidecl.h ...

As the patch says,
"The PLUGIN_HEADERS is too long before sort, so the "echo" can't handle it, ..."
my suggestion is that we can simply take care of PLUGIN_HEADERS
using the original proposed sort.
"""

This fixes the gcc patch as proposed as it does appear its been
broken over time.

(From OE-Core rev: dce28d8ac7fbae487cb6674b91fe2b574036b26d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-28 12:39:54 +01:00
Trevor Gamblin
1592cdaf83 llvm: upgrade 9.0.1 -> 10.0.1
(From OE-Core rev: 0e9f286e1c4567e6d3812c0681c168720984b8ce)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-28 12:39:54 +01:00
Oleksandr Kravchuk
bdf966739a git: update 2.28.0
(From OE-Core rev: 260c81dbb85be08150373a6e8571633230a02738)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-28 12:39:54 +01:00
Changqing Li
f7d7a827b2 layer.conf: fix adwaita-icon-theme signature change problem
allarch package adwaita-icon-theme inherit both allarch and
gtk-icon-cache, since commit 31e3d34c8a9c3e8481aa837aa0bf52adf095fe62
[gtk-icon-cache.bbclass: add runtime dependency], it start depend on
non-allarch packages gdk-pixbuf and gtk+3, which make it's signature
changes when machine changed.

like for task do_prepare_recipe_sysroot:
"Hash for dependent task
gdk-pixbuf/gdk-pixbuf_2.40.0.bb:do_populate_sysroot changed from
a72aba8432699c8ce4ca1f71833ef14a89ffde0ea4063e37b9d819fdb1e407f4 to
1ad4e1bd76921b71482657f3b017184e9ade8e2a0b9f43ad64ed2dda83b1520f"

the only way to fix this is remove the task dependency.
SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS not work in class, so add it in
layer.conf.

Maybe we have other recipes under other layers have similar problem, we
can only add one by one to its layer.conf, seems not a good idea. but
add *->pixbuf will influence other packages

(From OE-Core rev: ec0888d73d7e7f811961f50f334c72fbc6b1d401)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
f5f6ae2986 deb: Move package manager to its own dir
This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

RP: Fixes to parse/build
(From OE-Core rev: 510d5c48c0496f23a3d7aede76ea8735da2d371d)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
5bc67f5502 ipk: Move package manager to its own dir
This is part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

RP: Fixes to parse/build
(From OE-Core rev: 3ef5a3c885e1010cddfe7eba1cd3728f15270d78)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
c5bea36b72 rpm: Move package manager to its own dir
This is part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

RP: Fixes to parse/build
(From OE-Core rev: 8b776ed9ed291dd8e112621561762449c7eb5ee2)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
635305fe27 deb: Move sdk to its own dir
This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

(From OE-Core rev: 2b305d5f48be84b6362be850d6e0b2bd7f4691ce)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
bfa8f4c098 ipk: Move sdk to its own dir
This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

(From OE-Core rev: 3f9cec50065eec5a02ffcc8ccc2986f2027b44b5)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
e9e2e32999 rpm: Move sdk to its own dir
This is part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

(From OE-Core rev: 75066e78d92a23516fd9c6d538c4f991d1504839)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
6fd8b17748 deb: Move rootfs to its own dir
This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

(From OE-Core rev: abadf053371ce863bf21b4a9474eb61761545de1)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
873aee855f ipk: Move rootfs to its own dir
This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

RP: Fixes to parse/build
(From OE-Core rev: 67fa086589bae484a9beca50b627b007766dcb93)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
b8d3d22ccd rpm: Move rootfs to its own dir
This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

(From OE-Core rev: e4f07444276a88f336d5fe5e60688fcfb2f22df7)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
9129dfe523 deb: Move deb manifest to its own subdir
This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

(From OE-Core rev: f8ee8bc737a982001b9fd0ad441495a52f12e9b4)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
59397b3a01 ipk: Move ipk manifest to its own subdir
This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

(From OE-Core rev: 405cd8560fed2e05fc82919d728c42516793cc0f)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
a0416ca06e rpm: Move manifest to its own subdir
This is a part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

(From OE-Core rev: 87a1c8ee406f73e53888df3b682e8a5f0f610c2f)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:10 +01:00
Fredrik Gustafsson
34dc8571d2 package_manager: Move to package_manager/__init__.py
This is part of a refactor that will split the package manager
code so that it's possible to use other package managers in other
layers.

(From OE-Core rev: 66ccc7a228bf73df0a4dd846bf2c8e99eaa79580)

Signed-off-by: Fredrik Gustafsson <fredrigu@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:09 +01:00
Oleksandr Kravchuk
7b78e1b4de json-c: update to 0.15
Remove upstreamed patch.

(From OE-Core rev: 411f47cdcb74109a103166477d606c88db6175ee)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:09 +01:00
Naoto Yamaguchi
49e92f8d6d patch.py: Change to more strictly fuzz detection
When applying patch subject is including a " fuzz ", do_patch_qa detect
Fuzz.

After the patch is applied, the following log message appears.

  Applying: meson: treat all fuzz cases as unit tests

The current Fuzz detection checks for the presence of "fuzz" in this
log message.  The log in this example will be treated as Fuzz,
despite its success.

This patch change to more strictly fuzz detection.
if log message is including " fuzz " and "Hunk " in log message,
it will be treated as Fuzz.

(From OE-Core rev: a8605c66ef5afe7c3583366781dfd90fe3526398)

Signed-off-by: Naoto Yamaguchi <wata2ki@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:09 +01:00
Oleksandr Kravchuk
3d418733ff diffoscope: update to 153
(From OE-Core rev: c0b921ef38f4740212b167463c3afa9709e06f53)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:09 +01:00
Oleksandr Kravchuk
9e5dfa356c re2c: update to 2.0
CVE patch dropped as a backport present in the nre release.

RP: Remove dropped CVE patch
(From OE-Core rev: aec5bccc175e8ec7422095abe8ea86f99f74ad50)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 19:58:09 +01:00
Oleksandr Kravchuk
68dc5f24a7 python3: update to 3.8.5
(From OE-Core rev: ce7ac226336fe1e578fd0959567c95c4ac957f85)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
Konrad Weihmann
bbefe04a62 cve-update: handle baseMetricV2 as optional
Currently in NVD DB an item popped up, which hasn't set baseMetricV2.
Let the parser handle it as an optional item.
In case use baseMetricV2 before baseMetricV3

(From OE-Core rev: fdcbf3f28289188c5a97664d1421d4a5c4991eda)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
Oleksandr Kravchuk
32f23b7467 bash-completion: update to 2.11
(From OE-Core rev: 09b40e7f2c3f7f39739234323467e727a85bc39f)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
Richard Purdie
f22e0478fa perl: Avoid race continually rebuilding miniperl
When we run "make install" we notice miniperl rebuilding multiple times.
Usually this is harmless however sometimes race issues occur such as
miniperl not being executable.

The issue is that crosspatch is a phony target so it always rebuilds.
Adding this as a dependency of miniperl means miniperl always rebuilds
too.

Avoid this by injecting a direct dependency avoiding the phony target.
miniperl is then only rebuilt when its input changes as desired.

Patch submitted to upstream perl-cross.

(From OE-Core rev: 95947fa630e1fecc599f975d732eb47dd4b748ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
Lee Chee Yang
4cbea10197 checklayer: check layer in BBLAYERS before test
layer under test should absent from BBLAYERS when running
yocto-check-layer. This allow to get signatures before layer
under test. There are existing steps to add the layer under
test to BBLAYERS after getting initial signatures.

add steps to check for layer under test in BBLAYERS before
running any test, skip test for the layer if the layer under
test exist in BBLAYERS.

[YOCTO #13176]

(From OE-Core rev: be02e8dbfb0d1decce125322f9f1e11a649756c0)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
zangrc
9a0ec350ac mpg123:upgrade 1.26.2 -> 1.26.3
(From OE-Core rev: 8ef3a13f257770f1ea8812163c27062c729b8290)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
zangrc
02b337e15d libevdev:upgrade 1.9.0 -> 1.9.1
(From OE-Core rev: 99d1a4179903486b974d18b280357cde2f3e1d7d)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
Dmitry Baryshkov
32ee392de2 tune-cortexa55.inc: switch to using armv8.2a include file
Since Cortex-A55 is an ARMv8.2 core, switch to using arch-armv8-2a.inc
file.

(From OE-Core rev: ab94bf205b7450e9dff6b9c7aa060178b39e48fe)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
Dmitry Baryshkov
61a7d0711f arch-armv8-2a.inc: add tune include for armv8.2a
Add tune include for armv8.2a. This adds support only for bare armv8.2a
(and for crypto extension). There is no support for additional
instructions added by architecture extensions (except the main crypto
extension support).

(From OE-Core rev: 88c79a56b4ddab61c16cd4cb7b887e7d7223d845)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
Dmitry Baryshkov
89fcdf9868 mesa: enable freedreno Vulkan driver if freedreno is enabled
If freedreno is enabled in PACKAGECONFIG, enable respective Vulkan
driver.

(From OE-Core rev: eee63fdddaf74e548c362050f57e1d67eba1ba5d)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
Andrei Gherzan
48ba352755 initscripts: Fix populate-volatile.sh bug when file/dir exists
The blocks which test for entry exitence (file or directory) use a
`A && B || C` syntax. This form is not behaving as a if-then-else block
even the code logic assumes that. C may run when A is true which breaks
the case where VERBOSE is 'no' but the file/directory exists.

Along with fixing these specific issues, this patch fixes the other
instances where blocks of form `A && B || C` are used as if-then-else.

(From OE-Core rev: 1b9ea22acb66554925720e04cf24100664234574)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
Andrei Gherzan
383b86e921 initscripts: Fix various shellcheck warnings in populate-volatile.sh
(From OE-Core rev: 0a128a238f63d52aa82f8c63ee2f84ab528b3346)

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:58 +01:00
Oleksandr Kravchuk
c1a56579ff python3-setuptools: update to 49.2.0
Rebased patch and got rid of the .inc file as Python 2 is not supported
anymore.

(From OE-Core rev: ff3d9a2966e6593be9ac048d930fc841c24eae7d)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:57 +01:00
Joe Slater
5008ee45e4 gconf: use python3
Modify gsettings-schema-convert to use python3.  Also
add RDEPEND on python3-xml.

(From OE-Core rev: ce6e5da12fb004811270a37941094c9bd8d7e161)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:57 +01:00
Konrad Weihmann
7d82155fd5 rootfs-post: remove traling blanks from tasks
remove the traling blanks before the ;-delimiter, so one could use
"_remove" to avoid running tasks like 'rootfs_update_timestamp',
which are currently hardcoded and not bound to any
configurable feature flag

(From OE-Core rev: 8c835f63c2bca0a66385eb7ea5ec021d86265777)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-27 10:37:57 +01:00
Joshua Watt
6c2bb4a4ad bitbake: bitbake: command: Handle multiconfig in findSigInfo
Changes the findSigInfo command to accept a recipe specified with the
multiconfig prefix

(Bitbake rev: 379951b6417eacbafc92ac1413ae1358bafdddfb)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25 15:11:48 +01:00
Armin Kuster
93563b5bd4 glibc: Secruity fix for CVE-2020-6096
Source: glibc.org
MR: 104799
Type: Security Fix
Disposition: Backport from  beea361050728138b82c57dda0c4810402d342b9
ChangeID: 29df826fb697fdd2742c3bace33388bda962c5f1
Description:

(From OE-Core rev: ffa4fa35e1f6132b19788166a2b87517d9e17d95)

Signed-off-by: Armin Kuster <akuster@gmvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25 15:11:05 +01:00
Khasim Mohammed
801f07fc00 wic/bootimg-efi: Add support for IMAGE_BOOT_FILES
List of files defined using IMAGE_BOOT_FILES are installed into
the boot partition when preparing an image using the wic tool with
the bootimg-efi source plugin.

The code snippet introduced is taken as is from bootimg-partition.py

Change-Id: I8dbb6b4e7c24870f587a6f31e6ae4a87d7033782
Issue-Id: PLATFORMS-3134
(From OE-Core rev: a44ab3a4ee5b3c57812909c6194456f299d6ba7f)

Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25 15:11:05 +01:00
Mingli Yu
3439ad8616 Revert "python3: define a profile directory path"
After ccache upgrade to 3.7.11, there is below logic introduced.
58895dc Add knowledge about -fprofile-{correction,reorder-functions,values}

And the python3 ccache build issue [1] is fixed in ccache 3.7.11, so there
is no need to define a profile directory path for python3 any more.

[1] https://github.com/ccache/ccache/issues/615

(From OE-Core rev: 6cd08bdf72c05982ba000b1186cf139382679e04)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25 15:11:05 +01:00
Mingli Yu
b28b7c7c6a ccache: Upgrade to 3.7.11
Bug fixes:
  Added knowledge about -fprofile-{correction,reorder-functions,values}.
  ccache now handles the Intel compiler option -xCODE (where CODE is a processor feature code) correctly.
  Added support for NVCC's -Werror and --Werror options.

(From OE-Core rev: 1fea06a83aa226a86eb2032ce4e000009d71eaa5)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25 15:11:05 +01:00
Lee Chee Yang
4eef15704a buildhistory: use pid for temporary txt file name
buildhistory create .txt file bh_installed_pkgs.txt and
bh_installed_pkgs_deps.txt while listing down installed package.
These file is later removed in buildhistory_get_installed().

when multiple process runs in parellal there are chances to race for
the file where one process created the file while another task remove
the file right after it.

using different file name for each process should avoid the race. So
add PID to the file name to make it unique.

[yocto #13709]

(From OE-Core rev: 214d236d93700abffa2d586cc744a00455818fa4)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25 15:11:05 +01:00
Dan Callaghan
7c3055e70f stress-ng: create a symlink for /usr/bin/stress
In commit 72641004, stress-ng was made to provide the stress package,
because it's backwards compatible with the old stress command. But it
doesn't actually provide /usr/bin/stress which is what other recipes
depending on stress will expect.

Symlink /usr/bin/stress to stress-ng so that it actually becomes
a drop-in replacement for stress.

(From OE-Core rev: 5d8c4ea26a48135c3405afac0372e4e062a7339a)

Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25 15:11:05 +01:00
Joe Slater
d88024e783 libdnf: allow reproducible binary builds
Use a static TESTDATADIR if tests are disabled.  Allow
override of TESTDATADIR if tests are enabled since the
default will be wrong for target builds.

(From OE-Core rev: 43d24a3726dc1b639261429cc6537e947281143c)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25 15:11:05 +01:00
Matthew
38519b6f4a ltp: remove --with-power-management-testsuite from EXTRA_OECONF
Commit [b74bbed51b0c0d44b70b136326a8a23cbc64db01 power_management:
compile testcases/kernel/power_management by default] from ltp upstream
removed --with-power-management-testsuite option, it's on by default.

(From OE-Core rev: 9be40ee62f9a29f76290171c6a2a417f28180771)

Signed-off-by: Mingde (Matthew) Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25 15:11:05 +01:00
Martin Jansa
bd7521568f net-tools: upgrade to latest revision in upstream repo instead of old debian snapshot
* debian switched to upstream snapshot as well in 2015:
  net-tools (1.60+git20150829.73cef8a-1) unstable; urgency=medium

  * After 14 years without an upstream release, I am producing a new package
    based on today's upstream repository.
    Closes: #391495, #486448, #323261, #260587, #545328, #511395.
  * Remove many patches now merged upstream, delete unmaintainable and
    undocumented local changes, and update the rest.

 -- Martín Ferrari <tincho@debian.org>  Mon, 07 Sep 2015 01:54:07 +0000

* this allows dropping nettools_do_patch task and other weird parts of the recipe

* LIC_FILES_CHKSUM change is caused by formatting changes in:
  d613e1d Updated COPYING file.

* patches now included in upstream:
  0001-added-ull-prefix-to-unsigned-long-long-constants-to-.patch
  eb04ef3 added 'ull' prefix to unsigned long long constants to make gcc 3.3 happy

  ifconfig-interface-0-del-IP-will-remove-the-aliased-.patch
  81814dc ifconfig interface:0 del <IP> will remove the aliased IP on IA64

  musl-fixes.patch (only lib/inet_sr.c and netstat.c chunks weren't applied, but
  maybe not needed anymore)
  86b2c77 Remove support for IPV6 with libc5 and glibc 2.0
  ecae4b3 lib/util-ank: Include <limits.h> for UINT_MAX
  c35607e Remove inconsistent conditional includes for libc5 and glibc 2.0

  net-tools-1.60-sctp1.patch
  net-tools-1.60-sctp2-quiet.patch
  net-tools-1.60-sctp3-addrs.patch
  7af4859 netstat: update SCTP support
  3bbfa09 statistics: add SCTP support
  4932915 Add netstat -S/--sctp parameter into help and manpages
  8306063 netstat: add sctp connection decoding (Debian #306428 and Gentoo #258714)

  0001-lib-inet6.c-INET6_rresolve-various-fixes.patch
  a70c568 lib/inet6.c:INET6_rresolve() - various fixes

  net-tools-fix-building-with-linux-4.8.patch
  ea3935b iptunnel: fix building w/older linux headers
  45d573a iptunnel: drop netinet/ip.h include

* add 3 new patches from debian

* add PACKAGECONFIG for parts which are now optional since:
  9391238482
  fbc11bb9cf
  bd8bceaed2
  but unlike debian, keep building them to limit the changes from this upgrade

* ifconfig and route were moved from sbin to bin adjust u-a accordingly

* debian changelog:
net-tools (1.60+git20180626.aebd88e-1) unstable; urgency=medium

  * New upstream snapshot
  * Refresh patches.
  * Fix typos in German manpages. Thanks to Prof. Dr. Steffen Wendzel and
    Dr. Tobias Quathamer for the patch. Closes: #900962.

 -- Martín Ferrari <tincho@debian.org>  Mon, 24 Sep 2018 19:08:57 +0000

net-tools (1.60+git20161116.90da8a0-4) unstable; urgency=medium

  * Update maintainer email address. Closes: #899617.
  * Update Standards-Version with no changes.

 -- Martín Ferrari <tincho@debian.org>  Mon, 24 Sep 2018 17:16:31 +0000

net-tools (1.60+git20161116.90da8a0-3) unstable; urgency=medium

  * debian/control: Update Vcs-* and Standards-Version.
  * debian/control: remove references to ancient package ja-trans.
  * debian/gbp.conf: Update repo layout.

 -- Martín Ferrari <tincho@debian.org>  Tue, 31 Jul 2018 19:09:00 +0000

net-tools (1.60+git20161116.90da8a0-2) unstable; urgency=medium

  * Fix typo in French manpage. Thanks to  Michel Grigaut for the patch.
  * Add manpage for iptunnel, thanks to Sergio Durigan Junior.
    Closes: #88910
  * Rename patches so CME does not choke on them.
  * Automated cme fixes; packaging improvements.
  * Remove unused and ancient patch.

 -- Martín Ferrari <tincho@debian.org>  Sun, 11 Feb 2018 17:29:24 +0000

net-tools (1.60+git20161116.90da8a0-1) unstable; urgency=medium

  * New upstream snapshot.
  * Re-synced translations.patch.
  * Acknowledge NMUs. Thanks a lot to Andrey Rahmatullin for the
    fixes and uploads. Closes: 846509.
  * Fix FTCBFS, thanks to Helmut Grohne for the patch. Closes: #811561.
    + Really assign CC for cross compilation.
    + Use triplet prefixed pkg-config.
  * Add debian/NEWS warning about changing output in net-tools commands.
    Closing bugs that reported problems in 3rd-party scripts arising from these
    changes.  Closes: #845153, #843892, #820212.
  * Update Standards-Version, with no changes.

 -- Martín Ferrari <tincho@debian.org>  Mon, 26 Dec 2016 05:58:42 +0000

net-tools (1.60+git20150829.73cef8a-2.2) unstable; urgency=medium

  * Non-maintainer upload.
  * Apply an additional fix for the previous FTBFS for some architectures.

 -- Andrey Rahmatullin <wrar@debian.org>  Thu, 01 Dec 2016 22:49:27 +0500

net-tools (1.60+git20150829.73cef8a-2.1) unstable; urgency=medium

  * Non-maintainer upload.
  * Fix FTBFS by applying the upstream patch (Closes: #844073).

 -- Andrey Rahmatullin <wrar@debian.org>  Sun, 20 Nov 2016 15:23:12 +0500

net-tools (1.60+git20150829.73cef8a-2) unstable; urgency=medium

  [ Laurent Bigonville ]
  * Enable SELinux support. Closes: #666204.

  [ Martín Ferrari ]
  * Mark the package "Multi-Arch: foreign", thanks to Frédéric Brière
    <fbriere@fbriere.net>. Closes: #752584.
  * Fix bug in Portuguese man page, thanks to julianofischer@gmail.com.
    Closes: #805377.

 -- Martín Ferrari <tincho@debian.org>  Thu, 19 Nov 2015 14:48:47 +0000

net-tools (1.60+git20150829.73cef8a-1) unstable; urgency=medium

  * After 14 years without an upstream release, I am producing a new package
    based on today's upstream repository.
    Closes: #391495, #486448, #323261, #260587, #545328, #511395.
  * Remove many patches now merged upstream, delete unmaintainable and
    undocumented local changes, and update the rest.

 -- Martín Ferrari <tincho@debian.org>  Mon, 07 Sep 2015 01:54:07 +0000

net-tools (1.60-27) unstable; urgency=medium

  * Add patch to accept "pointtopoint" as a synonym for "pointopoint".
    Closes: #443075.
  * Add patch to add an example for single route deletion in route.8.
    Closes: #500913.
  * Remove Luk from Uploaders as per his request. Closes: #748491.
  * Fix broken watchfile, thanks to Martin Bagge for the patch.
    Fix upstream homepage. Closes: #770070.
  * Add patch to make mii-tool scan all ethernet devices instead of eth[0-7].
    Closes: #532879, #319508.
  * Add Vcs fields.
  * Update build system to debhelper 9 and 3.0 source format.
  * Update ancient Standards-Version, no changes needed.

 -- Martín Ferrari <tincho@debian.org>  Sun, 06 Sep 2015 17:44:11 +0300

* upstream changelog:
git log --oneline v1.60..0eebece8c9
0eebece Spell checking for German netstat manpage (#9)
aebd88e standardize --help/usage handling
c360845 always write --version output to stdout
479bb4a Fix incorrect ARP output
b4f5182 Fix conversion of some ROSE addresses.
8076533 Update all instances of my email address.
bfbadfc AX.25: Rename all references to axattach to kissattach.
90da8a0 netstat: improve ROSE support
aab9274 build: respect standard $(LDLIBS) variable
ea3935b iptunnel: fix building w/older linux headers
45d573a iptunnel: drop netinet/ip.h include
115f1af Fixed trailing whitespace issue with a and i flags (#7)
bd8bcea slattach/plipconfig: add a config knob to control them
9391238 hostname: add a config knob to control build/install
fbc11bb arp/rarp: add a config knob to control them
2cc98e1 man: do not install pages for disabled commands
5bf8112 man: improve install
e1ce942 ifconfig: do not try to bring up interfaces implicitly w/IPv4 0.0.0.0
2529b5d ifconfig(8): document - suffix behavior w/alias interfaces
3f170bf netstat: increase address buffers to avoid and overflow
1cec84c route(8): fix typo in fr_FR page
452f8e2 hostname: -s: do not look up details via dns
8e9db22 po: delete duplicate translations
614e15d statistics: fix multiple typos in strings
5c9e1e7 use sockaddr_storage everywhere
27e4308 netstat: convert to sockaddr_storage
adf6f57 netstat: unrecognized option -> non-zero exit code
73cef8a statistics: use getline instead of fgets
d923212 statistics: optimize filter processing slightly
238f086 ipx: always byte swap fields
7af4859 netstat: update SCTP support
3bbfa09 statistics: add SCTP support
9c073fe statistics: sort tables statically (and constify)
70c3a90 statistics: constify tables
c58d03b statistics: constify strings
9c4b23a statistics: localize all vars/funcs
b2f0f02 statistics: delete dead code
6556c27 build: use -- with rm
c5a91aa lib: inet6: clean up INET6_print a bit
fd10bbe lib: inet6: mark fix_v4_address static/const
c17ec95 lib: frame: avoid casting char* to short*
b10a1c0 lib: inet: switch to inet_ntop
16a83b4 lib: masq_info: check fgets return value
df48bbe lib: masq_info: use stdlib.h instead of malloc.h
839f760 lib: masq_info: fix scanf addr loading on 64bit systems
2a0cd06 lib: af: constify sprint sockaddr
bcc7d40 hostname: unify IPv4/IPv6 codepaths
742e628 lib: hw: constify hwtype
a6118de lib: af: constify aftype
2e15dac lib: af/hw: constify name fields
738c834 lib: af: constify herror message
61077c3 lib: af/hw: localize init functions
cf32e54 lib: af: get_socket_for_af: re-use get_afntype
86b2c77 Remove support for IPV6 with libc5 and glibc 2.0
c35607e Remove inconsistent conditional includes for libc5 and glibc 2.0
92773ed Add utility function ticks_per_second() to get jiffies per second (aka HZ)
9bdfd2c build: turn on transparent LFS support
43efbf2 Disable Econet support by default since it is removed from Linux 3.5
ecae4b3 lib/util-ank: Include <limits.h> for UINT_MAX
69e6463 netstat: fix up Bluetooth error messages
761da2d netstat: support Linux v4.0 debug/bluetooth/l2cap
e5f1be1 ifconfig can incorrectly round PiB
25b3c9a netstat: INFO_GUTS1(): don't treat EACCES as error
24cd6f2 Revert "fix statistics with aliased interfaces"
4e499e2 netstat(8): fix style in a few places
2dd754e netstat: do not abort/warn with unsupported protocols using general -A buckets
343192d fix statistics with aliased interfaces
96225a6 netstat: decode timer type of 4 in tcp lines
6ab465c interface: localize & constify funcs
1fbf057 netstat.8: bump date
6b79232 Thanks: Lubomir
34ea18c netstat: Fix short options for --l2cap and --rfcomm
2246c64 pathnames: Bluetooth stuff is now in debugfs
b2a5d59 man: Document Bluetooth options
4321146 Fix typo in license notice.
80ac2bb First version of a contributors acknowledgement (to clean up file headers)
d621c2e [Bug#22] Return non-zero exit code if route arguments fail verification (CEM@sf.net)
038ed39 mii-tool: apply -p to -w
68a4d78 fix default for inet4 (0) and pointer to ip(8)
a3cab50 Documented metric defaults, made markup of keywords/variables more consistent.
b2f92c3 Fix unsigned sscanf format
4932915 Add netstat -S/--sctp parameter into help and manpages
47b8bce netstat.c: fix typo in error message
3eb367a Fix serveral strings in de/fr/pt_BR.po
12f5a0c Fix nstrcmp() to prevent ifconfig from showing duplicate interfaces.
f919c51 Makefile: add BINDIR & SBINDIR variables
08abda6 add const qualifier to fix compile warning about xstrdup argument
2356964 rprint_fib6() was passing 1 instead of 'numeric' into INET6_sprint()
a70c568 lib/inet6.c:INET6_rresolve() - various fixes
a753a90 lib/util.c: introduxe xstrdup which catches NULL and use it in all places
e8510bc lib/inet.c: replace safe_strcpy with strdup for dynamically allocated cache, fixes truncation
c0d4640 Show symbolic default only for 0.0.0.0/0 (which fixes Suse Bug#821077)
0348310 lib/x25.c: fix compile error for -DDEBUG=1
2466c75 hostname: modernized man page
8f124a7 hostname: do not mention root on permission problems. Thanks to Elias Probst for mentioning the problem.
e569425 merged: replace all remaining strcpy() with safe_strncpy()
d5d5db4 route: document  -4 and -6 for route command
cb15dc2 fix issues caused by replaceing strcpy() with safe_strncpy()
604785a replace all remaining strcpy() with safe_strncpy()
dc752cc Merge pull request #1 from florianl/master
3a2961d Fix calculation of available space
3da9774 [PATCH] replace strcpy() with safe_strncpy()
6a14c03 slattach: tweak how we ignore the ret of fchown()
d87ceba ifconfig: use sockaddr_storage to hold addresses
911ccc4 ifconfig: use in_addr_t for IPv4 types
d1381f9 trim trailing whitespace
35eaa82 Make SELINUX compile.
266c140 get selinux build info via pkg-config
4953812 ignore gdb related files
4fa4939 fix building with selinux enabled
70953e9 use CFLAGS when linking too
56a8434 Man page syntax fixes.
7cf048d Rémi Verschelde contributed french translation if ifconfig(8). https://sourceforge.net/p/net-tools/bugs/6/
36bd859 deal with 2-digits kernel versions as reported in Bug#7. https://sourceforge.net/p/net-tools/bugs/7/
e816552 Minor mostly comments typo fixes
3d31cea Use safe_strncpy wherever possible
60674bc updated manpage date, project url and email
adee8b7 mii-tool: dump also non standard registers
784f0af mii-tool: update manpage and usage
b30cd20 mii-tool: update PHY list
2370ab1 mii-tool: fix PHY ID in list
343864a Potential buffer overflow if kernel is missbehaved removed, reported by Adien Bustany
8b1ccd3 Merge branch 'master' of ssh://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools
0727f6e Removed per-file version number
ded9e77 Removed per-file version number
a773411 Merge branch 'master' of ssh://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools
4ee5ca4 Bump Version to 2.10 to be compatible with ubuntu
ae6e4a3 fix typo in statistics.c
4aa89e8 Bump to 1.70-alpha version and switch to net-tools-devel@lists.sourceforge.net as maintainer
339c720 mii-tool.c: increase buf size in show_basic_mii()
7e91281 netstat: check fstat's return value
8217b88 Some more fixes for german arp.8
d34e8f2 Use groff umlaut
868b18e Remove trailing linefeeds from arp.8 man pages
5333f7f arp(8): German translation updated + corrected, en: missing ) added
2bbc0ab arp(8): part of a sentence was missing
293bec6 update the dist target and add a distcheck target
70f4818 disable old features by default
8a77011 slattach: pass up exit status of shell command
77d0c1b Deprecated netstat, made usage with --inet/--inet6 clear.
6970e0b Minor cleanup of netstat usage()
01b8da0 Removed code duplication (Sourceforege#3567952 reported by hugh redelmeier)
e8b37a8 netstat memory leak fixed.
992a1de iptunnel.c: avoid fd leak in case of ioctl() error
53c4017 use scanf("%ms") instead of scanf("%as") for dynamic string
699e5db Consistently use defined exit codes.
6d09cad arp(8): fixed one more typo (simplyfy -> simplify)
776c653 arp(8): fixed typo (priveledge -> privilege)
b8cd80d Fixed 2 SELinux related compiler warnings.
a1de647 Removed SET and GET of interface metrics
5fac037 ifconfig(8): fix tunnel option syntax
6f050f1 infiniband: fix up new warning message
7182584 Make netstat -h and -V honor HAVE_SELINUX
4c91a43 removed unused variable
8509a38 new option for nestat, -Z shows SELinux context
064568d Make the code style consistent across netstat.c
aa01f8c man/de_DE/arp.8 fix translation (RHBZ#322901)
1e787c3 man/pt_BR/ifconfig.8: remove untranslated paragraph
653fd7c route(8): note that 'route mss' actually sets MTU (RHBZ#680837)
a4cbb77 ifconfig(8): note about supported format for IPv4 addresses (RHBZ#176661)
cb81887 ifconfig(8), netstat(8): mention iptables instead of ipchains, ipfwadm or ipfw.
4838db1 ifconfig(8): do not mention /proc/net/socket (RHBZ#661905)
5f5f16d Warn about changed encoding of man pages
6f5c897 Convert latin1 characters to UTF-8
1b74c24 inform user that ifconfig can correctly show only first 8 bytes of Infiniband hw address
9dc3a20 mii-tool: don't rely on eth0 being default network device name.
faf31f8 mii-tool: use <linux/mii.h> instead of "mii.h" and fix RHBZ #491358
6ccabd5 Possible problems found by static analysis of code.
0dcd1d1 plipconfig man page and usage output fixes
81814dc ifconfig interface:0 del <IP> will remove the aliased IP on IA64
796ba7f prevent 'netstat -nr -A inet6' from smashing stack (RHBZ #668047)
7b57688 fixed clearing flags in ifconfig (RHBZ #450252)
1f2c75d nameif crash for long interface names (RHBZ #209120)
cf33780 in kernel 2.6 /proc/net/x25_routes moves to /proc/net/x25/route
96b25f1 buffer overflow in arp (RHBZ #164695)
f1f8932 netstat -s reports negative octet counts
c8d4f43 The return value of nameif was wrong
81d60e0 Fix Content-Type in po files to avoid msgfmt warning.
ca5633d Updated README to reflect move to SourceForge.net
d613e1d Updated COPYING file.
98e1d90 mii-tool: fix inverted advertising/link features
0f65cdc slattach: man page documents /dev/ptmx support
4615091 slattach: add support for /dev/ptmx [Bug:3467521]
aa6c885 Merge branch 'master' of ssh://net-tools.git.sourceforge.net/gitroot/net-tools/net-tools
3642531 Bluetooth name fix
f6baf95 Add Bluetooth socket support
36b541c ifconfig/route: move to /bin
ca46fb1 ignore return value of fgets calls we dont care about
153ab83 hostname: check return value of getdomainname
9cd07a6 netstat: unify duplicate addr pretty printing
9eba397 fix integer/pointer cast warnings
c5e8dfb fix "format not a string literal" warnings
4d721ae fix up signed/unsigned warnings
46cd57a fix up unused variable warnings
243cd05 pull in stdlib.h for malloc() prototype
97b31ce clean up const/unsigned pointers with aftype/hwtype structs
7ae4aa5 get_sname: avoid buffer overflows if proto name is too long
6a9347c get_sname: unify numeric handling
2b4f34b get_sname: constify args/return when possible
5888d1b fix path to net-features.h
11310f8 patch from Bert Wesarg to separate basename of -p only if it is absulote path (in order to make argv[0]="sshd pty/0" display as sshd, and not as /0.
491cedb netstat: split host resolution out from --numeric-ports
74b2b54 netstat: fix handling of large socket numbers
8022436 hostname: fix FQDN handling with AAAA records
1dd95c5 corrected indention
c4b18d3 added some address family alias (still needs description) Bug#017886 Reported by Toralf
c65379a Bug #17812 Fix the handling of some of the HAVE_* flags ifdef vs if. --jpa468
1791685 [Bug #17645] Add netstat(8) support for RcvbufErrors, SndbufErrors. Thanks jwm
afb24b5 netstat: include sys/stat.h for S_ISREG macros
63582c8 Remove garbage ipv6 scopes in netstat output (Debian Bug #508110) Thanks Marco Steinacher for reporting.
60d538d netstat: PIDs can be long, Bug #199702 of Ubuntu Launchpad, Bug #16913 of Berlios
74f98bb interface: fix IPv6 parsing of interfaces with large indexes (> 255)
8003503 po/man: if LINGUAS is set, only install translations for those langs
0b2d037 improve dist target: include compiled gettext files, exclude scm files, and always prefix the paths in the tarball with the full versioned name
6c6e701 ignore generated gettext files
8c3c91f set BASEDIR to DESTDIR by default so the default install matches most packages
93f5da4 fix parallel build problems with the lib/ subdir and multiple targets that descend into it
043b0fa netstat: fix %*s handling -- the field takes an int, not a size_t
592e3a3 interface slip: cast keepalive/outfill to unsigned long to fix warnings on 64bit hosts -- no functional changes since these only have an 8bit range anyways
5edf1a4 ignore patch related files
8306063 netstat: add sctp connection decoding (Debian #306428 and Gentoo #258714)
0529337 ifconfig: fix no output when if_readlist_proc() fails
d50af4c slattach: use fchown() rather than chown() to avoid race between creation and permission changing
d114ba0 enable -fno-strict-aliasing until the code base gets a hefty clean up to fix all of the strict aliasing problems
f91f1b0 convert -idirafter to -I
fa5eec7 add missing dependency on version.h to libdir target to fix parallel build failures
f74e6f4 touch up build system to respect normal toolchain env vars rather than requiring people to set random custom ones
4db8743 handle raw "IP" masqinfo
b1c865c move man/fr_FR/*.8 pages into the "administrator" section
2e2ef32 arp: document the existing -e/-t options
15cf547 netstat: fix typo in udp display
9f22441 start a .gitignore
1e4c72b Missing include to make compileable with gcc-4.3.2 and glibc-2.9_p20081201 Patch from Petr Pisar [Berlios Bug#16232].
0d88998 ignore local .git dir
74f077e Fix for Feature Request from ssb [ Feature Request #4466 ] --continuous should flush stdout
9cfbce3 Czech translation update by petr.pisar@atlas.cz
0540cf6 Avoid name resolution for listening or established sockets (-l) by return fast. Problem reported by Ragnar Hojland Espinosa <ragnar@ragnar-hojland.com>
608b0fd scanf format length fix (non exploitable?) from Fabian Hugelshofer <hugelshofer2006@gmx.ch>
2750e60 -W option
bb2e60b new date, reformatted authors section (shorter)
9036cd6 sorted options
91f3c44 UDPlite Support for net-stat by Brian Micek <bmicek@gmail.com>
38720e8 Add wide option to prevent truncating IPv6 addresses
b6dabb7 moved H suport for Infiniband to the right section
24f959e Add hardware support for InfiniBand (Debian Bug #294252 Tom Duffy from Sun).
5737940 avoid unused filetype, fix formatting of -p headers
57b70fa conditional printing of values (to support -tuw options for netstat -s)
2e572c2 Support netstat -s with -6tuw options (incl. usage())
50165b2 Enable netstat -s for IPv6 (Debian Bug #453859 from Varun Chandramohan)
188a83f Avoid segfault of ifconfig(8) on missing /proc/net/dev (Debian Bug #222209 Pierre Lombard, Tollef Fog Heen)
0009712 Fix hypen in man pages (Debian Bug#288343 from Andrew Moise) Move man pages to sysadmin books update samples for route(8) (Debian Bug#400844, #368697 Danny Rathjens) update see also for ifconfig(8) (Debian Bug#365916 Dan Jacobs)
11b7232 fix some more hypens, changed book name and updated date to 2008-10-03
2fd7009 document the additional info in Send-Q/Recv-Q with recent kernels for listening sockets.
3e179eb allow netstat to print Rcv/Snd-Q for TCP_LISTEN (containing accept backlog)
7ac5bd2 Spelling error (Debian Bug #486448 reported by Volker Stolz)
bcebe9e fixed interfaceS spelling (Debian Bug #435690). Thanks Alan and Liu Xing.
3eb2013 more backoff
8ccfb33 backoff proc_fopen usage from etherfile.
b9963e7 use new page aliged proc_fopen for address families
eb21d0e Page aligned fopen buffer
20f0f8e Faster pagesize aligned fopen for netstat -s (Eric Dumazet)
41cae5e Better netstat -s error handling and larger buffers
94fb2fc cleanup man page (arp.8 2007-12-01)
c59ba33 ROSE support (not yet enabled)
4193b10 ROSE support
f6ec7f0 Fix Formatting Bug for ifconfig.8 (Debian Bug#450432 reported by Ivan Shmakov)
a7006fd unneeded %s in translation (Debian Bug #403033) Thanks to Marco Tulio Gontijo e Silva
2af5890 fixed signedness compiler warning
4347ec3 Fixed Debian Bug #392263 reported by Jochen Voss (buffer overflow in dev argument processing)
e44dfb3 formatting fixes from Justin Pryzby in Debian Bug #391495
2c5906a GigE Support by Stephen Hemminger from http://developer.osdl.org/shemminger/prototypes/mii-tool.tar.bz2 with verbose register patch from Dean Gaudet
b5b6f5b Debian Bug #260587 fixed, make sure the Columns state and user in netstat -t -e are separated by blanks. This may cause scripts to fail parsing by column width. Better wait for the script compatible output. Problems exists for ESTABLIHED state only.
3fecf29 use file version
79143c2 make slattach 3-wire -L mode work (no RTSCTS) (Debian Bug #175743)
2b01211 In order to fix alignment bugs with recent GCCs I have to use sockaddr_storage instead of sockaddr for allocation. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=340384 Thanks to Blars Blarson, Jurij Smakov and Steve Langasek
23e6090 X25 code compiles with 2.4 and 2.6 kernel headers (Debian Bug#271678)
464d107 Spelling fix for Debian Bug#326124 reported by A. Costa.
c47b0ce added link to berliOS
697cccc Eric Oberlander reported in Debian Bug#323261 that byte counter unit should be named "B" not "b".
3fb20be make ipx in 2.6 work (perhaps). Fixes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=318503
fa7e5f6 minor formatting
c1b0c81 added pointer to iptables(8) not only ipchains(8) (Toralf Förster)
5ce2138 make  it compile with 2.4 and 2.6 kernel headers (Debian Bug #271678)
501fb48 desupport dontpub in arp.8 and arp -? (Debian Bug #203396)
7762692 updated pot file and use msgmerge instead of tupdate (Debian Bug #271426)
b07eb40 token ring patch from http://www.linuxtr.net/download/net-tools-1.60.patch Fixes Debian Bug #79462
d610378 line break fix debian bug #305637
85dad0a spellig fix debian bug #305638
0518929 spelling fix debian bug #305640
d1724c0 little formatting fix
f93122d default all options which work with recent systems  to on
d42c104 debians version of nstrcmp - ugly but works
a859bcb merged debian patch to make  it compile with new headers
6e5363d avoid namespace conflicts
faa3a97 added linebreak to  version signature
6ead3cb added diagnostics (closes debian bug #239229: EINVAL for downed interface)
b3412aa Typo Fix for german translation of arp po file reported by Christoph Berg (Debian Bug #176151)
321b4af make sure version string is helpful
7dfa4bd patch to recognize more hardware without MII support (from Redhat Bug#77882, notified by Tilmann Bubeck).
2085dd6 fix portability problem on 64-bit big endian. patch from Mads Martin Joergensen <mmj@suse.de>
17948a9 Maik Broemme contributed gcc warning fixes (break after default: label)
e02f9d0 fixes for man page bugs reported by Hugh Redelmeier.
aac294c Fix off by one in name length checking
a1c938f Use new style MII ioctls only. This will give you a warning, if compiled with old kernel source tree. It will also not work if compiled with new source on old kernels. The new ioctls also require root for reading, the old didnt. This fixes Debian bug #133648. No fallback compatibility is included for reasons of cleaner source.
5b24d94 bugfix: Skipping readlist, if readlist_proc sicceeded is not a good idea. I Rewrote that section for clarity. This is also present in the 1.60-8 debian package, which  fixed #197582 and #197924.
e273e09 make hostname compile warnign free with gcc 3.3 (Ec)
eb04ef3 added 'ull' prefix to unsigned long long constants to make gcc 3.3 happy
01c830f added mii-tool as featured tool
04331bd fixed compile warning (unneeded default: label in switch)
1c0f026 fixed wording of binary units counters and interpunctuation in netstat(8)
2868186 make it compile on stricter gcc3.3
408b6dd Fix Debian Bug#178209, Fix RedHat Bug#85748: nameif segfaults
8d55e6f Marc Lehmann pointed out that binary prefixes are made up by the IEEE and are not official SI yet. (Debian Bug #182478)
e06fed4 Add text for two new TCP statistics and fix some existing descriptions
651bf19 add a comment about alias interfaces and primary interface of scopes (intended to fix Debian wishlist bug #179780 and normal bug #64458)
4d2084d fixed an logic error in the "not found" handling for deleting entries also added a documentation comment and newer errno values for 2.4 Thanks to niteowl@intrinsity.com for pointing out.
fdc9421 use [::]:port as wildcard ipv6 address instead of *:port
9628c3a change confusing "*" into "<from_interface>"
cb9aeb9 - change columns of netstat -i/ifconfig -s to avoid run-into (Stefan Illner) - prevent segfault on protocol families without host error member - use /128 as default prefix if not specified instead of /0
88d85a7 Bruno Hall contributed a small and working nstrcmp()
1981012 corrected typo to make lib/interfaces.c actually compile
47af40a better ioctl fallback handling for interface listing, avoids duplicate interfaces, thanks for the help from Bruno Hall.
e2bee14 Implemented the Sean Reifenschneider suggested fflush() to the --watch function of mii-tool.
bbd4eca route now support -6 -4 or -46 option better layout for ipv6 routing table -C support for ipv6 routing cache more flags (i.e. reject) are recogniced for ipv6 routes
763c110 more stable ipx parsing (no segfault anymore)
0daeffd ethernet mac in lower case hex digits
f8f38f3 allow support for -6 and -4 options to netstat, also allow both, and print out tcp6, udp6 or raw6 if it is a v6 socket
8887da0 Jack Bloch noticed that the hw comamnd of ifconfig returns a confusing -EBUSY if interface is up (on lkml).
2ff6edc there is no such thing as -i option for ifconfig removed variable, fixed usage, added options to english man page
15080ea fixing debian bug #151130 reported by Dan Jacobson where netstat was printing 81 chars in a line for tcp, udp and raw.
2c3f73f thanks to "Erik A. Hendriks" <hendriks@lanl.gov> the interface nane bug in debian (#135744) is fixed, with his patch in (#149579) hopefully.
8cd8f53 this fixes segfault on -A "" and -F "" in mii-tool reported in debian bug #139027
7e52da1 simple patch from Ajax <ajax@firest0rm.org> (corrected) to print DDP (AppleTalk) routing table.
b03df1a brken buffer for printed irda address, reported by Christoph Bartelmus
d807bcb Fix some counter descriptions.
add5d92 export procnetdev_version, get_dev_fields, get_name from lib/interface.c for general usage (e.g. in my next patch to iptunnel)
5491f6f make RX-OK and TX-OK col. in "netstat -i" 1 digit longer by left aligning metric and TX-OVR and shorten max length of them.
5b1a3bb fixed typo in german man page and added a comment that man page is currently not completely up-to-date.
453c30f inodes in unix domain sockets are now padded to 8chars (netstat -x)
bdb279b fixes debian bug#134600 (sigsegv in netstat on negative inoded in /proc/net/udp) on "netstat -lpu". Thanks to Arnaud Giersch for the report.
4478c3c fixed debian bug#111642 reported by Jonathan Amery <jdamery@pick.ucam.org> (newline missing in nameif usage)
06be6d8 this fixes Debian Bug #109164 (netstat -ci does only print stats once). It also renames add_interface and free_interface list to if_cache_add/free. I am not sure if removing the "proc_read" flag will harm performance, looks likt this check is never triggereed. Anyway, we need more efficient b-search sooner or later.
1aaeb28 fixed minor errors in netstat.8 man page (--numeric-users was missing, some font problems and --interfaces has no <interface> argument (Debian Bug #120475) thanks for the report to Uwe Hermann.
2aea5d6 fixed debian bug#109370 (empty line if baseaddr < 0x100 in ifconfig). Patch by Jonathan Amery <jdamery@pick.ucam.org>
29e4329 added EUI64 Hardware Address Family Daniel Stodden <stodden@in.tum.de>
68ca19b added documentation about SI prefixes for decimal numbers
b93fefc added SI unit patch from adam@cfar.umd.edu to output of ifconfig byte counters
811cf0a sscanf pattern is %Lu not %llu for long long unsigned byte counters. This fixes the 0 byte output of ifconfig/netstat -i
017c996 changed troff syntax according to ESR's report
73ff76e fixed troff syntax, as reported by ESR. Did not changed the date of the man page.
e1dde4b delay the setting of netmask derived from /mask after setting address (Debian Bug #116573 reported by Brian Warner)
590aeaa minor fix to return E_USAGE on -V instead of exit(0);
234b63a failed to set error flag if netmask setting reported an error (Debian Bug #117837 reported by Sam Clegg)
81f8bc8 (Finally) update netstat -s for 2.4 statistics.
d67a12a Only print unknown statistics when their counter is > 0.
fb9c5b0 Fix netstat -- don't print all v4 addresses as v4-mapped-in-v6.
fc474dc Increase SIOCGIFCONF buffer size faster for many interfaces.
c8a6725 Remove Debian-specific path.
03f5eac doh
eb7fb72 Fix confusion between bits and bytes
c899ac9 made man page more useful and added right link for irq conflicts in ifconfig.8
6a06088 a fix for Debian which can be nicely included upstream (#102139)
866746a man page fix CLOSED -> CLOSE
afaea89 this will check after clearing a flag, that it is indeed cleared. it will also be a bit more verbose and precise on errors. See Debian Bug #102474
0284110 fixed CLOSED -> CLOSE in french and english manpage as of bug report from Matthew Tippett
1fa4848 changed a type arp -a now prints PUB instead of PUP for proxy arp entries
643ba69 Update from Meelis Roos

(From OE-Core rev: c9caff40ff61c08e24a84922f8d7c8e9cdf8883e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-25 15:11:05 +01:00
Richard Purdie
23deb29c1b bitbake: cooker: Handle multiconfig name mappings correctly
"bitbake mc:arm:bash mc:arm:busybox"
works but
"bitbake multiconfig:arm:bash multiconfig:arm:busybox"
does not. The reason is the list is modified whilst iterating.
Don't do that.

[YOCTO #13607]

(Bitbake rev: cd041a78d96e656438d93fb1e288080b8a6fe8bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-23 16:49:39 +01:00
Richard Purdie
c28d643c7b bitbake: cooker: Improve multiconfig configuration error reporting
This avoids a traceback if an invalid multiconfig is referenced in the bitbake
commandline and tweaks the message to make it more understanable.

(Bitbake rev: f31d7d0ad57b0ecc2ae06ed4b547c98df2aaa1a5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-23 16:49:39 +01:00
Khem Raj
94b1d77472 site: Make sys_siglist default to no
glibc 2.32 has deprecated sys_siglist [1]

since no is default for musl as well, therefore elevate it to common
site file for all

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=b1ccfc061feee9ce616444ded8e1cd5acf9fa97f

(From OE-Core rev: 7c19f30849e9a73a7497d8e6c4719a2e57017086)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 23:47:57 +01:00
Dmitry Baryshkov
48cd01d208 gcc-10.1: add fix for PR 96130
Fix for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96130 causing ICE
(SegFault) when compiling current Mesa git tree.

(From OE-Core rev: bc2f2e72f20e6b272e48d1073bb2290665cbde24)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 23:47:57 +01:00
Ross Burton
4ad6e1182e gcc: mitigate the Straight-line Speculation attack
Straight-line Speculation is a SPECTRE-like attack on Armv8-A, further
details can be found in the white paper here:

https://developer.arm.com/support/arm-security-updates/speculative-processor-vulnerability/downloads/straight-line-speculation

Backport the GCC patches to mitigate the attack.

CVE: CVE-2020-13844
(From OE-Core rev: 3415e0ccdf75575014fb8c600edb707bbec0f566)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 23:47:57 +01:00
Hongxu Jia
d128ded2d1 e2fsprogs: fix up check for hardlinks always false if inode > 0xFFFFFFFF
While file has a large inode number (> 0xFFFFFFFF), mkfs.ext4 could
not parse hardlink correctly.

Prepare three hardlink files for mkfs.ext4

$ ls -il rootfs_ota/a rootfs_ota/boot/b rootfs_ota/boot/c
11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/a
11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/boot/b
11026675846 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 rootfs_ota/boot/c

$ truncate -s 1M rootfs_ota.ext4

$ mkfs.ext4 -F -i 8192 rootfs_ota.ext4 -L otaroot -U fd5f8768-c779-4dc9-adde-165a3d863349 -d rootfs_ota

$ mkdir mnt && sudo mount rootfs_ota.ext4 mnt

$ ls -il mnt/rootfs_ota/a mnt/rootfs_ota/boot/b
12 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/a
14 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/boot/b
15 -rw-r--r-- 1 hjia users 0 Jul 20 17:44 mnt/boot/c

After applying this fix
$ ls -il mnt/rootfs_ota/a mnt/rootfs_ota/boot/b
12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/a
12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/boot/b
12 -rw-r--r-- 3 hjia users 0 Jul 20 17:44 mnt/boot/c

(From OE-Core rev: 3b2c7350a7f3fb20f2b61ddb41f81959a54bc873)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Ricardo Salveti
ba11042bbd sudo: set with-rundir to /run/sudo
Set with-rundir to a known path instead of letting configure decide
which is the best folder to store the timestamp files. This is required
otherwise it might end up at /sudo, which will cause errors on a ro
filesystem.

(From OE-Core rev: 22ae707afa69d1d0a0496a6dc25a400a9c4404d9)

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Changqing Li
971c1ee2e7 gtk-immodules-cache.bbclass: fix post install scriptlet error
package libgtk-3.0 don't install dir /usr/lib/gtk-3.0/3.0.0/ by default.
when install package gtk-immodule-xim, it is possible met below error:

/var/tmp/rpm-tmp.tlfoeo: line 17: /usr/lib/gtk-3.0/3.0.0/immodules.cache: No such file or directory
warning: %post(gtk-immodule-xim-2.24.32-r0.0.cortexa72) scriptlet failed, exit status 1

fix by create the dir when try to write to /usr/lib/gtk-3.0/3.0.0/immodules.cache

(From OE-Core rev: c689e120961d9d20386c8b822d71d778d4e6df7b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Sakib Sajal
73026f964e busybox: make hwclock compatible with glibc 2.31
settimeofday(2) has been deprecated as of glibc 2.31
which hwclock makes use of. This patch makes hwclock
compatible with glibc v2.31
See patch for more details:
  busybox/0001-hwclock-make-glibc-2.31-compatible.patch

Fixes [YOCTO #13981]

(From OE-Core rev: 524fff214a6adc823a99358248b3891ba7c0b915)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Ross Burton
27f59b5138 startup-notification: add time_t type mismatch patch from upstream
Backport a patch to fix issues where sizeof(time_t) != sizeof(long).

(From OE-Core rev: f9c3a6d74765e636a8038fe3aaa5dfc8b550590a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Daniel Ammann
ef4677373c image.bbclass: improve wording when image size exceeds the specified limit
(From OE-Core rev: fcaab9d686a4afe53a4693f3b30634215d682389)

Signed-off-by: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Oleksandr
147db377f4 expat: Added ptest
For ptest support of expat package:

 - expat_2.2.9.bb recipe was switched on cmake-based building system to
avoid cahnges in autotools build system which considered in upstream as
potentially deprecated (https://github.com/libexpat/libexpat/issues/330).

 - cmake-native_3.17.3.bb recipe was forced to use bundled version of
expat from CMake source tree. Therefore expat-native package has been removed
from DEPENDS variable for cmake-native recipe. Without
these changes, next dependency loop appears:

Dependency loop #1 found:
  Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_compile (dependent Tasks ['cmake-native_3.17.3.bb:do_configure'])
  Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_install (dependent Tasks ['cmake-native_3.17.3.bb:do_compile'])
  Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_populate_sysroot (dependent Tasks ['cmake-native_3.17.3.bb:do_install'])
  Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_prepare_recipe_sysroot (dependent Tasks ['cmake-native_3.17.3.bb:do_populate_sysroot', 'ninja_1.10.0.bb:do_populate_sysroot', 'expat_2.2.9.bb:do_fetch'])
  Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_configure (dependent Tasks ['expat_2.2.9.bb:do_patch', 'expat_2.2.9.bb:do_prepare_recipe_sysroot', 'expat_2.2.9.bb:do_generate_toolchain_file', 'expat_2.2.9.bb:do_deploy_source_date_epoch'])
  Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_compile (dependent Tasks ['expat_2.2.9.bb:do_configure'])
  Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_install (dependent Tasks ['expat_2.2.9.bb:do_compile'])
  Task virtual:native:/home/opopovych/repos/poky/meta/recipes-core/expat/expat_2.2.9.bb:do_populate_sysroot (dependent Tasks ['expat_2.2.9.bb:do_install'])
  Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_prepare_recipe_sysroot (dependent Tasks ['expat_2.2.9.bb:do_populate_sysroot', 'xz_5.2.5.bb:do_populate_sysroot', 'bzip2_1.0.8.bb:do_populate_sysroot', 'ncurses_6.2.bb:do_populate_sysroot', 'zlib_1.2.11.bb:do_populate_sysroot', 'cmake-native_3.17.3.bb:do_fetch', 'curl_7.71.1.bb:do_populate_sysroot'])
  Task /home/opopovych/repos/poky/meta/recipes-devtools/cmake/cmake-native_3.17.3.bb:do_configure (dependent Tasks ['cmake-native_3.17.3.bb:do_deploy_source_date_epoch', 'cmake-native_3.17.3.bb:do_patch', 'cmake-native_3.17.3.bb:do_prepare_recipe_sysroot'])

 - run-ptest script that initalizes testing, copies testing
executables' output to log file and measures execution time of each testing
executable was added.

 - patch that implements output of each testcase result in testing exectutable
was added.

(From OE-Core rev: 3adba877e1b5e5f69a6d1501611624e2d3789a9b)

Signed-off-by: Oleksandr Popovych <oleksandr.s.popovych@globallogic.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Joshua Watt
0f5ae7e79b classes/package: Use HOST_OS for runtime dependencies
The code was using TARGET_OS to try and detect what type of OS the
packages would be running on, but this is incorrect. TARGET_OS is the OS
for which the package will generate output (e.g. GCC output target or
GDB debugging target). The OS where the package will run is the HOST_OS.
Note that HOST_OS only differs from TARGET_OS when doing a
canadian cross compile, and even then in our case only when doing so for
a non-Linux host (e.g. MinGW).

Fix the code to use HOST_OS instead.

(From OE-Core rev: f284c5b2df220b520b025a59874e04ef4becd829)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Joshua Watt
3afe7395ee classes/cmake: Fix host detection
Fixes the class to use HOST_OS and HOST_ARCH to set the cmake SYSTEM
variables. The HOST variables should be used instead of
TARGET_OS/TARGET_ARCH because we want to control how cmake compiles for
where the package is going to run (the host), not what it will be
generating output for (the target). The distinction is only really
relevant when building canadian cross recipes.

Also fix up the host OS detection to account for MinGW by setting
CMAKE_SYSTEM_NAME to "Windows". This eliminates the need for meta-mingw
to patch this in all the cmake recipes it builds.

(From OE-Core rev: 01245db2893e39ffb5d4a00e4689f048d0698974)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Joshua Watt
5843460575 lib/oe/reproducible: Fix error when no git HEAD
Fixes an error that occurs when attempting to get the timestamp of the
latest commit when there is no HEAD in the git repository. The easiest
way to trigger this condition is to use the 'subdir=' option when
specifying a 'git://' SRC_URI.

(From OE-Core rev: a64caca5b5dbe4a76acd0b5709b2c3e75b245863)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Joshua Watt
ebb40b027c classes/reproducible: Move to library code
Moves most of the python code used for dealing with the source date
epoch to library code.

(From OE-Core rev: a7ede90955bc0c8bec1cbb3cab498ef2583b2f4e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Richard Purdie
8010b0d82b oeqa/qemurunner: Add priority/nice information for running processes
We're seeing failures due to system load. In theory we've set process
nice levels which should compensate for this. Add debugging so we can
find out if they're being correctly applied.

(From OE-Core rev: 1e4e345bba8216b9b5623682206a7dae7cad261c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Richard Purdie
4a523ac32b pseudo: Update to add OFC fcntl lock updates
This adds in support for the OFC fcntl ioctl lock flags, removing
warnings on some more recent linux kernels.

(From OE-Core rev: 234168f803bee2e5b0955aabaddb1d967349fb82)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
He Zhe
0e7a5c04b3 cryptodev-module: Backport a patch to fix build failure with kernel v5.8
Fix the following build failure with linux-yocto-dev

zc.c:61:17: error: 'struct mm_struct' has no member named 'mmap_sem';
did you mean 'mmap_base'?
   61 |  down_read(&mm->mmap_sem);
      |                 ^~~~~~~~
      |                 mmap_base
zc.c:77:15: error: 'struct mm_struct' has no member named 'mmap_sem';
did you mean 'mmap_base'?
   77 |  up_read(&mm->mmap_sem);
      |               ^~~~~~~~
      |               mmap_base

(From OE-Core rev: fe668065ad7ec83aadfa36fe6ba1ced3db2e3cad)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
Yi Zhao
fd1cf90e5d bind: upgrade 9.11.19 -> 9.11.21
(From OE-Core rev: c6749532f94f435e6771d66d3fa225e676753478)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-22 12:45:56 +01:00
akuster
080ce75c7b glibc: whitelist CVE-2010-10029
The update via Commit https://git.openembedded.org/openembedded-core/commit/meta/recipes-core/glibc?id=2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1

should have added the whitelist for this CVE removed

(From OE-Core rev: 213ac2d345ec6d4ef0daf7a7d8237038a914c491)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-21 17:00:14 +01:00
Richard Purdie
acce65abb9 bitbake: build: Allow deltask to take multiple tasknames
deltask currently supports only one task to delete but it would be useful
if it could support a variable which gets expanded to allow flexibility
in the metadata.

This is simple to support in bitbake and is how other directives such
as inherit operate so adjust the parser/code to handle that. It means
that syntax like:

EXTRA_NOPACKAGE_DELTASKS = ""
deltask ${EXTRA_NOPACKAGE_DELTASKS}

is now allowed.

(Bitbake rev: 883d926120833c85a16dcf60425dd7af7699046a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-21 16:57:43 +01:00
Richard Purdie
0aff94023f bitbake: cooker: Fix unmatched files handling leading to misleading warnings
Currently if all recipes in a layer are skipped, there are warnings that the
BBFILE_PATTERN_ entry didn't match anything. We probably shouldn't do this
for skipped recipes.

The current code is hard to understand, not least as it passes variables
which functions modify by reference rather than giving a return value.

Update calc_bbfile_priority() to return values rather than modifying them.
Refactor the code to try and make it clearer what its doing and fix the
skipped recipe issue by passing in the list of parsed files.

The function is complicated by the need to not rerun regex matching more
than we ever have to which complicates the flow, it would be easier if we
just reran operations multiple times.

(Bitbake rev: 969cb27b4d978551817612ff4558bec81cfb655c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-21 16:57:43 +01:00
Richard Purdie
cc985986f9 bitbake: server/process: Fix note reference -> info
Its bb.note or logger.info, this avoids a backtrace.

(Bitbake rev: 82c534ca1a1313de067b0d79c79857e89fa2764a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-21 16:57:43 +01:00
Bruce Ashfield
60d3f65d1c kernel-devsrc: fix on-target module build for v5.8+
The kernel build is now more sensitive to changing build inputs,
like the compiler, linker, source tree location, versions, file
timestamps, etc.

When a difference is detected, the kernel build invokes a syncconfig
to update/regenerate files as required. That process may prompt, and
hence breaks automated tested and other workflows.

By default, we don't want this to happen so we make sure that auto*
timestamps are newer or equal to the .config timestap, we ensure that
autoconf.h is in the filesystem and that we've substituted the
cross tools used to build the kernel with the names that will be
on the target.

(From OE-Core rev: 532ae127c52c9f7b1d2e4ca5cbca91881d23a2ac)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-20 08:37:38 +01:00
Bruce Ashfield
8cbe99b64f kernel-yocto: account for extracted defconfig in elements check
The test for whether or not scc should to invoked to generate a
config.queue was missing the newly created sccs_defconfig variable.
We need to test for that variable as well, or we may miss generating
the config.queue in some cases.

(From OE-Core rev: 3a95e171d3eaa6ab143d4f422c98a0ac7ad31761)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-20 08:37:38 +01:00
Bruce Ashfield
7f35800bcf linux-yocto-rt/5.4: fix mmdrop stress test issues
Integrating the following commit(s) to linux-yocto/5.4:

    508b4e6ada7f sched: Remove unexpected mmdrop on RT

(From OE-Core rev: 8500665cb8da792bb92a484e286f3935cf85e2b2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-20 08:37:38 +01:00
Bruce Ashfield
637f3478c4 linux-yocto/5.4: update to v5.4.51
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    1c54d3c15afa Linux 5.4.51
    8ba1913cd6ba efi: Make it possible to disable efivar_ssdt entirely
    43986c32ee00 dm zoned: assign max_io_len correctly
    215e562251bb x86/resctrl: Fix memory bandwidth counter width for AMD
    d827fe702e07 mm, compaction: make capture control handling safe wrt interrupts
    64a94c550c44 mm, compaction: fully assume capture is not NULL in compact_zone_order()
    2a9278ac9c55 irqchip/gic: Atomically update affinity
    7ba23593cbc5 dma-buf: Move dma_buf_release() from fops to dentry_ops
    4ae695a05516 drm/amdgpu/atomfirmware: fix vram_info fetching for renoir
    2b8c0876bf71 drm/amdgpu: use %u rather than %d for sclk/mclk
    94de85d16b0c drm/amd/display: Only revalidate bandwidth on medium and fast updates
    032343ed6927 MIPS: Add missing EHB in mtc0 -> mfc0 sequence for DSPen
    2e859b14da39 MIPS: lantiq: xway: sysctrl: fix the GPHY clock alias names
    71a20b798da3 cifs: Fix the target file was deleted when rename failed.
    49dae9bed7dd SMB3: Honor 'handletimeout' flag for multiuser mounts
    7ab27439fec7 SMB3: Honor lease disabling for multiuser mounts
    0d5824aea7a0 SMB3: Honor persistent/resilient handle flags for multiuser mounts
    d56787683c61 SMB3: Honor 'seal' flag for multiuser mounts
    e0ed5a36fb3a Revert "ALSA: usb-audio: Improve frames size computation"
    fe05e114d0fd nfsd: apply umask on fs without ACL support
    4ee7f1d2f1c9 spi: spi-fsl-dspi: Fix external abort on interrupt in resume or exit paths
    9d60af5c3bb3 i2c: mlxcpld: check correct size of maximum RECV_LEN packet
    b460fc9d0525 i2c: algo-pca: Add 0x78 as SCL stuck low status for PCA9665
    a632f91f7a9c samples/vfs: avoid warning in statx override
    cd62eeb31512 nvme: fix a crash in nvme_mpath_add_disk
    c64141c68f72 nvme: fix identify error status silent ignore
    7d3f489e61b6 SMB3: Honor 'posix' flag for multiuser mounts
    8964c93436ad virtio-blk: free vblk-vqs in error path of virtblk_probe()
    f795a88eade5 drm: sun4i: hdmi: Remove extra HPD polling
    c84138b3c162 nfsd: fix nfsdfs inode reference count leak
    2571e1735602 nfsd4: fix nfsdfs reference count loop
    31ec38ec9cd5 thermal/drivers/rcar_gen3: Fix undefined temperature if negative
    a65bde001008 thermal/drivers/mediatek: Fix bank number settings on mt8183
    c9426817eac7 hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_meter_add()
    3e7bd7e10639 hwmon: (max6697) Make sure the OVERT mask is set correctly
    0465f54c5cc4 cxgb4: fix SGE queue dump destination buffer context
    6bcb00d08361 cxgb4: use correct type for all-mask IP address comparison
    f68bda772639 cxgb4: fix endian conversions for L4 ports in filters
    180fbf10a26d cxgb4: parse TC-U32 key values and masks natively
    0dc4dd433b94 cxgb4: use unaligned conversion for fetching timestamp
    8a1b8e64204e RDMA/counter: Query a counter before release
    53e9b62672f7 rxrpc: Fix afs large storage transmission performance drop
    60d7de28e0ca drm/msm/dpu: fix error return code in dpu_encoder_init
    cc0f67835302 crypto: af_alg - fix use-after-free in af_alg_accept() due to bh_lock_sock()
    5d6b46a94dbb tpm: Fix TIS locality timeout problems
    563e9491f0a3 selftests: tpm: Use /bin/sh instead of /bin/bash
    1f98a9ed5799 kgdb: Avoid suspicious RCU usage warning
    e6b2e3b5e16e nvme-multipath: fix bogus request queue reference put
    5e9523d7e8cd nvme-multipath: fix deadlock due to head->lock
    ad69fbe1d262 nvme-multipath: fix deadlock between ana_work and scan_work
    c4f007d3dbdd nvme-multipath: set bdi capabilities once
    8f4aa3a6de24 s390/debug: avoid kernel warning on too large number of pages
    517326aaf41e tools lib traceevent: Handle __attribute__((user)) in field names
    6f3b8c269d88 tools lib traceevent: Add append() function helper for appending strings
    3dca0a299ff4 usb: usbtest: fix missing kfree(dev->buf) in usbtest_disconnect
    0ff5b1b50d5c rxrpc: Fix race between incoming ACK parser and retransmitter
    fe688b144c14 mm/slub: fix stack overruns with SLUB_STATS
    f459e8fc7c69 mm/slub.c: fix corrupted freechain in deactivate_slab()
    542d541c1edd sched/debug: Make sd->flags sysctl read-only
    ab9ee18f4646 usbnet: smsc95xx: Fix use-after-free after removal
    58ab86e58b55 EDAC/amd64: Read back the scrub rate PCI register on F15h
    d0e533584a05 mm: fix swap cache node allocation mask
    1c4404efcf2c io_uring: make sure async workqueue is canceled on exit

(From OE-Core rev: 60ee8b2bc14af7bf5b69d00c5d6293f09125407c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-20 08:37:38 +01:00
akuster
c035205ef6 ref-system-requirements: update supported hosts lists
drop Ubuntu 19, Fedora 28 & 29
Add: Fedora 31, 32 , Centos 8 and Ubuntu 20

(From yocto-docs rev: 08e25f2b2912b8b1102407f5a5f0169e8d5647ff)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-19 16:33:45 +01:00
Robert Yang
9cef5c2bb7 openssl: openssl-bin requires openssl-conf to run
Fixed:
$ dnf install openssl-bin
$ openssl req -new -x509 -keyout lighttpd.pem -out lighttpd.pem -days 365 -nodes -batch
Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory

(From OE-Core rev: e93cd3b83a255294c9ab728adc7e237eb1321dab)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-19 16:20:54 +01:00
Khem Raj
f64869557d musl: Update to latest tip
License-Update: Added copyright for AArch64 memcpy and memset code [1]

Details changelog is here [2]

[1] https://git.musl-libc.org/cgit/musl/commit/?id=fdf8b2ad9c5ae6adf3a91c0043eb898badee46d1
[2] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=fca7428c096066482d8c3f52450810288e27515c..0a005f499cf39822166dd4db3d2d31f0639f1b1b

(From OE-Core rev: d340f02ad2df0a29b1a1cc0b36f2099a3e64f5c2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>

s

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-19 16:20:54 +01:00
Jens Rehsack
400e63bd83 kmod: add packageconfig for xz and ssl
Add the opportunity for kmod (and depmod etc.) to deal with Xz-compressed
kernel modules and handle PKCS7 signatures, if desired.

(From OE-Core rev: 37a62924755761a4df410cbf7c177292249ecdc2)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-19 16:20:53 +01:00
Tanu Kaskinen
f5731d48a5 pulseaudio: improve the Thumb frame pointer fix
By changing the register that PulseAudio uses in its asm code makes it
unnecessary to care whether frame pointers are enabled or not.

This fix was suggested by Andre McCurdy.

(From OE-Core rev: f0a9be4c196c99661cdd18f80bf25281beb04216)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-19 16:20:53 +01:00
Kurt Kiefer
ea5b2d21fa linux-firmware: add ibt-20 package
Add the firmware packaging for Intel Bluetooth AX200, also known
as Intel CyclonePeak (CcP).

(From OE-Core rev: a701625a95ccb15a9db1a50a02143ba1ac8e6f1d)

Signed-off-by: Kurt Kiefer <kurt.kiefer@arthrex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-19 16:20:53 +01:00
Ross Burton
f17b1054cb insane: improve arch test messages
The messages from the ELF 'arch' test are not obvious, clarify the
messages and prune output paths.

(From OE-Core rev: 8211b42f10b0f2a8e415fee680b37b5ce224a2d5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Ross Burton
188bbc647f init-ifupdown: always make machine-specific
We make this recipe machine-specific for all qemu targets, but otherwise
defaults to tune-specific.

However the network configuration is typically machine-specific, so do
this in the recipe directly so that BSPs don't need to do it themselves.

(From OE-Core rev: 02b3e8f43f72d83904272c15c8f15cf03c763c94)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Chen Qi
76826e21ae rpm: fix nativesdk's default var location
For now, the nativesdk-rpm's %_var in /usr/lib/rpm/macros is
'/var'. This is causing error when running `rpm -qplv A.rpm'.

   error: cannot open Packages index using db5 - Permission denied (13)
   error: cannot open Packages database in /var/lib/rpm

The rpm in SDK should be using its own database. So we should remove
this configure option, letting the SDK's native sysroot prefix to be
there in %_var. In fact, '%_usr' in macros has already got the prefix.
After this change, we have in the macros file lines like below.

"""
%_usr                   /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/usr
%_usrsrc                %{_usr}/src
%_var                   /opt/windriver/wrlinux/20.29/sysroots/x86_64-wrlinuxsdk-linux/var
"""

(From OE-Core rev: 13e17930062cb3f816516ba7dbeb70d6da7174dd)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Joshua Watt
cc707aa837 python3-pycryptodome: upgrade 3.9.7 -> 3.9.8
(From OE-Core rev: ed38de1509206508be8798e35217375112a1ee42)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Joshua Watt
9bfeac4971 python3-pycryptodomex: upgrade 3.9.7 -> 3.9.8
(From OE-Core rev: 7dcfa97245a4e9a6f38c731f87b51c2a0235ef94)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Joshua Watt
dac51d26bb diffoscope: upgrade 150 -> 151
* Improvements and bug fixes:

  - Pass the absolute path when extracting members from SquashFS images as we
    run the command with our working directory set to the temporary
    directory. (Closes: #964365, reproducible-builds/diffoscope#189)
  - Increase the minimum length of the output from strings(1) to 8 characters
    to avoid unnecessary diff noise. (Re. reproducible-builds/diffoscope#148)

* Logging improvements:

  - Fix the compare_files message when the file does not have a literal name.
  - Reduce potential log noise by truncating the has_some_content messages.

* Codebase changes:

  - Clarify use of a "null" diff in order to remember an exit code.
  - Don't alias a variable when don't end up it; use "_" instead.
  - Use a  "NullChanges" file to represent missing data in the Debian package
    comparator.
  - Update some miscellaneous terms.

(From OE-Core rev: afbf68ddd20463ec7e584b481af6344482180ce0)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Kamil Dziezyk
cd125ed244 qemu: fix for virtfs configuration error in qemu 5.0.0
Add --enable-cap-ng as virtfs dependency in qemu configuration.
When using meta-virtualization layer, qemu requires virtfs,
but during do_configure stage below error message shows up:

  ERROR: VirtFS requires libcap-ng devel and libattr devel

(From OE-Core rev: 632b83372d74da749ec9c07621a17c5193db9f2b)

Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Ross Burton
bca543d323 nasm: fix build with autoconf 2.70
autoconf 2.70 is coming soon which has some small behavioural fixes, so
backport a patch from upstream to fix the build with that release.

(From OE-Core rev: 954022e97c940239cee1789e4917e1c393dbf3fb)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Ross Burton
bd17c6bade flex: fix build with autoconf 2.70
autoconf 2.70 is coming soon which has some small behavioural fixes, so
backport a patch from upstream to fix the build with that release.

(From OE-Core rev: 946610f2cc8cd42265ee3fab6c73ad4831aaeb4e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Ross Burton
60114299f0 autotools: don't special-case help2man-native for dependencies
help2man-native doesn't need to be handled specially, we can build it
normally or use INHIBIT_AUTOTOOLS_DEPS like everyone else.

(From OE-Core rev: 886e7d08208c8788488f8299786140fd5b61e548)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Naveen Saini
71029a2839 libva-utils: upgrade 2.7.1 -> 2.8.0
(From OE-Core rev: 1ccc2718dde7c9d107f1f1261f5f0853ea16ca2b)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Naveen Saini
2103475505 libva-initial: upgrade 2.7.1 -> 2.8.0
(From OE-Core rev: 6eaed30bfbb05e394f246b2d949583abfeb931f2)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Naveen Saini
c4c299e178 libva: upgrade 2.7.1 -> 2.8.0
Release notes:
https://github.com/intel/libva/releases/tag/2.8.0

(From OE-Core rev: 1a46430f49e25db5d06b3f9ed9b85f8d93c6524f)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
d0bc9cee83 libgcrypt: upgrade 1.8.5 -> 1.8.6
(From OE-Core rev: 260ea206a0729de9c31e8635474188604ef73332)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
16770d5970 webkitgtk: upgrade 2.28.2 -> 2.28.3
(From OE-Core rev: 1e67e325ba620fe91ef11ab2a1029fbbc54b3c69)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
2fe17da211 libevent: upgrade 2.1.11 -> 2.1.12
(From OE-Core rev: cb965ea3f191672c347e91e2ffb2586f119c77db)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
8e62e989f3 mpg123: upgrade 1.26.1 -> 1.26.2
(From OE-Core rev: 774b625384b1a8b6dc6cd2d2677186202e55c562)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
50e1649a32 gnupg: upgrade 2.2.20 -> 2.2.21
(From OE-Core rev: 1aeb32228d92568e90f313a2a027c6790937eb8a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
4b9a86f6fd ffmpeg: upgrade 4.3 -> 4.3.1
(From OE-Core rev: cf6b69a706575a8b877c563a0ae7fba0e77ce144)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
ec4f29aa19 epiphany: upgrade 3.36.2 -> 3.36.3
(From OE-Core rev: e8e08599c82f94a708791323ad08a90fb33715a7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
afd54fb083 stress-ng: upgrade 0.11.14 -> 0.11.15
(From OE-Core rev: e616b6ec11576b092d5b3187e30a2f54e6495417)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
606ae25e3a rpcsvc-proto: upgrade 1.4.1 -> 1.4.2
(From OE-Core rev: 4f7f2749794e5e349415957ac499a44b0b8a6485)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
7d25879ae5 libnsl2: upgrade 1.2.0 -> 1.3.0
(From OE-Core rev: 2e58ae171269b50dd3c165cf8a656fc5b9158d11)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
57c14ed5e5 asciidoc: upgrade 9.0.0 -> 9.0.1
(From OE-Core rev: 1924be825ce4b23499dfd6a9dd7e6c2a90849a9b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
96e8cd0c84 python3-git: upgrade 3.1.3 -> 3.1.7
(From OE-Core rev: 861dc74f78996276ad5b003019c472ab34909774)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
2823d3d144 python3-cython: upgrade 0.29.20 -> 0.29.21
(From OE-Core rev: 7899bbe61963b4f998fcd63c83620751713b8efb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
d5ac587d6c dpkg: upgrade 1.20.0 -> 1.20.5
(From OE-Core rev: 3aa7081ae85b84deb7e3fe49babc48c5d9919dc6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
a5bd13395c mtd-utils: upgrade 2.1.1 -> 2.1.2
Drop backported patch.

(From OE-Core rev: e38fd1ac331d824b2db94a7ae46026b111257e83)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
cd66e5f63a createrepo-c: upgrade 0.15.11 -> 0.16.0
(From OE-Core rev: 72103dee1c9cc2aa31e02c6c69a4b9bd03ee3ea9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
e1a1f58152 init-system-helpers: upgrade 1.57 -> 1.58
(From OE-Core rev: fd0cae10e4b769d80b036ed2325965bdd30d7e09)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:32 +01:00
Richard Purdie
40d9f38efd btrfs-tools: upgrade 5.6.1 -> 5.7
(From OE-Core rev: 982ff5c6e9da1399732a0b0e2d980b1cd25d7ecf)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:31 +01:00
Richard Purdie
722aa138f4 libuv: upgrade 1.38.0 -> 1.38.1
(From OE-Core rev: 4f4a2efcee140cec1c0a34990958f084167e381e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:31 +01:00
akuster
fca05777a4 cve-check.bbclass: always save cve report
The cve-check file should be saved always, it has good info.

Put a copy in the log dir as cve-summary with symlinks to latest run.

[Yocto #13974]

(From OE-Core rev: 859849c7b594d844819ad8c3f7d8325388d94b93)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:31 +01:00
Sakib Sajal
fe08dca6db qemu: fix CVE-2020-13791
(From OE-Core rev: d7b315a69aa9b432ebfa7cb98690ae65e24edc35)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:31 +01:00
Sakib Sajal
11ea0bfdd1 qemu: fix CVE-2020-13800
(From OE-Core rev: 2c5f827b285c465fb6eb1d2aff9ec1f4e56cb202)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:31 +01:00
Sakib Sajal
10e2b84149 qemu: fix CVE-2020-13659
(From OE-Core rev: 1bf0e91512b2c157259ed529d1fc7ea7cdac1889)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:31 +01:00
Sakib Sajal
55b7c62b76 qemu: fix CVE-2020-13362
(From OE-Core rev: 3a95b5a67ce981b8949d9e5067762b7127d15353)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:31 +01:00
Kevin Hao
b617cd5b47 wic/filemap: Fall back to standard copy when no way to get the block map
For some filesystems, such as aufs which may be used by docker container,
don't support either the SEEK_DATA/HOLE or FIEMAP to get the block
map. So add a FileNobmap class to fall back to standard copy when there
is no way to get the block map.

[Yocto #12988]

(From OE-Core rev: 7934ed49179242f15b413c0275040a3bb6b68876)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:31 +01:00
Kevin Hao
2212d938c5 wic/filemap: Drop the unused get_unmapped_ranges()
This method is not used by any code, so drop it.

(From OE-Core rev: 6513fd9302b9989f97fc9d95e76e06ad5d266774)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:31 +01:00
Kevin Hao
9818a04678 wic/filemap: Drop the unused block_is_unmapped()
This method is not used by any code, so drop it.

(From OE-Core rev: fb62a15349597ee026c67a0bb0a6ca2cc9bfe420)

Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:31 +01:00
Ross Burton
5093e5472b perf: add PACKAGECONFIG for CoreSight support
meta-arm has a recipe for OpenCSD, the CoreSight Trace Decoder library,
so add a PACKAGECONFIG so that users can enable the use of CoreSight in
perf builds.

(From OE-Core rev: 2e9c2f054730069554c9102333aa779c214d8b90)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-18 11:06:31 +01:00
Richard Purdie
1336a6af77 mpfr: upgrade 4.0.2 -> 4.1.0
(From OE-Core rev: 15b2c666cbffa8de040561b9d5e70793d147d1e9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-17 08:17:18 +01:00
Joshua Watt
f334384df9 virtual/libgbm is the provider of gbm.pc
Providers of libgbm (including mesa) have move to the "virtual/libgbm"
name to provide this functionality. Update the documentation to prevent
confusion.

(From yocto-docs rev: afc290e85bc801549000a6f6d770e2975a313779)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-16 22:27:44 +01:00
Richard Purdie
ca701cb92d oeqa/utils/qemurunner: Fix missing pid file tracebacks
One element of the error message guarded against None as a value
but I missed the other, fix this.

(From OE-Core rev: dbce6baec68d7658453b8c44159e1d1fef746151)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-14 21:41:39 +01:00
Pierre-Jean Texier
7152db4493 u-boot: upgrade 2020.04 -> 2020.07
See https://lists.denx.de/pipermail/u-boot/2020-July/418797.html

(From OE-Core rev: db6fedd77a1a468ce65f7276bb79b5f0ddf4a0b5)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-14 12:35:43 +01:00
Richard Purdie
b0e2e954f2 bitbake: server/process: Ensure UI-less servers don't sit in infinite loops
If server startup is broken for some reason (e.g. lockfile issues)
and no UI connection is made, the server will just sit inifinitely
waiting.

Add a timeout upon startup in the non-memory resident case so that
such infinite waits are avoided. In the memory resident case, the
server wouldn't have shut down in the first place or will timeout
according to configuration.

Since any race may mean the socket file is no longer present, ensure
the unlink doesn't fault upon exit, thus ensuring any hashequiv or
PRServ is removed from memory, allowing all processes to exit
cleanly in such scenarios.

(Bitbake rev: 39888b750df12478e8bdea6727cca112dce1df85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-13 12:53:22 +01:00
Richard Purdie
71772fbaea qemurunner: Add extra debug info when qemu fails to start
When qemu fails to start we're struggling to work out why. Add more debug
info which can at least confirm/rule out various things.

This code is only on the error handling path and more info shoudl help
us debug issues.

(From OE-Core rev: 3001d0d8f3429e5ff0c37ea7192e85e7001cdb32)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-13 12:53:08 +01:00
Richard Purdie
0c1c6c971d qemurunner: Ensure pid location is deterministic
The pid location could vary due to changes in cwd as only a filename
is specified, not a full path. This in theory could be resulting in
some of our autobuilder failures. Whilst its difficult to know if this
is causing a problem, Using a full path removes any question of such an
issue.

(From OE-Core rev: 55c186ff410c99570242478b99ac24ebc40aa6bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-13 12:53:08 +01:00
Tanu Kaskinen
8ea47abf69 alsa-lib: upgrade 1.2.3.1 -> 1.2.3.2
Changelog:
https://www.alsa-project.org/wiki/Changes_v1.2.3.1_v1.2.3.2

(From OE-Core rev: 868af77c38f892bf1525d69d8815aa69961c445e)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 22:39:41 +01:00
Changqing Li
2aad399f3c dpkg: change SRC_URI to take dpkg from git
tar.xz on original URL have been removed, switch to use git

(From OE-Core rev: b8173a9a5c8bfbfa30bbf066cfbcb1c0eba1b98d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 22:39:41 +01:00
Tim Orling
e25b982000 scripts/lib/recipetool/create.py: fix regex strings
Python now expects regex strings to be prepended with r.
Silence pylint/autopep8 and similar warnings by identifying
these regex patterns as... regex patterns.

(From OE-Core rev: 0eae98a369d80340e48dc690d09a1364cde97973)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 22:39:41 +01:00
Tim Orling
c9ba6e7bfe lib/oe/recipeutils.py: add AUTHOR; BBCLASSEXTEND
If you try to create a plugin for recipetool that
adds the AUTHOR field, it is impossible to put it
in the recommended position [1] without adding to the
recipe_progression variable.

While we are at it, also add BBCLASSEXTEND at the
end, as also recommended by [1].

[1] http://www.openembedded.org/wiki/Styleguide

(From OE-Core rev: d687c5b7b10b3decdd80d5c2fd61072a87f061f2)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 22:39:41 +01:00
Taras Kondratiuk
056dc6edbc nfs-utils: use rpcgen tool from HOSTTOOLS_DIR
nfs-utils configure searches for rpcgen tool only in default locations:
"/usr/local/bin/rpcgen /usr/bin/rpcgen /bin/rpcgen".
On some of our build machines the rpcgen is not present there and
configure fails:
| configure: error: Please install rpcgen or use --with-rpcgen

HOSTTOOLS_DIR already contains a correct pointer to host rpcgen tool, so
use it from there.

(From OE-Core rev: 2e0b4c99f5d49c84a3a2992fb686d27693f3d8c6)

Signed-off-by: Taras Kondratiuk <takondra@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 22:39:41 +01:00
Richard Purdie
ab8ebfd35a bitbake: server/process: Fix a rare lockfile race
We're seeing rare occasional races on the autobuilder as if two server
processes have the lockfile at the same time. We need to be extremely
careful this does not happen.

I think there is a potential race in this shutdown code since we delete
the lockfile, then call unlockfile() which also tries to delete it.

This means we may remove a lock file now held by another process if we're
unlucky. Since unlockfile removes the lockfile when it can, just rely on
that and remove any possible race window.

An example cooker-deamonlog:

 --- Starting bitbake server pid 2266 at 2020-07-11 06:17:18.210777 ---
Started bitbake server pid 2266
Entering server connection loop
Accepting [<socket.socket fd=20, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ([])
Processing Client
Connecting Client
Running command ['setFeatures', [2]]
Running command ['updateConfig', XXX]
Running command ['getVariable', 'BBINCLUDELOGS']
Running command ['getVariable', 'BBINCLUDELOGS_LINES']
Running command ['getSetVariable', 'BB_CONSOLELOG']
Running command ['getSetVariable', 'BB_LOGCONFIG']
Running command ['getUIHandlerNum']
Running command ['setEventMask', XXXX]
Running command ['getVariable', 'BB_DEFAULT_TASK']
Running command ['setConfig', 'cmd', 'build']
Running command ['getVariable', 'BBTARGETS']
Running command ['parseFiles']
 --- Starting bitbake server pid 8252 at 2020-07-11 06:17:28.584514 ---
Started bitbake server pid 8252
 --- Starting bitbake server pid 13278 at 2020-07-11 06:17:31.330635 ---
Started bitbake server pid 13278
Running command ['dataStoreConnectorCmd', 0, 'getVar', ('BBMULTICONFIG',), {}]
Running command ['getRecipes', '']
Running command ['clientComplete']
Processing Client
Disconnecting Client
No timeout, exiting.
Exiting

where it looks like there are two server processes running which should not be.
In that build there was a process left sitting in memory with its bitbake.sock file
missing but holding the lock (not sure why it wouldn't timeout/exit).

(Bitbake rev: e1a7c1821483031b224a1570bfe834da755219cc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 22:38:34 +01:00
Douglas
6a6b16b2c2 nativesdk: Set the CXXFLAGS to the BUILDSDK_CXXFLAGS
... which default to the BUILDSDK_CFLAGS in any case.

(From OE-Core rev: 9b4bf667bac49131cee382f2f346fc054d5f28b9)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Douglas
30f401ab66 nativesdk: clear MACHINE_FEATURES
Further to 96c20c9df7:
Try to avoid nativesdk recipes accidentally being dependent on MACHINE_FEATURES.

(From OE-Core rev: 956e5bd6862ca898143a234aa85cc83b1f2d1807)

Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Yongxin Liu
0bdb50b4d0 linux-firmware: move ibt-misc to the end of ibt packages
After commit 3ca1d3fa1d ("linux-firmware: fix the wrong file
path for ibt-misc"), if we don't change the location of ibt-misc
in PACKAGES, ibt-misc will include all ibt files and make other
individual ibt package empty.

(From OE-Core rev: b3a5403a9e5d0085d7b2f97a2e44b74a54c84d3f)

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Khem Raj
bfc0e7ef0e go-dep: Fix build on riscv64
Bring in only patch from meta-riscv here

(From OE-Core rev: 2e6e7b0be6e5ba5ab8fe9478c1dfdd530d22123f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Rasmus Villemoes
329665d68b cml1: Move find_cfgs() helper to cml1.bbclass
u-boot.inc and busybox.inc contain identical copies of this little
helper. They both inherit the cml1 class and use cml1_do_configure
right after having used this helper, and other recipes that want to
write similar logic for doing Kconfig via fragments will also need it
or something equivalent.

(From OE-Core rev: af687c9137a3e8efe48afa6fd12866cf656ae913)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Konrad Weihmann
2c53213a1b ptest: append to FILES
as ptest FILES could be determined before or after the classes was
inherited, if is much safer to append to the setting of
FILES_${PN}-ptest

(From OE-Core rev: 419ad35ffe7f5199e49a246ef9854f0810ca1d6c)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Arthur She
ddbbacb2b8 igt-gpu-tools: Add PACKAGECONFIG for Chamelium support
Chamelium is a hardware device that can be used for external display
test automation [1].
It is disabled by default and can be turned on through PACKAGECONFIG.

[1] https://www.chromium.org/chromium-os/testing/chamelium

(From OE-Core rev: 35daa5c7c7ff317b625c463dd666f46e1dbb81a2)

Signed-off-by: Arthur She <arthur.she@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Khem Raj
192d6e9b47 go: Disbale CGO for riscv64
cgo is still not available in go for riscv64, we will re-evaluate it
once we upgrade to 1.15

Fixes
| /usr/src/debug/go-runtime/1.14.4-r0/go/src/runtime/cgo/gcc_util.c:23: undefined reference to `_cgo_sys_thread_start'

[YOCTO #13966]

(From OE-Core rev: f512b3308ed6ee878c77f72b9235ada83d107dba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Charlie Davies
b9513b8386 u-boot: fix condition to allow use of *.cfg
U-boot recipe supports .cfg files in SRC_URI, but bug in conditional
statement meant that the code was unreachable and the .cfg files
were never applied.

(From OE-Core rev: 766f827df4c3f76b1ef06acaba3c4f160c3791aa)

Signed-off-by: Charlie Davies <charles.davies@whitetree.xyz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Mingli Yu
9e856a0a1a python3: define a profile directory path
After ccache upgrade to 3.7.10, there comes below error when
enable ccache to build python3 and check [1] and [2] for more
details.
 | Python-3.8.3/Modules/_contextvarsmodule.c:43:1: error: source locations for function 'PyInit__contextvars' have changed, the profile data may be out of date [-Werror=coverage-mismatch]

That's because the logic for profile directory changes a little in
[3] after ccache upgrades to 3.7.10.

So define a profile directory path accordingly to fix the above error.

[1] https://github.com/ccache/ccache/issues/615
[2] https://lists.openembedded.org/g/openembedded-core/topic/75170448#140065
[3] 91a2954eb4

(From OE-Core rev: 0000d30fb82aafa5064051502a927c5fc447b63b)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Jens Rehsack
30a1502c5a serf: extend for nativesdk
As an unconditionally dependency of subversion, extend serf recipe for
building a nativesdk variant being usable by nativesdk-subversion.

(From OE-Core rev: ff731a25a49c768f04a474438efccb3bb505a898)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Jens Rehsack
9108fbe944 subversion: extend for nativesdk
For SDK environments where people still use subversion, let it easily being
added to buildtools-tarball to invite more developers relying on Yocto
based SDKs without much requirement to setup anything on the development
workplace.

(From OE-Core rev: 586a15b76f879f49c5224116cbf506b7ccf96cd2)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Richard Purdie
05aabd3744 oeqa/selftest/sstatetests: Avoid polluting DL_DIR
Every selftest run is currently polluting the autobuilder DL_DIR. Avoid
this by using a temporary directory for the test which is cleaned up.

(From OE-Core rev: 002d321e02b3ce4f34c8a54211b109a5416c8a0e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Christian Eggers
5295524a4c util-linux: Set license for library sub packages
- libblkid is exclusively licensed under LGPL-2.1+ (libblkid/COPYING)
- libfdisk is exclusively licensed under LGPL-2.1+ (libfdisk/COPYING)
- libmount is exclusively licensed under LGPL-2.1+ (libmount/COPYING)
- libsmartcols is exclusively licensed under LGPL-2.1+
(libsmartcols/COPYING)
- libuuid is exclusively licensed under BSD-3-Clause (libuuid/COPYING)

(From OE-Core rev: d5f0b4be44e082a1b05b17403b21f89ad4b1b615)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Christian Eggers
2e18f8f818 avahi: Fix typo in recipe
According to the PACKAGES variable, LICENSE_avahi-client is misspelled.
Additionally, the libavahi-client package actually only includes
LGPLv2.1+ software (as opposed to the global LICENSE variable).

(From OE-Core rev: d8837b4735b5e96ae0f5542319e711dbda8c3849)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Lee Chee Yang
bc95820cd6 bison: fix Argument list too long error
fix Argument list too long error when len(TMPDIR) = 410

(From OE-Core rev: 73f05ba58dcee57e25712f9aee97535d9a32c982)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
zhengruoqin
ca7423ec13 gnutls: Fix krb5 code license to GPLv2.1+ to match the LICENSE file.
This was discussed and accepted upstream by the project so their license is consistent.
Please reference to https://gitlab.com/gnutls/gnutls/-/issues/1018
and https://gitlab.com/gnutls/gnutls/-/merge_requests/1285.

(From OE-Core rev: 267d07301c79c24969c169add05284f612c41d77)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:48 +01:00
Yongxin Liu
8f02ab6316 linux-firmware: fix the wrong file path for ibt-misc
(From OE-Core rev: 7c1470ea6e337dc1d1e320d33267f06584e9752d)

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:47 +01:00
Wang Mingyu
43b35e6f40 libvorbis: upgrade 1.3.6 -> 1.3.7
CVE-2017-14160.patch
CVE-2018-10392.patch
removed since they are included in 1.3.7

-License-Update: Copyright year updated to 2020.

license text: URL of Xiph.Org Foundation changed to https://xiph.org/

(From OE-Core rev: 75f97f7f8a9a8b4c029f9fbfe1d1c3a43f6ebb4b)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:47 +01:00
Wang Mingyu
cacbafa975 glib-2.0: upgrade 2.64.3 -> 2.64.4
(From OE-Core rev: 42a809829c434460f6f838d5c56ef93a14eeef0c)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:47 +01:00
Wang Mingyu
335256a995 fribidi: upgrade 1.0.9 -> 1.0.10
(From OE-Core rev: e2c1c7ac343137f9679a33a455d08f1849b5f4f6)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:47 +01:00
Wang Mingyu
23da022041 dbus: upgrade 1.12.18 -> 1.12.20
(From OE-Core rev: bfaef91e77cd54e4f642e966903aac3f3291c325)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:47 +01:00
Ross Burton
9188716103 insane: consolidate skipping of temporary do_package files
During the course of do_package_rpm and friends the tools create a
top-level CONTROL or DEBIAN directory in the package directory.
do_package_qa needs to be aware of these files and ignore them, this was
previously done in just one check but instead should be done once when
building the file list so all the checks don't see the temporary files.

[ YOCTO #13804 ]

(From OE-Core rev: 4b2f45c47a5c8c800626f12c14f216a5ab923512)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 12:21:47 +01:00
Konrad Weihmann
75c3ab048b bitbake: pyshyacc: allow double COMMA statements
this allows shell statements like '; ;' to pass the parser.
As it may be bad code but still valid enough to execute

(Bitbake rev: b7732b1b5085bea73e17d112e1bd9ac3d4dc34fb)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 11:53:00 +01:00
Richard Purdie
61931d14df bitbake: fetch2: Change git fetcher not to destroy old references
It looks like we're about to see a lot of changes in branch names in repos. If
we have the prune option here, those old names are lost, the changes propagate
to our source mirrors and our old releases break.

We have the force option so any replaced references should be replaced, its only
orphaned branches which will now be preserved.

I believe this behaviour will cause us fewer problems given the changes that
look likely to happen.

(Bitbake rev: 820ab886e79eea516560c0c008e4cf059c6e11a3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-12 11:53:00 +01:00
Richard Purdie
968fcf4989 bitbake: server/process: Increase timeout for commands
We're running into this timeout on loaded autobuilders in situations
where things should otherwise succeed. Log a note in these
cases and continue to try for longer.

(Bitbake rev: e567743e70f426786ae54dcb5ab550748d9266e4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 12:12:45 +01:00
Chris Laplante
ae79d6ecc6 bitbake: ui/teamcity: don't use removed logging classes
Allows the TeamCity frontend to be used again.

(Bitbake rev: c5477ba79fcad4a887808dd0df9cfe3554e2c17a)

Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 12:12:45 +01:00
Chris Laplante
92f256dc56 bitbake: contrib/vim: synchronize from kergoth/vim-bitbake rev 4225ee8b4818d7e4696520567216a3a031c26f7d
(Bitbake rev: 24fb1f2fee449589b0c5468cbdebe9a6ffaac932)

Signed-off-by: Chris Laplante <mostthingsweb@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 12:12:45 +01:00
Christian Eggers
f3cb1662ca libnl: Extend for native/nativesdk
libnl is required by networkmanager.

(From OE-Core rev: b3c96103a5063eeefb0c537227eab3f77616b9c0)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:56:16 +01:00
Richard Purdie
f1fed5cd38 adwaita-icon-theme: Add missing license files to LIC_FILES_CHKSUM
The sources have a couple of COPYING files which should be listed
in the license checksum entry so the full license terms are included
in license handling code.

(From OE-Core rev: 69952e24bed2629fe902d26aec32be7f6396216d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:13 +01:00
Richard Purdie
0dae63359e spdx: Remove the class as its obsolete
The project is a strong supporter of SPDX but this class is old code using
a dated approach which now misleads people. Remove it.

The meta-sdpxscanner layer is a much more modern and active approach to
handling this and we should be pointing people there.

(From OE-Core rev: 871599bf76b3fb635efd416340803f7bf3341f7e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Bjarne Michelsen
5c2381f9eb devtool: default to empty string, if LIC_FILES_CHKSUM is not available
[Bug 13971] https://bugzilla.yoctoproject.org/show_bug.cgi?id=13971

A recipe using LICENSE=CLOSED would normally not have LIC_FILES_CHKSUM
set.
If LIC_FILES_CHKSUM was not set, it would cause `devtool upgrade` to fail.

This fixes the issue by defaulting to an empty string if
LIC_FILES_CHKSUM is not found.

[YOCTO #13971]

(From OE-Core rev: 95e112f0f465868e98285509ea0d1a624a439ac2)

Signed-off-by: Bjarne Michelsen <bjarne_michelsen@hotmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Hannu Lounento
cd80b0e52e openssl: move ${libdir}/[...]/openssl.cnf to ${PN}-conf
Some openssl command line operations like creating an X.509 CSR require
the file /usr/lib/ssl-1.1/openssl.cnf to exist and fail if it doesn't

    root@qemux86-64:~# openssl req -out my.csr -new -newkey rsa:2048 -nodes -keyout my.key
    Can't open /usr/lib/ssl-1.1/openssl.cnf for reading, No such file or directory
    140289168594176:error:02001002:system library:fopen:No such file or directory:../openssl-1.1.1g/crypto/bio/bss_file.c:69:fopen('/usr/lib/ssl-1.1/openssl.cnf','r')
    140289168594176:error:2006D080:BIO routines:BIO_new_file:no such file:../openssl-1.1.1g/crypto/bio/bss_file.c:76:

which is the case e.g. in core-image-minimal with just the
package openssl-bin added to the image by declaring

    IMAGE_INSTALL_append = " openssl-bin"

e.g. in local.conf.

The file did not exist in the aforementioned image / configuration
because it was packaged to the main openssl package

    FILES_${PN} =+ "${libdir}/ssl-1.1/*"

(there is no other FILES specification that would match the file either)
and

    path/to/poky/build$ rpm --query --package --list tmp/deploy/rpm/core2_64/openssl-1.1.1g-r0.core2_64.rpm
    [...]
    /usr/lib/ssl-1.1/openssl.cnf
    [...]

Hence move /usr/lib/ssl-1.1/openssl.cnf (and openssl.cnf.dist as it
seems closely related) to the ${PN}-conf package to have it installed
with ${PN}-bin, which already (indirectly) depends on ${PN}-conf.

Note that the openssl recipe has the comment

    Add the openssl.cnf file to the openssl-conf package. Make the libcrypto
    package RRECOMMENDS on this package. This will enable the configuration
    file to be installed for both the openssl-bin package and the libcrypto
    package since the openssl-bin package depends on the libcrypto package.

but openssl-conf only contained /etc/ssl/openssl.cnf

    path/to/poky/build$ rpm --query --package --list tmp/deploy/rpm/core2_64/openssl-conf-1.1.1g-r0.core2_64.rpm
    /etc
    /etc/ssl
    /etc/ssl/openssl.cnf

/usr/lib/ssl-1.1/openssl.cnf is actually only a symlink that points to
../../../etc/ssl/openssl.cnf.

Other files and directories in /usr/lib/ssl-1.1/ were considered as well
because they seem to be configuration files and / or related to
(symlinks pointing to) /etc. They were not moved though, because based
on our use case and testing moving the openssl.cnf symlink is sufficient
for fixing the immediate problem and we lack knowledge about the other
files in order to make a decision to change their packaging.

(From OE-Core rev: c1632d7041fe0c18ec61abfa79a9c025af43c033)

Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Timon Ulrich
41bb61d8f1 kernel.bbclass: make dependency on lzop-native conditional
a native lzop is only needed when an lzo compressed initramfs is actually present

(From OE-Core rev: 1217ddf070261c5fe523729b2a833bd38f1e4ccd)

Signed-off-by: Timon Ulrich <t.ulrich@anapur.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Rasmus Villemoes
5960232462 coreutils: don't split stdbuf to own package with single-binary
Commit 992cec44 (coreutils: Move stdbuf into an own package
coreutils-stdbuf) breaks package-qa when the single-binary
PACKAGECONFIG is used:

ERROR: coreutils-8.32-r0 do_package_qa: QA Issue: /usr/bin/stdbuf contained in package coreutils-stdbuf requires /usr/bin/coreutils, but no providers found in RDEPENDS_coreutils-stdbuf? [file-rdeps]
ERROR: coreutils-8.32-r0 do_package_qa: QA run found fatal errors. Please consider fixing them.

With that PACKAGECONFIG, /usr/bin/stdbuf is just a simple "script"
containing the single line

  #!/usr/bin/coreutils --coreutils-prog-shebang=stdbuf

Since there's no point splitting stdbuf to its own package when all
the functionality is in the single big coreutils binary anyway, fix
this by not creating the separate stdbuf package for the single-binary
case. But also make sure that the coreutils-stdbuf item always exists
so recipes can always RDEPEND on coreutils-stdbuf.

(From OE-Core rev: 74d24b5b895198898944260136d05e991a203c11)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Rahul Kumar
90e8954c0d bzip2: Add test suite for bzip2
Source: git://sourceware.org/git/bzip2-tests.git
Type: Enhancement
Description:
bzip2 now has a test suite available at git://sourceware.org/git/bzip2-tests.git.

This is a collection of "interesting" .bz2 files that can be used to
test bzip2 works correctly. They come from different projects.

Some files are deliberately bad, and are use to see how bzip2 handles
corrupt files. They are explicitly not intended to decompress correctly,
but to catch errors in bzip2 trying to deal with deliberately bad data.
All such files have a name ending in .bz2.bad.

All non-bad files end in bz2. And should come with a .md5 file for
the original input file. The .md5 file is used to check that bzip2
could correctly decompress the file. The original (non-compressed)
files are deliberately not checked in.

It will by default test with the command 'bzip2', running under
valgrind (if installed on the system).

For each .bz2 file found it is decompressed, recompressed and
decompressed again. Once with the default bzip2 settings and
once in --small (-s) mode.

For each .bz2.bad file decompression is tried twice also. In
default mode and small mode. The bzip2 binary is expected to
return either 1 or 2 as exit status. Any other exit code is
interpreted as failure.

License:
   In bzip2-tests source code Each directory should contain a README
   file explaining where the .bz2 files originally came from.
   Plus a reference to the (Free Software) license that the project
   files were distributed under.

Test Summery:
   On qemux86-64/kvm the ptest results with extra filesystem space (atleast 114688) are:

TOTAL:      396
PASS:       396
SKIP:       0
XFAIL:      0
FAIL:       0
XPASS:      0
ERROR:      0

All tests passed
DURATION: 517

[YOCTO #13444]

(From OE-Core rev: 968529b484265b577e8b8130caef448a8a9d8b68)

Signed-off-by: Rahul Kumar <rahulk@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Bruce Ashfield
d5b3335c59 lttng-modules: bump devupstream to v2.12.1+
To build against the v5.8-rc kernels, we need to pickup the latest
lttng-modules commits.

Bumping the devupstream version and SRCREV to do just that.  Validated
against v5.8-rc4.

(From OE-Core rev: f743dfdb8f4b826bf64935720418cc30566b97ac)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Bruce Ashfield
c4a0386202 linux-yocto-dev: bump to 5.8-rc
(From OE-Core rev: ffc53701bb30d4f162934866c62014447e7b4871)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Bruce Ashfield
5fe3c5e683 linux-yocto/5.4: update to v5.4.50
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    e75220890bf6 Linux 5.4.50
    a160afebd779 Revert "tty: hvc: Fix data abort due to race in hvc_open"
    ffd40b7962d4 xfs: add agf freeblocks verify in xfs_agf_verify
    cc66553004f4 dm writecache: add cond_resched to loop in persistent_memory_claim()
    a51e71cbf6e6 dm writecache: correct uncommitted_block when discarding uncommitted entry
    de1d70dad6f2 xprtrdma: Fix handling of RDMA_ERROR replies
    4d35ca872ac3 NFSv4 fix CLOSE not waiting for direct IO compeletion
    02917bef8f1b pNFS/flexfiles: Fix list corruption if the mirror count changes
    7b99577ff376 SUNRPC: Properly set the @subbuf parameter of xdr_buf_subsegment()
    c27d205baa82 sunrpc: fixed rollback in rpc_gssd_dummy_populate()
    60bdb51d44fa Staging: rtl8723bs: prevent buffer overflow in update_sta_support_rate()
    c6f88afa6ae1 drm/amdgpu: add fw release for sdma v5_0
    05124abe1fb0 drm/radeon: fix fb_div check in ni_init_smc_spll_table()
    834a3aa2ceb4 drm: rcar-du: Fix build error
    176a3c488476 drm/amd: fix potential memleak in err branch
    0b3cc973f16f ring-buffer: Zero out time extend if it is nested and not absolute
    9a59a88b3d31 tracing: Fix event trigger to accept redundant spaces
    c036eb65fdfc arm64: dts: imx8mn-ddr4-evk: correct ldo1/ldo2 voltage range
    90bd9c611f21 arm64: dts: imx8mm-evk: correct ldo1/ldo2 voltage range
    73f79b420bd0 arm64: perf: Report the PC value in REGS_ABI_32 mode
    7a9e3e25a9d2 mm/memcontrol.c: add missed css_put()
    ff6aff13a8cf ocfs2: fix panic on nfs server over ocfs2
    a8d82ebaee97 ocfs2: fix value of OCFS2_INVALID_SLOT
    4685df862c8b ocfs2: load global_inode_alloc
    7fa716a594a6 ocfs2: avoid inode removal while nfsd is accessing it
    fbca1aee1397 mm/slab: use memzero_explicit() in kzfree()
    a79c3a99ac81 btrfs: fix failure of RWF_NOWAIT write into prealloc extent beyond eof
    863a197f7f10 btrfs: check if a log root exists before locking the log_mutex on unlink
    53a081661047 btrfs: fix data block group relocation failure due to concurrent scrub
    0a4dfc69ea7e btrfs: fix bytes_may_use underflow when running balance and scrub in parallel
    df13086490db x86/asm/64: Align start of __clear_user() loop to 16-bytes
    3ceaf206b706 x86/cpu: Use pinning mask for CR4 bits needing to be 0
    96a80133559f KVM: VMX: Stop context switching MSR_IA32_UMWAIT_CONTROL
    8ccc6ac51eac KVM: nVMX: Plumb L2 GPA through to PML emulation
    5774f9fa563b KVM: X86: Fix MSR range of APIC registers in X2APIC mode
    0236040fcf97 erofs: fix partially uninitialized misuse in z_erofs_onlinepage_fixup
    824d0b6225f3 ACPI: configfs: Disallow loading ACPI tables when locked down
    3c4f9a5541bb ACPI: sysfs: Fix pm_profile_attr type
    6ee4d61403d2 ALSA: hda/realtek: Add mute LED and micmute LED support for HP systems
    1a1bc3ae6935 ALSA: hda/realtek - Add quirk for MSI GE63 laptop
    0211e0d7f185 ALSA: hda: Add NVIDIA codec IDs 9a & 9d through a0 to patch table
    f06a6294e113 RISC-V: Don't allow write+exec only page mapping request in mmap
    26b0956cb374 block: update hctx map when use multiple maps
    72647ea37700 blktrace: break out of blktrace setup on concurrent calls
    d14eb5d8f0f4 kprobes: Suppress the suspicious RCU warning on kprobes
    8ed391a3dbc4 recordmcount: support >64k sections
    803d114e8f19 kbuild: improve cc-option to clean up all temporary files
    cbed4eb0a92f arm64: sve: Fix build failure when ARM64_SVE=y and SYSCTL=n
    a9a3b33b20aa s390/vdso: fix vDSO clock_getres()
    68a3cbc44660 s390/vdso: Use $(LD) instead of $(CC) to link vDSO
    7c17909a889d s390/ptrace: fix setting syscall number
    64f7b10a91a4 s390/ptrace: pass invalid syscall numbers to tracing
    453cfe187723 pinctrl: tegra: Use noirq suspend/resume callbacks
    7851257375ae pinctrl: qcom: spmi-gpio: fix warning about irq chip reusage
    8dba9173a37a test_objagg: Fix potential memory leak in error handling
    6fd916e24935 net: alx: fix race condition in alx_remove
    855dbf10c9a7 ibmvnic: Harden device login requests
    07b8b2d46371 hwrng: ks-sa - Fix runtime PM imbalance on error
    b8403f7e45e5 riscv/atomic: Fix sign extension for RV64I
    81616542adcc drm/amd/display: Use kfree() to free rgb_user in calculate_user_regamma_ramp()
    f7f181582f1b ata/libata: Fix usage of page address by page_address in ata_scsi_mode_select_xlat function
    4dfc238a2441 sata_rcar: handle pm_runtime_get_sync failure cases
    83bdf7f8b712 sched/core: Fix PI boosting between RT and DEADLINE tasks
    3dc7138943b1 sched/deadline: Initialize ->dl_boosted
    bfd4981fe3d6 afs: Fix storage of cell names
    5cee9e67596f i2c: core: check returned size of emulated smbus block read
    4a6e6413059e i2c: fsi: Fix the port number field in status register
    0935afc39797 clk: sifive: allocate sufficient memory for struct __prci_data
    b78bae5ab399 net: bcmgenet: use hardware padding of runt frames
    ae6d80f62c73 netfilter: ipset: fix unaligned atomic access
    8d93603bf60c nvme: don't protect ns mutation with ns->head->lock
    f9dc5e708ab8 usb: renesas_usbhs: getting residue from callback_result
    56ee0ed97df5 usb: gadget: udc: Potential Oops in error handling code
    a3a86515d017 scsi: lpfc: Avoid another null dereference in lpfc_sli4_hba_unset()
    1e812023f478 ARM: imx5: add missing put_device() call in imx_suspend_alloc_ocram()
    61f488765dff cxgb4: move handling L2T ARP failures to caller
    065f225ef975 net: qede: fix use-after-free on recovery and AER handling
    f490e70fa7eb net: qede: fix PTP initialization on recovery
    7180c8fc4a03 net: qed: fix excessive QM ILT lines consumption
    32cf4ff4ec52 net: qed: fix NVMe login fails over VFs
    d0717a95a06b net: qede: stop adding events on an already destroyed workqueue
    164d9a15652f net: qed: fix async event callbacks unregistering
    5cf7f0c68405 net: qed: fix left elements count calculation
    33104571648b iommu/vt-d: Update scalable mode paging structure coherency
    ede796e5ac87 iommu/vt-d: Enable PCI ACS for platform opt in hint
    67db9e032b6e selftests/net: report etf errors correctly
    34f45567462d RDMA/mad: Fix possible memory leak in ib_mad_post_receive_mads()
    d3edf648f398 s390/qeth: fix error handling for isolation mode cmds
    9e89c2d5da87 ASoC: rockchip: Fix a reference count leak.
    4aeb21584e55 RDMA/cma: Protect bind_list and listen_list while finding matching cm id
    f0078dc6750f RDMA/qedr: Fix KASAN: use-after-free in ucma_event_handler+0x532
    66143ecb9e3c RDMA/rvt: Fix potential memory leak caused by rvt_alloc_rq
    d6fb7f457456 rxrpc: Fix handling of rwind from an ACK packet
    73cff44e66e3 ARM: dts: NSP: Correct FA2 mailbox node
    f1ee7d3a2c1a bpf: Don't return EINVAL from {get,set}sockopt when optlen > PAGE_SIZE
    0f3aa6c6d6ad devmap: Use bpf_map_area_alloc() for allocating hash buckets
    b93df0f6d7cd regmap: Fix memory leak from regmap_register_patch
    5f6b834e110b x86/resctrl: Fix a NULL vs IS_ERR() static checker warning in rdt_cdp_peer_get()
    99ab61cc8b75 ARM: dts: Fix duovero smsc interrupt for suspend
    07f7c547698b ARM: dts: am335x-pocketbeagle: Fix mmc0 Write Protect
    d909f9db0caa bpf, xdp, samples: Fix null pointer dereference in *_user code
    0608288c6caa samples/bpf: xdp_redirect_cpu: Set MAX_CPUS according to NR_CPUS
    b59ed5668c4e ASoC: fsl_ssi: Fix bclk calculation for mono channel
    3947dd237ef5 RDMA/siw: Fix pointer-to-int-cast warning in siw_rx_pbl()
    34f105349369 regualtor: pfuze100: correct sw1a/sw2 on pfuze3000
    1fa27418054f ASoC: qcom: common: set correct directions for dailinks
    47c7ae0ca9d7 ASoc: q6afe: add support to get port direction
    92444a57e365 efi/esrt: Fix reference count leak in esre_create_sysfs_entry.
    8c236ac4376a efi/tpm: Verify event log header before parsing
    e50cf858d118 ASoC: q6asm: handle EOS correctly
    41b2debf35ef xfrm: Fix double ESP trailer insertion in IPsec crypto offload.
    475a7b09b4bb ARM: OMAP2+: Fix legacy mode dss_reset
    527ddb339d6b bus: ti-sysc: Ignore clockactivity unless specified as a quirk
    1f5197a5ad97 bus: ti-sysc: Flush posted write on enable and disable
    21d511c6c9c2 IB/hfi1: Fix module use count flaw due to leftover module put calls
    2a4c0bf5c70e IB/mad: Fix use after free when destroying MAD agent
    588ad2b29ea3 loop: replace kill_bdev with invalidate_bdev
    d9a74e455070 cdc-acm: Add DISABLE_ECHO quirk for Microchip/SMSC chip
    d6522bc320d7 xhci: Return if xHCI doesn't support LPM
    14d46386226e xhci: Fix enumeration issue when setting max packet size for FS devices.
    c09be4f57956 xhci: Fix incorrect EP_STATE_MASK
    e615f58fa86c cifs/smb3: Fix data inconsistent when zero file range
    bd2f2ac0ab96 cifs/smb3: Fix data inconsistent when punch hole
    572a11131ad3 cifs: Fix cached_fid refcnt leak in open_shroot
    1f551a056b30 scsi: zfcp: Fix panic on ERP timeout for previously dismissed ERP action
    d3a251b84797 scsi: qla2xxx: Keep initiator ports after RSCN
    be8df027079b usb: cdns3: ep0: add spinlock for cdns3_check_new_setup
    a0668653be26 usb: cdns3: ep0: fix the test mode set incorrectly
    79175ae5f996 usb: cdns3: trace: using correct dir value
    25e1bb1e6c36 ALSA: usb-audio: Fix OOB access of mixer element list
    1cc2d29710c2 ALSA: usb-audio: add quirk for Samsung USBC Headset (AKG)
    0c4ff206043e ALSA: usb-audio: add quirk for Denon DCD-1500RE
    74a7ad9d975c ALSA: usb-audio: Add implicit feedback quirk for SSL2+.
    895ec8c86e13 usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs
    fe2daefad98a usb: host: ehci-exynos: Fix error check in exynos_ehci_probe()
    c1e71a51c2f5 xhci: Poll for U0 after disabling USB2 LPM
    9d814bd14cff usb: host: xhci-mtk: avoid runtime suspend when removing hcd
    9200037a6ab6 USB: ehci: reopen solution for Synopsys HC bug
    ffeb58a0daf0 usb: add USB_QUIRK_DELAY_INIT for Logitech C922
    6b3eb8af48cb usb: dwc2: Postponed gadget registration to the udc class driver
    195c1d1dd8cf USB: ohci-sm501: Add missed iounmap() in remove
    2274a7421e73 binder: fix null deref of proc->context
    3621616af99b ALSA: usb-audio: Fix potential use-after-free of streams
    335add4ac891 fix a braino in "sparc32: fix register window handling in genregs32_[gs]et()"
    32e5a15f1084 net: sched: export __netdev_watchdog_up()
    9d3d40ec7dee btrfs: fix a block group ref counter leak after failure to remove block group
    8ae850cddf27 Revert "i2c: tegra: Fix suspending in active runtime PM state"
    052a7fdd86fb tcp_cubic: fix spurious HYSTART_DELAY exit upon drop in min RTT
    942315134313 sch_cake: fix a few style nits
    b1aa7e5fa163 sch_cake: don't call diffserv parsing code when it is not needed
    ea2628dd586d sch_cake: don't try to reallocate or unshare skb unconditionally
    3c6208267218 ip_tunnel: fix use-after-free in ip_tunnel_lookup()
    9baf076d797f net: phy: Check harder for errors in get_phy_id()
    568c5aaf6c2d ip6_gre: fix use-after-free in ip6gre_tunnel_lookup()
    35db638692db tg3: driver sleeps indefinitely when EEH errors exceed eeh_max_freezes
    fe3a5d8fc372 tcp: grow window for OOO packets only for SACK flows
    cb22ce3346f2 tcp: don't ignore ECN CWR on pure ACK
    dc43f7e807a8 sctp: Don't advertise IPv4 addresses if ipv6only is set on the socket
    fea864489c90 rxrpc: Fix notification call on completion of discarded calls
    6956830cf981 rocker: fix incorrect error handling in dma_rings_init
    a908f986ddf7 openvswitch: take into account de-fragmentation/gso_size in execute_check_pkt_len
    27b70214fc69 net: usb: ax88179_178a: fix packet alignment padding
    67571b1ab296 net: increment xmit_recursion level in dev_direct_xmit()
    97a1d2aa6cdd net: Fix the arp error in some cases
    742f2358b324 net: fix memleak in register_netdevice()
    9e693934cd59 net: Do not clear the sock TX queue in sk_set_socket()
    9f217d6dd796 net: core: reduce recursion limit value
    f32325b100ea net: bridge: enfore alignment for ethernet address
    57a976e676e1 mvpp2: ethtool rxtx stats fix
    fa0d7e09da1d mld: fix memory leak in ipv6_mc_destroy_dev()
    009b3e294a90 ibmveth: Fix max MTU limit
    f060107ccc97 geneve: allow changing DF behavior after creation
    ce06fcb6a66d enetc: Fix tx rings bitmap iteration range, irq handling
    b90ca32531bf block/bio-integrity: don't free 'buf' if bio_integrity_add_page() failed

(From OE-Core rev: 0ed1c289ceebd66f2bbfd9dfc8deae0985fbf239)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Ross Burton
df2c56f4d5 gtk+3: fix reproducible build failure
There's a build race between the use of a pre-generated file and
re-generating it again, which breaks reproducible builds.  Solve the
race by deleting the shipped generated file.

(From OE-Core rev: c2e0b0785b8098dbe562e88f54b679ca87626937)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Wang Mingyu
07a73aae71 gtk+3: upgrade 3.24.20 -> 3.24.21
(From OE-Core rev: 913297d90a7719f17115bb738310f71f1ce3ee82)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Vacek, Patrick
6474ff808b oeqa/core/loader: fix regex to include numbers
The previous version only included the numbers 1 and 2 in the allowed characters
for the module name. In the past, this was (\w+) so all numbers were allowed.
Now it explicitly includes all numbers again.

(From OE-Core rev: f241fa493536ac953c1dac303917c6e75b459e28)

Signed-off-by: Patrick Vacek <patrickvacek@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Konrad Weihmann
d743f37941 bitbake.conf: fix whitespace issues
(From OE-Core rev: a58672fdf7e3b26b57ec31b9ba4f1eaaa7f5a53c)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Konrad Weihmann
ae62e1bfce systemd: remove kernel-install from base pkg
as this is already packaged in kernel-install package,
it shouldn't be part of the base package

(From OE-Core rev: ed04241f30e12e7c0479026a9e354e49dfa4119c)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Alejandro Hernandez
843e4844c7 baremetal-helloworld: Use baremetal-image class to deploy the application
(From OE-Core rev: dd5a64feb5426ec870cf5d53ef056b24eb450487)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Alejandro Hernandez
9ab3e05ad0 baremetal-image.bbclass: Create a class for baremetal applications or an RTOS
Baremetal applications or an RTOS built with OpenEmbedded can share the same
code to be built as an image, tested and packaged in case they can be updated
as a firmware blob from Linux.

This class creates the proper wiring to mimic OE Linux image creation and
testing infrastructure, inheriting it makes the process of creating a baremetal
application transparent to the developer deploying it automatically along with
its required bits to be run and tested.

(From OE-Core rev: 34df656e1d7070337f62c8fd9b2dc27491275416)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Matt Madison
5e8f88570b kernel.bbclass: add gzip-native to do_deploy dependencies
When a modules tarball is created during kernel_do_deploy,
the tarball is compressed using gzip, but gzip-native is not
a dependency so the build host's gzip is being used for this.

Using gzip-native will, by default, use pigz instead of
single-threaded gzip, making this task less of a bottleneck
for builds with a large modules package.

(From OE-Core rev: 1243aad78601e9a5c0a3471c8a105c429536599d)

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
Andrey Zhizhikin
7dbc62a672 kernel/yocto: fix search for defconfig from src_uri
Fetcher provides full paths to defconfig and scc files, which awk
comparison operator does not catch during construction of
src_uri_defconfig and sccs_from_src_uri lists. This causes the
src_uri_defconfig variable to come out empty, and fails further
validation if defconfig is only supplied via SRC_URI.

Replace comparison operator with awk match function which searches for
sub-string during filtering, effectively placing defconfig from SRC_URI
into src_uri_defconfig and scc files in sccs_from_src_uri respectively.

Fixes: 23dcff0d39 (kernel/yocto: ensure that defconfigs are processed first)
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
(From OE-Core rev: f52ce0fa98bf3bd72df7467031001f3128c145f2)

Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-08 10:37:12 +01:00
David Khouya
31c4731c8e bitbake: lib/ui/taskexp: Fix missing Gtk import
Adding back gtk objects import.

Fix bug introduce when adding validation on gtk import.

(Bitbake rev: 765be5ef60668f8a1cfbcba248f4995725807196)

Signed-off-by: David Khouya <dakhouya@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07 17:49:36 +01:00
Hongxu Jia
75e91b8e52 iso-codes: switch upstream branch master -> main
(From OE-Core rev: 6e16ef0c2e0ec2bbb862231cd84e7650bd5789af)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-07 11:04:40 +01:00
David Khouya
64f2361c5b bitbake: lib/ui/taskexp: Validate gi import
When running bitbake -g -u taskexp without having gi python module or
and invalid gtk version, bitbake fails with a stack trace.

In case of import or version error, bitbake should exit with an error
message instead of a stack trace.

(Bitbake rev: 2a2c507f239b047f34765312df4168030e38b90d)

Signed-off-by: David Khouya <dakhouya@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-06 13:47:45 +01:00
Yanfei Xu
8b6b95106a classes/kernel: Use a copy of image for kernel*.rpm if fs doesn't support symlinks
Some filesystems don't support symlink, then you will get failure when
you install or update the kernel rpm package. Now we use a copy of
image for these filesystems instead of symlink.

Suggested-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: bb946b8cdbd01408bfa0ba8e53f9e09931dfb29d)

Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-05 15:04:40 +01:00
Timon Ulrich
cd96439c58 kernel.bbclass: add lz4 dependency and fix the call to lz4
If the initramfs image is type lz4, then a native lz4 is needed.

Additionally an output filename needs to be specified when calling lz4,
otherwise STDOUT will be used implicitly.

(From OE-Core rev: c83a7aec59defbbc049d44ba34a7a409ada4fa19)

Signed-off-by: Timon Ulrich <t.ulrich@anapur.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-05 15:04:40 +01:00
Pierre-Jean Texier
2ebb7ac4bb diffoscope: upgrade 148 -> 150
This includes the following changes:

Version 149:

* Update tests for file 5.39. (Closes: reproducible-builds/diffoscope#179)
* Downgrade the tlsh warning message to an "info" level warning.
  (Closes: #888237, reproducible-builds/diffoscope#29)
* Use the CSS "word-break" property over manually adding U+200B zero-width
  spaces that make copy-pasting cumbersome.
  (Closes: reproducible-builds/diffoscope!53)
* Codebase improvements:
  - Drop some unused imports from the previous commit.
  - Prevent an unnecessary .format() when rendering difference comments.
  - Use a semantic "AbstractMissingType" type instead of remembering to check
    for both "missing" files and missing containers.
* Allow user to mask/filter reader output via --diff-mask=REGEX.
  (MR: reproducible-builds/diffoscope!51)
* Make --html-dir child pages open in new window to accommodate new web
  browser content security policies.
* Fix the --new-file option when comparing directories by merging
  DirectoryContainer.compare and Container.compare.
  (Closes: reproducible-builds/diffoscope#180)
* Fix zsh completion for --max-page-diff-block-lines.
* Do not warn about missing tlsh during tests.

Version 150:

* Don't crash when listing entries in archives if they don't have a listed
  size (such as hardlinks in .ISO files).
  (Closes: reproducible-builds/diffoscope#188)
* Dump PE32+ executables (including EFI applications) using objdump.
  (Closes: reproducible-builds/diffoscope#181)
* Tidy detection of JSON files due to missing call to File.recognizes that
  checks against the output of file(1) which was also causing us to attempt
  to parse almost every file using json.loads. (Whoops.)
* Drop accidentally-duplicated copy of the new --diff-mask tests.
* Logging improvements:
  - Split out formatting of class names into a common method.
  - Clarify that we are generating presenter formats in the opening logs.
* Remove objdjump(1) offsets before instructions to reduce diff noise.
  (Closes: reproducible-builds/diffoscope!57)

(From OE-Core rev: 9ef1a0aa143c72d51ae52c0e1f7476743813f434)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-05 15:04:40 +01:00
Joshua Watt
90c3e86381 classes/archive: do_configure should not depend on do_ar_patched
The commit d4be264061 ("classes/archiver: run do_unpack_and_patch after
do_preconfigure") correctly moved do_unpack_and_patch to depend on
do_preconfigure, but left do_ar_patched as a dependency of do_configure
introduced from 8a7c779487 ("classes/archiver: Create patched archive
before configuring"). Having do_configure depend on do_ar_patched is
blatantly wrong. Firstly, doing so causes the taskhash of do_configure
to change which is undesirable. Secondly, the anon python that sets up
the tasks carefully skips GCC recipes that depend on gcc-source to
provide their source code since running do_unpack_and_patch in them
would delete the source code. Adding in the dependency effectively
bypasses this and makes these recipes delete the shared gcc-source

This fixes errors (for real this time) like:

 cat: .../gcc/defaults.h: No such file or directory

when making certain configuration changes.

For posterity, you could easily reproduce gcc-source being erased by
running the commands (replacing aarch64 with your correct target arch):

 bitbake -c cleanall gcc-source gcc-cross-aarch64
 bitbake -c do_deploy_archives gcc-source

 # The following would fail because
 # gcc-cross-aarch64:do_unpack_and_patch erases shared source, so
 # do_configure after that fails.
 bitbake gcc-cross-aarch64

(From OE-Core rev: f02c1904330da47a25cf85f0077712f584f4ee5b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-05 15:04:40 +01:00
Richard Purdie
4a2370583b rootfs-postcommands: Improve/fix rootfs_check_host_user_contaminated
Currently if the find command finds /home it stops checking the other
files. Tweak the find expression to fix this.

Also, from Alex Kiernan <alex.kiernan@gmail.com>, generate output for
each contaminated path so it's visible in the main log file.

When matches are found, dump the data from the group and passwd files
so useful debugging can be done based on the results.

(From OE-Core rev: 504f1d158bf7c6ad08fbce755021db2b14565231)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 20:17:29 +01:00
Changqing Li
893db513d7 logrotate.py: fix testimage occasionally failure
testcase test_systemd_failed occasionally failed with below error:
Failed to start Rotate log files.
logrotate.service: Failed with result 'exit-code'.
logrotate.service: Main process exited, code=exited, status=1/FAILURE
error: stat of /var/log/logrotate_test failed: No such file or directory
error: logrotate_test:1 lines must begin with a keyword or a filename (possibly in double quotes)

above failure caused since testcase test_logrotate_wtmp
add /etc/logrotate.d/logrotate_test, which need /var/log/logrotate_test,
but there is no such file. so when logrotate.service is triggerd
by logrotate.timer after testcase test_logrotate_wtmp is runned,
the testcase test_systemd_failed will fail.

these 3 lines are useless, so remove them to fix above problem.

(From OE-Core rev: 22f5f7f86a4d47624c476be00e5121009c48cb7b)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 20:17:29 +01:00
Alejandro Hernandez
5f460e4c18 baremetal-helloworld: Use do_image_complete instead of do_deploy
To better align with upstream and mimic how images
are built, use do_image and do_image_complete instead
of do_deploy to populate artifacts on DEPLOY_DIR_IMAGE.

(From OE-Core rev: 9edb08c31700a85ce87344829989c1069d2760ab)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 20:17:29 +01:00
Andrej Valek
6178eb247c dropbear: update to 2020.80
License-Update: changed date and added info about existence LICENSE files
 in libtomcrypt and libtommath folders
(From OE-Core rev: 0954933a7cc61307df1a840318c9a553050ecdb6)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 20:17:29 +01:00
Andrej Valek
639731840a busybox: 1.31.1 -> 1.32.0
- update to last stable version 1.32.0
- remove and refresh already merged patches

(From OE-Core rev: 2ccac58c2346b5a253dd065e5456c5bdaee2c99d)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 20:17:29 +01:00
Richard Purdie
61d21bd035 oeqa/targetcontrol: Attempt to fix log closure warning message
We continue to see the warning message:

WARNING: lib/bb/daemonize.py:76: ResourceWarning: unclosed file <_io.TextIOWrapper
name='build/tmp/work/qemux86_64-poky-linux/oe-selftest-image/1.0-r0/testimage/qemurunner_log.20200703011821'
mode='a' encoding='UTF-8'>

I've been unable to reprodue this but believe its caused by garbage
collection of the FileHandler used in QemuTarget being delayed until
after a new tinfoil instance is created by a subseqent test.

Force the log file to be closed when we stop using it to avoid this.

[YOCTO #13961]

(From OE-Core rev: e15cc7801ec611f867f5b31028741722ac718c87)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 20:17:29 +01:00
Richard Purdie
e855b384f3 oeqa/selftest: recipetool/devtool: Avoid load_plugin test race
This bug has plagued the autobuilder for a couple of years and we've
struggled to reproduce/debug it.

The problem is the "lib" directory in meta-poky used during the load_plugin
tests for recipetool and devtool can race and one can delete the files
from the other leading to test failures.

Deleting the lib directory only if empty will avoid this.

[YOCTO #13070]

(From OE-Core rev: d603e2fd589e1edbc67c8c2fefb6337e728b9d01)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 11:38:24 +01:00
hongxu
c9c9913cf6 cpio: add nativesdk support
Since commit [24b80d211f nativesdk.bbclass: set sbindir to bindir]
applied, sbindir = bindir in nativesdk, then routine `rmt' is
installed to bindir which break `rmdir ${D}${bindir}/' failed with
`Directory not empty'

Don't rmdir if sbindir != bindir

(From OE-Core rev: 6cf92e4d80e6dc85853392865a2ba6eca8bbfdb0)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 11:38:24 +01:00
Lee Chee Yang
ebfa049fc0 oeqa/core/loader: refine regex to find module
test case in format <module name>.<class name>.<test case name>
this is clear when test cases is only 3 item deep.

but confused when it is 4 item deep, eg,
oelib.types.TestList.test_list_nosep

in this case, oelib and oelib.types can both be treated as module
since module name contains only lower cases and class name should
contain atleast one upper case.
so, always treat leading item without upper case as module also allow
module name to contain dot.

[YOCTO #13941]

(From OE-Core rev: ad81ea90a815389e45ff302a85151724c71f71c3)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 11:38:24 +01:00
Damian Wrobel
061eb6f501 rootfs: do not let ldconfig to create symlinks
Adds -X option to ldconfig to not create symlinks
as part of the ldconfig cache creation process.

It is much better to keep all needed symlinks as part of
of the package then let ldconfig do the job.

In the case symlink was created by ldconfig and later on the
package got removed the dangling link will remain on the
filesystem. Not to mention that such a symlink is orphaned
(e.g. rpm -qf <file-path> will not show the package the symlink
is part of).

It also align the behaviour with libc-musl where the ldconfig
is not invoked by default.

(From OE-Core rev: ad4ff7c18cc6a5c15a0525149dbe2dbd5ae39129)

Signed-off-by: Damian Wrobel <dwrobel@ertelnet.rybnik.pl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 11:38:24 +01:00
Lee Chee Yang
43345b55b7 qemu: fix CVE-2020-10761
(From OE-Core rev: 5509c7247fb44c8fb98298f2b309cc1a87b07f14)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 11:38:24 +01:00
Lee Chee Yang
771122ebeb json-c: fix CVE-2020-12762
(From OE-Core rev: aa88429fdd3554dace7cbfb5a2894b925a99deb4)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 11:38:24 +01:00
Changqing Li
5672cb4c00 gtk-icon-cache.bbclass: add runtime dependency
fix error:
+ /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --update-cache
/var/tmp/rpm-tmp.mdYxY6: line 12: /usr/lib/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders: No such file or directory
%post(adwaita-icon-theme-3.36.1-r0.0.noarch): waitpid(2961) rc 2961 status 7f00
warning: %post(adwaita-icon-theme-3.36.1-r0.0.noarch) scriptlet failed, exit status 127

when install adwaita-icon-theme on target, which inherit gtk-icon-cache
above error reported,  fix by add runtime dependency to pkgs

we don't use explicit RDEPENDS, so fix do_rootfs breaking by adding it into DEPENDS.
Error:
 Problem: conflicting requests
  - nothing provides gdk-pixbuf needed by adwaita-icon-theme-3.36.1-r0.noarch
  - nothing provides gtk+3 needed by adwaita-icon-theme-3.36.1-r0.noarch

(From OE-Core rev: 31e3d34c8a9c3e8481aa837aa0bf52adf095fe62)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 11:38:24 +01:00
Mingli Yu
27b91efa82 python3: add ldconfig rdepends for python3-ctypes
The ctypes module needs to use "ldconfig -p" to find the
library path and it simply has below logic if no ldconfig
installed.
  except OSError:
      pass

Before the patch:
  >>> from ctypes.util import find_library
  >>> lib_path = find_library('archive')
  >>> print(lib_path)
  None

After the patch:
  >>> from ctypes.util import find_library
  >>> lib_path = find_library('archive')
  >>> print(lib_path)
  libarchive.so.13

(From OE-Core rev: ddb96902a124a6e1f035f0fd868b0139989bc1bc)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-03 11:38:24 +01:00
Pierre-Jean Texier
9166fb351e curl: upgrade 7.71.0 -> 7.71.1
This release includes the following bugfixes:

  - cirrus-ci: disable FreeBSD 13 (again)
  - Curl_inet_ntop: always check the return code
  - CURLOPT_READFUNCTION.3: provide the upload data size up front
  - DYNBUF.md: fix a typo: trail => tail
  - escape: make the URL decode able to reject only %00-bytes
  - escape: zero length input should return a zero length output
  - examples/multithread.c: call curl_global_cleanup()
  - http2: set the correct URL in pushed transfers
  - http: fix proxy auth with blank password
  - mbedtls: fix build with disabled proxy support
  - ngtcp2: sync with current master
  - openssl: Fix compilation on Windows when ngtcp2 is enabled
  - Revert "multi: implement wait using winsock events"
  - sendf: improve the message on client write errors
  - terminology: call them null-terminated strings
  - tool_cb_hdr: Fix etag warning output and return code
  - url: allow user + password to contain "control codes" for HTTP(S)
  - vtls: compare cert blob when finding a connection to reuse

(From OE-Core rev: 4fde94448495a7957bb6ce76c15fda67c73248d3)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-02 16:18:03 +01:00
Joe Slater
3490c30f43 jquery: use ${S}
Currently, several files are unpacked to WORKDIR and installed.
This makes them invisible to the archiver.  Unpack to S.

(From OE-Core rev: d2e6dbd7b3e30d144bf31cc8e287c8537ac25ebc)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-02 16:18:03 +01:00
Chen Qi
3765bf4820 oescripts: ignore whitespaces when comparing lines
list-packageconfig-flags.py determines the whitespace numbers according
to the longest package name. This is reasonable for the tool as it's
trying to generate pretty output.

However, in this selftest case, the output is hardcoded. This results in
"pinentry                       gtk2 libcap ncurses qt secret" not recognized
as correct as the expected line is:
"pinentry                     gtk2 libcap ncurses qt secret".

The difference is only about whitespaces. So we should ignore the whitespaces
when comparing lines.

(From OE-Core rev: 17c89ad1596dbc7cefdd2c01dcd95aa9e93c5dc6)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-02 16:18:03 +01:00
Chen Qi
48d17fd1d4 oescripts.py: fix typo
(From OE-Core rev: 115d44958806a2c73d0bf140f45c11db462cc7db)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-02 16:18:03 +01:00
Joshua Watt
1c66128e7e classes/archiver: run do_unpack_and_patch after do_preconfigure
The commit 8a7c779487 ("classes/archiver: Create patched archive before
configuring") fixed a race condition when using the archiver, but
introduced a bug where the GCC source would occasionally be deleted due
to the archiving code running before do_preconfigure. Instead, make sure
the archiving code runs after do_preconfigure by making
do_unpack_and_patch depend on it. This makes more sense anyway since
do_preconfigure is effectively an extension of do_patch.

This fixes errors like:

 cat: .../gcc/defaults.h: No such file or directory

when making certain configuration changes

(From OE-Core rev: d4be264061023ae0ea6e023d82a7b99605bfc22c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-02 16:18:03 +01:00
Mingli Yu
b175f6dd9a python3-libarchive-c: add the missing rdepends
Add the missing rdepends to fix below error:
 # python3
 [snip]
 >>> import libarchive
 [snip]
 ModuleNotFoundError: No module named 'ctypes'
 ModuleNotFoundError: No module named 'mmap'

(From OE-Core rev: b3a2615878bc7515a7bdace525dc27be45f158e2)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-07-02 16:18:03 +01:00
Alexander Kanavin
259d2e35e7 python3-setuptools: upgrade 47.1.1 -> 47.3.1
(From OE-Core rev: 8f23d7683e0be7fb77e2ca5a3a8b55fbc51117e7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 23:03:02 +01:00
Alexander Kanavin
407b8e2344 Revert "python3-setuptools: patch entrypoints for faster initialization"
Apologies, but the patch is not possible to rebase onto the new setuptools,
as the code has changed too much. Please get it accepted upstream first.

(From OE-Core rev: f2feb53c967256431f03a07c1b4b9a0d8568d9b5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 23:03:02 +01:00
Daniel Klauer
62931865d5 deploy.bbclass: Clean DEPLOYDIR before do_deploy
do_deploy should clean up ${DEPLOYDIR} before running, just like do_install
cleans up ${D} before running. This reduces the risk of DEPLOYDIR being
accidentally contaminated by files from previous runs, possibly even with
different config, in case of incremental builds.

It is convenient to have this in deploy.bbclass, so it doesn't have to be
duplicated in every recipe, considering for example meta-freescale, which
has 23 affected recipes.

All recipes using deploy.bbclass (grep -r 'inherit .*deploy') in poky,
meta-openembedded and meta-freescale look like they either benefit from
this or are at least not affected negatively by it. The only exception
I've noticed was uboot-sign.bbclass, which was however fixed by the
previous patch.

(From OE-Core rev: 7083a7d56f4d90c81d2e6652ee291d20fd908bbe)

Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 23:03:02 +01:00
Daniel Klauer
acfda8e923 uboot-sign: Refactor do_deploy prefunc to do_deploy_prepend
When inherited by the u-boot recipe (UBOOT_PN), uboot-sign.bbclass adds
a concat_dtb step, which places additional files into ${DEPLOYDIR}
before do_deploy. By turning this from a prefunc into a part of the normal
do_deploy function, it becomes possible to use
  do_deploy[cleandirs] = "${DEPLOYDIR}"
in the future, without deleting the files produced by concat_dtb.

As before, care is taken to not interfere with the kernel's do_deploy
definition, since concat_dtb was only needed for u-boot.

(From OE-Core rev: 17619c1a41fa961afc317e4aafab9cdc4ff14a49)

Signed-off-by: Daniel Klauer <daniel.klauer@gin.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 23:03:02 +01:00
Ross Burton
82693af8bb common-licenses: fix filename of BSD-2-Clause-Patent
(From OE-Core rev: 4a9c62d49940b154177d817a845188d827370607)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 23:03:02 +01:00
Changqing Li
617a658804 initscripts: update postinst
in container image, it don't have init system,
install package initscripts will report error:
systemctl: command not found

fix by use same way as systemd.bbclass to decide if systemctl
mask will run

(From OE-Core rev: 790276bde066ecc9876120c3097dcd57a9936f00)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 23:03:02 +01:00
Changqing Li
c91cda9b6f modutils-initscripts: update postinst
in container image, it don't have init system,
install package modutils-initscripts will report error:

+ systemctl mask modutils.service
/var/tmp/rpm-tmp.DYK3Pm: line 8: systemctl: command not found
%post(modutils-initscripts-1.0-r7.3.cortexa72): waitpid(823) rc 823 status 7f00
warning: %post(modutils-initscripts-1.0-r7.3.cortexa72) scriptlet failed, exit status 127

fix by use same way as systemd.bbclass to decide if systemctl mask will run

(From OE-Core rev: eec648f23df0a4e05130f8ef5a04902296567e38)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 23:03:02 +01:00
Bruce Ashfield
24e569ad23 yocto-bsps: bump reference boards to v5.4.49
(From meta-yocto rev: 9f108add55395e82081907675f881052c336ae26)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 16:42:11 +01:00
Bruce Ashfield
0b5ec5a880 linux-yocto/5.4: update to v5.4.49 and -rt28
Updating to -rt28 which has the following commits:

    6b9d790392dc Linux 5.4.47-rt28
    1a22749d1a0c Linux 5.4.44-rt27
    7dd4c4c793df mm/zswap: Use local lock to protect per-CPU data
    80552b4a4cf3 printk: Force a line break on pr_cont(" ")
    446f5195e149 mm: Don't warn about atomic memory allocations during suspend
    ec1f996f6740 Revert "rt: Improve the serial console PASS_LIMIT"
    119ca1ac9160 fs/dcache: Include swait.h header
    4df88505f123 printk: console must not schedule for drivers
    b60c8a8279f5 Linux 5.4.44-rt26

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

    4e9688ad3d36 Linux 5.4.49
    99705220b22c net: core: device_rename: Use rwsem instead of a seqcount
    e33765201db7 sched/rt, net: Use CONFIG_PREEMPTION.patch
    a6030d71e62d pwm: jz4740: Enhance precision in calculation of duty cycle
    d0da4be60288 net: octeon: mgmt: Repair filling of RX ring
    96d98372b53a e1000e: Do not wake up the system via WOL if device wakeup is disabled
    3d390370d78c kretprobe: Prevent triggering kretprobe from within kprobe_flush_task
    c19f0c3c9a8a kprobes: Fix to protect kick_kprobe_optimizer() by kprobe_mutex
    f4748ee4fa15 tracing/probe: Fix memleak in fetch_op_data operations
    7bb62d0cd8ac crypto: algboss - don't wait during notifier callback
    993e0d12f226 crypto: algif_skcipher - Cap recv SG list at ctx->used
    972f961c5930 Revert "drm/amd/display: disable dcn20 abm feature for bring up"
    021935185e2a drm/i915/icl+: Fix hotplug interrupt disabling after storm detection
    d814e4732cbe drm/amd/display: Use kvfree() to free coeff in build_regamma()
    50df31ea31cc drm/connector: notify userspace on hotplug after register complete
    35bd59b8b68c drm/i915: Whitelist context-local timestamp in the gen9 cmdparser
    962d0e0c091c drm/i915/gem: Avoid iterating an empty list
    a09489576fe5 drm/msm: Check for powered down HW in the devfreq callbacks
    536ffde7df46 drm/i915: Fix AUX power domain toggling across TypeC mode resets
    190f6c2d6e38 s390: fix syscall_get_error for compat processes
    2173a7ed6358 f2fs: avoid utf8_strncasecmp() with unstable name
    de3feefa3bfd f2fs: split f2fs_d_compare() from f2fs_match_name()
    9fec865dde6e net/mlx5: DR, Fix freeing in dr_create_rc_qp()
    859a0a9afee3 block: nr_sects_write(): Disable preemption on seqcount write
    120307746990 x86/boot/compressed: Relax sed symbol type regex for LLVM ld.lld
    bba1f4ac037c drm/amd/display: Use swap() where appropriate
    8f16bebbb171 drm/dp_mst: Increase ACT retry timeout to 3s
    ffa9206a62d3 ext4: avoid race conditions when remounting with options that change dax
    0804b23d2ff1 jbd2: clean __jbd2_journal_abort_hard() and __journal_abort_soft()
    ae3c09e346bd selinux: fix double free
    5471b5287cc7 drm/amdgpu: Replace invalid device ID with a valid device ID
    3031fb61096c drm/qxl: Use correct notify port address when creating cursor ring
    1f3f21d53fa8 drm/dp_mst: Reformat drm_dp_check_act_status() a bit
    8c315a220930 ext4: avoid utf8_strncasecmp() with unstable name
    779286d9babf ext4: fix partial cluster initialization when splitting extent
    bc615a290faf drm: encoder_slave: fix refcouting error for modules
    ef4f3b65d5a9 libata: Use per port sync for detach
    81344ae52c77 arm64: hw_breakpoint: Don't invoke overflow handler on uaccess watchpoints
    64183b459624 mvpp2: remove module bugfix
    b3dc33946a74 block: Fix use-after-free in blkdev_get()
    cb5fe511b11e scsi: ufs-bsg: Fix runtime PM imbalance on error
    7c7dd0507842 bnxt_en: Return from timer if interface is not in open state.
    13e6e75e68f3 afs: Fix the mapping of the UAEOVERFLOW abort code
    b7420726bc8a afs: Set error flag rather than return error from file status decode
    66f38da13198 afs: Always include dir in bulk status fetch from afs_do_lookup()
    4fd68a35f62d afs: Fix EOF corruption
    c8c19fcdabdb afs: afs_write_end() should change i_size under the right lock
    6a9fd8046fbd afs: Fix non-setting of mtime when writing into mmap
    7b307d292ab2 powerpc: Fix kernel crash in show_instructions() w/DEBUG_VIRTUAL
    f651e94899ed bcache: fix potential deadlock problem in btree_gc_coalesce
    889b69a9982b ext4: stop overwrite the errcode in ext4_setup_super
    aa7baef53057 perf stat: Fix NULL pointer dereference
    676634f1a831 perf report: Fix NULL pointer dereference in hists__fprintf_nr_sample_events()
    335d720bb4bd usb/ehci-platform: Set PM runtime as active on resume
    21a45a1427dd usb: host: ehci-platform: add a quirk to avoid stuck
    57a1cd87efb9 usb/xhci-plat: Set PM runtime as active on resume
    33a76c15c7c2 bpf: Fix memlock accounting for sock_hash
    93b675736542 iavf: fix speed reporting over virtchnl
    e7847db7aa6d xdp: Fix xsk_generic_xmit errno
    57f71bb57f7c nfs: set invalid blocks after NFSv4 writes
    d3caf0e49492 nvme-pci: use simple suspend when a HMB is enabled
    9777d12a8b23 net/filter: Permit reading NET in load_bytes_relative when MAC not set
    0eb4e1573ffd x86/idt: Keep spurious entries unset in system_vectors
    04ce5f6f0d3c scsi: acornscsi: Fix an error handling path in acornscsi_probe()
    f3f9ee422842 libbpf: Handle GCC noreturn-turned-volatile quirk
    ab482b587207 drm/sun4i: hdmi ddc clk: Fix size of m divider
    c7c658ef5159 tracing/probe: Fix bpf_task_fd_query() for kprobes and uprobes
    5bed77b0a2a0 bpf, sockhash: Synchronize delete from bucket list on map free
    0f97842057c7 bpf/sockmap: Fix kernel panic at __tcp_bpf_recvmsg
    ea8837b9435e ASoC: rt5645: Add platform-data for Asus T101HA
    ebc448eb2de5 ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT10-A tablet
    69367d9f1f0e ASoC: SOF: nocodec: conditionally set dpcm_capture/dpcm_playback flags
    7b31ec2a011f ASoC: core: only convert non DPCM link to DPCM link
    445a847a5507 afs: Fix memory leak in afs_put_sysnames()
    3b50b29a2056 f2fs: don't return vmalloc() memory from f2fs_kmalloc()
    37be9b71b748 selftests/net: in timestamping, strncpy needs to preserve null byte
    a98132826820 drivers/perf: hisi: Fix wrong value for all counters enable
    e1ee6238534e i2c: icy: Fix build with CONFIG_AMIGA_PCMCIA=n
    ad67536d48ba NTB: ntb_test: Fix bug when counting remote files
    abf918236a79 NTB: perf: Fix race condition when run with ntb_test
    50a79b96b951 NTB: perf: Fix support for hardware that doesn't have port numbers
    ec8490131670 NTB: perf: Don't require one more memory window than number of peers
    2b97e354e586 NTB: Revert the change to use the NTB device dev for DMA allocations
    e5cd9e1df0c9 NTB: ntb_tool: reading the link file should not end in a NULL byte
    25abac5c9ff7 ntb_tool: pass correct struct device to dma_alloc_coherent
    f167d8f7b341 ntb_perf: pass correct struct device to dma_alloc_coherent
    08cc0ec9ba86 net: marvell: Fix OF_MDIO config check
    fbaf0137df1e gfs2: fix use-after-free on transaction ail lists
    e782a45789f8 blktrace: fix endianness for blk_log_remap()
    545bafecc0f2 blktrace: fix endianness in get_pdu_int()
    d578f98fa7b3 blktrace: use errno instead of bi_status
    718d9a863eb3 selftests/vm/pkeys: fix alloc_random_pkey() to make it really random
    7fd599522823 include/linux/bitops.h: avoid clang shift-count-overflow warnings
    b7ce2e4538f6 lib/zlib: remove outdated and incorrect pre-increment optimization
    62378b65237e geneve: change from tx_error to tx_dropped on missing metadata
    7791ab20b8eb crypto: omap-sham - add proper load balancing support for multicore
    b73df5915d13 drm/amd/display: Revalidate bandwidth before commiting DC updates
    ca0cac3373fa nfsd: safer handling of corrupted c_type
    e585a8b54046 pinctrl: freescale: imx: Fix an error handling path in 'imx_pinctrl_probe()'
    d184d62ceb19 pinctrl: imxl: Fix an error handling path in 'imx1_pinctrl_core_probe()'
    bd410e6600b4 scsi: ufs: Don't update urgent bkops level when toggling auto bkops
    88d678348430 scsi: iscsi: Fix reference count leak in iscsi_boot_create_kobj
    08904df10d3a gfs2: Allow lock_nolock mount to specify jid=X
    9adcc852d552 nfsd4: make drc_slab global, not per-net
    807460787179 ceph: don't return -ESTALE if there's still an open file
    145565f722c9 drm/nouveau/disp/gm200-: fix NV_PDISP_SOR_HDMI2_CTRL(n) selection
    43ba1b177a49 openrisc: Fix issue with argument clobbering for clone/fork
    6de31dc168f0 rxrpc: Adjust /proc/net/rxrpc/calls to display call->debug_id not user_ID
    2e48a738dc15 mailbox: zynqmp-ipi: Fix NULL vs IS_ERR() check in zynqmp_ipi_mbox_probe()
    2d9c7e0ff9f4 rtc: rv3028: Add missed check for devm_regmap_init_i2c()
    f4fbb592d9d7 vfio/mdev: Fix reference count leak in add_mdev_supported_type
    1957ac8d1b4f ASoC: fsl_asrc_dma: Fix dma_chan leak when config DMA channel failed
    c75f1641ef58 extcon: adc-jack: Fix an error handling path in 'adc_jack_probe()'
    5ed5f8db9582 powerpc/4xx: Don't unmap NULL mbase
    838d3e75ba50 input: i8042 - Remove special PowerPC handling
    cde05d643e51 of: Fix a refcounting bug in __of_attach_node_sysfs()
    f9db526da547 NFSv4.1 fix rpc_call_done assignment for BIND_CONN_TO_SESSION
    5e85d78ed4ff net: sunrpc: Fix off-by-one issues in 'rpc_ntop6'
    ece3a3337c50 /dev/mem: Revoke mappings when a driver claims the region
    3302d17ef6ea misc: xilinx-sdfec: improve get_user_pages_fast() error handling
    24aa54a8b0ec clk: ast2600: Fix AHB clock divider for A1
    c66e72f1721a clk: sprd: return correct type of value for _sprd_pll_recalc_rate
    e5497842e253 KVM: PPC: Book3S: Fix some RCU-list locks
    fd1a1089aed8 KVM: PPC: Book3S HV: Ignore kmemleak false positives
    39983e188624 scsi: ufs-qcom: Fix scheduling while atomic issue
    4d33659ac379 clk: bcm2835: Fix return type of bcm2835_register_gate
    41324c48301d scsi: target: tcmu: Fix a use after free in tcmu_check_expired_queue_cmd()
    87b3dca712b4 ASoC: fix incomplete error-handling in img_i2s_in_probe.
    5578bf5ce0d8 powerpc/32s: Don't warn when mapping RO data ROX.
    9669bf039ff6 mfd: stmfx: Disable IRQ in suspend to avoid spurious interrupt
    d8d1b8b41783 mfd: stmfx: Fix stmfx_irq_init error path
    cf90dd9fb161 mfd: stmfx: Reset chip on resume as supply was disabled
    dc69fec9271a x86/apic: Make TSC deadline timer detection message visible
    af92e4a595e0 RDMA/iw_cxgb4: cleanup device debugfs entries on ULD remove
    4c8a62c93984 scripts: headers_install: Exit with error on config leak
    c707e18796c6 usb: gadget: Fix issue with config_ep_by_speed function
    84e1326ffc61 usb: gadget: fix potential double-free in m66592_probe.
    51ad579d64dd usb: gadget: lpc32xx_udc: don't dereference ep pointer before null check
    4a8c5f25c6bc USB: gadget: udc: s3c2410_udc: Remove pointless NULL check in s3c2410_udc_nuke
    0a560f102d80 usb: dwc2: gadget: move gadget resume after the core is in L0 state
    f1b9e29983ae watchdog: da9062: No need to ping manually before setting timeout
    4820050e8438 IB/cma: Fix ports memory leak in cma_configfs
    6e934217c943 PCI: amlogic: meson: Don't use FAST_LINK_MODE to set up link
    443ed62ef80d PCI: dwc: Fix inner MSI IRQ domain registration
    0bd8e62464e0 PCI/PTM: Inherit Switch Downstream Port PTM settings from Upstream Port
    f04479f8d519 dm zoned: return NULL if dmz_get_zone_for_reclaim() fails to find a zone
    96cd8d249a37 powerpc/64s/pgtable: fix an undefined behaviour
    a7ba81f26d70 arm64: tegra: Fix flag for 64-bit resources in 'ranges' property
    17232b92cf79 arm64: tegra: Fix ethernet phy-mode for Jetson Xavier
    d658c127fc41 fuse: copy_file_range should truncate cache
    c9ddb8dd12e1 fuse: fix copy_file_range cache issues
    ad7f78b7ce39 firmware: imx: scu: Fix possible memory leak in imx_scu_probe()
    95ea51b2690e scsi: target: tcmu: Userspace must not complete queued commands
    1503314a3354 RDMA/hns: Fix cmdq parameter of querying pf timer resource
    d09de58d2b65 RDMA/hns: Bugfix for querying qkey
    7d95cb8a4073 clk: samsung: exynos5433: Add IGNORE_UNUSED flag to sclk_i2s1
    fddd06f7490f fpga: dfl: afu: Corrected error handling levels
    7454c171a88c tty: n_gsm: Fix bogus i++ in gsm_data_kick
    4f01308480c5 USB: host: ehci-mxc: Add error handling in ehci_mxc_drv_probe()
    0e0332473790 ASoC: Intel: bytcr_rt5640: Add quirk for Toshiba Encore WT8-A tablet
    f1069001bba7 drm/msm/mdp5: Fix mdp5_init error path for failed mdp5_kms allocation
    fbf719e5da12 usb/ohci-platform: Fix a warning when hibernating
    8a67dae365e0 vfio-pci: Mask cap zero
    f5e28a0824ec powerpc/ps3: Fix kexec shutdown hang
    8f4372f4724d drivers: phy: sr-usb: do not use internal fsm for USB2 phy init
    1a588c7edcd0 powerpc/pseries/ras: Fix FWNMI_VALID off by one
    8240829fc38c powerpc/64s/exception: Fix machine check no-loss idle wakeup
    b1bc8753eefc ipmi: use vzalloc instead of kmalloc for user creation
    5c2207ba2394 habanalabs: increase timeout during reset
    828b192c57e8 PCI/PM: Assume ports without DLL Link Active train links in 100 ms
    c6737f3a1b01 HID: Add quirks for Trust Panora Graphic Tablet
    7961800651fa ALSA: usb-audio: Add duplex sound support for USB devices using implicit feedback
    860b8717f724 tty: n_gsm: Fix waking up upper tty layer when room available
    3a497f97a3b6 tty: n_gsm: Fix SOF skipping
    7fcc2ca6a3fb powerpc/64: Don't initialise init_task->thread.regs
    c7fab8a5c3ba PCI: Fix pci_register_host_bridge() device_register() error handling
    86e8dd9d249c clk: ti: composite: fix memory leak
    4536dbe64bd1 USB: ohci-sm501: fix error return code in ohci_hcd_sm501_drv_probe()
    c17e7243051a dlm: remove BUG() before panic()
    d40e6a98aa55 pinctrl: rockchip: fix memleak in rockchip_dt_node_to_map
    5248114b9bcf ASoC: ti: omap-mcbsp: Fix an error handling path in 'asoc_mcbsp_probe()'
    5acfef99644c ASoC: ux500: mop500: Fix some refcounted resources issues
    b0ccdd2fdd00 SoC: rsnd: add interrupt support for SSI BUSIF buffer
    f34a3697a8d4 scsi: mpt3sas: Fix double free warnings
    f20dfec03b82 scsi: target: loopback: Fix READ with data and sensebytes
    a798daf42a35 arm64: dts: msm8996: Fix CSI IRQ types
    6544b95bd789 ASoC: SOF: core: fix error return code in sof_probe_continue()
    79790202d4f3 power: supply: smb347-charger: IRQSTAT_D is volatile
    ad8b5b5faf9d power: supply: lp8788: Fix an error handling path in 'lp8788_charger_probe()'
    c1bcf01aea0e ALSA: firewire-lib: fix invalid assignment to union data for directional parameter
    3201bb03c8fd scsi: qla2xxx: Fix warning after FC target reset
    766c787e55ca PCI/ASPM: Allow ASPM on links to PCIe-to-PCI/PCI-X Bridges
    742f8ac8edd4 PCI: rcar: Fix incorrect programming of OB windows
    efb5f7b106ea drivers: base: Fix NULL pointer exception in __platform_driver_probe() if a driver developer is foolish
    33cf7944af54 serial: amba-pl011: Make sure we initialize the port.lock spinlock
    32a5bc992b6c i2c: pxa: fix i2c_pxa_scream_blue_murder() debug output
    9eb54d0e8962 PCI: v3-semi: Fix a memory leak in v3_pci_probe() error handling paths
    4d30daf901aa staging: sm750fb: add missing case while setting FB_VISUAL
    2428682e3f6c staging: wilc1000: Increase the size of wid_list array
    b14b7359535d usb: dwc3: gadget: Properly handle failed kick_transfer
    1bfa09147282 usb: dwc3: gadget: Properly handle ClearFeature(halt)
    e320bb0e01db HID: intel-ish-hid: avoid bogus uninitialized-variable warning
    cbec16266a35 soundwire: slave: don't init debugfs on device registration error
    a45fc52449d7 ASoC: max98373: reorder max98373_reset() in resume
    7377ba16b542 clk: meson: meson8b: Don't rely on u-boot to init all GP_PLL registers
    ea78361174c4 thermal/drivers/ti-soc-thermal: Avoid dereferencing ERR_PTR
    3296e566b0d2 gpio: pca953x: fix handling of automatic address incrementing
    dd47c98992d6 clk: meson: meson8b: Fix the vclk_div{1, 2, 4, 6, 12}_en gate bits
    ecb9a8068ba5 clk: meson: meson8b: Fix the polarity of the RESET_N lines
    1fa1d1ceb02f clk: meson: meson8b: Fix the first parent of vid_pll_in_sel
    9a624802e628 slimbus: ngd: get drvdata from correct device
    793e15fb6681 tty: hvc: Fix data abort due to race in hvc_open
    eb3e85b3375d s390/qdio: put thinint indicator after early error
    d7852661f9fd ALSA: usb-audio: Fix racy list management in output queue
    aba41867dd66 ALSA: usb-audio: Improve frames size computation
    3468bca1ea44 staging: gasket: Fix mapping refcnt leak when register/store fails
    b3b4dcdc2bb4 staging: gasket: Fix mapping refcnt leak when put attribute fails
    0c884f3236f3 firmware: qcom_scm: fix bogous abuse of dma-direct internals
    0c48b6df64c0 arm64: dts: qcom: fix pm8150 gpio interrupts
    2b5e027657d4 virtiofs: schedule blocking async replies in separate worker
    ff86bd6cca2e pinctrl: rza1: Fix wrong array assignment of rza1l_swio_entries
    cd3f4ed1c567 scsi: qedf: Fix crash when MFW calls for protocol stats while function is still probing
    a0a00156d50e gpio: dwapb: Append MODULE_ALIAS for platform driver
    02416142fdf4 RDMA/mlx5: Fix udata response upon SRQ creation
    7acbadd1aa29 ARM: dts: sun8i-h2-plus-bananapi-m2-zero: Fix led polarity
    ef0c0fbf1d4a arm64: dts: qcom: msm8916: remove unit name for thermal trip points
    f37623862ec5 scsi: qedi: Do not flush offload work if ARP not resolved
    0e5d7bff3b06 arm64: dts: mt8173: fix unit name warnings
    7bf3a213f79e staging: greybus: fix a missing-check bug in gb_lights_light_config()
    c970dcc085b8 x86/purgatory: Disable various profiling and sanitizing options
    a78c65cb4b67 apparmor: fix nnp subset test for unconfined
    af1f72ad18bb scsi: ibmvscsi: Don't send host info in adapter info MAD after LPM
    08d2ea2e236a scsi: sr: Fix sr_probe() missing deallocate of device minor
    8f73ac0b6434 bpf, sockhash: Fix memory leak when unlinking sockets in sock_hash_free
    efdb1bf81aab ASoC: meson: add missing free_irq() in error path
    390f1688fb46 f2fs: handle readonly filesystem in f2fs_ioc_shutdown()
    039a79ef0b1e apparmor: check/put label on apparmor_sk_clone_security()
    2a9b3e4667f5 net: dsa: lantiq_gswip: fix and improve the unsupported interface error
    88bc3e060390 apparmor: fix introspection of of task mode for unconfined tasks
    d782d6a142d5 mksysmap: Fix the mismatch of '.L' symbols in System.map
    d0af43b47418 NTB: Fix the default port and peer numbers for legacy drivers
    f0b8eead5b1c NTB: ntb_pingpong: Choose doorbells based on port number
    0ec407dfc1ec yam: fix possible memory leak in yam_init_driver
    a4d4b8437731 sparc32: mm: Don't try to free page-table pages if ctor() fails
    7f16ba366a66 pwm: img: Call pm_runtime_put() in pm_runtime_get_sync() failed case
    9b163c91620c powerpc/crashkernel: Take "mem=" option into account
    211836827af3 ASoC: qcom: q6asm-dai: kCFI fix
    117929a41db1 cifs: set up next DFS target before generic_ip_connect()
    c0c8c8b10567 RDMA/core: Fix several reference count leaks.
    3851967ff567 PCI: vmd: Filter resource type bits from shadow register
    e8cac2e3067e nfsd: Fix svc_xprt refcnt leak when setup callback client failed
    db686568ae52 powerpc/perf/hv-24x7: Fix inconsistent output values incase multiple hv-24x7 events run
    ecb9c4d344c9 IB/mlx5: Fix DEVX support for MLX5_CMD_OP_INIT2INIT_QP command
    a2fe8d88aeff clk: clk-flexgen: fix clock-critical handling
    6a70c943a26f scsi: vhost: Notify TCM about the maximum sg entries supported per command
    296cec70500b scsi: lpfc: Fix lpfc_nodelist leak when processing unsolicited event
    82ac4863030c clk: zynqmp: fix memory leak in zynqmp_register_clocks
    bee9cc351308 scsi: cxgb3i: Fix some leaks in init_act_open()
    4deddbf7db45 mfd: wm8994: Fix driver operation if loaded as modules
    8e52a1eef19b powerpc/ptdump: Add _PAGE_COHERENT flag
    805bae7592fa usb: gadget: core: sync interrupt before unbind the udc
    2ec338547c67 gpio: dwapb: Call acpi_gpiochip_free_interrupts() on GPIO chip de-registration
    02bdd581404d m68k/PCI: Fix a memory leak in an error handling path
    ec475f960e92 PCI: pci-bridge-emul: Fix PCIe bit conflicts
    ba5192db9672 scsi: hisi_sas: Do not reset phy timer to wait for stray phy up
    2b670bbfd8c0 RDMA/mlx5: Add init2init as a modify command
    cbd55ce91abf coresight: tmc: Fix TMC mode read in tmc_read_prepare_etb()
    c74ead459747 vfio/pci: fix memory leaks in alloc_perm_bits()
    24911d387b84 arm64: dts: fvp/juno: Fix node address fields
    6d79ba8094fa ps3disk: use the default segment boundary
    bc881cd5334c PCI: aardvark: Don't blindly enable ASPM L0s and don't write to read-only register
    492c50fe65a9 arm64: dts: fvp: Fix GIC child nodes
    376ef9d7ee4c ASoC: SOF: Do nothing when DSP PM callbacks are not set
    1cdae7bb4221 clk: renesas: cpg-mssr: Fix STBCR suspend/resume handling
    14c5e25d3b00 pinctrl: ocelot: Fix GPIO interrupt decoding on Jaguar2
    4e55b843fa61 arm64: dts: juno: Fix GIC child nodes
    7df82e1754df arm64: dts: armada-3720-turris-mox: fix SFP binding
    4ca96a5de812 arm64: dts: armada-3720-turris-mox: forbid SDR104 on SDIO for FCC purposes
    a86306dbefc3 dm mpath: switch paths in dm_blk_ioctl() code path
    08f396eb02c8 misc: fastrpc: fix potential fastrpc_invoke_ctx leak
    8d8991bb2bf0 misc: fastrpc: Fix an incomplete memory release in fastrpc_rpmsg_probe()
    c2ff1fcc2530 serial: 8250: Fix max baud limit in generic 8250 port
    9e6a9201b78b usblp: poison URBs upon disconnect
    cc9024f69ba7 clk: samsung: Mark top ISP and CAM clocks on Exynos542x as critical
    2b5e61da68e8 remoteproc: qcom_q6v5_mss: map/unmap mpss segments before/after use
    8a44731af689 i2c: pxa: clear all master action bits in i2c_pxa_stop_message()
    ceb63ec0ef6e f2fs: report delalloc reserve as non-free in statfs for project quota
    ca90f67ece5c iio: bmp280: fix compensation of humidity
    30bd1f36b6eb rtc: mc13xxx: fix a double-unlock issue
    91fce7922a75 powerpc/kasan: Fix stack overflow by increasing THREAD_SHIFT
    a6a0317bf9c2 Input: edt-ft5x06 - fix get_default register write access
    70a2296d4bab scsi: qla2xxx: Fix issue with adapter's stopping state
    5800b7f7d231 PCI: Allow pci_resize_resource() for devices on root bus
    956a2e737a2c ALSA: isa/wavefront: prevent out of bounds write in ioctl
    23337efa940c ALSA: hda/realtek - Introduce polarity for micmute LED GPIO
    66a177ae4ed0 arm64: dts: meson: fixup SCP sram nodes
    7631dc491a3f scsi: qedi: Check for buffer overflow in qedi_set_path()
    545b86efa0d0 scsi: core: free sgtables in case command setup fails
    bde2d5d443c4 ARM: dts: stm32: Add missing ethernet PHY reset on AV96
    38ede4d7736e ARM: integrator: Add some Kconfig selections
    a1359b9fdd8d ASoC: davinci-mcasp: Fix dma_chan refcnt leak when getting dma type
    8908c555e06e ARM: dts: renesas: Fix IOMMU device node names
    2c40fc80331b backlight: lp855x: Ensure regulators are disabled on probe failure
    53057bd4ac84 ASoC: fsl_esai: Disable exception interrupt before scheduling tasklet
    b543c3595188 clk: qcom: msm8916: Fix the address location of pll->config_reg
    7906a075c900 remoteproc: Fix IDR initialisation in rproc_alloc()
    8bd207bb1a25 iio: pressure: bmp280: Tolerate IRQ before registering
    2e714a547ef8 ASoC: SOF: imx8: Fix randbuild error
    dc570a1fb48c i2c: piix4: Detect secondary SMBus controller on AMD AM4 chipsets
    30e82a3edd94 ASoC: tegra: tegra_wm8903: Support nvidia, headset property
    7b139b714a5d clk: sunxi: Fix incorrect usage of round_down()
    8aa822a1305c power: supply: bq24257_charger: Replace depends on REGMAP_I2C with select
    67cb016870e2 Linux 5.4.48
    8e38ea68da06 perf symbols: Fix kernel maps for kcore and eBPF
    807cc607f129 perf symbols: Fix debuginfo search for Ubuntu
    842645de05d5 perf probe: Check address correctness by map instead of _etext
    be781abe3ae8 perf probe: Fix to check blacklist address correctly
    a2e097910334 perf probe: Do not show the skipped events
    9660edf6729d f2fs: fix checkpoint=disable:%u%%
    1866b1493e2e w1: omap-hdq: cleanup to add missing newline for some dev_dbg
    2140d7d5d878 mtd: rawnand: tmio: Fix the probe error path
    ec851b26a3e5 mtd: rawnand: mtk: Fix the probe error path
    b5404756b54f mtd: rawnand: pasemi: Fix the probe error path
    44a9bf52ef80 mtd: rawnand: plat_nand: Fix the probe error path
    ab702f81e978 mtd: rawnand: sunxi: Fix the probe error path
    2d77d5575e09 mtd: rawnand: oxnas: Fix the probe error path
    2d6b0901b834 mtd: rawnand: socrates: Fix the probe error path
    3a54e242870b mtd: rawnand: orion: Fix the probe error path
    0b19623af5a6 mtd: rawnand: xway: Fix the probe error path
    ae7cf595e15b mtd: rawnand: ingenic: Fix the probe error path
    38abdd9bf77c mtd: rawnand: sharpsl: Fix the probe error path
    8d695fbaa5cb mtd: rawnand: diskonchip: Fix the probe error path
    1260c45ac55b mtd: rawnand: brcmnand: fix hamming oob layout
    ba4ffbb5592d mtd: rawnand: onfi: Fix redundancy detection check
    869a782420da mtd: rawnand: Fix nand_gpio_waitrdy()
    e5084eadf193 sunrpc: clean up properly in gss_mech_unregister()
    4a68a2e25e20 sunrpc: svcauth_gss_register_pseudoflavor must reject duplicate registrations.
    e4f7a7260737 kbuild: force to build vmlinux if CONFIG_MODVERSION=y
    1b0d830e0ce0 powerpc/64s: Save FSCR to init_task.thread.fscr after feature init
    b3b357d83079 powerpc/64s: Don't let DT CPU features set FSCR_DSCR
    1d9a4422c9ac powerpc/32: Disable KASAN with pages bigger than 16k
    4719cb8a16af powerpc/kasan: Fix shadow pages allocation failure
    002d22c4945a powerpc/kasan: Fix issues by lowering KASAN_SHADOW_END
    23e07a77aa7c powerpc/32s: Fix another build failure with CONFIG_PPC_KUAP_DEBUG
    c6077abc067f drivers/macintosh: Fix memleak in windfarm_pm112 driver
    1d5144d7dc5d ARM: dts: s5pv210: Set keep-power-in-suspend for SDHCI1 on Aries
    727111d44a59 ARM: dts: at91: sama5d2_ptc_ek: fix vbus pin
    1bfcafbb4d1e ARM: dts: exynos: Fix GPIO polarity for thr GalaxyS3 CM36651 sensor's bus
    8c7ca9ab5abc soc/tegra: pmc: Select GENERIC_PINCONF
    be20b99a86b3 ARM: tegra: Correct PL310 Auxiliary Control Register initialization
    b5d2f71b98b7 kernel/cpu_pm: Fix uninitted local in cpu_pm
    6d9cc26aa164 powerpc/fadump: Account for memory_limit while reserving memory
    6fd930da24e1 powerpc/fadump: consider reserved ranges while reserving memory
    3e9211d98803 powerpc/fadump: use static allocation for reserved memory ranges
    c81e34c4346f alpha: fix memory barriers so that they conform to the specification
    5018a0bd0964 dm crypt: avoid truncating the logical block size
    ee6fa4903f84 sparc64: fix misuses of access_process_vm() in genregs32_[sg]et()
    0dcbc7d6cd2d sparc32: fix register window handling in genregs32_[gs]et()
    f2f18147c7db gnss: sirf: fix error return code in sirf_probe()
    e75e551606f4 pinctrl: samsung: Save/restore eint_mask over suspend for EINT_TYPE GPIOs
    407933bbb385 pinctrl: samsung: Correct setting of eint wakeup mask on s5pv210
    8b28e5c35d32 power: supply: core: fix memory leak in HWMON error path
    6050811edffb power: supply: core: fix HWMON temperature labels
    0fd525d817ea power: vexpress: add suppress_bind_attrs to true
    7c71b9aa18a0 EDAC/amd64: Add AMD family 17h model 60h PCI IDs
    67712fa4a662 hwmon: (k10temp) Add AMD family 17h model 60h PCI match
    3046b09d45ec igb: Report speed and duplex as unknown when device is runtime suspended
    e6f91166fc37 clk: mediatek: assign the initial value to clk_init_data of mtk_mux
    adecd49745f8 media: ov5640: fix use of destroyed mutex
    3ef00d99199d b43_legacy: Fix connection problem with WPA3
    b74d369d2962 b43: Fix connection problem with WPA3
    5c039a9921b3 b43legacy: Fix case where channel status is corrupted
    eeb0cf8bb68e Bluetooth: hci_bcm: fix freeing not-requested IRQ
    4c79dd14c15d serial: 8250: Avoid error message on reprobe
    80462f7c296d media: cedrus: Program output format during each run
    6e688a315acf media: go7007: fix a miss of snd_card_free
    bda6ebf290fa carl9170: remove P2P_GO support
    cedbd8709cc1 e1000e: Relax condition to trigger reset for ME workaround
    0fedb80811f4 e1000e: Disable TSO for buffer overrun workaround
    f4cc36066a31 PCI: Program MPS for RCiEP devices
    e131e70e2144 ima: Set again build_ima_appraise variable
    2600136eaee9 ima: Remove redundant policy rule set in add_rules()
    70ce85319d45 x86/amd_nb: Add AMD family 17h model 60h PCI IDs
    44eec92cc4bf serial: 8250_pci: Move Pericom IDs to pci_ids.h
    3c8938fb19ed PCI: Add Loongson vendor ID
    9cfece5c0e2b x86/amd_nb: Add Family 19h PCI IDs
    b35415c0949a PCI: vmd: Add device id for VMD device 8086:9A0B
    3179b408c401 PCI: Add ACS quirk for Intel Root Complex Integrated Endpoints
    0e4528cdbaf0 PCI: Avoid FLR for AMD Starship USB 3.0
    cb5ac1a32552 PCI: Avoid FLR for AMD Matisse HD Audio & USB 3.0
    c41d7ca0061e PCI: Avoid Pericom USB controller OHCI/EHCI PME# defect
    fd8abb78b129 ext4: fix race between ext4_sync_parent() and rename()
    c316ebcf9f4b ext4: fix error pointer dereference
    319b553695ec ext4: fix EXT_MAX_EXTENT/INDEX to check for zeroed eh_max
    6de50456fe17 evm: Fix possible memory leak in evm_calc_hmac_or_hash()
    ce7f038f859d ima: Remove __init annotation from ima_pcrread()
    f387759c2d67 ima: Call ima_calc_boot_aggregate() in ima_eventdigest_init()
    64712383a186 ima: Directly assign the ima_default_policy pointer to ima_rules
    4ce29d9b1941 ima: Evaluate error in init_ima()
    5f7272bd228c ima: Switch to ima_hash_algo for boot aggregate
    0698eacdfc4f ima: Fix ima digest hash table key calculation
    13ae9eaae0cc mm: call cond_resched() from deferred_init_memmap()
    5386d93bc5b6 mm/pagealloc.c: call touch_nmi_watchdog() on max order boundaries in deferred init
    c388f173ed8a mm: initialize deferred pages with interrupts enabled
    a88d8aaf9b8b mm: thp: make the THP mapcount atomic against __split_huge_pmd_locked()
    e418045e25a9 powerpc/mm: Fix conditions to perform MMU specific management by blocks on PPC32.
    0ccfd7a531e8 btrfs: fix space_info bytes_may_use underflow during space cache writeout
    248cdf728895 btrfs: fix space_info bytes_may_use underflow after nocow buffered write
    8076bdd4fe00 btrfs: fix wrong file range cleanup after an error filling dealloc range
    c2c69ecb605f btrfs: fix error handling when submitting direct I/O bio
    05c5e98bf402 btrfs: force chunk allocation if our global rsv is larger than metadata
    f63545770fc4 btrfs: send: emit file capabilities after chown
    20f260ed536a btrfs: include non-missing as a qualifier for the latest_bdev
    fd9720b8e957 btrfs: free alien device after device add
    b008ae4cc74d string.h: fix incompatibility between FORTIFY_SOURCE and KASAN
    d6c2b4d246c5 kasan: stop tests being eliminated as dead code with FORTIFY_SOURCE
    c48a842d8ce7 selftests/bpf, flow_dissector: Close TAP device FD after the test
    e7b1564a24e6 bpf: Fix running sk_skb program types with ktls
    d9cd7b83942f bpf: Refactor sockmap redirect code so its easy to reuse
    215a256bc8dd bpf: Fix map permissions check
    0d55b7032ad1 libbpf: Fix perf_buffer__free() API for sparse allocs
    98545815cfcf platform/x86: asus_wmi: Reserve more space for struct bias_args
    4383a5dfbdc5 platform/x86: intel-vbtn: Only blacklist SW_TABLET_MODE on the 9 / "Laptop" chasis-type
    5f3cba4bc241 platform/x86: intel-hid: Add a quirk to support HP Spectre X2 (2015)
    176396ad0594 platform/x86: hp-wmi: Convert simple_strtoul() to kstrtou32()
    b77412359c1e cpuidle: Fix three reference count leaks
    cf3359869819 spi: dw: Return any value retrieved from the dma_transfer callback
    2c95fc879a2f mmc: sdhci-esdhc-imx: fix the mask for tuning start point
    7fe3a1c29869 iwlwifi: mvm: fix aux station leak
    ffa118a164e6 ixgbe: fix signed-integer-overflow warning
    99ea968e3766 ice: fix potential double free in probe unrolling
    62b2fbb9c463 mmc: via-sdmmc: Respect the cmd->busy_timeout from the mmc core
    3d6143663f21 staging: greybus: sdio: Respect the cmd->busy_timeout from the mmc core
    8a7c5b83f846 mmc: sdhci-msm: Set SDHCI_QUIRK_MULTIBLOCK_READ_ACMD12 quirk
    62e7e4f5976c bcache: fix refcount underflow in bcache_device_free()
    d55960f7f6b7 MIPS: Fix IRQ tracing when call handle_fpe() and handle_msa_fpe()
    3f6482c0a486 PCI: Don't disable decoding when mmio_always_on is set
    fa99a4b3fb12 macvlan: Skip loopback packets in RX handler
    c6f1f12a8c3d btrfs: qgroup: mark qgroup inconsistent if we're inherting snapshot to a new qgroup
    1e42a1857bcf btrfs: improve global reserve stealing logic
    590aad883521 m68k: mac: Don't call via_flush_cache() on Mac IIfx
    ce066ce05e1b MIPS: tools: Fix resource leak in elf-entry.c
    87ef5086a3c2 x86/mm: Stop printing BRK addresses
    41b44325c9eb selftests/bpf: CONFIG_IPV6_SEG6_BPF required for test_seg6_loop.o
    5b8d09eeb4a6 drm/amdgpu: Sync with VM root BO when switching VM to CPU update mode
    b06a7dc9e5f6 drm/amd/powerpay: Disable gfxoff when setting manual mode on picasso and raven
    188e3e6ed902 crypto: stm32/crc32 - fix multi-instance
    d879598b8dae crypto: stm32/crc32 - fix run-time self test issue.
    8fe61a2027db crypto: stm32/crc32 - fix ext4 chksum BUG_ON()
    c79c643fca61 mips: Add udelay lpj numbers adjustment
    34a45e84edc5 mips: MAAR: Use more precise address mask
    9fa3b0bd9914 sched: Defend cfs and rt bandwidth quota against overflow
    fecf17b609a7 x86/boot: Correct relocation destination on old linkers
    7b3423eff20e kgdboc: Use a platform device to handle tty drivers showing up late
    39d7ce336ec5 mwifiex: Fix memory corruption in dump_station
    65f1c3e4e906 rtlwifi: Fix a double free in _rtl_usb_tx_urb_setup()
    916f41e40643 net/mlx5e: IPoIB, Drop multicast packets that this interface sent
    fa408bbe1007 veth: Adjust hard_start offset on redirect XDP frames
    894d9cd52466 iocost: don't let vrate run wild while there's no saturation signal
    7f5d77570b0c raid5: remove gfp flags from scribble_alloc()
    cd4013947eae md: don't flush workqueue unconditionally in md_open
    5deaa24167a6 mt76: avoid rx reorder buffer overflow
    095e7a6a326c drm/mcde: dsi: Fix return value check in mcde_dsi_bind()
    727093f432d1 net: qed*: Reduce RX and TX default ring count when running inside kdump kernel
    5099a9c22dbf wcn36xx: Fix error handling path in 'wcn36xx_probe()'
    dbf2fab3f540 ath10k: Remove msdu from idr when management pkt send fails
    671d8b8726a1 nvme-tcp: use bh_lock in data_ready
    a09fc96a3d54 nvme-pci: align io queue count with allocted nvme_queue in nvme_probe
    be7f2672c341 nvme: refine the Qemu Identify CNS quirk
    66ea23154df0 iwlwifi: avoid debug max amsdu config overwriting itself
    287a0f7a3393 platform/x86: intel-vbtn: Also handle tablet-mode switch on "Detachable" and "Portable" chassis-types
    708e0175edf5 platform/x86: intel-vbtn: Do not advertise switches to userspace if they are not there
    0ac5741007f1 platform/x86: intel-vbtn: Split keymap into buttons and switches parts
    4a091f1d273f platform/x86: intel-vbtn: Use acpi_evaluate_integer()
    b04c79255e8d xfs: fix duplicate verification from xfs_qm_dqflush()
    f69806af2a2f xfs: reset buffer write failure state on successful completion
    4f1a132115ef kgdb: Fix spurious true from in_dbg_master()
    fe99bb25c452 mips: cm: Fix an invalid error code of INTVN_*_ERR
    7bf491d01ea7 MIPS: Truncate link address into 32bit for 32bit kernel
    ec19b7a525aa Crypto/chcr: fix for ccm(aes) failed test
    984fc5f4e3b4 xfs: clean up the error handling in xfs_swap_extents
    0eeea4b8f0a9 libertas_tf: avoid a null dereference in pointer priv
    964de53149ab powerpc/spufs: fix copy_to_user while atomic
    dc091fc86216 net: allwinner: Fix use correct return type for ndo_start_xmit()
    8ca0e780b4e8 media: cec: silence shift wrapping warning in __cec_s_log_addrs()
    4f6762503fa2 drivers: net: davinci_mdio: fix potential NULL dereference in davinci_mdio_probe()
    b2083327ea3c selinux: fix error return code in policydb_read()
    86dced2417b7 net: lpc-enet: fix error return code in lpc_mii_init()
    7b88ccc137fb iocost_monitor: drop string wrap around numbers when outputting json
    5934e2270901 drivers/perf: hisi: Fix typo in events attribute array
    f7757368e0f0 sched/core: Fix illegal RCU from offline CPUs
    2e256dd5b055 exit: Move preemption fixup up, move blocking operations down
    338ff29604d9 lib/mpi: Fix 64-bit MIPS build with Clang
    4fbc334749e7 net: bcmgenet: Fix WoL with password after deep sleep
    d7b1ca9eebdf net: bcmgenet: set Rx mode before starting netif
    1dbb13ceedac selftests/bpf: Fix memory leak in extract_build_id()
    58ee4d253753 netfilter: nft_nat: return EOPNOTSUPP if type or flags are not supported
    d1a00c9bb1c7 dpaa2-eth: fix return codes used in ndo_setup_tc
    04ab099d1eb0 Drivers: hv: vmbus: Always handle the VMBus messages on CPU0
    51d2957b21b5 audit: fix a net reference leak in audit_list_rules_send()
    5b737a0ae101 Bluetooth: btbcm: Add 2 missing models to subver tables
    c5edfe811b4a ath10k: add flush tx packets for SDIO chip
    cc66b6bb3241 MIPS: Make sparse_init() using top-down allocation
    c3bc42b70ed1 media: platform: fcp: Set appropriate DMA parameters
    79d622a81322 media: dvb: return -EREMOTEIO on i2c transfer failure.
    189ca174b87d audit: fix a net reference leak in audit_send_reply()
    6315839f14b9 drm/mediatek: set dpi pin mode to gpio low to avoid leakage current
    878ca9ebf1a0 dt-bindings: display: mediatek: control dpi pins mode to avoid leakage
    4f8c52320202 e1000: Distribute switch variables for initialization
    0bf9805dfdae tools api fs: Make xxx__mountpoint() more scalable
    a17cc8a6abab regulator: qcom-rpmh: Fix typos in pm8150 and pm8150l
    22a734616824 brcmfmac: fix wrong location to get firmware feature
    90e5154c737c spi: Respect DataBitLength field of SpiSerialBusV2() ACPI resource
    42c22e4834c2 media: staging/intel-ipu3: Implement lock for stream on/off operations
    bfc0ee2b31f8 ath10k: fix kernel null pointer dereference
    76ecfcfefe3b staging: android: ion: use vmap instead of vm_map_ram
    3ec7b42f1747 x86: fix vmap arguments in map_irq_stack
    ece6218eea3a net: vmxnet3: fix possible buffer overflow caused by bad DMA value in vmxnet3_get_rss()
    af510d6fd690 x86/kvm/hyper-v: Explicitly align hcall param for kvm_hyperv_exit
    bd18ecbbc7aa spi: dw: Fix Rx-only DMA transfers
    999b59be5d20 Bluetooth: btmtkuart: Improve exception handling in btmtuart_probe()
    2daf747c2831 mmc: meson-mx-sdio: trigger a soft reset after a timeout or CRC error
    804664580662 ice: Fix for memory leaks and modify ICE_FREE_CQ_BUFS
    f9b545956421 ice: Fix memory leak
    f503e7fe3099 batman-adv: Revert "disable ethtool link speed detection when auto negotiation off"
    8cf93ef213f9 ARM: 8978/1: mm: make act_mm() respect THREAD_SIZE
    2a005026102e btrfs: do not ignore error from btrfs_next_leaf() when inserting checksums
    3bb51c966b9f btrfs: account for trans_block_rsv in may_commit_transaction
    cb0ee3f03f0b media: dvbdev: Fix tuner->demod media controller link
    bffe2c8e2303 clocksource: dw_apb_timer_of: Fix missing clockevent timers
    7bd656984566 clocksource: dw_apb_timer: Make CPU-affiliation being optional
    e8ec0ae0f3cf spi: dw: Enable interrupts in accordance with DMA xfer mode
    a2683765887d mips: Fix cpu_has_mips64r1/2 activation for MIPS32 CPUs
    b1d2d3dd016f ACPI/IORT: Fix PMCG node single ID mapping handling
    c2ad0dc7b9e0 pmu/smmuv3: Clear IRQ affinity hint on device removal
    308c2095da30 kgdb: Prevent infinite recursive entries to the debugger
    1343e0a85941 kgdb: Disable WARN_CONSOLE_UNLOCKED for all kgdb
    5c79bf440d35 Bluetooth: Add SCO fallback for invalid LMP parameters error
    461b239e3a73 MIPS: Loongson: Build ATI Radeon GPU driver as module
    544a3a292d8e platform/x86: dell-laptop: don't register micmute LED if there is no token
    ece1e470af13 ixgbe: Fix XDP redirect on archs with PAGE_SIZE above 4K
    6eec65c9e283 lockdown: Allow unprivileged users to see lockdown status
    00f73938ef65 drm: rcar-du: Set primary plane zpos immutably at initializing
    e7aefaba39d2 block: reset mapping if failed to update hardware queue count
    b432540123f5 arm64: insn: Fix two bugs in encoding 32-bit logical immediates
    201219691a9a block: alloc map and request for new hardware queue
    fec6f8c0b221 ACPICA: Dispatcher: add status checks
    c916af516d82 spi: dw: Zero DMA Tx and Rx configurations on stack
    92fb6909b058 rtw88: fix an issue about leak system resources
    bd7662d6036e media: staging: ipu3: Fix stale list entries on parameter queue failure
    9a0c99419125 arm64: cacheflush: Fix KGDB trap detection
    12d4dac2be77 ath10k: remove the max_sched_scan_reqs value
    c573a13f72fb efi/libstub/x86: Work around LLVM ELF quirk build regression
    fa15b59b1ea2 net: ena: fix error returning in ena_com_get_hash_function()
    84c8498320d2 net: atlantic: make hw_get_regs optional
    9f664eda61a0 sched/fair: Refill bandwidth before scaling
    91517e951830 x86,smap: Fix smap_{save,restore}() alternatives
    6fc5d5834b37 spi: pxa2xx: Apply CS clk quirk to BXT
    269e7b43f2b4 libbpf: Fix memory leak and possible double-free in hashmap__clear
    072d23eef600 arm64/kernel: Fix range on invalidating dcache for boot page tables
    614722f1ffd2 drm/amdgpu: Init data to avoid oops while reading pp_num_states.
    d2a244e74808 spi: spi-mem: Fix Dual/Quad modes on Octal-capable devices
    07d45406db69 objtool: Ignore empty alternatives
    1121685ca1bd media: si2157: Better check for running tuner in init
    18b2a6f250cc media: vicodec: Fix error codes in probe function
    f9f8f0c24203 crypto: ccp -- don't "select" CONFIG_DMADEVICES
    68aeaeac683b media: imx: imx7-mipi-csis: Cleanup and fix subdev pad format handling
    ff41c7b3c7db media: staging: imgu: do not hold spinlock during freeing mmu page table
    22710f6c35a3 drm: bridge: adv7511: Extend list of audio sample rates
    30c5d951a557 ath10k: Fix the race condition in firmware dump work queue
    6fc5719b85ec drm/amdgpu: fix and cleanup amdgpu_gem_object_close v4
    f3ec5b536fc1 ACPI: GED: use correct trigger type field in _Exx / _Lxx handling

(From OE-Core rev: 0ebb9d1d1f02ec4c567d56c18103df388e75e3ba)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 16:42:11 +01:00
Bruce Ashfield
7f94e25b4a linux-yocto/5.4: update to v5.4.47
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    fd8cd8ac940c Linux 5.4.47
    d96ef8fa9534 KVM: arm64: Save the host's PtrAuth keys in non-preemptible context
    812857678847 KVM: arm64: Synchronize sysreg state on injecting an AArch32 exception
    85831981aa0e xen/pvcalls-back: test for errors when calling backend_connect()
    29ed45653bec block/floppy: fix contended case in floppy_queue_rq()
    9ec34f441ed4 mmc: sdio: Fix several potential memory leaks in mmc_sdio_init_card()
    55d805ab3691 mmc: sdio: Fix potential NULL pointer error in mmc_sdio_init_card()
    d3c4c5a4d3d8 ARM: dts: at91: sama5d2_ptc_ek: fix sdmmc0 node description
    5a05406e8c14 mmc: uniphier-sd: call devm_request_irq() after tmio_mmc_host_probe()
    1ccf2d6c5b8c mmc: tmio: Further fixup runtime PM management at remove
    e9614e0c525d mmc: mmci_sdmmc: fix DMA API warning overlapping mappings
    f5b13ef230dc mmc: sdhci-msm: Clear tuning done flag while hs400 tuning
    bfc12ff9050b agp/intel: Reinforce the barrier after GTT updates
    e81b05e535e8 perf: Add cond_resched() to task_function_call()
    e0544273b70c fat: don't allow to mount if the FAT length == 0
    c49a17f1f1f7 mm/slub: fix a memory leak in sysfs_slab_add()
    b21602a88ef1 drm/vkms: Hold gem object while still in-use
    9c09a772acb4 Smack: slab-out-of-bounds in vsscanf
    b5c8896bc14f ath9k: Fix general protection fault in ath9k_hif_usb_rx_cb
    db899f242e1a ath9x: Fix stack-out-of-bounds Write in ath9k_hif_usb_rx_cb
    3412e9437543 ath9k: Fix use-after-free Write in ath9k_htc_rx_msg
    3eb802924486 ath9k: Fix use-after-free Read in ath9k_wmi_ctrl_rx
    7f336346d001 ath9k: Fix use-after-free Read in htc_connect_service
    fe0957254640 selftests/ftrace: Return unsupported if no error_log file
    221b26e01d9d scsi: lpfc: Fix negation of else clause in lpfc_prep_node_fc4type
    387d51f0c16f scsi: megaraid_sas: TM command refire leads to controller firmware crash
    205b4c441b0e KVM: arm64: Make vcpu_cp1x() work on Big Endian hosts
    f9551b73717a KVM: arm64: Stop writing aarch32's CSSELR into ACTLR
    8c8238343f0f KVM: MIPS: Fix VPN2_MASK definition for variable cpu_vmbits
    94f4af1b73de KVM: MIPS: Define KVM_ENTRYHI_ASID to cpu_asid_mask(&boot_cpu_data)
    c6d2eb8e57b3 KVM: nVMX: Consult only the "basic" exit reason when routing nested exit
    021cd99a305a KVM: nSVM: leave ASID aside in copy_vmcb_control_area
    3c0bee0c0757 KVM: nSVM: fix condition for filtering async PF
    64b8f33b2e1e KVM: nVMX: Skip IBPB when switching between vmcs01 and vmcs02
    d181dc3667de video: fbdev: w100fb: Fix a potential double free.
    dc8897b8d3b4 video: vt8500lcdfb: fix fallthrough warning
    78e6964dce2a EDAC/skx: Use the mcmtr register to retrieve close_pg/bank_xor_enable
    cd266f8a5b1c cpufreq: Fix up cpufreq_boost_set_sw()
    943f3ae9b149 remoteproc: Fix and restore the parenting hierarchy for vdev
    81fb06cb6bd4 remoteproc: Fall back to using parent memory pool if no dedicated available
    12b24ba6ce56 proc: Use new_inode not new_inode_pseudo
    98a3dea7e276 ovl: initialize error in ovl_copy_xattr
    5650ce02d261 net/mlx5e: Fix repeated XSK usage on one channel
    b05f2b60213c net/mlx5: Fix fatal error handling during device load
    cd5d0278dcb1 net/mlx5: drain health workqueue in case of driver load error
    57bad9e291e3 selftests/net: in rxtimestamp getopt_long needs terminating null entry
    05e275d8742b dccp: Fix possible memleak in dccp_init and dccp_fini
    5ab6f11621a5 crypto: virtio: Fix dest length calculation in __virtio_crypto_skcipher_do_req()
    af03d5957152 crypto: virtio: Fix src/dst scatterlist calculation in __virtio_crypto_skcipher_do_req()
    2ef260d686b5 crypto: virtio: Fix use-after-free in virtio_crypto_skcipher_finalize_req()
    0070e73c9edc firmware: imx: scu: Fix corruption of header
    a1fd068c8922 firmware: imx-scu: Support one TX and one RX
    da24a76bdc81 firmware: imx: warn on unexpected RX
    9a20d6c32756 x86/{mce,mm}: Unmap the entire page if the whole page is affected and poisoned
    977b89e1aba0 crypto: drbg - fix error return code in drbg_alloc_state()
    6ebdf342d4c7 crypto: algapi - Avoid spurious modprobe on LOADED
    4a87772480aa crypto: cavium/nitrox - Fix 'nitrox_get_first_device()' when ndevlist is fully iterated
    1027dc04f557 gup: document and work around "COW can break either way" issue
    6ed11984edb1 PM: runtime: clk: Fix clk_pm_runtime_get() error path
    fc45cd292c5e spi: bcm-qspi: when tx/rx buffer is NULL set to 0
    0cd18337704f spi: bcm-qspi: Handle clock probe deferral
    3bb1e6eb7c5e spi: bcm2835aux: Fix controller unregister order
    496a5e5fd0e6 spi: bcm2835: Fix controller unregister order
    73d9bae0a584 spi: pxa2xx: Fix runtime PM ref imbalance on probe error
    1aec7b22a93f spi: pxa2xx: Fix controller unregister order
    824a4e3b9acf spi: Fix controller unregister order
    7753886c6dd7 spi: dw: Fix controller unregister order
    ffe5ebdf81a1 nilfs2: fix null pointer dereference at nilfs_segctor_do_construct()
    d4904b38ea45 lib/lzo: fix ambiguous encoding bug in lzo-rle
    07ffdf0d984b arm64: acpi: fix UBSAN warning
    286822392013 ACPI: PM: Avoid using power resources if there are none for D0
    75d6d0ad12f3 ACPI: GED: add support for _Exx / _Lxx handler methods
    040b4dcc1269 ACPI: CPPC: Fix reference count leak in acpi_cppc_processor_probe()
    e4cc99efbeb9 ACPI: sysfs: Fix reference count leak in acpi_sysfs_add_hotplug_profile()
    10a8c04c0b51 ALSA: usb-audio: Add vendor, product and profile name for HP Thunderbolt Dock
    969c9b50fdec ALSA: usb-audio: Fix inconsistent card PM state after resume
    1f5ab51e2e2f ALSA: pcm: fix snd_pcm_link() lockdep splat
    4f643b8c4773 ALSA: pcm: disallow linking stream to itself
    1900bf5e7fd7 ALSA: hda/realtek - add a pintbl quirk for several Lenovo machines
    13c18353c985 ALSA: fireface: fix configuration error for nominal sampling transfer frequency
    110d04acda5e ALSA: es1688: Add the missed snd_card_free()
    f7d57ba8d7b8 watchdog: imx_sc_wdt: Fix reboot on crash
    3003daa76bdf smb3: add indatalen that can be a non-zero value to calculation of credit charge in smb2 ioctl
    0470d6c3276d smb3: fix incorrect number of credits when ioctl MaxOutputResponse > 64K
    e1437d181d30 efi/efivars: Add missing kobject_put() in sysfs entry creation error path
    ab2df991e5e2 io_uring: use kvfree() in io_sqe_buffer_register()
    d4a13e671138 ASoC: max9867: fix volume controls
    ac0175f9dd4d powerpc/ptdump: Properly handle non standard page size
    cb810f75e98a KVM: x86: Fix APIC page invalidation race
    a2b0ce3c2206 KVM: x86: respect singlestep when emulating instruction
    af718119061f KVM: x86/mmu: Set mmio_value to '0' if reserved #PF can't be generated
    d872f174218d perf/x86/intel: Add more available bits for OFFCORE_RESPONSE of Intel Tremont
    57a537b3994e x86/reboot/quirks: Add MacBook6,1 reboot quirk
    e1545848ad55 x86/speculation: PR_SPEC_FORCE_DISABLE enforcement for indirect branches.
    6d60d5462a91 x86/speculation: Avoid force-disabling IBPB based on STIBP and enhanced IBRS.
    9d1dcba6dd48 x86/speculation: Prevent rogue cross-process SSBD shutdown
    41551b56af93 x86/PCI: Mark Intel C620 MROMs as having non-compliant BARs
    e8652fef5336 x86_64: Fix jiffies ODR violation
    7ae53601458f sctp: fix refcount bug in sctp_wfree
    067ef17a3f7d sctp: fix possibly using a bad saddr with a given dst
    f1bb90b885cf iwlwifi: mvm: fix NVM check for 3168 devices
    0315cfc6f816 ipv4: fix a RCU-list lock in fib_triestat_seq_show
    7328f9a4ad58 aio: fix async fsync creds
    f27ad513a474 fanotify: fix ignore mask logic for events on child and on dir
    515e02bf19b3 selftests: fix flower parent qdisc
    0b11ec4ae557 mm: add kvfree_sensitive() for freeing sensitive data objects
    7c41d8c1bc6f perf probe: Accept the instance number of kretprobe event
    a3e6ba31fc4d PCI/PM: Adjust pcie_wait_for_link_delay() for caller delay
    ba95f95c27e8 KVM: x86: only do L1TF workaround on affected processors
    79e378172ca3 x86/cpu/amd: Make erratum #1054 a legacy erratum
    86c7d245e38d s390/pci: Log new handle in clp_disable_fh()
    77db4e1d40aa padata: add separate cpuhp node for CPUHP_PADATA_DEAD
    f23be4d1555d RDMA/uverbs: Make the event_queue fds return POLLERR when disassociated
    3f14df580a3d smack: avoid unused 'sip' variable warning
    3242fa02daf0 ath9k_htc: Silence undersized packet warnings
    b06bbbc6afcd spi: dw: Fix native CS being unset
    eb6315063043 powerpc/xive: Clear the page tables for the ESB IO mapping
    282acc187c48 drivers/net/ibmvnic: Update VNIC protocol version reporting
    f8713c2cb06e gfs2: Even more gfs2_find_jhead fixes
    108681048cf7 csky: Fixup abiv2 syscall_trace break a4 & a5
    16d902821bb7 Input: synaptics - add a second working PNP_ID for Lenovo T470s
    53fed23f8c74 sched/fair: Don't NUMA balance for kthreads
    1a28b2050334 ARM: 8977/1: ptrace: Fix mask for thumb breakpoint hook
    bafaf4708a62 Input: mms114 - fix handling of mms345l
    b4aa6da26135 elfnote: mark all .note sections SHF_ALLOC
    f04d1e880f17 bpf: Support llvm-objcopy for vmlinux BTF
    3a577e62208c vxlan: Avoid infinite loop when suppressing NS messages with invalid options
    de9d1010b97c bridge: Avoid infinite loop when suppressing NS messages with invalid options
    747d5bcb97eb tun: correct header offsets in napi frags mode
    c8e374ee6095 net_failover: fixed rollback in net_failover_open()
    5ab453bb7b29 mlxsw: core: Use different get_trend() callbacks for different thermal zones
    f560ea659b33 ipv6: fix IPV6_ADDRFORM operation logic

(From OE-Core rev: ea6bc1389bae6e5c28d0ee49a41ad1e3ca632d3d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 16:42:11 +01:00
Bruce Ashfield
7b9199a82c linux-yocto/5.4: update to v5.4.46
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    5e3c51153922 Linux 5.4.46
    9504466c9038 Revert "net/mlx5: Annotate mutex destroy for root ns"
    c06c03bba03f uprobes: ensure that uprobe->offset and ->ref_ctr_offset are properly aligned
    590459086bc9 x86/speculation: Add Ivy Bridge to affected list
    faf187abda94 x86/speculation: Add SRBDS vulnerability and mitigation documentation
    b0f61a0503ad x86/speculation: Add Special Register Buffer Data Sampling (SRBDS) mitigation
    dab0161b8a0b x86/cpu: Add 'table' argument to cpu_matches()
    749ec6b48a9a x86/cpu: Add a steppings field to struct x86_cpu_id
    e4e57f7bca44 x86/speculation/spectre_v2: Exclude Zhaoxin CPUs from SPECTRE_V2
    c2baba26ac5e nvmem: qfprom: remove incorrect write support
    b3e3f4cb8c6b CDC-ACM: heed quirk also in error handling
    4992c7618818 staging: rtl8712: Fix IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK
    784ac0e82920 tty: hvc_console, fix crashes on parallel open/close
    9619c2f746f7 vt: keyboard: avoid signed integer overflow in k_ascii
    2d0c87d34dab usb: musb: Fix runtime PM imbalance on error
    e8f57f50e31b usb: musb: start session in resume for host port
    8d130bf2fcab iio: adc: stm32-adc: fix a wrong error message when probing interrupts
    e98b0548b2f8 iio:chemical:pms7003: Fix timestamp alignment and prevent data leak.
    9b0e734fde6d iio: vcnl4000: Fix i2c swapped word reading.
    940530f60c60 iio:chemical:sps30: Fix timestamp alignment
    0fac736dbac6 USB: serial: ch341: add basis for quirk detection
    9060d48b4206 USB: serial: option: add Telit LE910C1-EUX compositions
    5555c8f569fa USB: serial: usb_wwan: do not resubmit rx urb on fatal errors
    f366d3a21f12 USB: serial: qcserial: add DW5816e QDL support
    b3ebd9830c60 net: be more gentle about silly gso requests coming from user
    a93417dfc1b0 net: check untrusted gso_size at kernel entry
    a02203349750 vsock: fix timeout in vsock_accept()
    646345a15350 nfp: flower: fix used time of merge flow statistics
    165508e456b1 NFC: st21nfca: add missed kfree_skb() in an error path
    87adb76710d0 net: usb: qmi_wwan: add Telit LE910C1-EUX composition
    de8f81077be2 net: stmmac: enable timestamp snapshot for required PTP packets in dwmac v5.10a
    fb915f061e9e net/mlx5: Fix crash upon suspend/resume
    5fc8f9a34800 l2tp: do not use inet_hash()/inet_unhash()
    1b7693c09252 l2tp: add sk_family checks to l2tp_validate_socket
    449c72324085 devinet: fix memleak in inetdev_init()

(From OE-Core rev: ff6b0ac5ee9fb8bb74aaeae3f5587252801113bd)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 16:42:11 +01:00
Bruce Ashfield
1efb9d8ef8 linux-yocto-rt/5.4: update to rt25
Integrating the following commit(s) to linux-yocto/5.4:

    46d685b7b963 Linux 5.4.43-rt25

(From OE-Core rev: 361b11594b3e04e7b279a88d5d3358dd75bb2a2e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 16:42:11 +01:00
Bruce Ashfield
c01f430441 linux-yocto/5.4: update to v5.4.45
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    3604bc07c035 Linux 5.4.45
    40caf1bfd32c net: smsc911x: Fix runtime PM imbalance on error
    252801505e04 selftests: mlxsw: qos_mc_aware: Specify arping timeout as an integer
    aea1423a6334 net: ethernet: stmmac: Enable interface clocks on probe for IPQ806x
    6992c8995c84 net/ethernet/freescale: rework quiesce/activate for ucc_geth
    6a904892d84f null_blk: return error for invalid zone size
    b5cb7fe92059 s390/mm: fix set_huge_pte_at() for empty ptes
    c0063f3919ae drm/edid: Add Oculus Rift S to non-desktop list
    c90e773c21fb net: bmac: Fix read of MAC address from ROM
    92c09e88c188 x86/mmiotrace: Use cpumask_available() for cpumask_var_t variables
    ba550153177a io_uring: initialize ctx->sqo_wait earlier
    f1c582154e43 i2c: altera: Fix race between xfer_msg and isr thread
    1857d7d77659 scsi: pm: Balance pm_only counter of request queue during system resume
    1610cd913f5a evm: Fix RCU list related warnings
    31ca6427f64d ARC: [plat-eznps]: Restrict to CONFIG_ISA_ARCOMPACT
    935ba01e80d4 ARC: Fix ICCM & DCCM runtime size checks
    8a69220b659c RDMA/qedr: Fix synchronization methods and memory leaks in qedr
    49e92679341d RDMA/qedr: Fix qpids xarray api used
    0377fda07b5e s390/ftrace: save traced function caller
    0734b58f84a9 ASoC: intel - fix the card names
    6106585fc4c4 spi: dw: use "smp_mb()" to avoid sending spi data error
    99c63ba21d2e powerpc/xmon: Restrict when kernel is locked down
    f2adfe126bdb powerpc/powernv: Avoid re-registration of imc debugfs directory
    a293045d38c1 scsi: hisi_sas: Check sas_port before using it
    cfd5ac76ba30 drm/i915: fix port checks for MST support on gen >= 11
    74028c9c22fd airo: Fix read overflows sending packets
    63ad3fb06834 net: dsa: mt7530: set CPU port to fallback mode
    d628f7a59e1c scsi: ufs: Release clock if DMA map fails
    95ffc2a5cea7 media: staging: ipu3-imgu: Move alignment attribute to field
    5b6e152341b0 media: Revert "staging: imgu: Address a compiler warning on alignment"
    a122eef40fd2 mmc: fix compilation of user API
    1c44e6e09dc8 kernel/relay.c: handle alloc_percpu returning NULL in relay_open
    91e863ab82c8 mt76: mt76x02u: Add support for newer versions of the XBox One wifi adapter
    8a6744ebdbb5 p54usb: add AirVasT USB stick device-id
    ac09eae4b734 HID: i2c-hid: add Schneider SCL142ALM to descriptor override
    3e8410cbef27 HID: multitouch: enable multi-input as a quirk for some devices
    aa0dd0e2252b HID: sony: Fix for broken buttons on DS3 USB dongles
    df4988aa1c96 mm: Fix mremap not considering huge pmd devmap
    3209e3e812dd Revert "cgroup: Add memory barriers to plug cgroup_rstat_updated() race window"
    55852b3fd146 Linux 5.4.44
    f2a9b00a68c5 perf: Make perf able to build with latest libbfd
    3f57fa847e27 netfilter: nf_conntrack_pptp: fix compilation warning with W=1 build
    7a075390b732 netfilter: conntrack: Pass value of ctinfo to __nf_conntrack_update
    987de40bff33 netfilter: conntrack: comparison of unsigned in cthelper confirmation
    a4547f63e05f bonding: Fix reference count leak in bond_sysfs_slave_add.
    b668b392cc2c net: dsa: declare lockless TX feature for slave ports
    35c0a6e7ef55 ipv4: nexthop version of fib_info_nh_uses_dev
    568c159356d1 nexthop: Expand nexthop_is_multipath in a few places
    88e81db5509b nexthops: don't modify published nexthop groups
    8398275f7aed nexthops: Move code from remove_nexthop_from_groups to remove_nh_grp_entry
    2b043affcaea crypto: chelsio/chtls: properly set tp->lsndtime
    a369e8378b48 qlcnic: fix missing release in qlcnic_83xx_interrupt_test.
    1c38cfc259a7 xsk: Add overflow check for u64 division, stored into u32
    73c05545fbb5 ieee80211: Fix incorrect mask for default PE duration
    2e91cd11bafc bnxt_en: Fix accumulation of bp->net_stats_prev.
    dda9d0eb7a96 esp6: get the right proto for transport mode in esp6_gso_encap
    9f57771d09f4 netfilter: nf_conntrack_pptp: prevent buffer overflows in debug code
    b16287f99d31 netfilter: nfnetlink_cthelper: unbreak userspace helper support
    7140b6280230 netfilter: conntrack: make conntrack userspace helpers work again
    17021d1b899d netfilter: ipset: Fix subcounter update skip
    25f629a70680 netfilter: nft_reject_bridge: enable reject with bridge vlan
    26e28c10e72c ip_vti: receive ipip packet by calling ip_tunnel_rcv
    0de9bed087a2 xfrm: fix error in comment
    f5dc87e0e389 xfrm: fix a NULL-ptr deref in xfrm_local_error
    25613580a5bc xfrm: fix a warning in xfrm_policy_insert_list
    d9710d69b89f xfrm interface: fix oops when deleting a x-netns interface
    de4a187389fa xfrm: call xfrm_output_gso when inner_protocol is set in xfrm_output
    edd79cf0cfdf xfrm: remove the xfrm_state_put call becofe going to out_reset
    cd7031ef9683 xfrm: do pskb_pull properly in __xfrm_transport_prep
    14a1c1dc5695 xfrm: allow to accept packets with ipv6 NEXTHDR_HOP in xfrm_input
    47dc81ce7d84 copy_xstate_to_kernel(): don't leave parts of destination uninitialized
    94690ca1ae4c x86/dma: Fix max PFN arithmetic overflow on 32 bit systems
    e980f9cb2f2d mac80211: mesh: fix discovery timer re-arming issue / crash
    2f0851690a0e x86/syscalls: Revert "x86/syscalls: Make __X32_SYSCALL_BIT be unsigned long"
    8c1bfa73353a cfg80211: fix debugfs rename crash
    f9cd0c831806 parisc: Fix kernel panic in mem_init()
    ca788fd797a7 iommu: Fix reference count leak in iommu_group_alloc.
    b298c314b9d9 gpio: fix locking open drain IRQ lines
    bba91cdba612 Revert "block: end bio with BLK_STS_AGAIN in case of non-mq devs and REQ_NOWAIT"
    31f0b78bb478 include/asm-generic/topology.h: guard cpumask_of_node() macro argument
    a02c130efbbc fs/binfmt_elf.c: allocate initialized memory in fill_thread_core_info()
    de482c445b0f mm: remove VM_BUG_ON(PageSlab()) from page_mapcount()
    a7ba9f24737b mm,thp: stop leaking unreleased file pages
    21358b3e77af IB/ipoib: Fix double free of skb in case of multicast traffic in CM mode
    5a1bd1704272 drm/amd/display: drop cursor position check in atomic test
    b5d326a77b73 RDMA/core: Fix double destruction of uobject
    6b292d7806a1 ceph: flush release queue when handling caps for unknown inode
    4d145e482374 libceph: ignore pool overlay and cache logic on redirects
    d162b9e1b1a9 ALSA: hda/realtek - Add new codec supported for ALC287
    c33bf209deae ALSA: usb-audio: Quirks for Gigabyte TRX40 Aorus Master onboard audio
    8fc8674092b2 clk: qcom: gcc: Fix parent for gpll0_out_even
    68fe063327af exec: Always set cap_ambient in cap_bprm_set_creds
    4adcf889e66b ALSA: usb-audio: mixer: volume quirk for ESS Technology Asus USB DAC
    8c71b0bd64df ALSA: hda/realtek - Add a model for Thinkpad T570 without DAC workaround
    84b0a4f42584 ALSA: hwdep: fix a left shifting 1 by 31 UB bug
    a003e1f653d6 RDMA/pvrdma: Fix missing pci disable in pvrdma_pci_probe()
    b191e3ea6dfc gpio: bcm-kona: Fix return value of bcm_kona_gpio_probe()
    d6d07089dee3 gpio: pxa: Fix return value of pxa_gpio_probe()
    a971f71e91fb mmc: block: Fix use-after-free issue for rpmb
    2de6df8df9bd ARM: dts: bcm: HR2: Fix PPI interrupt types
    f8b161c3f3ac ARM: dts: bcm2835-rpi-zero-w: Fix led polarity
    485bd944e0c6 ARM: dts/imx6q-bx50v3: Set display interface clock parents
    a38a75c22b9f IB/qib: Call kobject_put() when kobject_init_and_add() fails
    820be34d0137 gpu/drm: Ingenic: Fix opaque pointer casted to wrong type
    707f5075021f soc: mediatek: cmdq: return send msg error code
    56e7873ed267 arm64: dts: mt8173: fix vcodec-enc clock
    750f47a6586b gpio: exar: Fix bad handling for ida_simple_get error path
    5242e3850b1c ARM: uaccess: fix DACR mismatch with nested exceptions
    d9c318f0eda3 ARM: uaccess: integrate uaccess_save and uaccess_restore
    96e2df4c753b ARM: uaccess: consolidate uaccess asm to asm/uaccess-asm.h
    f175897a960e ARM: 8970/1: decompressor: increase tag size
    4aa75ce40b1d Input: synaptics-rmi4 - fix error return code in rmi_driver_probe()
    176dbb9eeba0 Input: synaptics-rmi4 - really fix attn_data use-after-free
    7016d241ca64 Input: i8042 - add ThinkPad S230u to i8042 reset list
    a63a679e1ec7 Input: dlink-dir685-touchkeys - fix a typo in driver name
    d9d50cbccc79 Input: xpad - add custom init packet for Xbox One S controllers
    9abf0403a709 Input: evdev - call input_flush_device() on release(), not flush()
    5a273fa56229 Input: usbtouchscreen - add support for BonXeon TP
    b66de2d961a6 drivers: net: hamradio: Fix suspicious RCU usage warning in bpqether.c
    dfe417b45634 samples: bpf: Fix build error
    70bf0fd60f2f csky: Fixup raw_copy_from_user()
    2fa8032fa78a cifs: Fix null pointer check in cifs_read
    ce1ef281e786 hwmon: (nct7904) Fix incorrect range of temperature limit registers
    68d72327999a csky: Fixup remove duplicate irq_disable
    99bd434f8893 csky: Fixup perf callchain unwind
    f3f23f4c6413 csky: Fixup msa highest 3 bits mask
    e104bd855454 clk: ti: am33xx: fix RTC clock parent
    6b8c281e9a48 riscv: stacktrace: Fix undefined reference to `walk_stackframe'
    b84952e88336 IB/i40iw: Remove bogus call to netdev_master_upper_dev_get()
    706fee65d95c net: freescale: select CONFIG_FIXED_PHY where needed
    74037ef26835 usb: gadget: legacy: fix redundant initialization warnings
    e8a03e73cd14 usb: phy: twl6030-usb: Fix a resource leak in an error handling path in 'twl6030_usb_probe()'
    e02fe520c11b usb: dwc3: pci: Enable extcon driver for Intel Merrifield
    e1dfa986fda6 cachefiles: Fix race between read_waiter and read_copier involving op->to_do
    336292c44f62 drm/amdgpu: Use GEM obj reference for KFD BOs
    2dd33d3175ef drm/amd/powerplay: perform PG ungate prior to CG ungate
    4552f27f9d64 drm/amdgpu: drop unnecessary cancel_delayed_work_sync on PG ungate
    49388448eda0 gfs2: Grab glock reference sooner in gfs2_add_revoke
    fd5516ea8239 gfs2: move privileged user check to gfs2_quota_lock_check
    02a76cd6bda6 net: microchip: encx24j600: add missed kthread_stop
    2578135aa8f0 ALSA: usb-audio: add mapping for ASRock TRX40 Creator
    3e4e413c93f0 gpio: tegra: mask GPIO IRQs during IRQ shutdown
    6ff411af068c ARM: dts: rockchip: fix pinctrl sub nodename for spi in rk322x.dtsi
    881dc2e22fb9 ARM: dts: rockchip: swap clock-names of gpu nodes
    96e88e683165 arm64: dts: rockchip: swap interrupts interrupt-names rk3399 gpu node
    9dc2e51ea7c1 arm64: dts: rockchip: fix status for &gmac2phy in rk3328-evb.dts
    dd35a809c158 ARM: dts: rockchip: fix phy nodename for rk3229-xms6
    203a45eb258c ARM: dts: rockchip: fix phy nodename for rk3228-evb
    c5b2233ad5f4 mlxsw: spectrum: Fix use-after-free of split/unsplit/type_set in case reload fails
    9aeacb829cad net/mlx4_core: fix a memory leak bug.
    fcb4d5869e98 net: sun: fix missing release regions in cas_init_one().
    d12fc818b0d8 net/tls: free record only on encryption error
    cff9e73a34a2 net/tls: fix encryption error checking
    3f4f034a8676 net/mlx5: Annotate mutex destroy for root ns
    f493398fe0f7 net/mlx5: Fix error flow in case of function_setup failure
    9fe88c940828 net/mlx5e: Update netdev txq on completions during closure
    02c97e838597 net/mlx5: Fix memory leak in mlx5_events_init
    e23f88f7e730 net/mlx5e: Fix inner tirs handling
    f9e2700f34ec net/mlx5e: kTLS, Destroy key object after destroying the TIS
    8c9df6ced1f9 tipc: block BH before using dst_cache
    5398c7ff2347 sctp: Start shutdown on association restart if in SHUTDOWN-SENT state and socket is closed
    70989e501fbc sctp: Don't add the shutdown timer if its already been added
    34036769c84b r8152: support additional Microsoft Surface Ethernet Adapter variant
    983fa2e7740f nexthop: Fix attribute checking for groups
    cf4cc95a15f5 net/tls: fix race condition causing kernel panic
    587e13469cfd net sched: fix reporting the first-time use timestamp
    f12398120522 net: revert "net: get rid of an signed integer overflow in ip_idents_reserve()"
    83588bf1dd55 net: qrtr: Fix passing invalid reference to qrtr_local_enqueue()
    7e0e066df34a net: nlmsg_cancel() if put fails for nhmsg
    84e91312ad9a net: mvpp2: fix RX hashing for non-10G ports
    212bcf1039a9 net/mlx5: Add command entry handling completion
    a9595d1c60a7 net: ipip: fix wrong address family in init error path
    4d827edb8f4e net: inet_csk: Fix so_reuseport bind-address cache in tb->fast*
    b51eb49d9a5d __netif_receive_skb_core: pass skb by reference
    53cf25df80c7 net: ethernet: ti: cpsw: fix ASSERT_RTNL() warning during suspend
    557045f771e2 net: dsa: mt7530: fix roaming from DSA user ports
    b853a13bb224 net: don't return invalid table id error when we fall back to PF_UNSPEC
    40a904b1c2e5 dpaa_eth: fix usage as DSA master, try 3
    d9ce4b67dd9f ax25: fix setsockopt(SO_BINDTODEVICE)

(From OE-Core rev: 71ab00d335d1d7f5d0827651397b8109091108d0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 16:42:11 +01:00
Bruce Ashfield
23dcff0d39 kernel/yocto: ensure that defconfigs are processed first
It is uncommon that a BSP definition and a defconfig are used in
a single configuration. That being said, it is a valid way to
organize kernel configuration meta data.

When a defconfig is used, either on the src_uri or from in
the kernel tree, it is normally expected that it is the baseline,
with all options applied on top of it.

With this commit, we detect either type of defconfig and ensure
that it is used first, followed by the fragments in their
previous order. This allows existing configuration stacks to
remain the same, while ensuring that a defconfig combined stack
works as expected.

(From OE-Core rev: e6845327b69396d843a2f3c4c3ac9400ae9caedf)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 16:42:11 +01:00
zangrc
e9012a2c23 libjpeg-turbo:upgrade 2.0.4 -> 2.0.5
(From OE-Core rev: e815a3f299da34009860aad269e2254bf0601dfa)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 16:42:11 +01:00
hongxu
a5f24267a0 qemu: switches from libcap to libcap-ng for PACAKGECONFIG virtfs
Since upgrading qemu to 5.0.0, it switches from libcap
to libcap-ng for virtfs

[1] https://git.qemu.org/?p=qemu.git;a=commit;h=7e46261368d129c5ee8be927f5bcadc7ecd800d7

(From OE-Core rev: 3e899d4cca6ebae25643db4be1967600eac34528)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 16:42:11 +01:00
Max Krummenacher
86172ed1ce cogl-1.0: cope with missing x11 headers
Fix commit 3e96efc4dd87 ("cogl-1.0: : don't require eglmesaext.h") if
x11 headers are missing.

In that case AC_CHECK_HEADERS will report the egl headers missing, as
by default on unix it builds for X11 as the platform but the compiler
will fail to find the X11 headers.

(From OE-Core rev: c1e8ee26dbaf77b3bdd362014f744ead88007f29)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Tested-by: Andrey Zhizhikin <andrey.z@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-30 16:42:11 +01:00
Andreas Müller
b393034629 ccache: upgrade 3.7.9 -> 3.7.10
remove SRC_URI[md5sum]

(From OE-Core rev: 9694fcffd9824f11d25f909e10603979ecc338ac)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 23:37:38 +01:00
Andreas Müller
376b8e7d47 ccache: merge ccache.inc into recipe
(From OE-Core rev: 9f9bfadc2b043a17dd33d4e5410b471567e6e445)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 23:37:38 +01:00
Andreas Müller
bd3fcb66fa nfs-utils: upgrade 2.4.3 -> 2.5.1
* cacheio was fixed upstream slightly different
* nfsdclnts is a python3 script for printing various nfs client information
  pack it in ${PN}-stats
* replace leading spaces by tabs in shell tasks
* remove SRC_URI[md5sum]

(From OE-Core rev: 489fe278443e7376a5b51789daff2449f19c87ab)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 23:37:38 +01:00
Alejandro del Castillo
7a6717278e opkg: upgrade to version 0.4.3
(From OE-Core rev: 11eef80f679da1744b8cbdbd88cb030cec6915fe)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 23:37:38 +01:00
Alejandro del Castillo
92e882f7d9 opkg-utils: upgrade to 0.4.3
- Drop fix-reproducibility.patch

(From OE-Core rev: 241df436ec9bef404678cd7241eb58188a57eb8d)

Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 23:37:38 +01:00
Richard Purdie
e21201ec3b bitbake: msg: Avoid issues where paths have relative components
The autobuilder can end up using build/../ syntax which is an issue
if the build directory is cleaned. Avoid this by using normpath()
on the file path passed in.

(Bitbake rev: 41988fec47eb196ab7195a75330a6d98de19101b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 15:42:52 +01:00
akuster
8ea8f0acb6 ref-manual: Add SPDX license headers
[Yocto #13873]

(From yocto-docs rev: b7d60325c7ca02d38516781ea80376e465c5fd04)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:56 +01:00
akuster
0c4e693ce6 mega-manual: Add SPDX license headers
[Yocto #13873]

(From yocto-docs rev: 0c975232996c11f0d6282879f361334c1fb82dd0)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:56 +01:00
akuster
3872efa157 overview-manual: add SPDX license header
[Yocto #13873]

(From yocto-docs rev: f65ef78ab411d72249fa6889d32a055212a6ce02)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:56 +01:00
Richard Purdie
118f009cee bitbake: runqueue: Avoid unpickle errors in rare cases
In rare cases the pickled data from a task contains "</event>" which
causes backtrace. This can be reproduced with something like:

do_unpack_prepend () {
    bb.warn("</event>")
}

There are several solutions but the easiest is to catch this exception
and look for the next marker instead as this should be the only way such
an unpickle error could occur.

This fixes rare exceptions seen on the autobuilder.

Also add in other potential exceptions listed in the pickle manual
page so that better debug is obtained should there be an error in
this code path in future. exitcode doesn't need the same handling
since we control what is in that data field and it could never contain
</exitcode>

(Bitbake rev: 5ada512d6f9cbbdf1172ff7818117c38b12225ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:56 +01:00
Joshua Watt
90c3713590 bitbake: siggen: Fix error when hash equivalence has an exception
The code that handled exceptions from the hash equivalence client was
raising an exception itself because hashserv.client wasn't imported

(Bitbake rev: a76290dfc6f34ff9f6efdb13a6db74b6b4759daf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:56 +01:00
Joshua Watt
07a02b31fd bitbake: hashserv: Chunkify large messages
The hash equivalence client and server can occasionally send messages
that are too large for the server to fit in the receive buffer (64 KB).
To prevent this, support is added to the protocol to "chunkify" the
stream and break it up into manageable pieces that the server can each
side can back together.

Ideally, this would be negotiated by the client and server, but it's
currently hard coded to 32 KB to prevent the round-trip delay.

(Bitbake rev: e27a28c1e40e886ee68ba4b99b537ffc9c3577d4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:56 +01:00
akuster
b3f212d6bc bitbake: test/fetch: change to better svn source
fixes:
svn: warning: W175002: Unexpected HTTP status 504 'Gateway Timeout' on '/openembedded/bitbake/!svn/vcc/default'
svn: E205011: Failure occurred processing one or more externals definitions

picked pcre2

[Yocto #13948]

(Bitbake rev: 1483d17108da02f5d615e83403d5fd6288ca957c)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:56 +01:00
Richard Purdie
24a4fa5bad bitbake: taskdata: Improve handling of regex in ASSUME_PROVIDED
ASSUME_PROVIDED can take regexs however the current way of handling
this in code is suboptimal. It means that you can add something like:

DEPENDS += "texinfo-nativejunk-that-does-not-exist"

and if texinfo-native is in ASSUME_PROVIDED, no error will occur.

Update the code to only treat something as a regex if a start or end
anchor character is present (which wouldn't be valid in a recipe name).

[YOCTO #13893]

(Bitbake rev: 3d72e23109990970fbb1086923277af752168b4a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:56 +01:00
Richard Purdie
48abe482dd populate_sdk_ext: Fix to use python3, not python
We should be using python3 here, it was missed in the conversion. Spotted on
autobuilder tests failing on systems with python missing.

(From OE-Core rev: db07b09196022078346aadd565760240b7da6a71)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:01 +01:00
Max Krummenacher
24da33413a cogl-1.0: : don't require eglmesaext.h
Starting with 1.22.8 cogl code unconditionally includes eglmesaext.h.
Change configure.ac so that eglmesaext.h is only included if it actually
exists.

(From OE-Core rev: 9bfe2ab739d8987ac469924070a5526572ef1d82)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
akuster
ed72ec3530 libuv: update to the last version in meta-oe
Looks like I forgot to update the contrib branch.

This is a squished set of these changes:
https://git.openembedded.org/meta-openembedded/commit/?id=e03b48481438c747322f07ac1e1f04add541ffac
https://git.openembedded.org/meta-openembedded/commit/?id=9b61f412d36b390f8d71ad1fb5875f5f6e32fd8a
https://git.openembedded.org/meta-openembedded/commit/?id=644ea1ee145902b00e4e66856ebe8d8800dfc1f0

(From OE-Core rev: 3a336db61ff5cd2a1981b2f26df421363f639ed1)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Richard Purdie
79856aaf93 oeqa/selftest: Clean up separate builddir in success case when non-threaded
If oe-selftest is run without -j, the separate build directory "build-st"
isn't cleaned up afterwards. Mirror the behaviour of the -j option to
handle this the same way, only preserve upon failure.

To do this, the remove function needs to be moved to the selftest
context module so that it can be accessed without requiring the
testtools and subunit modules the -j option requires.

A dummy wrapper class is used to wrap the tests and clean up afterwards.

[YOCTO #13953]

(From OE-Core rev: 1b376ade430d40d3cfe9c18f200c764d622710e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Ross Burton
add3d45c69 ovmf: build natively everywhere
The OVMF target binaries are (currently) x86-specific, but the native
tools to build them are not.

Make the COMPATIBLE_HOST assignment target-specific, so that the native
tools can be built on an arm64 build server.

(From OE-Core rev: 58ebb47688fc98fdaeb78b4033bd31100218d5d6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Richard Purdie
704a245460 pseudo: merge in fixes for setfacl issue
[YOCTO #13959]

(From OE-Core rev: 18fbd28c9aa0276d110839c4282a9ab75fc9f28e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Richard Purdie
9f5f390500 pseudo: Switch to oe-core branch in git repo
We have a significant number of outstanding patches to pseudo. Rather than
queue these up as patches, create a branch in the upstream repo and use that
until such times as we have someone with the time/skills to properly review
these for master in the pseudo repo.

(From OE-Core rev: f09088eaa803ce396726368626a35dee70168d91)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Nicolas Dechesne
c0a16eaae0 checklayer: parse LAYERDEPENDS with bb.utils.explode_dep_versions2()
LAYERDEPENDS is a string of this format:
"DEPEND1 (optional version) DEPEND2 (optional version) ..."

However when we parse LAYERDEPENDS in _get_layer_collections() we
parse it as a simple string, and if any optional versions are there the
'depends' field is wrong. For example, running yocto-check-layer
might result in such errors:

ERROR: Layer meta-python depends on (>= and isn't found.
ERROR: Layer meta-python depends on 12) and isn't found.

Let's use bb.utils.explode_dep_versions2() to parse LAYERDEPENDS, and
create a string that contains all dependencies, effectively
skipping/ignoring any optional versions.

[YOCTO #13957]

(From OE-Core rev: f81f07afc200fe06c5c06ea81a4f8a3a43436faf)

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Pierre-Jean Texier
1db8536204 libubootenv: bump to revision 86bd30a
This includes the following changes:

86bd30a Restore ability to feed script file via stdin, using `-s -`.
c91dcca ubi, write: fix invalid envsize ptr to UBI_IOCVOLUP

(From OE-Core rev: cb961b737cc3ae36ca27867248d6077e8fbcf534)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Jason Wessel
157e44bdba runqemu: If using a vmtype image do not add the -no-reboot flag
There is no way to use runqemu and turn off the no-reboot flag with a
command line argument.  If someone really wants it back it can be
added with the qemuparams="" argument.

Also if you use the "halt -p" from user space, the qemu will exit when
it is complete.  It is impossible to test self deploying image with
runqemu if you cannot reboot the device.  One might argue that you can
run runqemu in a loop, but that defeats the purpose of having a
wrapper around a tool that already does what is needed in the first
place.

For the vmtype images, the -no-reboot flag should not be added.

(From OE-Core rev: 6d07a72356f9a8ea76b6cda9159d3ca4743028d9)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
34db68c835 go-binary-native: fix upstream version check
(From OE-Core rev: e46f424748d9cc6d6160079e1a36fe43505ba2fa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
b2a20398e3 mesa: update 20.0.7 -> 20.1.2
(From OE-Core rev: 2ee962186176c5ecb34c670e76415d4321affe76)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
3d404ffa42 python3-numpy: update 1.18.5 -> 1.19.0
License-Update: copyright years
(From OE-Core rev: c5774fca09de12b29b1f9062e41c71db6abc972b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
ddaa85812a sudo: upgrade 1.9.0 -> 1.9.1
Drop the patch as it is merged upstream.

(From OE-Core rev: 000577afd815fa8399c595d1aef81f4327204327)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
17d50354bf rsync: update 3.1.3 -> 3.2.1
Drop all CVE patches, add the new configure options.

(From OE-Core rev: d0249eeeeeb951bfcf7606563c0cde02d49f200d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
4f88a93af3 libcheck: upgrade 0.14.0 -> 0.15.0
(From OE-Core rev: 76ae9024aabdb5cdc9533f4bf0355640fa36780f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
bde2c1709d diffoscope: upgrade 147 -> 148
(From OE-Core rev: 3a551dff6f75f1abedd22f0c96062441ec4e80b6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
0121da46ac puzzles: upgrade to latest revision
(From OE-Core rev: 27049dc744d95ecbe94b5b901bebcad0b20abd78)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
1c06cf3e92 alsa-utils: upgrade 1.2.2 -> 1.2.3
(From OE-Core rev: 5a62d51209d72b4f1c9e7634461e13241846c875)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
49579c36dd alsa-ucm-conf: upgrade 1.2.2 -> 1.2.3
(From OE-Core rev: b3547091e93e11df2c580766e494aecaeccd3aa6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
beb5579f0f alsa-topology-conf: upgrade 1.2.2 -> 1.2.3
(From OE-Core rev: ea19e7b7a1387cf4bfb961b68f776964cf9eabfd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
ef20ccdc3b alsa-lib: upgrade 1.2.2 -> 1.2.3.1
(From OE-Core rev: 380cfbd32744681564b38902749c54dc30a48ff1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
f9826447b1 systemtap: upgrade 4.2 -> 4.3
(From OE-Core rev: adcdc3281062c62e89d7a7f67381a548b1e543de)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
2d3296f51a linux-firmware: upgrade 20200519 -> 20200619
License-Update: new firmwares, all redistributable
(From OE-Core rev: 3ae9585efdf5bcef7224c8e752ea76064922ee99)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
7203922c93 piglit: upgrade to latest revision
(From OE-Core rev: a27b06f73a37f080f10beb585d19f0dd857a5c9f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
8ed86f4c7f stress-ng: upgrade 0.11.12 -> 0.11.14
(From OE-Core rev: fec547397e9573855971880e7672cf4cb8af6da4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
4edc9bd499 python3-cython: upgrade 0.29.19 -> 0.29.20
(From OE-Core rev: 2f981e31ad0386486706b52b08a5a2d42870ae35)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
38cc8cb946 bison: upgrade 3.6.3 -> 3.6.4
(From OE-Core rev: 588ed940b8d43091cf6466d858cafeaf1c5f048d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
eeec1005e9 gst-examples: upstream releases are even numbered
(From OE-Core rev: e3cb345d16fc729b132074358a5b03922d7c5078)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
94b28d8b68 perl: update 5.30.2 -> 5.32.0
(From OE-Core rev: b397c2ce599ce01d0f336a3996881c713f7ae4dc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
1262d0591e libgpg-error: update 1.37 -> 1.38
Drop the do_compile_prepend logic as upstream now
handles it correctly.

License-Update: copyright years
(From OE-Core rev: 830a955ab2f3c22ed44918a88adb79ba719eedbc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
65784edd0f gnu-config: update to latest revision
(From OE-Core rev: 551d184b15087584f12875d01c10cd7057a10b1a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
22781f1a89 elfutils: upgrade 0.179 -> 0.180
Drop all the debian patches: they are very invasive, the use case is unclear,
and rebasing them is just too hard.

Refresh 0002-musl-libs.patch

Add a new musl fix: 0015-config-eu.am-do-not-use-Werror.patch

Add a reproducibility fix: 0001-tests-Makefile.am-compile-test_nlist-with-standard-C.patch

(From OE-Core rev: 79c290a0823ee996c69bb02a82dc6ded00fae629)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:36:00 +01:00
Alexander Kanavin
658cde8788 dropbear: update 2019.78 -> 2020.79
Refresh dropbear-disable-weak-ciphers.patch as some weak items
have been dropped upstream.

License-Update: curve25519 changed to public domain
(From OE-Core rev: 1620a815f6fbe20e5b570ed254187856bb37c184)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:35:59 +01:00
Alexander Kanavin
51b4061048 ffmpeg: disable altivec on ppc by default
Since 4.3 ffmpeg uses vsx-specific instructions, which aren't
available on older ppc machines (including qemuppc):
3a557c5d88

This disables using the instructions with an option to re-enable them
for vsx-capable targets.

(From OE-Core rev: 2e9d7d31622c5bc45511f82df40d592ef165d7d9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:35:59 +01:00
Alexander Kanavin
f235636647 libdnf: update 0.47.0 -> 0.48.0
(From OE-Core rev: 6f8020c5d50da705fbb077f647a5bb304f2cf710)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:35:59 +01:00
Alexander Kanavin
32fd452036 meson: upgrade 0.54.2 -> 0.54.3
(From OE-Core rev: db90ff4005cdf837617a7c5c58ae03d7570b062e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:35:59 +01:00
Alexander Kanavin
6eb75a5b75 dnf: upgrade 4.2.21 -> 4.2.23
(From OE-Core rev: cad6889a514975990055c01b6b18dd7c9817201e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:35:59 +01:00
Lili Li
05043a26cc kernel.bbclass: Fix Module.symvers support
Starting from v5.8-rc1 commit 269a535ca931 (modpost: generate
vmlinux.symvers and reuse it for the second modpost"), kernel will
generate new vmlinux.symvers instead of dumping all the vmlinux symbols
into Module.symvers in the first pass.

Error log:
    'run.do_shared_workdir.16614' failed with exit code 1:
    DEBUG: cp: cannot stat 'Module.symvers': No such file or directory

This change will check the file Module.symvers existence before copying it.

(From OE-Core rev: cd2d62a08a1dfcd890a03ee55132b6d6c65f5ab7)

Signed-off-by: Lili Li <lili.li@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:35:59 +01:00
Armin Kuster
3125cfe84a wpa-supplicant: Security fix CVE-2020-12695
Source: http://w1.fi/security/
Disposition: Backport from http://w1.fi/security/2020-1/

Affects <= 2.9 wpa-supplicant

(From OE-Core rev: e9c696397ae1b4344b8329a13076f265980ee74d)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:35:59 +01:00
Khem Raj
59b75aba7d rxvt-unicode: Disable wtmp on musl
This is not supported features on musl

Fixes
../../rxvt-unicode-9.22/src/../libptytty/src/logging.C:348:17: error: 'WTMPX_FILE' was not declared in this scope; did you mean 'WTMP_FILE'?
|   348 |       updwtmpx (WTMPX_FILE, &utx);
|       |                 ^~~~~~~~~~

(From OE-Core rev: 7cdf0e0e6790185f6d517b877f7566202277d3ba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:35:59 +01:00
Khem Raj
6d26aa2524 musl: Update to tip of master
Detailed changelog [1]
Refresh patches

[1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=1b4e84c56df0f8ca30f6bc05962a860f869e71df..fca7428c096066482d8c3f52450810288e27515c

(From OE-Core rev: 4ce9fbb9802cb802110a684b59fdf5c9c8e7e77e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:35:59 +01:00
Alistair Francis
badc7c486d opensbi: Update to OpenSBI v0.8 release
(From OE-Core rev: f160800ec79973a5e8d8454fe3d695729a993f8b)

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:35:59 +01:00
Changqing Li
d20e14ba44 xinit: add rxvt-unicode in RDEPENDS
fix below error:
/etc/X11/xinit/xinitrc: line 55: exec: xterm: not found

by default, xinit will generate /etc/X11/xinit/xinitrc,
and have below config in it:
XTERM -geometry 80x50+494+51 &
XTERM -geometry 80x20+494-0 &
exec XTERM -geometry 80x66+0+0 -name login

the default XTERM is xterm, but xterm is in meta-oe,
use rxvt instead

(From OE-Core rev: 53664c37bea26358d7147c3ec7a3d423f3904bf4)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-28 08:35:59 +01:00
Trevor Gamblin
5951cbcabe python3-setuptools: patch entrypoints for faster initialization
setuptools' pkg_resources module has major performance issues with how
it loads entry points (e.g. the console_script entry point, which sets
up a module as a command-line executable), leading even the simplest
"hello world" scripts to take on the order of 150ms to run if
pkg_resources is incorporated. This is prohibitive for code that needs
to run quickly, and so we patch setuptools to reduce this time. As of
Python 3.7, importlib.resources is available and intended to replace
much of the functionality that causes this sluggishness, but since
many projects still utilize the legacy setuptools modules, a patch is
still required. Note that python3-fastentrypoints (which is available
in the meta-virtualization layer) is also intended to help alleviate
the problem, but since it must be added to existing projects it has
the same disadvantage as resorting to importlib.resources, requiring
manual additions to existing code to see the performance gains.

The intent here is to patch easy_install to load module entry points
directly with the installed setuptools, rather than importing
pkg_resources and having it search out the entry points itself. This
leads to a drastic performance improvement - the changes in this patch
have been shown to result in load time ~6-8x lower, depending on the
complexity of the code it is tested with. A simple "hello world"
example on core-image-full-cmdline gave these results with and without
the patch:

core-image-full-cmdline, without setuptools ScriptWriter patch:

root@qemux86-64:~# time /usr/bin/minimal
hello world

real    0m0.198s
user    0m0.174s
sys     0m0.023s

core-image-full-cmdline, with setuptools ScriptWriter patch:

root@qemux86-64:~# time /usr/bin/minimal
hello world

real    0m0.034s
user    0m0.024s
sys     0m0.010s

More details on the pkg_resources issue are available at:
https://github.com/pypa/setuptools/issues/510

(From OE-Core rev: 9ff7c2f4a43e28ac6a89045c38effe03063f2061)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:26:00 +01:00
Alexandru N. Onea
e95c36f8a7 bitbake: bitbake-user-manual: update perforce fetcher docs
This change updates the perforce documentation by describing two new
parameters: module and remotepath.

Additionally, a general statement regarding the fetcher implementation
has been added, to make it clear that the fetcher does not use a
perforce client for the job.

(Bitbake rev: 44b57216548fa96a5ecab02cfed517e0d631dc44)

Signed-off-by: Alexandru N. Onea <onea.alex@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:24:02 +01:00
Alexandru N. Onea
b7006f50c7 bitbake: perforce: add local path handling SRC_URI options
This patch implements three new SRC_URI options for the perforce
fetcher, namely:

* module
* remotepath

The options are intended to provide the user more control over the
downloaded file paths by allowing the user to specify how much of the remote
path should be preserved locally.

The changes in this patch are backwards compatible, i.e. if none of the
introduced options is specified, the default (old) behavior is enforced.

(Bitbake rev: aab228822d2f221c01337dd57d7582c51ce9a505)

Signed-off-by: Alexandru N. Onea <onea.alex@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:24:02 +01:00
Alexandru N. Onea
cb1fbec4d9 bitbake: perforce: add basic progress handler for perforce
This patch adds a basic implementation of a progress handler for the
perforce fetcher, based on the number of files to be downloaded and the
output behavior of the p4 print command used in the fetcher
implementation.

(Bitbake rev: f0582292bf79b0988048683dfd086aa3b9787344)

Signed-off-by: Alexandru N. Onea <onea.alex@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:24:02 +01:00
Wang Mingyu
3bd3b51367 harfbuzz: upgrade 2.6.7 -> 2.6.8
??Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>

(From OE-Core rev: 42d18388b7709bb107f861df33492765c45c8de5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:23:37 +01:00
Wang Mingyu
b3a9e0eec0 man-pages: upgrade 5.06 -> 5.07
??file README update.

(From OE-Core rev: e21cd56b026100b87f4d5ca5807bb7073d0b8cb3)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:23:37 +01:00
Wang Mingyu
0c4cf4b7e1 valgrind: upgrade 3.16.0 -> 3.16.1
??Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>

(From OE-Core rev: faaebe0df4f8e0b742a6c1a32ea5579210559ab9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:23:37 +01:00
Wang Mingyu
7ed1fd546d man-db: upgrade 2.9.2 -> 2.9.3
??Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>

(From OE-Core rev: 584c004931ce3e292276d7d695220ea9511bc111)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:23:37 +01:00
Pierre-Jean Texier
0334dce337 curl: upgrade 7.70.0 -> 7.71.0
This release includes the following changes:

  - CURLOPT_SSL_OPTIONS: optional use of Windows' CA store (with openssl) [10]
  - setopt: add CURLOPT_PROXY_ISSUERCERT(_BLOB) for coherency [31]
  - setopt: support certificate options in memory with struct curl_blob [41]
  - tool: Add option --retry-all-errors to retry on any error [27]

This release includes the following bugfixes:

  - CVE-2020-8177: curl overwrite local file with -J [111]
  - CVE-2020-8169: Partial password leak over DNS on HTTP redirect [48]
  - *_sspi: fix bad uses of CURLE_NOT_BUILT_IN [21]
  - all: fix codespell errors [75]
  - altsvc: bump to h3-29 [114]
  ...

See full changelog: https://curl.haxx.se/changes.html#7_71_0

(From OE-Core rev: 63a28e9fc262c8da692d18b38eeb0b85dd597a9b)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:23:37 +01:00
Alexander Kanavin
754866f32b icu: make filtered data generation optional, serial and off by default
icu data generation was found to be racy, and causig AB failures;
making it serial and leaving it on is not an option as it regresses
to several minutes.

The specific bug is that rules.mk has:

LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  ../bin/gencnval -s . -d ./out/build/icudt66l mappings/convrtrs.txt

which creates a file and numerous rules like

LD_LIBRARY_PATH=../lib:../stubdata:../tools/ctestfw:$LD_LIBRARY_PATH  ../bin/genrb -s ./misc -d ./out/build/icudt67l -i ./out/build/icudt67l -k -q numberingSystems.txt

which quietly read it. There is no prerequisite for the former to complete first.

The race is extra complicated to fix as rules.mk is itself
generated through a custom in-tree python tool.

(From OE-Core rev: df89e8d1136fd406ba35ae573e2cb0cfc88c6aad)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:23:37 +01:00
Alexander Kanavin
c1ded5d898 icu: merge .inc into main recipe
Both parts are rather convoluted, so it is better to have them in a single file.

(From OE-Core rev: e8faa3416bc85dab7e7e638448dcb11ff88354a3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:23:37 +01:00
Richard Purdie
132952c59c scripts/install-buildtools: Handle new format checksum files
Autobuilder generated checksum files only have a single space between the sum and the
filename, tweak it to account for this.

(From OE-Core rev: d1e71bf5b399372166eb40bb0d99c8fb52231600)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:23:37 +01:00
Richard Purdie
1dc6c9f5dc scripts/install-buildtools: Update to 3.2 M1 buildtools
This fixes issues with openssl certs not working properly which meant error
reporting to an error report server was failing.

Also, all our downloads are now standarised on "sha256sum" so adjust for that.

(From OE-Core rev: bc8b44e19a05f499f5cef049eedbed1fede2e765)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-25 10:23:37 +01:00
Ross Burton
38d4e37259 go-native: merge bb/inc and add comment
Merge the .bb/.inc, and add an explanatory comment.

(From OE-Core rev: cb9eda76f53efa901d8eaadaedc456b9d29cd748)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Ross Burton
8ea016b0ef tcmode-default: use go-binary-native by default
go-binary-native is faster and more portable than go-native, so use it
by default.

(From OE-Core rev: c23f9e80492e4b1d47c0ada8eae3decf736253c7)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Ross Burton
6157434e32 go-binary-native: add binary Go to bootstrap
Use PREFERRED_PROVIDER_go-native = "go-binary-native"

(From OE-Core rev: 64e40574cd2577d618035f56097885adfb61f81e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Jacob Kroon
2206d9e8d6 distro_alias: Remove unused grub-efi distro aliases
The target architecture is no longer embedded in the native package names.
See OE-Core commit

 53d3f12739: grub-efi: change to generate EFI image in target package

(From OE-Core rev: 959e4cbf775267e48232148a633e1aa1ec2bf1ec)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Richard Purdie
158ddebbb7 recipes: Fix Upstream-Status Accepted -> Backport
It helps our stats tracking to use Backport consitently, it mreans the same
thing as Accepted in pretty much all cases.

(From OE-Core rev: 3e923d86012c981cb332083b87353fdbc0a2b83a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Hongxu Jia
172022d8db libmodulemd: switch branch master -> main
Upstream delete branch master, and convert it to main

(From OE-Core rev: 9b0970412f51150732a1df8727174e51d6b84427)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
He Zhe
20d5537aae ltp: Fix copy_file_rang02 for 32-bit arches
Fix the following error.
copy_file_range02.c:139: FAIL: copy_file_range failed unexpectedly; expected EOVERFLOW, but got: EFBIG (27)

(From OE-Core rev: 860d927e8e1c47d291e02119898d73a436fee259)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Andreas Müller
d80a359682 ffmpeg: upgrade 4.2.3 -> 4.3
(From OE-Core rev: 628e22597aedaae68a39f846334f488badd1aa5f)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Andreas Müller
c77746de9f file: upgrade 5.38 -> 5.39
(From OE-Core rev: a9fb039852354ada27c95401bbe9c29d8f9b7f38)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Andreas Müller
24700da93a desktop-file-utils: upgrade 0.24 -> 0.26
(From OE-Core rev: aebf3d7c282fdf32e603f755daa0822d85132ee5)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Andreas Müller
a0504d17b2 sqlite3: upgrade 3.32.2 -> 3.32.3
(From OE-Core rev: 0facc5fb49ab08c97fae3cb721c990de77d461c7)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Andreas Müller
1049d9c86c libinput: upgrade 1.15.5 -> 1.15.6
(From OE-Core rev: aff48592ac904fe899f48cdae385505395a04674)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-24 18:06:43 +01:00
Richard Purdie
0caaf17660 vulkan-headers: Fix upstream branch deletion issue
The upstream branch was deleted but the commit is in master so reference
that instead.

(From OE-Core rev: 4e0f64cba6e9d3ef4837460c9a6b506c33344012)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 14:41:56 +01:00
Valentin Longchamp
18ce5582ea valgrind: disable it for powerpc soft-float
valgrind doesn't build for powerpc soft-float. It is thus disabled for
such architectures.

(From OE-Core rev: effd1434a6ca6afcc358bea64053a7bf805633c7)

Signed-off-by: Valentin Longchamp <valentin@longchamp.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Valentin Longchamp
afca282e4b tools-profile: disable valgrind for powerpc soft-float
Since valgrind does not build for powerpc soft-float, disable it from
the tools-profile packagegroup so that it can still be enabled for such
architectures (but without valgrind of course).

(From OE-Core rev: ad78ff1c362ecc281c797ce3bb083e532a0bb483)

Signed-off-by: Valentin Longchamp <valentin@longchamp.me>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Armin Kuster
126e48ed23 libuv: move from meta-oe to core for bind update
(From OE-Core rev: 07bcc80df1118c0bcc5b4b60beaa3e5674f1855e)

Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Arthur She
86385d90fa igt-gpu-tools: add new package
igt-gpu-tools is a collection of tools for development and testing of the DRM
drivers. (https://gitlab.freedesktop.org/drm/igt-gpu-tools)
This recipe is originally copied from meta-intel and added the following
modifications
1. Enable ARM architecture
2. Enable igt-runner
3. Build git HEAD code instead of a specific version
The original recipe in the meta-intel will be removed and replaced by
this one to avoid having a duplicate recipe.
It is applicable to be submitted to oe-core, because it provides
a core validation functionality that is needed by all providing DRM
drivers and not just to a single arch.

(From OE-Core rev: d98e9b3612ab2c03503843cb3ea77bec7811a1d4)

Signed-off-by: Arthur She <arthur.she@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Andrej Valek
cea56554d0 oeqa/runtime/cases/ptest: Make output content path absolute
The output content is created in current directory, because json content
has no defined absolute path to WORKDIR as in bitbake.

(From OE-Core rev: 14203b2cb9aa62f55cb12230ac8012b3cd995be7)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Richard Purdie
fde0637e1c oeqa/utils/command: Improve stdin handling in runCmd
Occasionally we've been seeing leftover threads from runCmd. The stdin test
assumes we clean up all threads but the code assumes that the daemonic thread
can be left behind.

The issue can be reproduced by adding a time.sleep(10) to the end of
writeThread() which will mean it stays resident past the end of the command.

We may as well add it to the threads list and clean it up properly,
hopefully removing the race in the tests from the autobuilder.

[YOCTO #13055]

(From OE-Core rev: 9b251dcaffe52d32c1faf41ab57ab414fbc29722)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Richard Purdie
d95dbd76f2 oeqa/selftest/runcmd: Add better debug for thread count mismatch failures
(From OE-Core rev: d15d0177d328fa3a126b9942bda177f6fae68505)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Richard Purdie
4be590b19d pseudo: Fix attr errors due to incorrect library resolution issues
On a tumbleweed system, "install X Y" was showing the error:

pseudo: ENOSYS for 'fsetxattr'.

which was being caused by dlsym() for that function returning NULL. This
appears to be due to it finding an unresolved symbol in libacl for this
symbol in libattr. It hasn't been resolved so its NULL. dlerror() returns
nothing since this is a valid symbol entry, its just not the one we want.

We can add the glibc version string for the symbol we actually want so we get
that version rather than the libattr/libacl one. The calls in libattr are just
wrappers around the libc version so our attaching to the libc versions should
intercept any accesses via these too.

[YOCTO #13952]

(From OE-Core rev: 82655cb26ad01de9587ef41eaef155c61c361f67)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Andreas Müller
441a899ac9 boost: Add upstream patch to fix build on depending projects
KDE's krita failed with:
| error: 'typedef void boost::static_visitor<void>::result_type' is inaccessible within this context

Note that only boost 0.173 is affected. 0.172 (dunfell) does not have this
problem and the patch will be included in upcoming 0.174.

(From OE-Core rev: a8e5bce0ec329e9fc4b0839e48f2dc3dfec1814d)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Jacob Kroon
2d740a8c71 grub: Remove native version of grub-efi
The native version of grub-efi only installs the tools

  /usr/bin/grub-editenv
  /usr/bin/grub-mkimage

to sysroots-components/, but equivalent tools are already provided by
grub-native, the difference on x86_64 being 4 hardwired paths in grub-mkimage
(values taken from grub-native):

  LOCALEDIR       = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/usr/share/locale
  GRUB_DATADIR    = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/usr/share
  GRUB_LIBDIR     = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/usr/lib
  GRUB_SYSCONFDIR = $TMPDIR/work/x86_64-linux/grub-native/2.04-r0/recipe-sysroot-native/etc

If grub-native and grub-efi-native are built with the following patch

 --- grub-2.04.orig/configure.ac
 +++ grub-2.04/configure.ac
 @@ -1980,10 +1980,10 @@ grub_libdir="$(eval echo "$libdir")"
  grub_localedir="$(eval echo "$localedir")"
  grub_datadir="$(eval echo "$datadir")"
  grub_sysconfdir="$(eval echo "$sysconfdir")"
 -AC_DEFINE_UNQUOTED(LOCALEDIR, "$grub_localedir", [Locale dir])
 -AC_DEFINE_UNQUOTED(GRUB_LIBDIR, "$grub_libdir", [Library dir])
 -AC_DEFINE_UNQUOTED(GRUB_DATADIR, "$grub_datadir", [Data dir])
 -AC_DEFINE_UNQUOTED(GRUB_SYSCONFDIR, "$grub_sysconfdir", [Configuration dir])
 +AC_DEFINE_UNQUOTED(LOCALEDIR, "/non-existent", [Locale dir])
 +AC_DEFINE_UNQUOTED(GRUB_LIBDIR, "/non-existent", [Library dir])
 +AC_DEFINE_UNQUOTED(GRUB_DATADIR, "/non-existent", [Data dir])
 +AC_DEFINE_UNQUOTED(GRUB_SYSCONFDIR, "/non-existent", [Configuration dir])

the produced grub-editenv/grub-mkimage binaries become binary equivalent,
assuming reproducible builds is active. Since the unpatched values of
LOCALEDIR/GRUB_DATADIR/GRUB_LIBDIR/GRUB_SYSCONFDIR point to directories that
are not expected to exist at runtime, they can be ignored.

Therefore:
 * remove grub-efi-native and instead rely on the same tools from
   grub-native
 * replace references to grub-efi-native with grub-native
 * remove unused grub-efi-native security flags overrides

(From OE-Core rev: 7044181df7487f047d175242f7ebbc3c35bf5402)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Changqing Li
b58192aba2 mime.bbclass: fix post install scriptlet error
fix error during post uninstall:
%postun(shared-mime-info-data-2.0-r0.4.corei7_64): execv(/bin/sh) pid 78
+ '[' 0 = 0 ']'
+ set -e
+ '[' x '!=' x ']'
+ echo 'Updating MIME database... this may take a while.'
Updating MIME database... this may take a while.
+ update-mime-database /usr/share/mime
Directory '/usr/share/mime/packages' does not exist!
%postun(shared-mime-info-data-2.0-r0.4.corei7_64): waitpid(78) rc 78 status 100
warning: %postun(shared-mime-info-data-2.0-r0.4.corei7_64) scriptlet failed, exit status 1

when run post uninstall scriptlet, /usr/share/mime/packages has been
removed during unintall, while update-mime-database will check xml under
/usr/share/mime/packages.

workaround by create this dir before update, then remove it

(From OE-Core rev: 6f262a316d6c32ff9ce96ab4bd95726772b5f20f)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Chen Qi
adc4960816 systemd-serialgetty: do not use BindsTo
This unit was changed from 'BindsTo' in the following commit.
"""
commit f0f359ec9210759f6b4dbfb35d3fba8af208c43a
Author: Jason Wessel <jason.wessel@windriver.com>
Date:   Thu Aug 29 07:00:31 2019 -0700

    serial-getty@.service: Allow device to fast fail if it does not exist
"""

It was changed back to 'BindTo' in the following commit.
"""
commit 63bbff61b78c651339c4b18d8376187379ec3b3c
Author: Otavio Salvador <otavio.salvador@gmail.com>
Date:   Fri Jun 12 14:30:44 2020 -0300

    systemd: Sync systemd-serialgetty@.service with upstream
"""

This is now causing runtime problem for qemuarm64. The default.target
is not reached until a timeout. Output is like below.

"""
root@qemuarm64:~# systemd-analyze
Bootup is not yet finished (org.freedesktop.systemd1.Manager.FinishTimestampMonotonic=0).
Please try again later.
Hint: Use 'systemctl list-jobs' to see active jobs
root@qemuarm64:~# systemctl list-jobs
JOB UNIT TYPE STATE
102 getty.target start waiting
1 multi-user.target start waiting
95 systemd-update-utmp-runlevel.service start waiting
110 serial-getty@hvc0.service start waiting
111 dev-hvc0.device start running
"""

We can see that we are waiting for /dev/hvc0, while in fact there's no /dev/hvc0.
Jason's commit actually solves such problem.

So restore to use Jason's method. Do not use 'BindsTo'.

(From OE-Core rev: 43b989c1231d3d867303ccebceda72364a9519ee)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Ovidiu Panait
44ae5d8d6f dbus,dbus-test: Move common parts to dbus.inc
dbus and dbus-test share the same source code and base configuration options,
so factor out the common parts into dbus.inc.

This way we can eliminate the need to keep the two recipes in sync. When they
are not properly in sync (e.g. when dbus recipe has extra patches/config
options that are not duplicated in dbus-test) ptest testsuite will actually
test a slightly different codebase. This is due to the fact that dbus-test does
not run the testsuite against the system libdbus library, but instead it
generates a local libdbus.so that needs to configured/compiled as close as
possible to the system one.

(From OE-Core rev: 1cde2935526d2eec7d6b17a6c622647b0c132439)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Ovidiu Panait
036e3436e5 dbus-test: Remove EXTRA_OECONF_X configs
X specific configs are already handled through PACKAGECONFIG:
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd x11', d)}"
...
PACKAGECONFIG[x11] = "--with-x --enable-x11-autolaunch,--without-x
                      --disable-x11-autolaunch, virtual/libx11 libsm"

Remove duplicated EXTRA_OECONF_X args.

(From OE-Core rev: 7dc107b05a29f8a3e8903d73f84ef8069f68af6f)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Sakib Sajal
a3102471e4 qemu: uprev v4.2.0 -> v5.0.0
Major update after v4.2.

Changes:
  - os_find_datadir() was changed after the v4.2 release
    causing v5.0 to not find the bios and not boot the
    image. Fix is sent to upstream qemu.
    See: qemu/find_datadir.patch
  - v5.0 binary had host contamination for dynamically linked
    libraries, "--extra-ldflags='${LDFLAGS}'" in EXTRA_OECONF
    resolved the issue
  - bluetooth code was removed: qemu.git$ git show 1d4ffe8dc7
    hence removed PACKAGECONFIG[bluez]
  - -show-cursor qemu option is now deprecated, updated
    scripts/runqemu to use updated option instead
  - added PACKAGECONFIG definitions
  - added qemu-ptest to conf/distro/include/ptest-packagelists.inc
  - increased support for ARM architecture, cpu and board
  - removed patches merged upstream and refreshed
    existing ones

Testing:
Build core-image-minimal against the machines in
openembedded-core/meta/conf/machine and succesfully
booted with qemu v5.0

Ran qemu-ptest on x86-64 and arm64 with identical results:
PASS: 1166
SKIP:    0
FAIL:    0

(From OE-Core rev: ee9ec9e344541c1ccd9b9b8e3b8c1e00d008ad85)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Robert P. J. Day
f5bbb3ba2d python: use official "pypi.org" URLs for HOMEPAGE
As the URL pypi.python.org simply redirects to pypi.org, simplify a
number of Python recipes by using that URL explicitly.

(From OE-Core rev: 934c8302e4ead9b09d6e7396ff11b6a4c1be7b21)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:03 +01:00
Paul Eggleton
bdc4adcc0d devtool: fix typo
specifiy -> specify

(From OE-Core rev: 194555aae3f1f10468c1800c93bd17c54ce217c8)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:02 +01:00
Paul Eggleton
6f5a85b1a0 shadow-sysroot: drop unused SRC_URI checksums
This recipe only fetches local files, so there's no need for a checksum.
These have been present for some time and nobody noticed.

(From OE-Core rev: 100bbc264cb54275ed2912d96f1fea9f6fd41fbf)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:02 +01:00
Paul Eggleton
514494152a dpkg-native: rebase and reinstate fix for "tar: file changed as we read it"
In OE-Core rev 8ee36a5f2f9367550d28bf271afc53bca6ff3d5f a patch was
added for dpkg to ignore a return of 1 from dpkg's calls to tar (which
indicates that files changed in some way while tar was operating) we
were observing failures on the autobuilder due to changes to link counts
in hard-linked file trees. The patch was subsequently rebased and then
later removed during an upgrade in
3812f58b3a438ae533c282170416cdd1681868e0 on the assumption that the fix
had been applied upstream, however that was not the case. I am now
occasionally seeing these errors in my builds without any apparent
material change to the files, so rebase and reinstate the patch.

Fixes [YOCTO #13913].

(From OE-Core rev: 3f871fae96e72afa49b9d6a05c96af49173b8a60)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:02 +01:00
Wang Mingyu
89bf9f6e61 powertop: upgrade 2.12 -> 2.13
?Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>

(From OE-Core rev: 0d8fd1d44c932073021ef0786e40e43f4f1e330b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:02 +01:00
Pierre-Jean Texier
59ac1777ce ell: upgrade 0.31 -> 0.32
This is a bugfix release:

ver 0.32:
	Fix issue with handling D-Bus watch removal.

(From OE-Core rev: 98d97384167a8d297650e49f9cabf4fae823b4a0)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:02 +01:00
Konrad Weihmann
4275a1098e bitbake: bitbake-user-manual: Add BBFILES_DYNAMIC
- add missing entry for BBFILES_DYNAMIC, ported from yocto-docs
- add description for the new inverse mode

(Bitbake rev: 9186ca47ce73b4d1c87eb69163698a04679fb55c)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:02 +01:00
Konrad Weihmann
bb9e38171a bitbake: cookerdata: Add BBFILES_DYNAMIC inverse mode
Add an inverse mode for BBFILES_DYNAMIC.
Entries where the layername is prefix with '!' will act in inverted mode
including given glob mask in absence of the referenced layer.
This is useful to backfill recipes from potentially missing layer.

(Bitbake rev: bfd729cfe06351ccd0071004e23af1d04546c723)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-23 12:31:02 +01:00
Richard Purdie
f867f8b366 bitbake: tests/fetch: Switch from git.infradead.org to a YP mirror
Upstream is unavailable, breaking tests. Switch to a YP mirror since
if we can't reach that there are bigger problems. This should remove
a source of intermittent failures on the autobuilder.

(Bitbake rev: 232471083d6c574c7ada6320f9379ad7d7862a9c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-22 20:38:38 +01:00
Joshua Watt
fced0b8d7c bitbake: cache: Bump cache version
The layout of the cache data hasn't changed, but the cache has now been
split into different files for multiconfig. If a user pulls in these
changes, it's possible that their base cache will still contain the
combined multiconfig cache entries, which are now unexpected and
generate errors like:

 Unexpected multiconfig: foo

Bumping the version fixes this since the old cache data won't be
considered valid anymore.

(Bitbake rev: 1082188ce633ec6891c961d726f584b3f1259941)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-19 23:18:18 +01:00
Richard Purdie
29bfa17d6c Makefile: Drop obsolete edison/denzil branch conditionals
(From yocto-docs rev: 92120c56c125c6f3af1b1c0df2c9b984cfb2fdef)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
Mark Morton
5534f6d0a2 test-manual: Fixed codeblock formatting
(From yocto-docs rev: f9df2c8f68ba5732a2d83c99d2b9597ef66dc378)

Signed-off-by: Mark Morton <mark.morton@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
Richard Purdie
2bd173f3b5 test-manual: Add SPDX license headers
[Yocto #13873]

(From yocto-docs rev: 33ba40c062ca081dbcffc5400fb49e56d6f7f25e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
Mark Morton
444666faa4 New source files and Makefile update for Test Manual
(From yocto-docs rev: d7cff640569a5772f3c366b4136762628fca534d)

Signed-off-by: Mark Morton <mark.morton@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
akuster
04118df8b0 toaster-manaul: Add SPDX license headers
[Yocto #13873]

(From yocto-docs rev: 4e07e51e558cda76b870be98d9aeff1a6e7bb5b8)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
akuster
995d779d55 sdk-manual: Add SPDX license headers
[Yocto #13873]

(From yocto-docs rev: 5b88e5e0f7a71ffefdd5e9c21520bf20692521c6)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
akuster
411a22c6ec profile-manual: Add SPDX licence headers
[Yocto #13873]

(From yocto-docs rev: 551c4a7f75e2afeb22d2638cc1e9550ec18c8cb4)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
akuster
38dbf12426 kernel-dev: Add SPDX license headers
[Yocto #13873]

(From yocto-docs rev: 4609c3288be259fcc582fbe946ad6b411aa96e1a)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
akuster
9a644b0eeb dev-manual: Add SPDX License headers
[Yocto #13873]

(From yocto-docs rev: eaded98195eed8adf3bba89a6b49a45383955785)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
akuster
7621a05efe brief-yoctoprojectsqa: Add SPDX license headers
[Yocto #13873]

(From yocto-docs rev: 8bf1b566ddeaf6223ed065e9560cc096a18fe14d)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
akuster
d674526bac bsp-guide: Add SPDX license headers
[Yocto #13873]

(From yocto-docs rev: 0aa081c3f1839833043e116db1729a9de342f72e)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
akuster
2e9db79a7e adt-manual: Add SPDX license headers
[Yocto #13873]

(From yocto-docs rev: b2d60520431ef71ed2d1decf33605797995cb8f4)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:45:36 +01:00
Ross Burton
daaf6267b7 gstreamer1.0-plugins-bad: add support for vdpau
libvdpau support was added to meta-oe by commit bf1de4db2 ("libvdpau:
Add recipe") in 2016. Therefore add a packageconfig for the
corresponding gstreamer plugin.

Based on a patch by Richard Leitner <richard.leitner@skidata.com>

(From OE-Core rev: 878a8561e10017bb91ea42bbbe6d4acfc0985482)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:31:54 +01:00
Andreas M?ller
6bf674374d meson.bbclass: avoid unexpected operating-system names
For example 'linux-gnueabi' is not what meson consumers expect: See canonical
table of OS names for Meson (thanks Ross). Surprisingly this did not pop up
earlier but wrong system-name can break building as described in [1]

[1] https://lists.openembedded.org/g/openembedded-core/topic/meson_host_machine_system/73023862

(From OE-Core rev: 010202076760329829fbde8dab4f535d6f755873)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:31:54 +01:00
Tuomas Salokanto
72148cb9bf recipetool: create: fix SRCBRANCH not being passed to params
When explicitly passing a branch using --srcbranch in 'devtool add' or
'recipetool create', the branch name is not included in the params of
bb.fetch2.encodeurl and default 'master' branch is used instead.

(From OE-Core rev: 0424df825f1e509faf6cd44403c0736bb91b57c3)

Signed-off-by: Tuomas Salokanto <tuomas.salokanto@gmail.com>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:31:52 +01:00
Tanu Kaskinen
cc912a18b6 pulseaudio: remove unnecessary libltdl copying
This was added in 5df6deaa32. I don't know
what problem it solved at that time (2009-04-21), but it seems that
nowadays PulseAudio builds fine without copying the libltdl stuff.

(From OE-Core rev: e3f4413c49159b4c6f82882927f7039b3a8918ad)

Signed-off-by: Tanu Kaskinen <tanuk@iki.fi>
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:31:52 +01:00
Alexander Kanavin
1b8681a8bc gobject-introspection: add a patch to fix a build race
(From OE-Core rev: 1d6ffc795fc815509e193b28df3a33cc72bfb31b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:31:52 +01:00
Alexander Kanavin
a1a3a3b80e apr-util: make gdbm optional
This helps with gpl3-free builds.

(From OE-Core rev: 3260ad9e8ff185b4799269bbcdd9f638e976c4b4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:31:52 +01:00
Richard Purdie
2fd754bed7 patchelf: Upgrade 0.10 -> 0.11
Two patches were merged upstream, the other needed refreshing.

(From OE-Core rev: 9a4547804f0a889dc583e84a00374085ecf7f361)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:31:52 +01:00
Jacob Kroon
59459ac936 bitbake.conf: Remove TERM from default BB_HASHBASE_WHITELIST
Since BitBake commit 0d5cdd0c0d65f2f81c3af0f3767fee86c4142c3a
TERM is no longer preserved in the environment by BitBake, so there
should be no need to whitelist it by default.

(From OE-Core rev: 72c4222b095a49d5ba8252abbae5025196519cd5)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:31:52 +01:00
Yongxin Liu
48a5376b82 linux-firmware: add ice for Intel E800 series driver
(From OE-Core rev: cdc65ddba0258be0c82deb4c174cd26005e7c32a)

Signed-off-by: Yongxin Liu <yongxin.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:31:52 +01:00
Rasmus Villemoes
5ad6d32ac4 curl: add debug info
Currently, curl (and libcurl) is built without debug info, making the
curl-dbg package rather useless. Since debug symbols are automatically
stripped and put in that package by the build system, making sure that
curl is built with -g shouldn't hurt anything, but will help those
that try to debug a libcurl-using application and hence explicitly
include curl-dbg in their rootfs.

Unfortunately, setting --enable-debug then changes the default value
of the optimize option from (assume yes) to (assume no), while also
changing the default value of the curldebug option [which is a
separate thing that actually changes generated code to add some memory
tracking] from (assume no) to (assume yes). So explicitly pass the
appropriate options that make those two have the same value as they
used to have by default.

(From OE-Core rev: 278242619eec5f5f143d57e92b109012001f1f91)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 16:31:52 +01:00
Jacob Kroon
ef5dbbca26 bitbake: bitbake-user-manual: Remove TERM from BB_HASHBASE_WHITELIST example
TERM is no longer included in OE-Core's default
BB_HASHBASE_WHITELIST, so remove it.

(Bitbake rev: 7689fa781646039524a655295a884e525ad8732c)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:12:16 +01:00
Richard Purdie
52240dd9eb sanity.conf: Require bitbake 1.47.0 as the minimum version
The recent siggen changes need the new version of bitbake, update the minimum
version to match (should also help the TERM environment change too).

(From OE-Core rev: cb0213721893e5336995b38faffc7b65338a1b5f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Martin Jansa
8408de906d net-tools: backport a patch from upstream to use the same ifconfig format as debian/ubuntu
* this is needed for python3-ifcfg to parse it correctly
  https://github.com/ftao/python-ifcfg/issues/43
* backport this single patch, so it can be backported to dunfell
  then for master we should upgrade to new snapshot from debian
  which includes other fixes and improvements as well
* this is already part of net-tools_1.60-26.diff from debian we're using
  but it's first added there and then removed
  $ grep 'sprintf(flags' net-tools_1.60-26.diff
  ++    sprintf(flags, "flags=%d<", ptr->flags);
  +-    sprintf(flags, "flags=%d<", ptr->flags);

* before:
root@qemux86-64:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 52:54:00:12:34:02
          inet addr:192.168.7.2  Bcast:192.168.7.255  Mask:255.255.255.0
          inet6 addr: fe80::5054:ff:fe12:3402/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:106 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:496 (496.0 B)  TX bytes:42832 (41.8 KiB)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:846 errors:0 dropped:0 overruns:0 frame:0
          TX packets:846 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:53364 (52.1 KiB)  TX bytes:53364 (52.1 KiB)

* after:

root@qemux86-64:~# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500  metric 1
        inet 192.168.7.2  netmask 255.255.255.0  broadcast 192.168.7.255
        inet6 fe80::5054:ff:fe12:3402  prefixlen 64  scopeid 0x20<link>
        ether 52:54:00:12:34:02  txqueuelen 1000  (Ethernet)
        RX packets 6  bytes 496 (496.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 14  bytes 2140 (2.0 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536  metric 1
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 80  bytes 6080 (5.9 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 80  bytes 6080 (5.9 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

* for comparison ubuntu-20.04 in docker:

root@dafcbbf25ff2:/# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 172.17.0.2  netmask 255.255.0.0  broadcast 172.17.255.255
        ether 02:42:ac:11:00:02  txqueuelen 0  (Ethernet)
        RX packets 39299  bytes 89614740 (89.6 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 33767  bytes 3807354 (3.8 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 5658  bytes 1294220 (1.2 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 5658  bytes 1294220 (1.2 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

* python3-ifcfg now parses flags correctly:
root@qemux86-64:~# python3 -m ifcfg.cli | python3 -m json.tool
{
    "eth0": {
        "inet": "192.168.7.2",
        "inet4": [
            "192.168.7.2"
        ],
        "ether": "52:54:00:12:34:02",
        "inet6": [
            "fe80::5054:ff:fe12:3402"
        ],
        "netmask": "255.255.255.0",
        "device": "eth0",
        "flags": "4163<UP,BROADCAST,RUNNING,MULTICAST> ",
        "mtu": "1500",
        "broadcast": "192.168.7.255"
    },
    "lo": {
        "inet": "127.0.0.1",
        "inet4": [
            "127.0.0.1"
        ],
        "ether": null,
        "inet6": [
            "::1"
        ],
        "netmask": "255.0.0.0",
        "device": "lo",
        "flags": "73<UP,LOOPBACK,RUNNING> ",
        "mtu": "65536"
    },
    "sit0": {
        "inet": null,
        "inet4": [],
        "ether": null,
        "inet6": [],
        "netmask": null,
        "device": "sit0",
        "flags": "128<NOARP> ",
        "mtu": "1480"
    }
}

(From OE-Core rev: dacfd695061b186240a85f8ffc43e6636c56e1fb)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Samuli Piippo
ab7c98f974 perl: use relative paths in the perl wrapper
Use SDKPATHNATIVE so that the perl wrapper for the nativesdk can be created
using relative paths and without dependency to the environment variables.

(From OE-Core rev: 41fac86156bfddfa604a604c6dc0d98b886a7586)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Joshua Watt
7a57e77759 classes/archiver: Create patched archive before configuring
do_configure and do_preconfigure can modify source files, which causes
race conditions if these tasks run in parallel with do_ar_patched. Add
explicit task dependencies to ensure that do_ar_patched finishes before
these tasks start. Specifically, this fixes a race condition with
gcc-source where do_ar_patched races with do_preconfigure deleting
gcc/gengtype-lex.c

(From OE-Core rev: 8a7c7794870815030239e90b03e37ed302b7e885)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Samuli Piippo
5e208e0ff4 cmake: allow chainloading of the toolchain file
Use path from CMAKE_CURRENT_LIST_FILE to load the cmake subscripts.
This allows the toolchain file to be chainloaded from another toolchain file.

(From OE-Core rev: 2d7597ee23b7c2adf40d77e8c35114a4d63aa854)

Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Konrad Weihmann
7f7f785ed3 oeqa/runtime: Add OERequirePackage decorator
Add new decorator which behaves like OEHasPackage, but
fails the testcase if a dependency isn't met.

This helps to identify missing packages in the image
under test when using static test suite lists, otherwise
a missing package won't fail the overall test suite and
errors might slip through unnoticed

(From OE-Core rev: c5be39df1494f33e2cae116e4930f2a0f3dd2000)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Yi Zhao
889eb94e98 iptables: split iptables-apply to its own package
We do not want iptables to depend on bash. So move
iptables-apply/ip6tables-apply to a separate package.

(From OE-Core rev: 9a2386443af23d4b713b9635a0275165565ef8f4)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Yi Zhao
f2df8011af iptables: fix invalid symbolic link for ip6tables-apply
The iptables-apply is not installed which makes ip6tables-apply as an
invalid symbolic link:

$ ls -l /usr/sbin/ip6tables-apply
lrwxrwxrwx 1 root root 14 Jun 11 08:27 /usr/sbin/ip6tables-apply -> iptables-apply
$ ls -l /usr/sbin/iptables-apply
ls: cannot access '/usr/sbin/iptables-apply': No such file or directory

Backport a patch to fix the issue.

(From OE-Core rev: c3070d3b2e31a31fc32294972e7a3fae46b6e70f)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Ross Burton
a92308f6d6 common-licenses: add BSD-2-Clause-Patent
(From OE-Core rev: d6e8c4a63caefdf36dfbc9d230c9e8db4b43dc5a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Daniel McGregor
a21efde0c7 buildhistory-collect-srcrevs: sort directories
In order to allow consistent output of buildhistory-collect-srcrevs sort
the list of directories returned by os.walk. Otherwise the list of
SRCREVs is returned in an unspecified order.

We save the output of this command on build, so it creates smaller diffs
between builds.

(From OE-Core rev: 3d7cb207ad4ec3cd5a3064147d3c9b5a1730d0fb)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Daniel McGregor
fbd5b12001 systemd-conf: Accept MTU from DHCP
Many local cloud deployments use MTUs other than 1500. To support
them, accept MTU from DHCP by default.

(From OE-Core rev: 60ff220548125bbdc6812669af711fb3650d87aa)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Daniel McGregor
02fc9cf7a0 sign_rpm.bbclass: ignore thread count
Similar to sign_ipk, ignore the number of threads used for signing
RPMs.

(From OE-Core rev: 77be5fd7df96ebd5a07bfaa3921c074ef8c470c7)

Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
Richard Purdie
f5dfaf35bf perl: Fix host specific modules problems
We were seeing a ton of empty perl modules being created such as
"perl-module-x86-64-linux-encoding" where the name would include
${TARGET_ARCH}-linux. These files were already being filtered in an
earlier do_split_packages() expression so exclude them from the latter
one to remove the pointless empty modules in PACKAGES.

This doesn't explain why some were not deterministic but will recude
the do_package execution time and clean up the build directories
at the very least.

(From OE-Core rev: 9f1a959d9831f43dda656e3b0c4d059db3363877)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17 11:10:28 +01:00
hongxu
8ad40fe880 kmod: add nativesdk support
Support to invoke depmod in sdk

(From OE-Core rev: 7fbd49259c99d6a096a0b6a17aa3a5663fbf6e78)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:39:28 +01:00
akuster
5cd459cb6a bind: update to 9.11.19
Bug fix only updates.

suitable for Stable branch updates where applicable.

Drop CVE patches included in update
LIC_FILES_CHKSUM update copyright year to 2020

Full changes found at : https://gitlab.isc.org/isc-projects/bind9/-/blob/v9_11/CHANGES

(From OE-Core rev: a6ba66cf5e754cdcd41f01d233fbef7b94a10225)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:39:28 +01:00
Joshua Watt
5c82d30dc1 wic: Fix error message when reporting invalid offset
The error message was reporting the calculated offset instead of the
current offset, which made it confusing.

(From OE-Core rev: 2be775cfe1b49ce3889b5dc326e2b67a9667f18a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:39:28 +01:00
Ryan Rowe
2c7dcad9b7 python3: fix PGO for non-reproducible biniaries
When PGO was disabled by default by e53ebf29, a bug was introduced that
prevented PGO from ever being enabled. At the time at which extra config
is appended to PACKAGECONFIG_CONFARGS, PACKAGECONFIG_PGO remains
unevaluated in PACKAGECONFIG_class-target, due to setting its value in
an anonymous Python function. As a result, the PGO options options will
never be included.

(From OE-Core rev: 21446d4b6c5f59b6acb66133a9675ec3d3dbabe2)

Signed-off-by: Ryan Rowe <rrowe@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:39:28 +01:00
Paul Eggleton
b87f0746b0 graph-tool: add filter subcommand
Add a filter subcommand to filter a task-depends.dot graph produced by
bitbake -g down to just a subset of targets/tasks.

(From OE-Core rev: a14b274b56676ff0ba55a4048169ad60c9514994)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:39:28 +01:00
Paul Eggleton
8f7c45c183 graph-tool: switch to argparse
argparse makes this a lot easier to extend.

(From OE-Core rev: c751ef8fdc111d1c967029cea7a3ed0f88ce851b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:39:28 +01:00
haiqing
5d1e4b1c55 libpam: Remove option 'obscure' from common-password
libpam does not support 'obscure' checks to password,
there are the same checks in pam_cracklib module.
And this fix can remove the below error message while
updating password with 'passwd':
pam_unix(passwd:chauthtok):unrecognized option[obscure]

(From OE-Core rev: ea761dbac90be77797308666fe1586b05e3df824)

Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:39:28 +01:00
zangrc
8f8cd4dbab ethtool:upgrade 5.6 -> 5.7
fix-printf.patch
Removed since this is included in 5.7

Refresh the following patch:
avoid_parallel_tests.patch

(From OE-Core rev: 6abcc7b13a3d28471be63af0809fd25106386083)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:39:28 +01:00
Ross Burton
4db392007e install-buildtools: add option to disable checksum validation
The --check option turns on checksum validation, but it defaults to 'on'
so is pointless.  Add a corresponding --no-check option to turn off
validation.

(From OE-Core rev: bf902a810f98f55dd9e8cb9e6c6b0903f9902157)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:39:28 +01:00
Ross Burton
2ea4530918 install-buildtools: remove hardcoded x86-64 architecture
Remove all instances of the hardcoded 'x86_64' and replace with the current
host platform.

(From OE-Core rev: 52dc6f671ff67a1149be7ef4c65126ea3c907a3d)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:39:28 +01:00
Ross Burton
7bf4949eaa install-buildtools: fail if an error occurs
Several failure paths were displaying an error message but not returning,
so the install process continued and failed further.

(From OE-Core rev: b00e28735b64a781707441ec6187dd7f9240d97a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:39:28 +01:00
Richard Purdie
f99b77eb81 bitbake: bin/bitbake: Update to next series release version
(Bitbake rev: e6e5cdf306e62c201a8af0cbe2b498781a54c52b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:34:45 +01:00
Jacob Kroon
135cbf0efe bitbake: lib/bb/utils.py: Do not preserve TERM in the environment
The value of TERM is leaking into OE-Core postinst-useradd-${PN} scripts,
which in turn can optionally be monitored by buildhistory. Prune the value in
order to make the OE-Core buildhistory output more deterministic.

(Bitbake rev: 0d5cdd0c0d65f2f81c3af0f3767fee86c4142c3a)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-16 23:34:45 +01:00
Paul Barker
816a12758b bitbake: fetch2/gitsm: Make need_update() process submodules
If the bitbake.srcrev nugget is not present for the commit we're
interested in we should not just bail out and say that an update is
needed. Instead we can recursively walk through the submodules and check
for the presence of the required commits.

(Bitbake rev: cfc78316309556bec487ef0a5a9205e41f1be86f)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:55:25 +01:00
Paul Barker
5c3d2ccf54 bitbake: fetch2/gitsm: Mark srcrev as fetched once all submodules are processed
This prevents multiple bitbake.srcrev entries being created when a
repository has more than one submodule. It also ensures that the
bitbake.srcrev entry is not added unless all submodules are correctly
fetched.

(Bitbake rev: 860ff1193fe53f04696d41635a720c2d1f29fa7f)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:55:25 +01:00
Joshua Watt
128621161c bitbake: bitbake: cache: Fix error message with bad multiconfig
The virtualfn variable is not defined, the filename is what should be
shown instead.

(Bitbake rev: 1f9d2c21db3a1ad2ab13dfebd2f8e9a7c3682ee2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:55:25 +01:00
Peter Kjellerstedt
1332ac291d relocatable.bbclass: Avoid an exception if an empty pkgconfig dir exist
Rewrite relocatable_native_pcfiles() so that it can handle that any of
the checked pkgconfig directories are empty without causing an
exception.

(From OE-Core rev: f9c5df6dc1c13e9b05ff1b47ad84ad339f6779a4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:46 +01:00
Otavio Salvador
b146adce36 mtd-utils: Fix return value of ubiformat
This changeset fixes a feature regression in ubiformat.  Older versions
of ubiformat, when invoked with a flash-image, would return 0 in the
case no error was encountered.  Upon upgrading to latest, it was
discovered that ubiformat returned 255 even without encountering an
error condition.

This changeset corrects the above issue and causes ubiformat, when given an
image file, to return 0 when no errors are detected.

Backport fix from 2.1.2

(From OE-Core rev: 7ebacd9cbaec98fbc406e8ae99c9805a24fdadc6)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:46 +01:00
Joshua Watt
48a883bb6e sstatesig: Account for all dataCaches being passed
Bitbake now passes all the dataCaches to the taskhash API, so use this
to correctly filter mcdepends.

[YOCTO #13724]

(From OE-Core rev: 749731a420fb905b6af97ce2909f06b2bcd14fe2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:46 +01:00
Otavio Salvador
4394a9269e systemd: Sync systemd-serialgetty@.service with upstream
The systemd upstream has been doing some improvements in the service
which were not in sync, with the forked file. Mainly:

 - Use BindsTo to bind the service with the required serial device
 - Add of getty-pre.target as dependency so we can run things before
   getty@.service and serial-getty@.service
 - Add conflicts to rescue to avoid issues with sulogin

We did not change the ExecStart and Environment fields so we don't have
side effects of this change.

(From OE-Core rev: 63bbff61b78c651339c4b18d8376187379ec3b3c)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:46 +01:00
Steve Sakoman
654d0ecded buildtools-tarball: export OPENSSL_CONF in environment setup
The autobuilder has been experiencing SSL: CERTIFICATE_VERIFY_FAILED
errors during error report uploads when using buildtools due to looking
for certs in /opt/poky

(From OE-Core rev: 197f1d5d14b8e57295f5a81c03c86abba5328614)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:46 +01:00
Mingli Yu
c878ec329c python3-dbusmock: add the missing rdepends
Add the missing rdepends to fix below error:
 # python3
 [snip]
 >>> import dbusmock
 [snip]
 ModuleNotFoundError: No module named 'unittest'

(From OE-Core rev: 838863ca3724295c438da05ee61e13d9cda204ae)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:46 +01:00
Mingli Yu
ca13b87d34 python3: add rdepends for python3-idle
Add rdepends for python3-idle to fix below error:
 # /usr/bin/idle3 -h
 [snip]
 _tkinter.TclError: Can't find a usable init.tcl
 [snip]

(From OE-Core rev: fe0671fdd23936a64d5da51d84edfdec5958a9f2)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:45 +01:00
Mingli Yu
d29dd64938 python3: add the rdepends for python3-misc
* Add python3-numbers to rdepends for python3-misc to fix below error:
 # python3
 [snip]
 >>> import statistics
 [snip]
 ModuleNotFoundError: No module named 'numbers'

* Don't use the hardcoded python3 moudules rdepends

(From OE-Core rev: 25ceab499a22febd50926440231f84f345ced642)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:45 +01:00
Jens Rehsack
4a79418af0 u-boot: avoid blind merging all *.cfg
This fixes u-boot-qoriq breakage of:

    commit 4fde8c8f47
    Author: Ming Liu <ming.liu@toradex.com>
    Date:   Wed Jun 3 13:56:01 2020 +0200

	u-boot: support merging .cfg files for UBOOT_CONFIG

	U-boot recipe supports .cfg files in SRC_URI, but they would be merged
	to .config during do_configure only when UBOOT_MACHINE is set, we
	should also support merging .cfg files for UBOOT_CONFIG.

The intension of 4fde8c8 looks more than append delta-config snippets to
u-boot config and should probably be rewritten to express that much better
than implicitely assume all "*.cfg" are for merging into .config.

(From OE-Core rev: b4644f231a1463123d4100fcaf1448b3d174ef1a)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:45 +01:00
Joe Slater
fa496842dc systemd: fix CVE-2020-13776
Backport from systemd.git.

(From OE-Core rev: a1b22b2263da6d11a4e0cbfa792d2bd1e56f5346)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:45 +01:00
Andrew Geissler
4928ceba19 meson: backport library ordering fix
meson had a bug where they started looking for static boost libraries
first vs. the default behavior of looking at shared libraries first.
This caused issues because some projects assume the shared libraries
first which automatically add in other shared library dependencies.
Static libraries do not have the default behavior so projects that use
boost start failing to compile with undefined references to other boost
libraries.

(From OE-Core rev: 17d1d8de8c4d50d42882586244ae5eef3a111a3c)

Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:45 +01:00
Alex Kiernan
81ce5b6c83 recipetool: Fix list concatenation when using edit
If there are multiple appends, ensure we concatenate compatible things:

Traceback (most recent call last):
  File "/home/akiernan/poky/scripts/recipetool", line 111, in <module>
    ret = main()
  File "/home/akiernan/poky/scripts/recipetool", line 100, in main
    ret = args.func(args)
  File "/home/akiernan/poky/scripts/lib/recipetool/edit.py", line 38, in edit
    return scriptutils.run_editor([recipe_path] + appends, logger)
TypeError: can only concatenate list (not "tuple") to list

(From OE-Core rev: 4c1e74bdf4922519d168434afd69c9bebcb9bd82)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:45 +01:00
Pierre-Jean Texier
3a4de9ac82 diffoscope: upgrade 146 -> 147
This includes the following changes:

* New features:

  - Add output from strings(1) to ELF binaries. It is intended this will
    expose expose build paths that are hidden somewhere within the objdump(1)
    output. (Closes: reproducible-builds/diffoscope#148)
  - Add basic zsh shell tab-completion support.
    (Closes: reproducible-builds/diffoscope#158)

* Bug fixes:

  - Prevent a traceback when comparing a PDF document that does not contain
    any metadata, ie. it is missing a PDF "/Info" stanza.
    (Closes: reproducible-builds/diffoscope#150)
  - Fix compatibility with jsondiff 1.2.0 which was causing a traceback and
    log the version of jsondiff we are using to aid debugging in the future.
    (Closes: reproducible-builds/diffoscope#159
  - Fix an issue in GnuPG keybox handling that left filenames in the diff.
  - Don't mask an existing test name; ie. ensure it is actually run.

* Reporting:

  - Log all calls to subprocess.check_output by using our own wrapper utility.
    (Closes: reproducible-builds/diffoscope#151)

* Code improvements:

  - Replace references to "WF" with "Wagner-Fischer" for clarity.
  - Drop a large number of unused imports (list_libarchive,
    ContainerExtractionError, etc.)
  - Don't assign exception to a variable that we do not use.
  - Compare string values with the equality operator, not via "is" identity.
  - Don't alias an open file to a variable when we don't use it.
  - Don't alias "filter" builtin.
  - Refactor many small parts of the HTML generation, dropping explicit
    u"unicode" strings, tidying the generation of the "Offset X, Y lines
    modified" messages, moving to PEP 498 f-strings where appropriate, etc.
  - Inline a number of single-used utility methods.

(From OE-Core rev: d6350dd5cdb252216494475b87edf42e0bdfdb19)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:45 +01:00
Yuki Hoshino
8540eca6cd sysvinit-inittab: Add support for tty devices with 10 or more number.
"start_getty" support for tty devices with under 10 number.
When SERIAL_CONSOLES has tty devices with 10 or more number,
do not't start getty and output the following message.
----------
sh 1: unknown operand
----------

(From OE-Core rev: 39dc49523f5d24db8f8053444c543c371c32d10c)

Signed-off-by: Yuki Hoshino <yuki.hoshino@miraclelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:45 +01:00
Richard Purdie
eb226b897f buildhistory: Add simplistic file move detection
We'd like to use buildhistory more during patch review however its
proving hard, particularly where whole subtrees of files move,
such as a kernel version upgrade, or where a software module moves
include directory.

This adds file rename matching which covers our common case of library
moves, kernel upgrades and more.

A new test case is also added so that someone in the future can change
the code and test the logic is still doing the expected things.

(From OE-Core rev: 791ce304f5e066759874beac0feef5ee62a1c255)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-15 14:53:45 +01:00
Joshua Watt
26ae42ded7 bitbake: bitbake: tests: Add mcdepends test
Adds a test to validate that mcdepends causes the dependent tasks to
build, and also that a change in the dependent task causes the dependee
task to re-execute.

(Bitbake rev: f2062c41693f9f684bdaf2df0a2a08b7f3871026)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 17:03:15 +01:00
Joshua Watt
bf69f30b4b bitbake: bitbake: siggen: Pass all data caches to hash functions
Passing all the data caches to the task hashing functions allows them to
correctly account for mcdepends in task signatures. This allows tasks to
be correctly re-run when a mcdepends changes.

By default, the legacy behavior is maintained for derived signature
generators by passing a special proxy object that can either be used to
access all multiconfigs or the legacy behavior. If a derived signature
generator is updated, it can set the supports_multiconfig_datacaces
property to instruct bitbake it deals with multiconfigs properly.

[YOCTO #13724]

(Bitbake rev: 8ff9203de4fce9c104c2987d86980c9f34036b97)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 17:03:15 +01:00
Richard Purdie
d84136cb82 Revert "bitbake.conf: Remove unused DEPLOY_DIR_TOOLS variable"
This reverts commit b1f15f651461d07a8cfbd3bdcfea0e89f195212d.

The variable is used by multiple other layers and users are requesting
it be added back.

(From OE-Core rev: 49d0f822618890b61d2498b07dda6418f885321e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:05 +01:00
Jacob Kroon
9549a9ea3f insane: Check for feature check variables not being used
Add a package QA check for wether any of the variables used by
features_check.bbclass is set while not inheriting the class itself.

(From OE-Core rev: c06489d102682504afe33f9fee3facd9628b3f57)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:05 +01:00
Jacob Kroon
89d289ee85 features_check: Warn if not used
(From OE-Core rev: 56c1fe3bc89af86a2524ed5b724fe74ba514acc5)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:05 +01:00
Jacob Kroon
7a4cc257a7 meta: Don't inherit 'features_check' in recipes that don't utilize it
(From OE-Core rev: e5591eb5165b1b7287a12928e2b179ae2b5ce5d6)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:04 +01:00
Lee Chee Yang
0fb6864216 qemu: fix CVE-2020-13361
(From OE-Core rev: 2dcef5dfb5c4c57fd793d04ac936a9ff73aae844)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:04 +01:00
Kai Kang
875d9cdaa5 avahi-dnsconfd: rdepends on avahi-daemon
Systemd service avahi-dnsconfd.service requires avahi-daemon.socket
and avahi-daemon.service which are from avahi-daemon. So make
avahi-dnsconfd rdepends on avahi-daemon.

(From OE-Core rev: 0a7277fda81d48960937ee91ceebc528aaf4272e)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:04 +01:00
Hongxu Jia
3a1519a390 glib-networking/btrfs-tools/dosfstools/parted/bmap-tools/libsoup-2.4: add nativesdk support
In order to make wic tool work in sdk which is out of an
existed Yocto build, it needs to port wic tool as a nativesdk
recipe.

First, make these runtime depends recipes to support nativesdk

(From OE-Core rev: cb4f7f078e1d3b1afbf93ca4dc5e690f60c59412)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:04 +01:00
Khem Raj
8b7d512b40 stress-ng: Fix build on musl
Define daddr_t if not provided by system headers
Fixes
./stress-ng.h:3755:2: error: unknown type name 'daddr_t'; did you mean 'caddr_t'?
daddr_t f_tfree;
^~~~~~~

(From OE-Core rev: 51592bafececf2423747fccd183a556eaa17bcd7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:04 +01:00
Joshua Watt
4f3aca1a56 wic: Fix --extra-space argument handling
467f84e12b ("wic: Add --offset argument for partitions") broke the
--extra-space argument handling in wic. Fix the option and add a unit
test for the argument.

(From OE-Core rev: 87722a92c18f94917c8f70afc8cd0763462a5c25)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:04 +01:00
Chen Qi
37fffeb81f vim: restore the 'chmod -x' workaround in do_install
These workarounds are removed because a previous patch
solve the host path reference for gawk and perl, and it skips
the do_package_qa issue by setting the INSANE_SKIP. But it
introduces regression for do_rootfs. The dependencies are
calculated and will require packages like python, perl, gawk
and csh. The error is like below.

Error:
 Problem: conflicting requests
    - nothing provides /bin/csh needed by vim-tools-8.2-r0.corei7_64
    - nothing provides /usr/bin/nawk needed by vim-tools-8.2-r0.corei7_64
    - nothing provides /usr/bin/python needed by vim-tools-8.2-r0.corei7_64

So we keep the previous patch which solve the host path reference
problem and restore the long-used 'chmod -x' workaround here.

(From OE-Core rev: bf3e799e32b4de300887b844b0b7bce3d60ca379)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:04 +01:00
Mingli Yu
8a925ec069 python3-setuptools: add missing rdepends for python3-pkg-resources
Add missing rdepends for python3-pkg-resources to fix below error:
 # python3
 [snip]
 import pkg_resources
 [snip]
 ModuleNotFoundError: No module named 'plistlib'
 ModuleNotFoundError: No module named 'email'

(From OE-Core rev: 932b282a51f65c99847651ea1399c38b538bf432)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:04 +01:00
Kai Kang
0273ac2a81 encodings: clear postinst script
Postinst script from xorg-font-common.inc doesn't apply to this recipe.
So clear the postinst script of encodings.

(From OE-Core rev: 99ae6dbb7278dfd264453af852c108fa56a0d4e3)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-12 08:25:04 +01:00
Joshua Watt
c3271dca21 bitbake: bitbake: cache: Fix error when cache is rebuilt
It is expected that load_cachfile() returns an integer indicating how
many entries were loaded from the cache. In the event the cache needs to
be rebuilt, 0 must be returned to prevent python from attempting to add
an None and an integer together.

(Bitbake rev: 3459d98fbc280637ecb36961bda8436818ee51e5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-10 12:30:01 +01:00
Joshua Watt
0ecab7a461 bitbake: bitbake: command: Move split_mc_pn to runqueue
All of the other multiconfig splitting functions are located in runqueue
so move the function to split a pn/fn there also so that its easier to
see them all together. Fixes a case where the findBestProvider() command
wasn't working for multiconfig because it was looking for a prefix of
"multiconfig:" instead of the newer "mc:"

(Bitbake rev: 325827af66434affc2da460cc8b9a5c460e38056)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-10 12:30:01 +01:00
Joshua Watt
c90dd50939 bitbake: bitbake: tests: Add tests for BBMASK in multiconfig
Adds a test to validate that multiconfigs can independently mask off
recipes by setting BBMASK. See the test description for further
information about how the test works.

(Bitbake rev: 513fc2dddf13d5e344162c26d89d2dde2fe85634)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-10 12:30:01 +01:00
Joshua Watt
59fb65f742 bitbake: bitbake: cache: Cache size optimization
Now that there is a cache object per multiconfig, it is not necessary
for each cache object to parse all other multiconfigs. Instead, each
cache now only parses the files for it's multiconfig.

(Bitbake rev: 3c5c7346adf4ca7ec761c08738f12401ba75b7c8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-10 12:30:01 +01:00
Joshua Watt
3ec9d5774c bitbake: bitbake: cache: Improve logging
Improves the logging of Cache objects by prefixing the log messages with
the multiconfig name of the cache, so as to distinguish between multiple
instances of the class. Also adds a more log messages.

(Bitbake rev: 74fd10b33c66f4142d6eff6531200f7620a06ae0)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-10 12:30:01 +01:00
Joshua Watt
7dffeb6ffd bitbake: bitbake: lib: Add PrefixLoggerAdapter helper
Adds a helper logger adapter to add a prefix to all log messages. This
is useful to distinguish log messages between multiple instances of a
object.

(Bitbake rev: 5f363e4a9636b902229c257484ae0b479aedca65)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-10 12:30:01 +01:00
Joshua Watt
f302039e0e bitbake: bitbake: lib: Add support for Logging Adapters
Creates a BBLoggingAdapter class that is monkey patched in place of the
logginer.LoggingAdapter. The new adapter is compatible with the BBLogger
class API, allowing adapters to be created for bitbake loggers. A new
BBLoggerMixin class is used to reduce code duplication between the BBLogger
and BBLoggerAdapter classes.

(Bitbake rev: 8f93d776fd6ce1a6d7094da9a9e00b5e9ee178f9)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-10 12:30:01 +01:00
Joshua Watt
f8163c22f4 bitbake: bitbake: cache: Use multiconfig aware caches
Splits the parsing cache to maintain one cache per multiconfig instead
of one global cache. This is necessary now that the files and appends
can vary for each multiconfig. A bb.cache.MulticonfigCache
dictionary-like proxy object is created instead of a single
bb.cache.Cache object. This object will create and properly initialize
bb.cache.Cache object for each multiconfig, and each of these caches has
a dedicated cache file with a name based on the multiconfig.

(Bitbake rev: 5272f2489586479880ae8d046dfcdbe0963ee5bb)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-10 12:30:01 +01:00
Joshua Watt
b9fdb6a426 bitbake: bitbake: cooker: Split file collections per multiconfig
Splits the cooker to track a collection per multiconfig instead of a
single collection for all multiconfigs. Practically speaking, this
allows each multiconfigs to each have different BBMASKs that apply to it
instead of each one using the mask specified in the base configuration.

(Bitbake rev: dd6d8eca2027f8d9be8a734a493227b440075e49)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-10 12:30:01 +01:00
Pierre-Jean Texier
f08d269c48 iptables: upgrade 1.8.4 -> 1.8.5
This release contains the following fixes and enhancements:

xtables-save/xtables-restore:
- Fix parser in `--noflush' mode incorrectly rejecting chain definitions
  and empty lines.
- Fix crash when restoring or dumping while other ruleset changes happen
  in parallel.

iptables-apply:
- Install the script along with `make install'.
- Introduce parameters `-c' (run command) and `-w' (save successfully
  applied rules to file).
- Use `mktemp' instead of `tempfile' for temporary files.

iptables-translate:
- Support `time' match and `NOTRACK' target.
- Fix for special interface names `*', `+' and `eth++'.

ebtables-nft:
- Full among match support, including sets with mixed MAC and MAC+IP
  entries.

extensions:
- connlabel: Numeric labels were rejected if a connlabel.conf existed in
             the system.
- IDLETIMER: Introduce `--alarm' option.

libxtables:
- Introduce xtables_fini() to properly deinit the library and close any
  loaded shared objects.

nfnl_osf:
- Fix lockup after loading the first line from fingerprints file.
- Improve error handling, don't silently exit when deleting a
  non-existing fingerprint.

General:
- Fixes for undefined behaviour.
- Replace a few unsafe calls to strcpy().
- Fix some warnings when compiling with clang.
- Various fixes for valgrind-detected problems such as memory leaks and
  reachable memory at program exit.

(From OE-Core rev: 0d28b963d91503c557adf87e096eb7a98dff6c76)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:01 +01:00
Kai Kang
5d3497828a wpa-supplicant: remove service templates from SYSTEMD_SERVICE
Remove service templates wpa_supplicant-nl80211@.service and
wpa_supplicant-wired@.service from SYSTEMD_SERVICE that they should NOT
be started/stopped by calling 'systemctl' in postinst and prerm scripts.

(From OE-Core rev: fe9b8e50461ab00ab3ad8b065ebd32f0eea2a255)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:01 +01:00
Kai Kang
ce441fde6f mdadm: remove service template from SYSTEMD_SERVICE
Remove service template mdmon@.service from SYSTEMD_SERVICE which should
be not started by systemctl directly. It is hanlded by udev rules.

Replace tab with spaces in SRC_URI as well.

(From OE-Core rev: a55b2b29bb86d98700836de5b7d68965c7cd5ee5)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:01 +01:00
Joe Slater
844d54288e vim: _FORTIFY_SOURCE=2 be gone
vim will abort in many places with this setting.  Replace
it with the benign _FORTIFY_SOURCE=1.

(From OE-Core rev: 18129cbaeddb3278efe9963718556e3765f06c1e)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:01 +01:00
Alexander Kanavin
fdee2d49fc build-sysroots: add sysroot paths with native binaries to PATH
staging_populate_sysroot_dir() collects postinsts from the sysroot
and executes them. These postinsts, in turn, may call binaries that
are only available from the sysroot. This works fine with recipe-specific
sysroots, as all necessary paths are already in PATH, but breaks down
in this recipe which imitates the old global sysroot way but doesn't adjust
the PATH to include the binary paths from global sysroot.

To reproduce the failure:

$ bitbake docbook-xml-dtd4-native
$ bitbake -c build_native_sysroot build-sysroots

...

Exception: subprocess.CalledProcessError: Command '/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog' returned non-zero exit status 127.

Subprocess output:
/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: 5: /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: xmlcatalog: not found
/home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: 8: /home/akanavin/build/tmp/sysroots/x86_64/usr/bin/postinst-docbook-xml-dtd4-native-xmlcatalog: xmlcatalog: not found

(From OE-Core rev: 6b5f7bda4204d45cd29670cefcd53dc5da031095)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:01 +01:00
Alexander Kanavin
b70b4c9bbb ca-certificates: correct upstream version check
(From OE-Core rev: 9bc2943a7819c7e6d1bd4c1c03b265671811784c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
a5581080ef init-system-helpers: use https for fetching
git:// protocol seems to be down.

(From OE-Core rev: 97da539d49de979c9a303a5ecda09515d188673e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
6dd0f14973 xinetd: 2.3.15 -> 2.3.15.4
This is updating from an old version from abandoned upstream repo to
an actively maintained opensuse fork, hence all the changes and cleanups.

License-Update: added suse copyrights
(From OE-Core rev: b89c53f0ae7c4d8afdad153ad84e376e17bdb8ab)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
c3433400d9 subversion: upgrade 1.13.0 -> 1.14.0
Add python3native, as configure probes into python configuration.

(From OE-Core rev: e57a7d0fb2e12bfd8179e6859a7fc28183b15d76)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
2a3a105eaf shared-mime-info: upgrade 1.15 -> 2.0
Convert to meson, replace custom call to
update-mime-database with a built-in meson option.

(From OE-Core rev: eeb6de06d2e6b3a7edf03c17e830aafc935e6f20)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
f9b4abc12e ovmf: update to 202005
(From OE-Core rev: f8bf6b5f9aedcc4490008000250e69f74529db75)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
90fe4de865 mpg123: update to 1.26.1
Drop a patch merged upstream.

(From OE-Core rev: 4ad03006cf66efb0b45ea2f9a3b21ab8cf4d4a00)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
cec1bbe3c9 lttng-modules: update to 2.12.1
Drop backports.

devupstream variant was incorrectly updated in a059fc67da
(changed to 2.12, but without updating SRCREV), so revert it back
to 2.11.2.

(From OE-Core rev: 64e27ce04c4acb68c946804627e5c594b73052cb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
fbdb937206 libksba: 1.3.5 -> 1.4.0
Adjust the pkg-config patch:

- upstream added their own .pc file, so adding it again is not needed.
- ksba.m4 adjustment to use pkg-config remains in place, but has to be rebased.

(From OE-Core rev: 6ce510f38cafe86229b225bb6727e538bd35258c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
e71947c1d2 iproute2: upgrade 5.6.0 -> 5.7.0
(From OE-Core rev: 4bd25076b53a2be09db4ca08a3854d8626c7ead0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
57f11274fc go: 1.14.3 -> 1.14.4
(From OE-Core rev: 6591d269792fe864d7af4e379035f1cebc4510f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
56eed2a0fd git: upgrade 2.26.2 -> 2.27.0
(From OE-Core rev: fe43277910532cf4f6623b9c1fcfb285d454608f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
ebd3ced021 debianutils: 4.9.1 -> 4.11
License-Update: changed license file path on Debian systems
(From OE-Core rev: 57f2225a09a9e4a21a6473c45d2ab7c0b5c0dd28)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
b6465bbbdf asciidoc: 8.6.10 -> 9.0.0
License-Update: copyright years, gpl2 text updated to latest official
(From OE-Core rev: ddaefe90d4db12353c1527b3e6dadd45a04a2381)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
464d2b54cc bison: upgrade 3.6.2 -> 3.6.3
(From OE-Core rev: 5c2b545a9334daddbd0d9fc43264e6029336101e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
c0b014166d libcap: upgrade 2.34 -> 2.36
(From OE-Core rev: 87ef009278d8417c2de24fc9c893db89f3b20cc3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
46d558a109 gnutls: upgrade 3.6.13 -> 3.6.14
(From OE-Core rev: cd88c81804a4a52b9875f2244c9f35911539be96)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
b6d8d1c711 wpebackend-fdo: upgrade 1.6.0 -> 1.6.1
(From OE-Core rev: ac4cd00617c65e6b69b59935d75f8f012db51c8b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
5f39ac454f ffmpeg: upgrade 4.2.2 -> 4.2.3
(From OE-Core rev: 857d9e8c7ddf5daf54adef3cac5753c5fc490990)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
91f03e8b34 lttng-tools: upgrade 2.12.0 -> 2.12.1
(From OE-Core rev: 061cc808cf81889e6eede88c71c5a7395241f42b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
a1b3536f18 babeltrace2: upgrade 2.0.2 -> 2.0.3
(From OE-Core rev: 2827f36db8a0f59555689ebfa5c5848b16ec9c11)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
fb2893bf2d linux-firmware: upgrade 20200421 -> 20200519
License-Update: added more entries to WHENCE, all redistributable
(From OE-Core rev: f8d47014e453533b98e37c653177e9541e1deeda)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
53144e3b69 xkeyboard-config: upgrade 2.29 -> 2.30
(From OE-Core rev: b14fbbf69c4d8a81b470612058e9559c76d97cca)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
e89492a25d vulkan-demos: upgrade to latest revision
(From OE-Core rev: 3922eaf495f29be29cf685556935deb9649bae24)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
3d5ff26071 libdrm: upgrade 2.4.101 -> 2.4.102
(From OE-Core rev: 8ff0f6dccc5a8a7e8af3dc49597859c9d9fefd87)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
c9a4b735b4 cogl-1.0: upgrade 1.22.6 -> 1.22.8
(From OE-Core rev: 4f92208d9a53a40d6c39cd7ca5041248a5f12572)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
fd1b61ce2f epiphany: upgrade 3.36.1 -> 3.36.2
(From OE-Core rev: a526a5c0be87a94540dd6a3e60404dc95596205c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
bbe160e5f8 msmtp: upgrade 1.8.10 -> 1.8.11
(From OE-Core rev: 9fe1db88f17787f3fbadddf1f7acddad055d218b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
9ef4dd0458 man-db: upgrade 2.9.1 -> 2.9.2
(From OE-Core rev: a8fdc1d314a00b4077d7ab0c6ca0cea57b92082f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
0ec20631b0 acpica: upgrade 20200430 -> 20200528
(From OE-Core rev: 06ed357cced8dc7f3bfb20ff20efaf926e9518ef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
dd0fffed83 strace: upgrade 5.6 -> 5.7
(From OE-Core rev: 38da7f53f9400a8aa1b63884e091e280179dd12d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
27e5fd8263 python3-git: upgrade 3.1.2 -> 3.1.3
(From OE-Core rev: cd187837d3b5a497f5eb1a7aa72ba0eac2cc4623)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:14:00 +01:00
Alexander Kanavin
3c1931f5c4 python3-numpy: upgrade 1.18.4 -> 1.18.5
(From OE-Core rev: c50312060446e7eaab11b3be90737fdec08dcc66)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Alexander Kanavin
a3838ee740 pkgconf: upgrade 1.6.3 -> 1.7.3
(From OE-Core rev: 6505cd832a946ccfbe07ad8d3d91962171fdef3a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Alexander Kanavin
e1f0db6186 librepo: upgrade 1.11.3 -> 1.12.0
(From OE-Core rev: 739987241ec908defc96f17f798b2b79bc4c580c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Alexander Kanavin
bfbe91ab7f createrepo-c: upgrade 0.15.10 -> 0.15.11
(From OE-Core rev: 66488e4232300a559e168ce48e63ad6b28e7e2e0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Alexander Kanavin
8fe66342ba pciutils: upgrade 3.6.4 -> 3.7.0
(From OE-Core rev: 16a9c4bc965a0d62dd542337e576e7edad717231)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Alexander Kanavin
db3c999b8e linux-yocto: exclude from version checks/automated version updates
(From OE-Core rev: dc3563bc2422144622923626f661a3974560b9d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Adrian Bunk
b33eb34d41 dpkg: Remove workaound patch for host tar < 1.27
tar >= 1.28 is already required.

(From OE-Core rev: 5643dd73fd1ce4d2813d86a2388df85b48e9a135)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Andreas Müller
71b50a4310 sqlite3: upgrade 3.32.1 -> 3.32.2
(From OE-Core rev: 0f686fabd33d933330b9c6e9b14fff25ae8e7642)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Andreas Müller
19f6e9a71c harfbuzz: upgrade 2.6.4 -> 2.6.7
* Seems they stopped maintaining freedesktop downloads so we missed few versions.
  To stay tuned add UPSTREM_CHECKs.
* License checksum was changed by credits & date changes [1]

[1] 5440313924 (diff-7116ef0705885343c9e1b2171a06be0e)

(From OE-Core rev: d6529f252f14fdf24f8c7c94e3aa4e43f703e77a)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Andreas Müller
4a640c5e1d vte: upgrade 0.60.2 -> 0.60.3
(From OE-Core rev: b1c35e890b9057ef3259195bb5f5d0303347e39e)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Andreas Müller
ff1b5a7cb0 vte: tiny cleanup / renumber patch
(From OE-Core rev: 37db61a5194d1695b1d8a85db57a3a5e3b48b843)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Paul Barker
b1bb39c6e2 archiver: Speed up tests
When running tests locally without the advantage of a populated sstate
cache, the archiver tests can take an unnecessarily long time. Using
different target recipes can speed things up a lot by reducing the
number of dependencies that are built.

For the test case test_archiver_srpm_mode we can still test the
conditions described in bug #11121 by using a target recipe that is
known to inherit the nopackages class as well as a more normal recipe,
instead of having to compute all the depepndencies of core-image-sato.

Before:
    archiver.Archiver.test_archiver_allows_to_filter_on_recipe_name: PASSED (20.50s)
    archiver.Archiver.test_archiver_filters_by_type: PASSED (14.16s)
    archiver.Archiver.test_archiver_filters_by_type_and_name: PASSED (79.08s)
    archiver.Archiver.test_archiver_mode_configured: PASSED (558.19s)
    archiver.Archiver.test_archiver_mode_diff: PASSED (14.59s)
    archiver.Archiver.test_archiver_mode_dumpdata: PASSED (14.41s)
    archiver.Archiver.test_archiver_mode_mirror: PASSED (14.02s)
    archiver.Archiver.test_archiver_mode_mirror_combined: PASSED (19.99s)
    archiver.Archiver.test_archiver_mode_mirror_excludes: PASSED (14.24s)
    archiver.Archiver.test_archiver_mode_mirror_gitsm: PASSED (13.47s)
    archiver.Archiver.test_archiver_mode_mirror_gitsm_shallow: PASSED (22.15s)
    archiver.Archiver.test_archiver_mode_original: PASSED (14.15s)
    archiver.Archiver.test_archiver_mode_patched: PASSED (14.57s)
    archiver.Archiver.test_archiver_mode_recipe: PASSED (14.56s)
    archiver.Archiver.test_archiver_srpm_mode: PASSED (83.03s)
    oe-selftest () - Ran 15 tests in 911.905s

After:
    archiver.Archiver.test_archiver_allows_to_filter_on_recipe_name: PASSED (23.66s)
    archiver.Archiver.test_archiver_filters_by_type: PASSED (15.16s)
    archiver.Archiver.test_archiver_filters_by_type_and_name: PASSED (15.33s)
    archiver.Archiver.test_archiver_mode_configured: PASSED (15.94s)
    archiver.Archiver.test_archiver_mode_diff: PASSED (15.79s)
    archiver.Archiver.test_archiver_mode_dumpdata: PASSED (15.39s)
    archiver.Archiver.test_archiver_mode_mirror: PASSED (15.28s)
    archiver.Archiver.test_archiver_mode_mirror_combined: PASSED (21.22s)
    archiver.Archiver.test_archiver_mode_mirror_excludes: PASSED (15.11s)
    archiver.Archiver.test_archiver_mode_mirror_gitsm: PASSED (13.61s)
    archiver.Archiver.test_archiver_mode_mirror_gitsm_shallow: PASSED (23.21s)
    archiver.Archiver.test_archiver_mode_original: PASSED (14.87s)
    archiver.Archiver.test_archiver_mode_patched: PASSED (15.50s)
    archiver.Archiver.test_archiver_mode_recipe: PASSED (15.62s)
    archiver.Archiver.test_archiver_srpm_mode: PASSED (20.66s)
    oe-selftest () - Ran 15 tests in 257.170s

(From OE-Core rev: 04b4e6e271c2c3e02b105edb3b0d8aae39dd3d7c)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Paul Barker
c7a85ba791 selftest-nopackages: New recipe in meta-selftest
This provides a test recipe which is known to inherit the nopackages
bbclass.

(From OE-Core rev: fe7096f1b921139b85fc22e3c948350521fe3406)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Paul Barker
13980f7445 selftest-ed: Support native builds
This allows tests to switch to selftest-ed-native which has far fewer
dependencies than selftest-ed.

(From OE-Core rev: cb40325e2fcdf2036b71af5fcf01984d11ef2934)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Chen Qi
ad6accf223 db: do not install db_verify if 'verify' is not enabled
On target, when running `db_verify /var/lib/rpm/Packages', we get
the following error.

  db_verify: BDB0571 library build did not include support for database verification

This is because db_verify is installed but 'verify' PACKAGECONFIG is
not enabled. So fix it by not installing do_verify in such case.

(From OE-Core rev: b5ffdb296f211403f987b5d5a724a94ee91dc80c)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Paul Barker
43f940172a archiver: Capture git submodules in mirror archiver
Using the new Fetch.expanded_urldata() function we can get URL data for
all git submodules.

(From OE-Core rev: d908ca51b72f4ba417e7573ae3d953535f53286c)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Paul Barker
c20cb1a00e selftest: git-submodule-test: New recipe for testing a gitsm SRC_URI
(From OE-Core rev: ee6de1281ee16df0d43f635a12881b39fd9061d0)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Khem Raj
75fbaa9fb1 libunwind: Fix build on aarch64/musl
Backport a patch from upstream

(From OE-Core rev: 66a4cc01f86da136b903a03502137ea40a669710)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Joe Slater
a067139de0 qemu: force build type to production
qemu will not build for -Og optimization because macros
in lockable.h expect dead-code elimination.  Override DEBUG_BUILD.

(From OE-Core rev: ad404b2e51223625bd95f9a7da4c7a690c37bdfb)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Jacob Kroon
3c5f798c5f features_check: Factorize code for checking features
The DISTRO/MACHINE/COMBINED features should be treated identically, so
convert the expanded code to a loop. This fixes some of the COMBINED error
messages which were previously referring to MACHINE features. There
should be no functional changes.

(From OE-Core rev: 051f6efd1b2d5c8c11ab91a75a34f6dc04caf211)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Pierre-Jean Texier
0a8251ccf6 libarchive: upgrade 3.4.2 -> 3.4.3
See full changelog https://github.com/libarchive/libarchive/releases/tag/v3.4.3

(From OE-Core rev: 9fe7cda75d5e3ba2c1c99ae49ea15b9b486a92e6)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Ming Liu
4fde8c8f47 u-boot: support merging .cfg files for UBOOT_CONFIG
U-boot recipe supports .cfg files in SRC_URI, but they would be merged
to .config during do_configure only when UBOOT_MACHINE is set, we
should also support merging .cfg files for UBOOT_CONFIG.

(From OE-Core rev: ce3de00d41791fa5e9557c5e93a99fbe368311f5)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Mingli Yu
53fff50cbc python3-magic: add the missing rdepends
Add the missing rdepends to fix below error:
 # python3
 [snip]
 >>> import magic
 [snip]
 ModuleNotFoundError: No module named 'ctypes'
 ModuleNotFoundError: No module named 'tempfile'

(From OE-Core rev: 115791844124bdddfbaec9d75bb887ef35c41f20)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Changqing Li
611d60f4c5 cups.inc: remove template service from SYSTEMD_SERVICE
this template service need to triggered by org.cups.cups-lpd.socket,
which will assigned an instance id for org.cups.cups-lpd@.service,
like org.cups.cups-lpd@0.service. add this in SYSTEMD_SERVICE will
cause post scriptlet fail as:
Failed to start org.cups.cups-lpd@.service: Unit name org.cups.cups-lpd@.service is missing the instance name.
See system logs and 'systemctl status org.cups.cups-lpd@.service' for details.

(From OE-Core rev: 4bb87c8b28b58a469c01f4a051361aa099cdfe1a)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Stefan Agner
fb9c85e3bf initramfs-framework: check successful mount using mountpoint
Instead of checking for existence of /dev in the mounted file system use
mountpoint to check if a root file system has been mounted. This allows
to use the rootfs module for OSTree based rootfs as well, where the file
system rootfs does not have any of the regular directories (at least
when using the modern layout).

(From OE-Core rev: efdfd0d5dde4dde43cb67ef28a90d5f5fe3e0ac6)

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Rasmus Villemoes
6710572f90 glibc: move ld.so.conf back to main package
There are cases where one doesn't want ldconfig on target (e.g. for
read-only root filesystems, it's rather pointless), yet one still
needs ld.so.conf to be present at image build time:

When some recipe installs libraries to a non-standard location, and
dutifully drops in a file in /etc/ld.so.conf.d/foo.conf, we need the
ld.so.conf containing the

  include /etc/ld.so.conf.d/*.conf

stanza to get those other locations picked up.

So change the packaging logic so that there's always an ld.so.conf
present when the build-time ldconfig runs.

The ld.so.conf and ld.so.conf.d/*.conf files don't take up much
room (at least not compared to the 700K binary ldconfig), and they
might be needed in case ldconfig is installable, so leave them
alone.

In case of a read-only rootfs, one could add some logic to remove them
if one really wants to shave those few dozens of bytes off.

While here, fix typos in the bb.note (add spaces) so one can just
copy-paste the line from the log-file and redo the command.

(From OE-Core rev: a4cdda012f613d8d80203b9f5fc737d8511d16ce)

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-09 13:13:59 +01:00
Anuj Mittal
b66b9f7548 linux-yocto: bump genericx86 kernel version to v5.4.40
(From meta-yocto rev: bae0a97a39dad445c9655bc61ae3b7e6a667cbba)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:29:02 +01:00
akuster
2f9cf90ac8 yocto-docs: Add SPDX headers in scripts and Makefile
[Yocto #13873]

(From yocto-docs rev: b87c540a1a6c0dce4c6010b89d9831442e0e7f70)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:29:02 +01:00
Richard Purdie
109a501faf poky.ent: Update XXX_HOST_PACKAGES_ESSENTIAL to include mesa for other distros
(From yocto-docs rev: e187f0f858bd4ed2eda10a5140cbc5ec222d7092)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:29:02 +01:00
akuster
f4856db1e3 poky.ent: Update OPENSUSE_HOST_PACKAGES_ESSENTIAL to include mesa-dri-devel
(From yocto-docs rev: 3003075b29bee696f226533e24ab7121508ca99b)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:29:02 +01:00
Paul Barker
1251765fff bitbake: fetch2: Add the ability to list expanded URL data
Some fetchers may download additional sources along with those
explicitly listed in SRC_URI. These "implicit URLs" will be needed by
the archiver to ensure that all sources can be archived.

We can't just return a list of URL strings since each URL may need its
own SRCREV data so we return a list of FetchData objects.

Each fetcher can override the implicit_urldata() function to provide the
additional FetchData objects. For now this is just needed in the gitsm
fetcher to walk git submodules recursively.

(Bitbake rev: 1350f241b7d991bd191ce9e44f6662e4376c6e24)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:28:16 +01:00
Mauro Queirós
d648096794 bitbake: git.py: Use the correct branch to check if the repository has LFS objects.
Function "contains_lfs" was only looking at the master branch when searching for LFS
content. LFS may be configured in specific branches only, so we need to use the
correct branch.

(Bitbake rev: 4fa67c2af830035a1ddedc14592ee25a15ebff22)

Signed-off-by: Mauro Queiros <maurofrqueiros@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:28:16 +01:00
Mauro Queirós
3f8b8f8bca bitbake: git.py: LFS bitbake note should not be printed if need_lfs is not set.
The message "Repository %s has LFS content but it is not being fetched" was
being printed, even when Git-LFS was available and "lfs=1" was set. In those
situations, we want to fetch LFS content, so that message would not make sense.

(Bitbake rev: 45028dfda5a29a34ab408cb3f11d72ae17963340)

Signed-off-by: Mauro Queiros <maurofrqueiros@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:28:16 +01:00
Mauro Queirós
8051b79733 bitbake: git.py: skip smudging if lfs=0 is set
Git-LFS objects were being fetched even when lfs=0 was not set.
This patch disables LFS smudging when lfs=0. That way, only the LFS pointers
are downloaded during checkout.

(Bitbake rev: 646d86df7de774255246a3d7051c308e43eb257d)

Signed-off-by: Mauro Queiros <maurofrqueiros@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:28:16 +01:00
Paul Barker
9800884deb oe-selftest: Recursively patch test case paths
This ensures that builddir is updated correctly to point to the new
selftest build directory when we're given a list of test suites instead
of a list of test cases.

(From OE-Core rev: 56e211d0f3c6cb84f5982e5de00faeeed69c1912)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Paul Barker
18a69b1cd2 oe-selftest: Support verbose log output
(From OE-Core rev: 6a607da9a6aa05f86b0e77cccd066b9f286cfada)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Paul Barker
05882158de oe-selftest: Allow overriding the build directory used for tests
This may be useful if the parent directory of the original builddir is
not writable, on a lower performance drive, etc.

(From OE-Core rev: dab719e5f1964fd48e9a35e6b9db1508b5414540)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Paul Barker
822f6b6143 archiver: Fix test case for srpm archiver mode
We can't assume that rpm packaging will always be enabled when running
oe-selftest. In particular when using nodistro instead of poky this is
not enabled by default.

(From OE-Core rev: 23df3024664ec56dbbe8865ef3953d2c33a7a2cb)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Ming Liu
e52d60d9d4 u-boot: introduce UBOOT_INITIAL_ENV
It defaults to ${PN}-initial-env, no functional changes with current
implementation, but this allows it to be changed in individual u-boot
recipes.

If UBOOT_INITIAL_ENV is empty, then no initial env would be compiled/
installed/deployed, set ALLOW_EMPTY_${PN}-env = "1".

The major purpose for introducing this, is that the users might have
some scripts on targets like:
```
/sbin/fw_setenv -f /etc/u-boot-initial-env
```

and it should be able to run against a identical path generated by
different u-boot recipes.

(From OE-Core rev: fb7e8b6b88855f3f523b2176ea2c85a330bfe00b)

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Ming Liu
43dbbb8712 u-boot.inc: fix some inconsistent coding style
(From OE-Core rev: 5ffefba5f1a7a37f4752e34be86f1dc2942192d0)

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Junling Zheng
171a8360f5 security_flags: Remove stack protector flag from LDFLAGS
SECURITY_LDFLAGS contains stack protector flag inappropriately, which
has already be contained in SECURITY_CFLAGS. Let's remove it from
SECURITY_LDFLAGS.

(From OE-Core rev: 549cce578b859986e37900bf15c1bf904d33e47b)

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Richard Purdie
07223656d2 patchelf: Add patch to address corrupt shared library issue
patchelf can corrupt shared libraries if the program headers don't
immediately follow the elf header. Add a patch submitted upstream
to address this.

(From OE-Core rev: e7811c787bbe2f5d49b3506309499acc27189988)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Wang Mingyu
5cbf053481 dbus-test: upgrade 1.12.16 -> 1.12.18
(From OE-Core rev: 839695e0c1b0c0fcfbb924c2b174c4a638067a32)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Wang Mingyu
82b89e732c valgrind: upgrade 3.15.0 -> 3.16.0
0001-gcc10-arm64-build-needs-__getauxval-for-linking-with.patch
0001-tests-Make-pthread_detatch-call-portable-across-plat.patch
0004-pth_atfork1.c-Define-error-API-for-musl.patch
removed since they are included in 3.16.0

refresh 0004-Fix-out-of-tree-builds.patch

-License-Update:
before:
   You should have received a copy of the GNU General Public
   License along with this program; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
   02111-1307, USA.
after:
   You should have received a copy of the GNU General Public License
   along with this program; if not, see <http://www.gnu.org/licenses/>.

(From OE-Core rev: a627a350cf3db99a63d6be2701957e3de0654370)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Wang Mingyu
c15d342e45 sqlite: upgrade 3.31.1 -> 3.32.1
CVE-2020-11655.patch
CVE-2020-11656.patch
CVE-2020-9327.patch
removed since they are included in 3.32.1

(From OE-Core rev: 7ee8501146ceccdbd07104903694a435b75c0606)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Wang Mingyu
6ce944904f libyaml: upgrade 0.2.4 -> 0.2.5
(From OE-Core rev: b574c04a26ab49ee0588e37606dd100a939a90a9)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Wang Mingyu
a62471f064 dbus: upgrade 1.12.16 -> 1.12.18
(From OE-Core rev: 8d33a2a4e4b6ff8f831523e5b1b16ead6b29cc79)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Wang Mingyu
00a50debbb ca-certificates: upgrade 20190110 -> 20200601
-License-Update: format changed

(From OE-Core rev: 0007f38b03bcb0bd561bd9181fbffc7dec47fe9a)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Lee Chee Yang
1f142dbaf6 glib-networking: 2.64.2 -> 2.64.3
update to 2.64.3 which include fix for CVE-2020-13645, see:
https://gitlab.gnome.org/GNOME/glib-networking/-/issues/135

(From OE-Core rev: 752310aaee91f017907bb4a7c0f4eaa1f41fda6e)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Jens Rehsack
ccbeea1c0b init-system-helpers: avoid superfluous update-rc.d
Debians init-system-helpers bundle an own, perl written update-rc.d which
doesn't fulfill embedded/cross-build requirements as our own in
    meta/recipes-core/update-rc.d
does. To avoid unnecessary conflicts or questions, do not bundle it by
default. Whoever wants it is invited to have an .bbappend.

(From OE-Core rev: 4e5a55c7ecf7100bb87dcad31723ee27b7006ac2)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Jens Rehsack
850abc548b initscripts/init-system-helpers: fix mountnfs.sh dependency
With commit c9fc9110be
    Author: Yue Tao <Yue.Tao@windriver.com>
    Date:   Fri May 25 10:48:08 2018 +0800

	initscripts: Avoid starting rpcbind daemon twice

	Check the status before start it to avoid duplicates.

the use of a script {/usr/sbin/}service is introduced - maybe earlier
provided by systemd, nowadays mostly by init-system-helpers from
debian project.

For the very first shot, maybe discussions and improvements based
on that script collection, use just the init-system-helpers-service
in initscripts/mountnfs.sh to avoid problems mounting NFS in later
boot stage.

(From OE-Core rev: db690c3bf4664ce71fc21650fbcd8b6ac2eb71f1)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Lee Chee Yang
e0b8083761 glib-2.0: 2.64.2 -> 2.64.3
remove patch which already upstream
3c5512222c

(From OE-Core rev: 265a19308ad7dad1970c2d439103b7b485c4fbfc)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Alex Kiernan
a5bb13b43f systemd: upgrade v245.5 -> v245.6
Commits:

  aa0cb635f1f6 network: L2TP fix crash
  9774347b5775 Fix typo.
  2cac801f0f37 stat-util: trivial empty_or_null() tweaks
  b054e69bf98e Check ambient set against bounding set prior to applying ambient set
  bed695375abc udev: when the BSD lock on a block device is taken, don't complain
  66fcfdfde7d9 core: add forgotten return in error path
  05dd19fad320 shared/efi-loader: remove check that uses absolute tick value
  753a71ad1d0e gpt: include homed GPT partition type in well-known partition table
  366872204933 units: don't set PrivateNetwork= in systemd-homed.service
  2bca2d77d37d resolved-dns-query: remove dns_query_candidate_is_routable
  a3f60204325a sd-network: fix inverted error message
  a7a9fe3c930d network: allow empty assignment to PreferredLifetime=
  8df6fc1241d1 Update resolvectl zsh completion
  c1a83277d086 shared: treat generator units as vendor units
  1f382d818dd0 tree-wide: fix bad errno checks
  667c2076838f bus-message: immediately reject messages with invalid type
  116a8eadb6ad bus-message: fix negative offset with ~empty message
  4d5779d886d0 load-fragment: fix a typo
  c8b6de003a07 NEWS: retroactively document Family=
  cf6b8e6ec524 man: fix dir name in sysctl.d(5)
  6d009b7a25b1 journalctl,elsewhere: make sure --file=foo fails with sane error msg if foo is not readable
  cf786ef1643e makefs: log about OOM condition
  0b1839822f9e blockdev: propagate one more unexpected error
  d78ce949d001 repart: don't insist on coming up on partition label ourselves
  9e1363fcc65f journal: fix dropping first record during upload to remote journal
  50cb4e418dab meson: initialize time-epoch to reproducible builds compatible value
  76abe079b79a limit-util: quieten a very common debug message that is misleading
  b3e484a3b133 shared: fix integer overflow in calendarspec
  0c29eea9691d repart: suppress complaints about lack of BLKRRPART when operating on regular file
  3db52f5ed840 repart: explain when we exit early and don't do a thing
  d99cba3aaa8c mount: introduce mount_is_nofail() helper
  7bc4bcea15aa mount: default startup dependencies and default network ones are orthogonal
  7fe617fa5381 mount: introduce mount_add_default_ordering_dependencies()
  e1c091b6d4c5 automount: fix handling of default dependencies for automount units
  ae05a137c9d4 mount: let pid1 alone handle the default dependencies for mount units
  f1fb1971767d mount: mount unit activated by automount unit should be only ordered against the automount unit
  c9bcc69703c1 generator: don't generate device dependencies for extrinsic mounts
  ebac09ea0a4e fstab-util: introduce fstab_is_extrinsic()
  a20e4ea0ed98 device: drop refuse_after
  2799fffac1eb man: drop some left-over mentions of StandardOutput=syslog
  144aff9c3beb sd-netlink: remove unused RTNL_WQUEUE_MAX define
  34ca8df8e131 test: Add return 0 to main() function (even it is not strictly necessary)
  6e03f328a939 network: 'cur' variable cannot be null, so simplify code
  8d0c97f6ca3c tree-wide: Initialize _cleanup_ variables if needed
  4f174e49aef8 netlink: Fix assert condition on n_containers
  3905ce532c86 journald: Increase stdout buffer size sooner, when almost full
  5a37eb7c6155 core: don't bind varlink socket if running in test mode
  33fff72ce665 pam_systemd: also print debug lines when ending a session
  ba9af79ccbab pam_systemd_home: use correct macro for converting ptr to fd
  619923548961 Fix misuse of PAM_PROMPT_ECHO_OFF in systemd-homed
  c180a2c4520e shared/ethtool-util: hush gcc warnings about array bounds
  1addba4aac47 core: fix compilation with gcc -O3
  9c46b97161c7 random-util: use ERRNO_IS_NOT_SUPPORTED() macro
  d85f9093d2f5 tmpfiles: clarify that "!" lines are filtered before collisions are checked
  2fac966a5ca3 man: mention the exclamation mark and minus sign literally, to make things searchable
  4f61be3373e3 man: clarify that exit status name mappings are unaffected by SuccessExitStatus=
  b747d74a4102 seccomp-util: add new syscalls from kernel 5.6 to syscall filter table
  c30d8caf8b3d tree-wide: Replace assert() by assert_se() when there is side effect
  b6e8e3be7e48 networkctl: use uint64_t for link speed throughout
  be66ce60891d tree-wide: use CMSG_SPACE() (and not CMSG_LEN()) to allocate control buffers
  1cb197798a40 man: suffix pam options with "=" where arg is required too
  a5fe01d3da4c test: Use assert_se() where variables are only checked by assert
  6960efd19892 tree-wide: Fix, replace assert() by assert_se() when there is side effect
  93c1b0307496 tree-wide: Mark as _unused_ variables that are only used in assert()
  c7679d7a9f01 tree-wide: Workaround -Wnonnull GCC bug
  073b257fd760 man: bring example PAM snippet of pam_systemd and pam_systemd_home back in sync
  855291a81ca6 man: highlight relevant lines in pam_systemd_home.so example PAM snippet
  f89ad7c0fdd9 login: include pam_systemd_home.so in the default PAM snippet we ship for user@.service
  9357f9466f80 test: Skip test-boot-timestamps on permission denied
  cad4ebe14e9e sysusers: be extra careful when locking accounts
  551e6f233a52 shared/install: print name of offending file in error
  c6a2e5123206 systemctl: fix --root support in querying presets
  6f1eedbfdda5 systemctl: fix hint when 'systemctl help' is given
  925521df7c86 shared/unit-file: fix resolution of absoulute symlinks with --root
  756ba362e873 man: mention that ProtectSystem= also takes care of /efi
  4f77cf43b5de man: systemd.service: systemd-analyze exit-codes -> exit-status
  7c6ea7a0534c man: expand on the star…end/repetition time expressions
  e06b9407928c calendarspec: be more graceful with two kinds of calendar expressions
  f3dd0b476d9d calendarspec: minor simplification
  3581c16d5681 shutdown: fix spacing in shutdown error message
  9556255349ff nspawn: mount custom paths before writing to /etc
  37447b7e78ad repart: fix partition maximum size segfault
  7f231ba503e7 link: Add units and fix typo in (Rx|Tx)BufferSize= manpage. Clean up the implementation slightly
  e75d2cdb0b22 main: bump RLIMIT_MEMLOCK by physical RAM size
  e16b9a1e31bf nspawn: be more careful with creating/chowning directories to overmount
  765d184a6976 homectl: say "home area" in more places
  c11bff4fa72b userdbctl: make --help fit in 80 columns
  0e56c2ef3fe3 shell-completion/zsh: update systemd-analyze completions
  2bb580f9942d zsh: fix disable/enable completion
  607a19a30936 cgroup-util: check for SYSFS_MAGIC when detecting cgroup format
  ddb3c38efce1 stat-util: no need to open a file to check fs type
  bd8842304c87 sysusers,tmpfiles: always mention error when failing to replace specifiers
  bdea9b65d21a sysusers: add accidentally forgotten 'return'
  17b059774dd4 man: document binfmt's new --unregister switch
  560380d8ec94 binfmt: also unregister binfmt entries from unit
  80835d9c51bd binfmt: modernize code a bit
  a1745741b82f shutdown: unregister all binfmt_misc entries before entering shutdown loop
  b637445950c8 shared: add common helper for unregistering all binfmt entries
  0215625e9927 home: fix strv NUL termination
  038988baa14e networkd: don't do lldp rx nor tx on bond devices
  9512d576d9f3 sd-bus: Fix typo in sd_bus_message_append_array docs
  63cef71dd068 shared: add NULL callback check in one more place
  6b91ca22a2e5 core: fix unused variable warning when !HAVE_SECCOMP
  f7c1c79c576d udev: prepare memory for extra NUL termination for NULSTR
  69e0ef0d99ec tree-wide: use recvmsg_safe() at various places
  cd0a84d4e956 socket-util: add recvmsg_safe() wrapper that handles MSG_CTRUNC
  2bb48c704b8d sd-bus: work around ubsan warning
  c147bba1fb4a shared: Don't try calling NULL callback in bus_wait_for_units_clear
  f907491463ac run: don't wait for start job to complete when running interactively anyway
  d3d1550a5d98 man: Fix typo "multiplied with" -> "multiplied by"
  ae5a9f27c5e5 core: make sure we don't get confused when setting TERM for a tty fd
  a07d3eaf7657 man: document that VirtualEthernetExtra= has nothing to do with Bridge=
  35fe81078eb1 core: add debug log when a job in the activation queue is not runnable
  a0cd882be891 core: add log_get_max_level check optimization in log_unit_full
  2a6ad1093c3c util: return the correct correct wd from inotify helpers
  9ec244c5c121 core: minor error code handling fixes
  a799283c91f6 man: document how to get the boot menu with zero time-out
  7263e86c8dd8 resolved: return org.freedesktop.resolve1.DnsError.NXDOMAIN on LLMNR resolution failure
  6eab4c2b3ece man: use manpages.ubuntu.com for resolvconf(8) link
  75ccec5cde54 man: add a note that resolvconf updates /etc/resolv.conf in specific circumstances
  3e3a31743a45 resolvectl: fix indentation of hexdump'ed packets
  6576058fab75 journald: add configuration option for enabling/disabling audit during journald startup
  52c5909f15ff man/systemd-service: clarify env variable expansion
  ac08df59c0db resolved: fix typo in an unused function and add comment

(From OE-Core rev: 2ffe399df1670cc8e41cc5e0e854dadd5766a800)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Christian Eggers
d3984cd771 tiff: Extend for nativesdk
Doxygen in meta-oe has recently been extended for nativesdk. Doxygen is
often used together with mscgen which in turn depends indirectly on
tiff (via gd library).

(From OE-Core rev: 929cf038ec0f49e86d9ab0ec7e012320598ceb81)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Christian Eggers
8d0df773bb librsvg: Extend for nativesdk
Doxygen in meta-oe has recently been extended for nativesdk. Doxygen is
often used together with dot (graphviz) which in turn depends on
librsvg.

(From OE-Core rev: cccc14d5fe334b6995c54a80a1b65fce357e4582)

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Joshua Watt
ba9be4bfa5 wic: Add --offset argument for partitions
Add support for an --offset argument when defining a partition. Many
SoCs require that boot partitions be located at specific offsets. Prior
to this argument, most WKS files were using the --align attribute to
specify the location of these fixed partitions but this is not ideal
because in the event that the partition couldn't be placed in the
specified location, wic would move it to the next sector with that
alignment, often preventing the device from booting. Unlike the --align
argument, wic will fail if a partition cannot be placed at the exact
offset specified with --offset.

Changes in V2:
* Fixed a small typo that prevented test_fixed_size_error from passing

(From OE-Core rev: 467f84e12b96bc977d57575023517dd6f8ef7f29)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Pierre-Jean Texier
6b4299df5d diffoscope: upgrade 144 -> 146
See full changelog https://diffoscope.org/news/diffoscope-146-released/

(From OE-Core rev: 942a02154c6b20a5cce583607b6f36bb7657ef0d)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Hongxu Jia
7adde4fa40 rpm: fix rpm -Kv xxx.rpm failed if signature header is larger than 64KB
Since commits [Place file signatures into the signature header where they
belong][1] applied, run `rpm -Kv **.rpm' failed if signature header
is larger than 64KB. Here are steps:

1) A unsigned rpm package, the size is 227560 bytes
$ ls -al xz-src-5.2.5-r0.corei7_64.rpm
-rw-------. 1 mockbuild 1000 227560 Jun  3 09:59

2) Sign the rpm package
$ rpmsign --addsign ... xz-src-5.2.5-r0.corei7_64.rpm

3) The size of signed rpm is 312208 bytes
$ ls -al xz-src-5.2.5-r0.corei7_64.rpm
-rw-------. 1 mockbuild 1000 312208 Jun  3 09:48

4) Run `rpm -Kv' failed with signature hdr data out of range
$ rpm -Kv xz-src-5.2.5-r0.corei7_64.rpm
xz-src-5.2.5-r0.corei7_64.rpm:
error: xz-src-5.2.5-r0.corei7_64.rpm: signature hdr data: BAD, no. of
bytes(88864) out of range

>From 1) and 3), the size of signed rpm package increased
312208 - 227560 = 84648, so the check of dl_max (64KB,65536)
is not enough.

As [1] said:

    This also means the signature header can be MUCH bigger than ever
    before,so bump up the limit (to 64MB, arbitrary something for now)

So [1] missed to multiply by 1024.

[1] f558e88605

(From OE-Core rev: 8359bdd60afafd80d354f7f40ed648643d8db292)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Jan Luebbe
e4faf3b3d0 classes/buildhistory: capture package config
As the PACKAGECONFIG variable has a large influence on the resulting
package sizes and dependencies, it's useful to capture it in the
recipe-level buildhistory. This makes it straightforward to analyze the
impact of PACKAGECONFIG changes on the resulting image size.

(From OE-Core rev: 189fae9f2df58759e9d66a3877c9ef30df4854bf)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Junling Zheng
373c2637c3 buildstats.bbclass: Do not recalculate build start time
The build start time is recorded in __timedata_build, which we should
use rather than recalculating it.

(From OE-Core rev: b723e9a4de67f33f61f2e7fe36ea451a46840b3e)

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Junling Zheng
388250a48f buildstats.bbclass: Remove useless variables
Remove useless variables bn and bsdir in write_task_data().

(From OE-Core rev: de26d6ce9d2154b5bb51491d9f4bd590cb5a0fc7)

Signed-off-by: Junling Zheng <zhengjunling@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:32 +01:00
Konrad Weihmann
bd0a9ea61b cogl: point to correct HOMEPAGE
As the previousy set wasn't reachable anymore

(From OE-Core rev: 3ae0aa1df25c8c7511950c6fc965955bdb205cd2)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Konrad Weihmann
c6eda7a98f libxt: fix whitespaces
remove unnecessary whitespace and line breaks

(From OE-Core rev: dd41594cb8340fb1f4df5822f42c4742d720805b)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Konrad Weihmann
9f36414d22 gtk-doc: remove trailing whitespace
remove unnecessary trailing whitespace

(From OE-Core rev: 237e03e7a62c713f9eee9e853b0b452a3260b512)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Konrad Weihmann
5e0783d1f2 cairo: remove trailing whitespace
Remove trailing whitespaces after line continuation

(From OE-Core rev: b44a30b7443f271771665c9282ec4cd14e57678b)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Konrad Weihmann
2f1680f706 libjpeg-turbo: whitespace fixes
Added the proper amount of blanks around equation-signs

(From OE-Core rev: 3ab229aafc62e039662adc1c89637ba9c5d4016c)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Konrad Weihmann
473f8839e6 debianutils: whitespace fixes
Added whitespaces around equation-signs

(From OE-Core rev: db9275d565bf1daa01825239909620751a6f0967)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Andreas Müller
57b49ced17 vte: Pack ${libexecdir}/vte-urlencode-cwd to vte-prompt
Have vte-prompt in my images. Since upgrade 0.60.2 all terminals complain with:

| bash: /usr/libexec/vte-urlencode-cwd: No such file or directory

Grepping sources shows that vte.csh and vte.sh are the only callers of
vte-urlencode-cwd. Both are installed by vte-prompt so move vte-urlencode-cwd
where it's used.

(From OE-Core rev: 1ea62721b1c06a77b18cf210ee437c292f58104b)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Ralph Siemsen
9fef505804 cve-check: include epoch in product version output
In the generated cve.log files, include the epoch in the product
version. This better matches how versions are displayed elsewhere,
in particular the bb.warn("Found unpatched CVE...") that appears
on the terminal when CVEs are found.

(From OE-Core rev: e1c3c0b6e5b01304e2127f5058986697e82adf93)

Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Richard Purdie
098d1a65e0 oeqa/targetcontrol: Rework exception handling to avoid warnings
We're seeing:

WARNING: bitbake/lib/bb/cookerdata.py:136: ResourceWarning: unclosed file <_io.FileIO
name='tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/testimage/qemurunner_log.20200601181912'
mode='ab' closefd=True

which can only be caused by the qemu.stop() method not being called.
Tweak the error handling to fix the blanket exception handler which
is likely meaning this function isn't getting called.

(From OE-Core rev: ee707090848d793e3b2d82dd3861ae22222682c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Peter Kjellerstedt
e075a77c14 cairo: Do not try to remove nonexistent directories
Commit 0e1f8fa0 (bitbake.conf: propagate 'opengl' DISTRO_FEATURE to
native/nativesdk from target) changed the default PACKAGECONFIG for
native and nativesdk so that it becomes empty unless "x11" is in
DISTRO_FEATURES since "trace" was also removed (propbably
unintentionally). This highlighted than an empty PACKAGECONFIG would
lead to a build failure since /usr/bin is never created under these
conditions, but the recipe still tried to remove it.

(From OE-Core rev: 9bb2268677ac8f0c97433bf1f04555abe88028a9)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Richard Purdie
251aa56136 logrotate: Drop obsolete setting/comment
The comment applies to an old version and the WORKDIR setting matches
the default so drop it.

(From OE-Core rev: 7cc4c0e7665111616c7e8a1dc512b8d9022ca664)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Richard Purdie
ee2e42f871 maintainers: Update Ross' email address
Update Ross' address to a valid one.

(From OE-Core rev: 22e1605ce45482c49d06a7c56a46b71f76955e31)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
e98ee51078 lz4: disable static library
It was found to be built in a non-reproducible way.

[YOCTO #13925]

(From OE-Core rev: f8f3f03e7ffcefdb6a97b747a26276dec4bfa77c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Konrad Weihmann
ace48c7ad6 sysfsutils: rem leftover settings for libsysfs-dev
22af6a2595 removed the PACKAGES
setting, but left the FILES-assignments of libsysfs-dev and -staticdev.
As these have no use anymore they can be safely removed

(From OE-Core rev: 941cc0cd0a69e95ca571a9a8cb0732bb06fa2b3a)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
cc87ddc0b8 xinetd: switch to a maintained opensuse fork
Updating to the latest release will be done later.

(From OE-Core rev: 1e34883cf5ccfbde498c1b2b5afc1e26c35b1d3a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
bafc4a7f5b pulseaudio: exclude pre-releases from version checks
(From OE-Core rev: 0dcca58a19979f2441ad3a0beb090ba79e6234e9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
1333e6b0e2 asciidoc: bump PV to 8.6.10
SRCREV is unchanged, as it already points to a post-8.6.10 commit.
(this was overlooked when asciidoc was switched to a py3 port)

(From OE-Core rev: 7c3cf5afeb22d7dee617904d47ce6dd5fad0c2e0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
cae9a6c9c8 apt: update to 1.8.2.1
I took the opportunity to rewrite the recipe from scratch; there was just too much baggage in it.

(From OE-Core rev: f058272de9cba188d96940c8c921cf31727fe4d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
fbb498abd9 help2man-native: update to 1.47.15
License-Update: http changed to https
(From OE-Core rev: aa20321f086a4283ce8279eed023618f65b2576d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
ea5cf25579 libcpre2: update 10.34 -> 10.35
Replace pcre-cross.patch with the (default) option
to use pre-built tables; the README says it's ok, and
recommended in cross-compile situations. The option
was in the recipe from the start and neither the commit
that adds the recipe, nor the patch to make it work explain
why.

License-Update: copyright years
(From OE-Core rev: df85581e8ac01183b13dd7c3e926ee93f50214f2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
94c710cf11 ethtool: upgrade 5.4 -> 5.6
(From OE-Core rev: 081122f0413a547842a41860c270713201c168ac)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
d45d7cff6b mpg123: fix upstream version check
(From OE-Core rev: ada73fe8eb4953bee585dc6948d270ebfc584151)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
fbfe2836ef shared-mime-info: fix upstream version check
Upstream has tagged a new 2.0 release properly,
so no special arrangements are needed to pick that up.

(From OE-Core rev: 6bf01986a07084a825db9189e26fc7cb0e588821)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
7b2ae9881f meson: upgrade 0.53.2 -> 0.54.2
Drop 0001-mesonbuild-environment.py-check-environment-for-vari.patch
as upstream has refactored the code.

(From OE-Core rev: 1264edce86cafaa64428bb42844437ac4de7df3a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
3ec2330acf libmodulemd: update 2.9.2 -> 2.9.4
Replace 0002-meson.build-do-not-install-python-gi-bindings.patch
with an explicitly set meson option.

(From OE-Core rev: 5e87c1e89fa1311c0bbb44c45f419e5f302a1e0d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
3ff9578ec4 json-c: update 0.13.1 - > 0.14
(From OE-Core rev: caf64f85b5c57d886f3c4e5f295b12d93dd6c384)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
6c6bf5ef9b jquery: update to 3.5.1
(From OE-Core rev: d1842007c56cfcac67e8c7fb91638a411b8f27f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
5f9bdc5972 gnu-config: update to latest revision
(From OE-Core rev: ac363279c40ac34f64ef97eabf9c364a00473172)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
334d35d9ca cmake: update 3.16.5 -> 3.17.3
License-Update: copyright years
(From OE-Core rev: d28a97792f31e3de73a2f35ace16599c4295738d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
1ac5e2d631 bison: 3.5.4 -> 3.6.2
Drop dont-depend-on-help2man.patch.patch, as pre-build manpages
are already packaged into source tarballs.

(From OE-Core rev: 59bbf308c28e841d0c91d8d01bf9cd31987c2b8a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
7cad5628a0 automake: 1.16.1 -> 1.16.2
(From OE-Core rev: 70db6675aabdda6465912a1c1f7a2a7391201517)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
5df6dc4437 ptest-runner: fix upstream version check
(From OE-Core rev: fd180d21ec907726b2fcd7709b93cb8e464390d5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
4c3d44207b gettext: update 0.20.1 -> 0.20.2
(From OE-Core rev: 2419443c02496c2f58f2d6ce093a3c2aa71eedb4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:31 +01:00
Alexander Kanavin
79400a1042 ppp: update 2.4.7 -> 2.4.8
Drop patches:
0001-ppp-Fix-compilation-errors-in-Makefile.patch - issue fixed upstream
0001-pppoe-include-netinet-in.h-before-linux-in.h.patch - backport
cifdefroute.patch - superseded by new default route metric option
ppp-2.4.7-DES-openssl.patch - openssl support added upstream

(From OE-Core rev: 406895464980f62744193841651c436c6e463a37)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
83ba71a305 libexif: update to 0.6.22
(From OE-Core rev: 76e8c645cb2568c2dfa014af0eeac36d8f8b60ff)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
f13961a9d1 babeltrace: correct the git SRC_URI
The previous one seems to be gone.

(From OE-Core rev: b9995f8a8f08bbcb1e0915a7420ec7fb5623d604)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
a3a6c10bd5 rng-tools: upgrade 6.9 -> 6.10
(From OE-Core rev: 368405e33a3db97a85cfd4cb06cb5a105b924d3e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
36aa1ce0ca libunwind: upgrade 1.3.1 -> 1.4.0
(From OE-Core rev: 494b3c8bf73b8320fc68203d2dff5d5d3f93464e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
65ebaf076d libical: upgrade 3.0.7 -> 3.0.8
(From OE-Core rev: ac561e63479716574ee980b28644415486b13fda)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
42ac4b97b9 libcap: upgrade 2.33 -> 2.34
(From OE-Core rev: c6bf01bb5e09de205f324211090b52d81323b4ab)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
810f745b52 puzzles: upgrade to latest revision
(From OE-Core rev: f790152f7b22301c4eb92995e382dfc2e49bfa72)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
3b068b51e5 x264: upgrade to latest revision
(From OE-Core rev: 883ef0080a0e85d5fc3f4c7cff22d0a4360b85c8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
beac5d31b5 alsa-topology/ucm-conf: update to 1.2.2
Tarballs have a proper subdirectory now, so subdir option
isn't needed anymore.

(From OE-Core rev: 8f3b844339abea798fd3eece6e0e77f992a384dc)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
a6551b208e alsa-utils: split the content into .inc
This allows including the .inc from alsa-utils-scripts
which unbreaks automated version updates.

Bump alsa-utils-scripts to 1.2.2 at the same time.

(From OE-Core rev: d3d8500f828d28367c114cd1f72b26f9a28107ff)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
a6a1ea59d2 alsa-tools: upgrade 1.1.7 -> 1.2.2
(From OE-Core rev: 57b61b012a4d083ede465c32015047450f8ff3c4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
7c75e5bd13 alsa-plugins: upgrade 1.2.1 -> 1.2.2
License-Update: copyright years, formatting
(From OE-Core rev: 850f6c624e4840570c71fc80e730e64e559f7bc4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
e4abbaf4fe powertop: upgrade 2.10 -> 2.12
(From OE-Core rev: f1cb1f5b29ac25b75c0872c91e36bb16b69afc76)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
beeff70291 kmod: upgrade 26 -> 27
(From OE-Core rev: fc0b3496c9b1de0ef58003fa1c1fc2e152a3b27b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
c21ec17576 pixman: upgrade 0.38.4 -> 0.40.0
(From OE-Core rev: 81357bfa4c833989775be3728cb3a4b6918f5956)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
42e2e1ab4e waffle: upgrade 1.6.0 -> 1.6.1
(From OE-Core rev: 8189d2530180709a53bace1c88de73de5347db1a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
c8ca115e13 piglit: upgrade to latest revision
(From OE-Core rev: eb3a8d4c7b508d54f76b77e251037a78fe19d044)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
e43bad8d3e mesa: merge the .bb content into .inc
This allows automated version updates to the recipe,
as mesa-gl.bb no longer has to include the main mesa.bb.

Bump mesa-gl to 20.0.7 at the same time.

(From OE-Core rev: 39aba6948e04f1ee9bb4069be16f68bcfdbbeac4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
89a35c10f0 mesa: upgrade 20.0.2 -> 20.0.7
(From OE-Core rev: 78d18527acb2310a474136ccd0345aaa9ef12fa5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
df871aa5f3 cogl-1.0: upgrade 1.22.4 -> 1.22.6
(From OE-Core rev: 86c117b6c950532533be534c999c04c7eba83f90)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
2fe7b33832 gtk+3: upgrade 3.24.14 -> 3.24.20
(From OE-Core rev: e7f7d2c81aa0ce55906e0b4c9f76934d591d9e4b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
68db40a2d7 adwaita-icon-theme: upgrade 3.34.3 -> 3.36.1
(From OE-Core rev: bd430d45eb12e537e315579d62843c4cb4a8b2b4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
a8873c0f0b sudo: upgrade 1.8.31 -> 1.9.0
License-Update: additional copyright statements, all BSD
(From OE-Core rev: a37947c7ba882ae35b4709562035a249c9e0dbe9)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
eeb649dd0c stress-ng: mark as incompatible with musl
Newer versions make use of ustat() which is absent in musl.

(From OE-Core rev: 658d17cce2a83a760f70769cb2fca342b9553458)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
6e814761bf stress-ng: upgrade 0.11.01 -> 0.11.12
(From OE-Core rev: 7f26ca5fffac1b96031bc8a20a718629d2557c85)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
fb39ef338f msmtp: upgrade 1.8.8 -> 1.8.10
(From OE-Core rev: e519ea7ada6ab58d26785ca44689261719e7f9de)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
921532f093 man-pages: upgrade 5.05 -> 5.06
(From OE-Core rev: c1032861e41db61d851d7c937a90f105eaf34efb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
bd10507894 libsolv: upgrade 0.7.10 -> 0.7.14
(From OE-Core rev: 15c99f99a4fed633d04d2c93a87f1b50c262f02e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
75b3fe3a2e gawk: upgrade 5.0.1 -> 5.1.0
(From OE-Core rev: 0a0987595f4e207288242e5bb9f69096af7891bf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
13dbbb3ea6 cups: upgrade 2.3.1 -> 2.3.3
(From OE-Core rev: 3ed00a74bd226e6f84d80ff4c38241f87b589309)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
8660b52e8a vala: upgrade 0.46.6 -> 0.48.6
(From OE-Core rev: 5bfed05b0ab8807daefd0cb01622ab58f7188021)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
c849583957 strace: upgrade 5.5 -> 5.6
(From OE-Core rev: fe66150b84d7ad5fe10b2c53504e3e9db678aef7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:30 +01:00
Alexander Kanavin
2d294c1127 python3: upgrade 3.8.2 -> 3.8.3
(From OE-Core rev: 01dafe1796a5c91ce12b344ee09e7179f6b4ccac)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
6a88c7698a python3-testtools: upgrade 2.3.0 -> 2.4.0
(From OE-Core rev: ed821ceac61d06746d2405af4d5e0a9c28650c98)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
d945746424 python3-subunit: upgrade 1.3.0 -> 1.4.0
(From OE-Core rev: 21b54b9f554a56bbb81cbbf6fbe52a8a7f24fbe7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
4918462a2f python3-smmap: upgrade 2.0.5 -> 3.0.4
(From OE-Core rev: f41c36a9af38543c2801a19bd99e8e57549d3e25)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
ebb65cf7f5 python3-pygments: upgrade 2.5.2 -> 2.6.1
(From OE-Core rev: 27dc2476f026e303f078df23e2b60acf648ea5ff)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
6fcddccd93 python3-mako: upgrade 1.1.1 -> 1.1.3
(From OE-Core rev: 7422ddacfb5ef0f31e9e4c010fd22f7bf35849b5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
29b0b8919a python3-gitdb: upgrade 4.0.4 -> 4.0.5
(From OE-Core rev: bbb9d20bc9ddff05c1eccf47923d1b4b4448ab5e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
2ade8194a4 python3-cython: upgrade 0.29.16 -> 0.29.19
(From OE-Core rev: 293cce59b58e19909a8078015260b208b6398d67)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
a1bf545b01 python3-numpy: upgrade 1.18.3 -> 1.18.4
(From OE-Core rev: f85b06e67733aec8955394f1111852740123303b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
42e5e37984 librepo: upgrade 1.11.2 -> 1.11.3
(From OE-Core rev: 8cffbc8dbbc69cac1bd6fb3c33cb3ee1e65fb70b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
a948c258f6 dpkg: upgrade 1.19.7 -> 1.20.0
(From OE-Core rev: 72166e5dbbf6b2c89f890caf1c33d9e4f98cf925)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
a863a54612 createrepo-c: upgrade 0.15.7 -> 0.15.10
(From OE-Core rev: e1cc4dbd8d37274e6fa35951c33418d50478fb38)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
affa8050ad ccache: upgrade 3.7.7 -> 3.7.9
(From OE-Core rev: 023526213d1ecbcaa64182577e9d2269119b988b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
e264dd9fab build-compare: upgrade to latest revision
(From OE-Core rev: 480f3c770a8287a12fb3f038b3d82ff5f36c15e2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alexander Kanavin
3523ab9868 btrfs-tools: upgrade 5.4.1 -> 5.6.1
(From OE-Core rev: 00c9584c21376aa386db59f6b3ca115b531dfae1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Marco Felsch
d72c12fb53 util-linux: alternatify rtcwake
This tool can be turned on in busybox which lead into a error during
do_rootfs.

(From OE-Core rev: eb22e7a1190a79fd74ae54f23a13ec4932f41b0d)

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Khem Raj
4613d28b37 ltp: Disable sigwaitinfo tests relying on undefined behavior
Musl finds these issues, which were undetected thus far.

(From OE-Core rev: c650737ea4d3c6e6d93191fdc605de2e5f52f9ac)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
zangrc
2f63944eaa python3-setuptools:upgrade 45.2.0 -> 47.1.1
(From OE-Core rev: 0e106ae4ced8f51ae4e0acb829a245b9ee02b8ac)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
zangrc
6561a6a0b1 python3-pygobject:upgrade 3.34.0 -> 3.36.1
(From OE-Core rev: a0c706be1cee825744ed36ceb7464da743a6a80b)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Alex Kiernan
9c77ae8075 openssh: Upgrade 8.2p1 -> 8.3p1
(From OE-Core rev: b8ec59302bd2fc1a78f4d828ba93b3ad64ab7f37)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Martin Jansa
047d3f39f5 meta-selftest: add test for .patch file with long filename and without subject
(From OE-Core rev: 7c3e17f34c74e838990006aaf570df501aa2c167)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Martin Jansa
41c8e1b706 Revert "lib/oe/patch: fix handling of patches with no header"
* This reverts commit d9971f5dc8eb7de551fd6f5e058fd24770ef5d78.

* With the missing Subject line fixed in GitApplyTree.prepareCommit()
  we should be able to revert, the fix which was trying to help it by
  parsing GitApplyTree.patch_line_prefix ("%% original patch:") also
  from Subject line, now GitApplyTree.patch_line_prefix should always
  end on separate line which is then skipped when copying the lines to
  resulting patch, see original commit message from Paul:

    lib/oe/patch: fix handling of patches with no header

    If a patch applied by a recipe has no header and we turn the recipe's
    source into a git tree (when PATCHTOOL = "git" or when using devtool
    extract / modify / upgrade), the commit message ends up consisting only
    of the original filename marker ("%% original patch: filename.patch").
    When we come to do turn the commits back into a set of patches in
    extractPatches(), this first line ends up in the "Subject: " part of
    the file, but we were ignoring it because the line didn't start with the
    marker text. The end result was we weren't able to get the original
    patch name. Strip off any "Subject [PATCH x/y]" part before looking for
    the marker text to fix.

    This caused "devtool modify openssl" followed by "devtool update-recipe
    openssl" (without any changes in-between) to remove version-script.patch
    because that patch has no header and we weren't able to determine the
    original filename.

(From OE-Core rev: d9e56db415d386447a299dd633b10f1eda0dd401)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Martin Jansa
71ef6bbb85 lib/oe/patch: GitApplyTree: save 1 echo in commit-msg hook
* also remove the extra blank lines which is often added to patches
  when refreshed with devtool (GitApplyTree.patch_line_prefix lines
  are ignored when refreshing .patch files, but newly added blank
  lines aren't - the leading blank line wasneeded for patches with
  just the subject line (to prevent the GitApplyTree.patch_line_prefix
  line ending appended to the commit summary), but we can add it
  in prepareCommit instead

(From OE-Core rev: c50c0d6144ad290168167ccef948c7b4ffc9665a)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Martin Jansa
15ee96a245 lib/oe/patch: prevent applying patches without any subject
* this was discovered with
  $ devtool finish --force-patch-refresh
  where it was removing some patches and replacing them with
  patch in filename called "patch:"

  e.g. this .patch file:
  311067d2d8/dynamic-layers/rust-layer/recipes-browser/firefox/firefox/fixes/fix-camera-permission-dialg-doesnot-close.patch
  confuses devtool which results to create new .patch file called "patch:"

  $ devtool finish --force-patch-refresh firefox meta-browser
  NOTE: Starting bitbake server...
  WARNING: Host distribution "ubuntu-20.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
  Loading cache: 100% |###################################################################################################################################################################################################################################| Time: 0:00:00
  Loaded 2480 entries from dependency cache.
  Parsing recipes: 100% |#################################################################################################################################################################################################################################| Time: 0:00:00
  Parsing of 1718 .bb files complete (1717 cached, 1 parsed). 2480 targets, 68 skipped, 0 masked, 0 errors.

  Summary: There was 1 WARNING message shown.
  INFO: Updating patch 0001-Bug-1554949-Fix-WebRTC-build-failure-with-newer-linu.patch
  ...
  INFO: Updating patch pre-generated-old-configure.patch
  INFO: Adding new patch patch:
  INFO: Updating recipe firefox_68.0esr.bb
  INFO: Removing file /OE/build/test-oe-build-time/poky/meta-browser/dynamic-layers/rust-layer/recipes-browser/firefox/firefox/fixes/fix-camera-permission-dialg-doesnot-close.patch
  INFO: Cleaning sysroot for recipe firefox...
  INFO: Leaving source tree /OE/build/test-oe-build-time/poky/build/workspace/sources/firefox as-is; if you no longer need it then please delete it manually

  this looked like incorrect parsing of the git format-patch
  files exported from workspace/sources (the git format-patch
  version of fix-camera-permission-dialg-doesnot-close.patch
  starts like this:

  $ head 0008-original-patch-fix-camera-permission-dialg-doesnot-c.patch
  From 37dfa11961b48024bedcfb9336f49107c9535638 Mon Sep 17 00:00:00 2001
  From: Takuro Ashie <ashie@clear-code.com>
  Date: Mon, 20 Aug 2018 10:16:20 +0900
  Subject: [PATCH 08/34] %% original patch:
   fix-camera-permission-dialg-doesnot-close.patch

  so first I've modified GitApplyTree.extractPatches() to be able to
  parse the original patch name correctly even in this case where subject
  is wrapped, but then it still wasn't right, because we ended with
  correctly named .patch file, but all we could use for Subject line
  was the name of the original .patch file (instead of the Subject
  from metadata commit which introduced this .patch files as some other
  .patch files get when refreshed with devtool.

  In the end the issue happens even sooner in GitApplyTree.prepareCommit()
  where it correctly found the Subject from metadata commit, but then
  didn't apply it when there weren't any other outlines from patch headers.

(From OE-Core rev: 0a8252f0cb13e3dc16f70b984f9f98b845b163de)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Martin Jansa
456e7ab513 meta-selftest: add test of .gitignore in tarball
(From OE-Core rev: 8ee4f7c076b0fdbfc5b9d6b5bbbf8a02f5d062a7)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Martin Jansa
eb4e519f4c devtool: use -f and don't use --exclude-standard when adding files to workspace
* I see a case where a tarball contains .gitignore and bunch of files
  which are normally ignored in git, but still included in the tarball
  (e.g. configure script next to configure.ac)
* when devtool is creating a git repo in workspace it won't include these
  files from tarball in the initial devtool-base commit, because
  git ls-files won't list them
* but then the first .patch file (without git headers) when applied with
  GitApplyTree._applypatch() will add all these still ignored files to a
  commit which used to only modify some files, because it's using -f:
      # Add all files
      shellcmd = ["git", "add", "-f", "-A", "."]
      output += runcmd(["sh", "-c", " ".join(shellcmd)], self.dir)
  at least in this case it would be better to add all ignored files in
  the initial devtool-base commit and then --force-patch-refresh will just
  include the small modification as before instead of adding unrelated
  files, just because they were initially ignored - this behavior will
  also match with the do_patch task in the actual build where the
  .gitignore is ignored when unpacking some tarball
* my use-case is fixed in setup_git_repo, but similar function is in
  devtool upgrade, I've changed it there as well

(From OE-Core rev: 06a24a615549af3550302a56ea08147000a608f3)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Khem Raj
2b9e3c2111 armv8/tunes: Set TUNE_PKGARCH_64 based on ARMPKGARCH
The setting is to modify TUNE_PKGARCH which is filled with
TUNE_PKGARCH_64 or TUNE_PKGARCH_32 in arm-arch64.inc
This lets higher up tune files for arm64 SOCs override them if needed,
this can help building multiple armv8 machines with different tunes in
same workspace.

No need to set TUNE_PKGARCH in tune files as it is synthesized from ARMPKGARCH

Add ARMPKGARCH for aarch64 tunes

(From OE-Core rev: 08433cc58abf0cf3e42b22d20870a50287cfb8bc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-04 13:27:29 +01:00
Joshua Watt
9b135f6f6d layer.conf: Bump OE-Core layer version
The commits 910ffaf5be ("pyelftools: Import from meta-python") and
a96f815c53 ("pycryptodome: Import from meta-python") moved recipes from
meta-python to oe-core. In order for this to be communicated with users,
bump the LAYERVERSION so that meta-python can key of it in its
LAYERDEPENDS.

(From OE-Core rev: 2d503b27e7c88cee9a37c79c4605c77b11f230b6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-03 15:25:51 +01:00
Tim Orling
68e76d0d4b bitbake: toaster-requirements.txt: require Django 2.2
In commit 9730f95686b2ac72cf1fa513c555f7c7787e2667
Django 2.2 was enabled.

Django 1.11 was EOL on April 1, 2020

(Bitbake rev: ee15e78c6f9b59c221b1e43973ee4db20c5b443b)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:34:16 +01:00
Kai Kang
2fff9848ae bitbake: bitbake-user-manual-metadata.xml: fix a minor error
In the '_remove' example in bitbake-user-manual-metadata.xml, there is
no 'jkl' in the original value of FOO2. So remove it from result.

(Bitbake rev: 06b5cf0ab6c6e518ac780d081fab5546334c5c7d)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:34:16 +01:00
Jacob Kroon
300e7a1c2a bitbake: doc: More explanation to tasks that recursively depend on themselves
(Bitbake rev: c92a266c8e452833f2a590721aa1c2bd6fbeb2e0)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:34:16 +01:00
Richard Purdie
18577c0e82 poky.ent: Update UBUNTU_HOST_PACKAGES_ESSENTIAL to match recent changes
(From yocto-docs rev: 7ed90c71caa6a23d2ef3b640a880069ca3ee3d24)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:33:26 +01:00
Trevor Gamblin
1f3753bb0f qemuarm: check serial consoles vs /proc/consoles
Note that this patch affects qemuarm AND qemuarm64.

When booting a VM and during operation, the following message
periodically appears:

INIT: Id "hvc0" respawning too fast: disabled for 5 minutes

This is because hvc0 is specified in SERIAL_CONSOLES in qemuarm.conf
and qemuarm64.conf, but it is not in /proc/consoles and
SERIAL_CONSOLES_CHECK is not specified, leaving getty to attempt to
enable hvc0. Add SERIAL_CONSOLES_CHECK to both conf files so that
hvc0 isn't enabled if it hasn't been set there or in local.conf.

(From OE-Core rev: 982b7f98b8423236cc986346379b1bde3694f131)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Wang Mingyu
3c0617f01e xf86-input-libinput: upgrade 0.29.0 -> 0.30.0
(From OE-Core rev: 567f4572518d15ac2b01b91ce55611146471c07a)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Wang Mingyu
78c0324e21 util-linux: upgrade 2.35.1 -> 2.35.2
0001-hwclock-fix-for-glibc-2.31-settimeofday.patch
0001-kill-include-sys-types.h-before-checking-SYS_pidfd_s.patch
0001-libfdisk-script-accept-sector-size-ignore-unknown-he.patch
are removed since they are included in 2.35.2

(From OE-Core rev: 3165c26b38f60f48c83cae266085363fe1aaa283)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
hongxu
7e7f047807 core-image-minimal-initramfs: keep restriction with initramfs-module-install
Since commit [882ae0dcce core-image-minimal-initramfs: use
initramfs-framework for initialization] applied, it should
keep the restriction with initramfs-module-install

(From OE-Core rev: 295dbabce213855432b6274026e3b45a18b90e80)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Wang Mingyu
37ec0f628a python3-six: upgrade 1.14.0 -> 1.15.0
(From OE-Core rev: b9a6042e210ecf5c3b5d771f95c8505deab2739b)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Wang Mingyu
28dc58904c alsa-utils: upgrade 1.2.1 -> 1.2.2
(From OE-Core rev: daa1f517c780693a4081679b7951793cb4760394)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Wang Mingyu
ad123dd3d3 alsa-lib: upgrade 1.2.1.2 -> 1.2.2
0001-Fix-alsa-sound-.h-for-external-programs.patch
0001-configure.ac-remove-an-unnecessary-libtool-fix.patch
0001-uapi-Move-typedefs-from-uapi-to-sound.patch
0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch
0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch
0003-namehint-correct-the-args-check.patch
0004-namehint-improve-the-previous-patch-check-the-return.patch
0005-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch
removed since they are included in 1.2.2

(From OE-Core rev: 597482a455e6f1ea260a029e3f1b882024994a77)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Bruce Ashfield
1dc0ed7116 linux-yocto/5.4: update to v5.4.43
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    e0d81ce76004 Linux 5.4.43
    b5100186021a sched/fair: Fix enqueue_task_fair() warning some more
    8b13f5657fa8 sched/fair: Fix reordering of enqueue/dequeue_task_fair()
    a2ad232aa6a9 sched/fair: Reorder enqueue/dequeue_task_fair path
    f4520daa3c5a tpm: check event log version before reading final events
    68b7b8183c12 rxrpc: Fix ack discard
    283eb0016f97 rxrpc: Trace discarded ACKs
    f2da8c0dfe81 iio: adc: stm32-dfsdm: fix device used to request dma
    7b5af65ca246 iio: adc: stm32-dfsdm: Use dma_request_chan() instead dma_request_slave_channel()
    692001a867b6 iio: adc: stm32-adc: fix device used to request dma
    8e8836b2b782 iio: adc: stm32-adc: Use dma_request_chan() instead dma_request_slave_channel()
    1084eee4dc5d x86/unwind/orc: Fix unwind_get_return_address_ptr() for inactive tasks
    860fe59783a9 flow_dissector: Drop BPF flow dissector prog ref on netns cleanup
    bd6f0c799f4d s390/kexec_file: fix initrd location for kdump kernel
    834d24ec3a0a rxrpc: Fix a memory leak in rxkad_verify_response()
    23ae6e3e8aeb rxrpc: Fix the excessive initial retransmission timeout
    c2a26769b43e kasan: disable branch tracing for core runtime
    86217fecc4b7 rapidio: fix an error in get_user_pages_fast() error handling
    689dacb2b09d device-dax: don't leak kernel memory to user space after unloading kmem
    9e451933bba9 s390/kaslr: add support for R_390_JMP_SLOT relocation type
    72f3241508ac s390/pci: Fix s390_mmio_read/write with MIO
    9c84884cd5dc ipack: tpci200: fix error return code in tpci200_register()
    46f47dda27bc mei: release me_cl object reference
    f505a3e24c6a tty: serial: add missing spin_lock_init for SiFive serial console
    a5b4b3f97de7 misc: rtsx: Add short delay after exit from ASPM
    e64b205035fb iio: adc: ti-ads8344: Fix channel selection
    9af65dc54b9b iio: dac: vf610: Fix an error handling path in 'vf610_dac_probe()'
    d54e5a4ff04c iio: sca3000: Remove an erroneous 'get_device()'
    56cff2ac7c9d staging: greybus: Fix uninitialized scalar variable
    a41e02cb4232 staging: kpc2000: fix error return code in kp2000_pcie_probe()
    dee81110a488 staging: iio: ad2s1210: Fix SPI reading
    76296dc723ef media: fdp1: Fix R-Car M3-N naming in debug message
    4adb7a2b3161 Revert "gfs2: Don't demote a glock until its revokes are written"
    bb6524537dc2 kbuild: Remove debug info from kallsyms linking
    ee71c590dd8d bpf: Avoid setting bpf insns pages read-only when prog is jited
    4c732e81bd4d powerpc/64s: Disable STRICT_KERNEL_RWX
    b67da9dbdb89 powerpc: Remove STRICT_KERNEL_RWX incompatibility with RELOCATABLE
    9bcfbd8ba2b5 drm/i915: Propagate error from completed fences
    5e171483e947 drm/i915/gvt: Init DPLL/DDI vreg for virtual display instead of inheritance.
    0e1d5f67253e vsprintf: don't obfuscate NULL and error pointers
    4b1b34621998 dmaengine: owl: Use correct lock in owl_dma_get_pchan()
    0fcbe108b01a dmaengine: dmatest: Restore default for channel
    57c32a52c3fe drm/etnaviv: Fix a leak in submit_pin_objects()
    432b103596bd dmaengine: tegra210-adma: Fix an error handling path in 'tegra_adma_probe()'
    870a45e0b507 apparmor: Fix aa_label refcnt leak in policy_update
    054934aa9faa apparmor: fix potential label refcnt leak in aa_change_profile
    97d817b9ef13 apparmor: Fix use-after-free in aa_audit_rule_init
    3b1e38dfbc9f drm/etnaviv: fix perfmon domain interation
    53683907ef68 arm64: Fix PTRACE_SYSEMU semantics
    96e56055a2f0 scsi: target: Put lun_ref at end of tmr processing
    818657105a0b scsi: qla2xxx: Do not log message when reading port speed via sysfs
    d54c5eff8795 ALSA: hda/realtek - Add more fixup entries for Clevo machines
    80f5822c2bf3 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Xtreme
    1b17a0f98ad0 ALSA: pcm: fix incorrect hw_base increase
    a44cb2581718 ALSA: iec1712: Initialize STDSP24 properly when using the model=staudio option
    99e392a4979b KVM: x86: Fix pkru save/restore when guest CR4.PKE=0, move it to x86.c
    1c3d707d7d12 ALSA: hda/realtek: Enable headset mic of ASUS UX581LV with ALC295
    26a3a3053332 ALSA: hda/realtek - Enable headset mic of ASUS UX550GE with ALC295
    c5742497dcd2 ALSA: hda/realtek - Enable headset mic of ASUS GL503VM with ALC295
    2523e9010d2b ALSA: hda/realtek: Add quirk for Samsung Notebook
    6cc4dd44e207 ALSA: hda/realtek - Add HP new mute led supported for ALC236
    0d189b31c4d7 ALSA: hda/realtek - Add supported new mute Led for HP
    69d5dc286d05 ALSA: hda: Manage concurrent reg access more properly
    1efaaf74528c ALSA: hda: patch_realtek: fix empty macro usage in if block
    749e58bd2b09 ALSA: hda - constify and cleanup static NodeID tables
    02ebbd1da394 scripts/gdb: repair rb_first() and rb_last()
    9eff404a4382 ARM: futex: Address build warning
    67a5c3104d12 KVM: selftests: Fix build for evmcs.h
    4f48af814798 drm/amd/display: Prevent dpcd reads with passive dongles
    e0bb3075f91b iommu/amd: Call domain_flush_complete() in update_domain()
    e1efb9893bdd platform/x86: asus-nb-wmi: Do not load on Asus T100TA and T200TA
    c8d323578e36 USB: core: Fix misleading driver bug report
    42b32a43529e stmmac: fix pointer check after utilization in stmmac_interrupt
    b68d27c5fffd ceph: fix double unlock in handle_cap_export()
    df0df8ee2ac7 HID: quirks: Add HID_QUIRK_NO_INIT_REPORTS quirk for Dell K12A keyboard-dock
    8a5de4a391e4 gtp: set NLM_F_MULTI flag in gtp_genl_dump_pdp()
    7932168ec08e x86/apic: Move TSC deadline timer debug printk
    1ae9f1a62a50 ftrace/selftest: make unresolved cases cause failure if --fail-unresolved set
    2eac9d3dc23f ibmvnic: Skip fatal error reset after passive init
    f82a3013226e x86/mm/cpa: Flush direct map alias during cpa
    632db044ab99 HID: i2c-hid: reset Synaptics SYNA2393 on resume
    acd3efa17d96 scsi: ibmvscsi: Fix WARN_ON during event pool release
    6ef21295dc20 net/ena: Fix build warning in ena_xdp_set()
    d0db69f9d132 component: Silence bind error on -EPROBE_DEFER
    7a5f60dc3a67 aquantia: Fix the media type of AQC100 ethernet controller in the driver
    445437b417b6 vhost/vsock: fix packet delivery order to monitoring devices
    dcec6678c3b1 configfs: fix config_item refcnt leak in configfs_rmdir()
    2b52a61adb38 scsi: qla2xxx: Delete all sessions before unregister local nvme port
    d2430cb7f2d4 scsi: qla2xxx: Fix hang when issuing nvme disconnect-all in NPIV
    7b481b802a8f HID: alps: ALPS_1657 is too specific; use U1_UNICORN_LEGACY instead
    a08626f6e982 HID: alps: Add AUI1657 device ID
    68988c00b153 HID: multitouch: add eGalaxTouch P80H84 support
    cc6428803d22 gcc-common.h: Update for GCC 10
    3c140d22e3c2 net: drop_monitor: use IS_REACHABLE() to guard net_dm_hw_report()
    87863a7426b2 kbuild: avoid concurrency issue in parallel building dtbs and dtbs_check
    44fd02a3d719 mtd: Fix mtd not registered due to nvmem name collision
    496c7c61bd64 afs: Don't unlock fetched data pages until the op completes successfully
    17c9595cca71 ubi: Fix seq_file usage in detailed_erase_block_info debugfs file
    274cd3c7b5d3 i2c: mux: demux-pinctrl: Fix an error handling path in 'i2c_demux_pinctrl_probe()'
    dd540f2d7c2d evm: Fix a small race in init_desc()
    f96ab0d1f3ec iommu/amd: Fix over-read of ACPI UID from IVRS table
    33769c19feba i2c: fix missing pm_runtime_put_sync in i2c_device_probe
    9f885f17501d ubifs: remove broken lazytime support
    ac6f94d3be65 fix multiplication overflow in copy_fdtable()
    725b0bb0f94d mtd: spinand: Propagate ECC information to the MTD structure
    e3637eb6a351 ACPI: EC: PM: Avoid flushing EC work when EC GPE is inactive
    3be8ece11440 ubifs: fix wrong use of crypto_shash_descsize()
    48bbd44f5fa9 ima: Fix return value of ima_write_policy()
    1066327bf936 evm: Check also if *tfm is an error pointer in init_desc()
    4aedc534b608 ima: Set file->f_mode instead of file->f_flags in ima_calc_file_hash()
    ac46cea606d5 KVM: SVM: Fix potential memory leak in svm_cpu_init()
    1bed86cfe5cb i2c: dev: Fix the race between the release of i2c_dev and cdev

(From OE-Core rev: 9cd117dec502f40402ebd3a09ed3e8dba804ce2b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Bruce Ashfield
354f9622d5 linux-yocto: gather reproducibility configs into a fragment
Updating the meta SRCREV to pickup the following fix:

    commit 9e68afb48b16a447dcd3996ffa350f3e79e44257 (HEAD -> master)
    Author: Bruce Ashfield <bruce.ashfield@gmail.com>
    Date:   Thu May 28 11:22:22 2020 -0400

        features: add reproducibility fragement

        Creating an initial feature fragment that can be included when a
        reproducible kernel build is desired. This is currently only one
        option, but will have more in the future.

        Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>

(From OE-Core rev: eaa34c96b60e703c96495e60650adc6d149603f1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Bruce Ashfield
e41df38011 linux-yocto/5.4: temporarily revert IKHEADERS in standard kernels
We had a commit that enabled IKHEADERS, since bpf requires them on
target.

This is still causing incremental reproducibility errors during the
module compilation phase of the build.

We are temporarily turning this off, so we can integrate -stable
and other related changes. A replacement feature "reproducibility"
is also being added to this can be conditionally enabled while
we debug.

(From OE-Core rev: 5706788603b38ad4a0987e187a1c11c06f4d4e6c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Bruce Ashfield
331ec8a845 linux-yocto-rt/5.4: update to rt24
Integrating the following commit(s) to linux-yocto-rt/5.4:

    3d70f110c590 Linux 5.4.40-rt24
    6445e48533d9 Linux 5.4.39-rt23
    0a6ba32d4177 Linux 5.4.37-rt22
    35c686fb7671 Linux 5.4.34-rt21
    e54886570abd Linux 5.4.33-rt20
    307ba149ec47 v5.4.28-rt19
    8d488719e24a mm/compaction: Disable compact_unevictable_allowed on RT (Update)
    d1d2315e077c v5.4.28-rt18
    78028bc22d31 v5.4.26-rt17
    815bfc775961 swait: Remove the warning with more than two waiters
    b23b7f974955 powerpc: Fix lazy preemption for powerpc 32bit
    a79a552889de mm/page_alloc: Use migrate_disable() in drain_local_pages_wq()
    5e488daa19cb mm: Revert the DEFINE_PER_CPU_PAGEVEC implementation

(From OE-Core rev: 0123efae31dab8bce15e11fcee0b139a61b67cd6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Bruce Ashfield
e406e1c7cb linux-yocto/5.4: update to v5.4.42
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    1cdaf895c99d Linux 5.4.42
    ecb3f529a554 bpf: Test_progs, fix test_get_stack_rawtp_err.c build
    aee43146cc10 selftest/bpf: fix backported test_select_reuseport selftest changes
    35d9107ad30b libbpf: Extract and generalize CPU mask parsing logic
    10cfaa7456d7 Makefile: disallow data races on gcc-10 as well
    9972e851b9f4 KVM: x86: Fix off-by-one error in kvm_vcpu_ioctl_x86_setup_mce
    9d2487643b4f bpf: Fix sk_psock refcnt leak when receiving message
    d41689a34a9d SUNRPC: Revert 241b1f419f0e ("SUNRPC: Remove xdr_buf_trim()")
    3a8efe589bb6 ARM: dts: r8a7740: Add missing extal2 to CPG node
    cd8ae9b73258 arm64: dts: renesas: r8a77980: Fix IPMMU VIP[01] nodes
    c580f2fe3270 ARM: dts: r8a73a4: Add missing CMT1 interrupts
    8972721aea41 arm64: dts: imx8mn: Change SDMA1 ahb clock for imx8mn
    764715615178 arm64: dts: rockchip: Rename dwc3 device nodes on rk3399 to make dtc happy
    64ad7ef3a6e5 arm64: dts: rockchip: Replace RK805 PMIC node name with "pmic" on rk3328 boards
    af518b5b77fd arm64: dts: meson-g12-common: fix dwc2 clock names
    9b9c52752a11 arm64: dts: meson-g12b-khadas-vim3: add missing frddr_a status property
    01febb33cb6e clk: Unlink clock if failed to prepare or enable
    e2084a8d5fee Revert "ALSA: hda/realtek: Fix pop noise on ALC225"
    5e553801462b usb: gadget: legacy: fix error return code in cdc_bind()
    7e5c1db8ad15 usb: gadget: legacy: fix error return code in gncm_bind()
    8228b6736964 usb: gadget: audio: Fix a missing error return value in audio_bind()
    8ef452001769 usb: gadget: net2272: Fix a memory leak in an error handling path in 'net2272_plat_probe()'
    9f65d776756e fanotify: fix merging marks masks with FAN_ONDIR
    20a6d2455cde dwc3: Remove check for HWO flag in dwc3_gadget_ep_reclaim_trb_sg()
    4f6815e429a8 clk: rockchip: fix incorrect configuration of rk3228 aclk_gpu* clocks
    553a2cbca7c3 exec: Move would_dump into flush_old_exec
    136353c5066c x86/unwind/orc: Fix error handling in __unwind_start()
    91b9ce04ff1f x86: Fix early boot crash on gcc-10, third try
    f8e370ccab35 cifs: fix leaked reference on requeued write
    4e06196336a1 powerpc/32s: Fix build failure with CONFIG_PPC_KUAP_DEBUG
    57aa19acfc22 drm/amd/display: add basic atomic check for cursor plane
    97e43314763d ARM: dts: imx6dl-yapp4: Fix Ursa board Ethernet connection
    215589310fa2 ARM: dts: imx27-phytec-phycard-s-rdk: Fix the I2C1 pinctrl entries
    e1409dc95410 ARM: dts: dra7: Fix bus_dma_limit for PCIe
    da55eeb3245a Make the "Reducing compressed framebufer size" message be DRM_INFO_ONCE()
    c6a1ce81b43e usb: xhci: Fix NULL pointer dereference when enqueuing trbs from urb sg list
    6bb054f006c3 USB: gadget: fix illegal array access in binding with UDC
    e6be4400ac34 usb: cdns3: gadget: prev_req->trb is NULL for ep0
    f1a9bed7969a usb: host: xhci-plat: keep runtime active when removing host
    b96a62f506ee usb: core: hub: limit HUB_QUIRK_DISABLE_AUTOSUSPEND to USB5534B
    93dda4f0e2ff ALSA: usb-audio: Add control message quirk delay for Kingston HyperX headset
    3fa58fc9f8c4 ALSA: rawmidi: Fix racy buffer resize under concurrent accesses
    04ccdf6b031d ALSA: hda/realtek - Add COEF workaround for ASUS ZenBook UX431DA
    c9709800eeeb ALSA: hda/realtek - Limit int mic boost for Thinkpad T530
    c737b7533596 USB: usbfs: fix mmap dma mismatch
    0432f7632a24 usb: usbfs: correct kernel->user page attribute mismatch
    dca0ae3900b3 gcc-10: avoid shadowing standard library 'free()' in crypto
    6cbb91bdd3a2 gcc-10: mark more functions __init to avoid section mismatch warnings
    7955081a3a65 gcc-10 warnings: fix low-hanging fruit
    dff2ce17934c gcc-10: disable 'restrict' warning for now
    b8e7b93333db gcc-10: disable 'stringop-overflow' warning for now
    9ba07a72fc5e gcc-10: disable 'array-bounds' warning for now
    a740b68fd169 gcc-10: disable 'zero-length-bounds' warning for now
    8f6a84167e86 Stop the ad-hoc games with -Wno-maybe-initialized
    ab638a49a9f3 net/rds: Use ERR_PTR for rds_message_alloc_sgs()
    b597815ce1e8 pnp: Use list_for_each_entry() instead of open coding
    d4e58131829f NFSv3: fix rpc receive buffer size for MOUNT call
    e26e2a3febcb mm, memcg: fix inconsistent oom event behavior
    46a22f3ea146 s390/ism: fix error return code in ism_probe()
    e1608af17030 hwmon: (da9052) Synchronize access with mfd
    6e7253dc4562 RDMA/iw_cxgb4: Fix incorrect function parameters
    08f187dbd223 RDMA/core: Fix double put of resource
    ee7ce7d7e7c7 IB/core: Fix potential NULL pointer dereference in pkey cache
    b491aeec55fe IB/mlx4: Test return value of calls to ib_get_cached_pkey
    eaad00390ff9 RDMA/rxe: Always return ERR_PTR from rxe_create_mmap_info()
    da532ce587c7 netfilter: nft_set_rbtree: Add missing expired checks
    1c235d0eb1f0 netfilter: nft_set_rbtree: Introduce and use nft_rbtree_interval_start()
    6259b1c1bca5 SUNRPC: Signalled ASYNC tasks need to exit
    d1538d8d6325 nfs: fix NULL deference in nfs4_get_valid_delegation
    ea7c4d9e542f arm64: fix the flush_icache_range arguments in machine_kexec
    1222b257654b drm/i915/gvt: Fix kernel oops for 3-level ppgtt guest
    a308d6e6861d netfilter: conntrack: avoid gcc-10 zero-length-bounds warning
    b526c01b38ae NFSv4: Fix fscache cookie aux_data to ensure change_attr is included
    021f5799de53 nfs: fscache: use timespec64 in inode auxdata
    ef8195ee1618 NFS: Fix fscache super_cookie index_key from changing after umount
    32b9de3e935d drm/amdgpu: force fbdev into vram
    e1b2b93243ca fork: prevent accidental access to clone3 features
    f256dea07774 gfs2: More gfs2_find_jhead fixes
    18541e49f70b mmc: block: Fix request completion in the CQE timeout path
    e8eb122b9f43 mmc: core: Fix recursive locking issue in CQE recovery path
    fdf547a591f5 mmc: core: Check request type before completing the request
    3a8bc2ae2f79 mmc: sdhci-pci-gli: Fix can not access GL9750 after reboot from Windows 10
    e0830bb37734 mmc: alcor: Fix a resource leak in the error path for ->probe()
    62f217e0a9c8 bpf, sockmap: bpf_tcp_ingress needs to subtract bytes from sg.size
    ce3193bf8964 bpf, sockmap: msg_pop_data can incorrecty set an sge length
    af1f11fe6667 drm/i915: Don't enable WaIncreaseLatencyIPCEnabled when IPC is disabled
    0d9bc7986366 i40iw: Fix error handling in i40iw_manage_arp_cache()
    95827ac65244 ALSA: firewire-lib: fix 'function sizeof not defined' error of tracepoints format
    5d47b3d6b4d2 bpf: Fix error return code in map_lookup_and_delete_elem()
    5b96668b63c0 pinctrl: cherryview: Add missing spinlock usage in chv_gpio_irq_handler
    aec927836c7d pinctrl: qcom: fix wrong write in update_dual_edge
    604ad1bb8aae pinctrl: baytrail: Enable pin configuration setting for GPIO chip
    960d609dd4dd pinctrl: sunrisepoint: Fix PAD lock register offset for SPT-H
    e529b8db9684 ACPI: EC: PM: Avoid premature returns from acpi_s2idle_wake()
    9e54afec08f7 IB/hfi1: Fix another case where pq is left on waitlist
    d942a6a18463 mmc: sdhci-pci-gli: Fix no irq handler from suspend
    171bf6ef038b gfs2: Another gfs2_walk_metadata fix
    87954aacd585 ALSA: hda/realtek - Fix S3 pop noise on Dell Wyse
    05aae468d31a ipc/util.c: sysvipc_find_ipc() incorrectly updates position index
    3c3ade92b62a drm/amdgpu: invalidate L2 before SDMA IBs (v2)
    938489ef2902 drm/amdgpu: simplify padding calculations (v2)
    eefe5e0bb7b7 drm/qxl: lost qxl_bo_kunmap_atomic_page in qxl_image_init_helper()
    94cce94badf7 drm/amd/display: Update downspread percent to match spreadsheet for DCN2.1
    f4164b29dc08 drm/amd/display: check if REFCLK_CNTL register is present
    65f3108cbb1d drm/amd/powerplay: avoid using pm_en before it is initialized revised
    8c5f11093ef4 ALSA: hda/hdmi: fix race in monitor detection during probe
    4d1a83cb5afe cpufreq: intel_pstate: Only mention the BIOS disabling turbo mode once
    d12d7bf92b08 selftests/ftrace: Check the first record for kprobe_args_type.tc
    2b313699e7a9 dmaengine: mmp_tdma: Reset channel error on release
    6c414ddee7f0 dmaengine: mmp_tdma: Do not ignore slave config validation errors
    de76c0d4a03c dmaengine: pch_dma.c: Avoid data race between probe and irq handler
    c096a8645e3f riscv: fix vdso build with lld
    2fffdf4dded1 umh: fix memory leak on execve failure
    44ee727013d5 r8169: re-establish support for RTL8401 chip version
    e03d3510f45c nfp: abm: fix error return code in nfp_abm_vnic_alloc()
    2fbd6eca3711 net: tcp: fix rx timestamp behavior for tcp_recvmsg
    fc800ec491c3 netprio_cgroup: Fix unlimited memory leak of v2 cgroups
    cab607a627cf net: ipv4: really enforce backoff for redirects
    d375d99f8902 net: dsa: loop: Add module soft dependency
    b2e8946250c3 hinic: fix a bug of ndo_stop
    d07987924a04 dpaa2-eth: prevent array underflow in update_cls_rule()
    84916465b0f0 virtio_net: fix lockdep warning on 32 bit
    23300d6a39d7 tcp: fix SO_RCVLOWAT hangs with fat skbs
    cb4f78986065 tcp: fix error recovery in tcp_zerocopy_receive()
    f152793058b5 Revert "ipv6: add mtu lock check in __ip6_rt_update_pmtu"
    5f93b45fa58c pppoe: only process PADT targeted at local interfaces
    ecb8356aafba net: stmmac: fix num_por initialization
    4300e210b005 net: phy: fix aneg restart in phy_ethtool_set_eee
    debcbc56fdfc netlabel: cope with NULL catmap
    60a4f2ce0596 net: fix a potential recursive NETDEV_FEAT_CHANGE
    97e860545e24 dpaa2-eth: properly handle buffer size restrictions
    425853cc1160 mmc: sdhci-acpi: Add SDHCI_QUIRK2_BROKEN_64_BIT_DMA for AMDI0040
    a761f65879e8 selftests/bpf: fix goto cleanup label not defined
    2d6d0ce4de03 scsi: sg: add sg_remove_request in sg_write
    7d8da6d7d90c net_sched: fix tcm_parent in tc filter dump
    e2824505a813 sun6i: dsi: fix gcc-4.8
    645b44b6b3b3 virtio-blk: handle block_device_operations callbacks after hot unplug
    fbe2c2c50914 drop_monitor: work around gcc-10 stringop-overflow warning
    23a0a0914a1e ftrace/selftests: workaround cgroup RT scheduling issues
    dbd667a322ac net: moxa: Fix a potential double 'free_irq()'
    2bcd4df42d5d net/sonic: Fix a resource leak in an error handling path in 'jazz_sonic_probe()'
    e15d3d42900a SUNRPC: Fix GSS privacy computation of auth->au_ralign
    3bf0794e7309 SUNRPC: Add "@len" parameter to gss_unwrap()
    3c605abef3ee gpio: pca953x: Fix pca953x_gpio_set_config
    163b48932571 KVM: arm: vgic: Synchronize the whole guest on GIC{D,R}_I{S,C}ACTIVER read
    7abefa3f9a4b net: phy: microchip_t1: add lan87xx_phy_init to initialize the lan87xx phy.
    a12f3ad8d952 shmem: fix possible deadlocks on shmlock_user_lock
    723090ae8ea6 net: dsa: Do not make user port errors fatal
    cbaf23699561 Linux 5.4.41
    9bd5a84ceba3 fanotify: merge duplicate events on parent and child
    4638e0ff0fa4 fsnotify: replace inode pointer with an object id
    03447528a390 bdi: add a ->dev_name field to struct backing_dev_info
    25390a31983c bdi: move bdi_dev_name out of line
    c1af2c13a4ac mm, memcg: fix error return value of mem_cgroup_css_alloc()
    1642f114ce2d scripts/decodecode: fix trapping instruction formatting
    2e86e3841c3c iommu/virtio: Reverse arguments to list_add
    1a31c4456af9 objtool: Fix stack offset tracking for indirect CFAs
    30a38059cdd4 netfilter: nf_osf: avoid passing pointer to local var
    4ccbd9c859dd netfilter: nat: never update the UDP checksum when it's 0
    634c950c624d arch/x86/kvm/svm/sev.c: change flag passed to GUP fast in sev_pin_memory()
    4cbb69b45cad KVM: x86: Fixes posted interrupt check for IRQs delivery modes
    db00b1d9d71a x86/unwind/orc: Fix premature unwind stoppage due to IRET frames
    c9473a0260b2 x86/unwind/orc: Fix error path for bad ORC entry type
    1b4bd44645ac x86/unwind/orc: Prevent unwinding before ORC initialization
    511261578b8b x86/unwind/orc: Don't skip the first frame for inactive tasks
    162e9f141d96 x86/entry/64: Fix unwind hints in rewind_stack_do_exit()
    16aace664b27 x86/entry/64: Fix unwind hints in kernel exit path
    07c4cd680c0b x86/entry/64: Fix unwind hints in register clearing code
    d8eb5a1cde35 batman-adv: Fix refcnt leak in batadv_v_ogm_process
    13f968c8b762 batman-adv: Fix refcnt leak in batadv_store_throughput_override
    b71348105899 batman-adv: Fix refcnt leak in batadv_show_throughput_override
    bee7e9da58ba batman-adv: fix batadv_nc_random_weight_tq
    34ca080088e2 iocost: protect iocg->abs_vdebt with iocg->waitq.lock
    d8c7f015d1a9 riscv: set max_pfn to the PFN of the last page
    480534e03061 coredump: fix crash when umh is disabled
    b8fe132bae66 staging: gasket: Check the return value of gasket_get_bar_index()
    53f453031a20 ceph: demote quotarealm lookup warning to a debug message
    3fd9f902c08a ceph: fix endianness bug when handling MDS session feature bits
    e991f7ded4e1 mm: limit boost_watermark on small zones
    4b49a9660d26 mm/page_alloc: fix watchdog soft lockups during set_zone_contiguous()
    ee922a2f6be9 eventpoll: fix missing wakeup for ovflist in ep_poll_callback
    5d77631de15a epoll: atomically remove wait entry on wake up
    1f3aa3e028c5 ipc/mqueue.c: change __do_notify() to bypass check_kill_permission()
    65f96f4b797e drm: ingenic-drm: add MODULE_DEVICE_TABLE
    0eae1647f145 arm64: hugetlb: avoid potential NULL dereference
    e983c6064a0a KVM: arm64: Fix 32bit PC wrap-around
    3ae9279d725a KVM: arm: vgic: Fix limit condition when writing to GICD_I[CS]ACTIVER
    152d97d0b26f KVM: VMX: Explicitly clear RFLAGS.CF and RFLAGS.ZF in VM-Exit RSB path
    3f23f781290b KVM: s390: Remove false WARN_ON_ONCE for the PQAP instruction
    eb0373fc3871 crypto: arch/nhpoly1305 - process in explicit 4k chunks
    8b166a6f6286 tracing: Add a vmalloc_sync_mappings() for safe measure
    72886ae16a75 USB: serial: garmin_gps: add sanity checking for data length
    4f4dc27c09cd usb: chipidea: msm: Ensure proper controller reset using role switch API
    2419a955172c USB: uas: add quirk for LaCie 2Big Quadra
    b60a086ec733 HID: wacom: Report 2nd-gen Intuos Pro S center button status over BT
    613045bfc63d HID: usbhid: Fix race between usbhid_close() and usbhid_stop()
    1017955fab5b Revert "HID: wacom: generic: read the number of expected touches on a per collection basis"
    a204d577be70 sctp: Fix bundling of SHUTDOWN with COOKIE-ACK
    3fc16b5b1947 HID: wacom: Read HID_DG_CONTACTMAX directly for non-generic devices
    0aeae7ad9450 net: mvpp2: cls: Prevent buffer overflow in mvpp2_ethtool_cls_rule_del()
    b2930c86ee2b net: mvpp2: prevent buffer overflow in mvpp22_rss_ctx()
    d595dd5ba909 net/mlx5: Fix command entry leak in Internal Error State
    11dd1d0ebfdd net/mlx5: Fix forced completion access non initialized command entry
    18cfbcdf1f41 net/mlx5: DR, On creation set CQ's arm_db member to right value
    6ab4dd433b61 bnxt_en: Fix VLAN acceleration handling in bnxt_fix_features().
    cf07e0ccffde bnxt_en: Return error when allocating zero size context memory.
    76737d877fab bnxt_en: Improve AER slot reset.
    ab1c944361b4 bnxt_en: Reduce BNXT_MSIX_VEC_MAX value to supported CQs per PF.
    2be3a9e71ce4 bnxt_en: Fix VF anti-spoof filter setup.
    a882d44e5bad tunnel: Propagate ECT(1) when decapsulating as recommended by RFC6040
    e9edd5a0f5f5 tipc: fix partial topology connection closure
    f2d581951775 sch_sfq: validate silly quantum values
    017242e3bdb3 sch_choke: avoid potential panic in choke_reset()
    66f7e30273ef nfp: abm: fix a memory leak bug
    8fc441d16183 net: usb: qmi_wwan: add support for DW5816e
    4107cd9a869f net/tls: Fix sk_psock refcnt leak when in tls_data_ready()
    a15ccc88e516 net/tls: Fix sk_psock refcnt leak in bpf_exec_tx_verdict()
    4124b1317f26 net: tc35815: Fix phydev supported/advertising mask
    7bbf73e918be net: stricter validation of untrusted gso packets
    b51b394f4ab1 net_sched: sch_skbprio: add message validation to skbprio_change()
    c78c166748e9 net/mlx4_core: Fix use of ENOSPC around mlx4_counter_alloc()
    57f6c4340aad net: macsec: preserve ingress frame ordering
    301d6eb32d81 net: macb: fix an issue about leak related system resources
    5ffd49c52bad net: dsa: Do not leave DSA master with NULL netdev_ops
    e781af2fdc2e neigh: send protocol value in neighbor create notification
    89469cf72fae mlxsw: spectrum_acl_tcam: Position vchunk in a vregion list properly
    5d7e1e23efb6 ipv6: Use global sernum for dst validation with nexthop objects
    45b6af95aae7 fq_codel: fix TCA_FQ_CODEL_DROP_BATCH_SIZE sanity checks
    429a89625693 dp83640: reverse arguments to list_add_tail
    6ee2fdf2ba4d devlink: fix return value after hitting end in region read
    b586a95e2606 tty: xilinx_uartps: Fix missing id assignment to the console
    8ca4302bc663 vt: fix unicode console freeing with a common interface
    f4d20b01eaf6 drm/amdgpu: drop redundant cg/pg ungate on runpm enter
    c973b108912a drm/amdgpu: move kfd suspend after ip_suspend_phase1
    8e16ede5b7a1 net: macb: Fix runtime PM refcounting
    eb6f88cd81ac tracing/kprobes: Fix a double initialization typo
    56fc76893f87 nvme: fix possible hang when ns scanning fails during error recovery
    fb1b41128c70 nvme: refactor nvme_identify_ns_descs error handling
    a5d53ad84eb5 USB: serial: qcserial: Add DW5816e support

(From OE-Core rev: 8c4b48a05f54520b4d5fcb5b0e6f74857ca4f1d2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Khem Raj
9613a72fa0 go-1.14: Update to 1.14.3 minor release
(From OE-Core rev: 97d5c2d1f2dffe2518f46bbe57cb9348eb59c633)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Mark Hatle
73f35492b7 sstate.bbclass: When siginfo or sig files are missing, stop fetcher errors
Prior to fetching, the system checks if the sstate file is present
either locally or on the mirror.  If it is, then it goes to the fetch
stage.  Up to three files can be fetched, sstate, sstate.siginfo and
sstate.sig (if signature validation is enabled).

The previous pstaging_fetch function would iterate over these, and if
a download error occurred would spew forth a great amount of fetcher
failure messages as well as stop fetching the next item in the set.

This was resolved by adding a fetcher.checkstatus() call prior to
the download.  If the file isn't present, then the exception will
be triggered, and no fetcher failure messages will reach the user.

The exception handler is then modified to be a pass so that it will
loop and pull the rest of the files that that are requested.

Additionally, a check for the existance of the .sig file was added
to the sstate_installpkg to avoid an error trying to load the .sig
if it wasn't downloaded.

(From OE-Core rev: a9085140434e2d26c0bb75bb53fcb7f7c19ef86d)

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Robert P. J. Day
791c496bed bitbake.conf: Remove unused DEPLOY_DIR_TOOLS variable
Variable DEPLOY_DIR_TOOLS was introduced in 2007:

  commit f751a20152
  Author: Richard Purdie <richard@openedhand.com>
  Date:   Wed Aug 8 21:02:39 2007 +0000

      bitbake.conf: Sync with OE.dev

apparently never used so get rid of it.

(From OE-Core rev: b1f15f651461d07a8cfbd3bdcfea0e89f195212d)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
zhengruoqin
4ee5da311e libyaml: upgrade 0.2.2 -> 0.2.4
-License-Update: file name changed from LICENSE to License.
                 Copyright year updated to 2020.

(From OE-Core rev: 93cd242d3d75492cd67adb59f297505851919eae)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
zhengruoqin
becfbe87b2 gdb: upgrade 9.1 -> 9.2
(From OE-Core rev: b40adc3f9c5a9ee480b6ea85374481d13894ca6f)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Wang Mingyu
edfc4149fd liburcu: upgrade 0.12.0 -> 0.12.1
(From OE-Core rev: 454153b380ae9e08fba02d2e2a33b72ea6f335cf)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Wang Mingyu
a84b31f74f less: upgrade 551 -> 562
(From OE-Core rev: ab2125c07e76eed5352c6b5f67d9700888be3535)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Khem Raj
e3bb371e2d make-mod-scripts: Fix a rare build race condition
There is a build break which rarely happens but is seen often enough
with 4.1 kernel based builds

/bin/sh: 1: scripts/basic/fixdep: Permission denied
scripts/Makefile.host:124: recipe for target 'scripts/dtc/srcpos.o' failed
make[3]: *** [scripts/dtc/srcpos.o] Error 126

this patch sequences the build targets so it can work reliably with
different kernel versions

Divide the target into scripts_basic scripts is not
strictly necessary and was simply what was used for
testing on kernel 4.1, which is quite an old kernel

perhaps just using scripts is sufficient, but it is not tested to not
known will cause the build race as seen above.

(From OE-Core rev: 55ac6e2d251287419138931aa0d0894cf1267787)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:48 +01:00
Konrad Weihmann
c778703722 qemurunner: fix ip fallback detection
When falling back from detecting ip from /proc/./cmdline the
output of runqemu is acutally
'Network configuration: ip=192.168.7.2::192.168.7.1::255.255.255.0'
which doesn't match the given regex and leading to run failure, although
IP is detectable.
Fix regex by inserting an optional 'ip=' prefix to first IP

(From OE-Core rev: 75f2471d15fab024775c59cb70c54e3f25f9ae72)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:47 +01:00
Richard Purdie
97377e284d lib/classextend: Drop unneeded comment
This was leftover debug which can be removed.

(From OE-Core rev: 7a578c760aa32f62bf39be7289de1516ad97e92e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:47 +01:00
Adrian Bunk
a9782b3446 libubootenv: Remove the DEPENDS on mtd-utils
It was only used for pulling in zlib, but this is now
a direct dependency.

Also move the DEPENDS to a more common location in the file.

(From OE-Core rev: a99fd8b705be3b8c70cb0f17f60b013d989d625c)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:47 +01:00
zangrc
cc7f3bef22 python3-pycairo:upgrade 1.19.0 -> 1.19.1
(From OE-Core rev: dbd90a3d3b384c03ca5384dc6a8a65ae3d4b21d9)

Signed-off-by: Zang Ruochen <zangrc.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:47 +01:00
Lee Chee Yang
17b4987d5e bind: fix CVE-2020-8616/7
fix CVE-2020-8616 and CVE-2020-8617

(From OE-Core rev: d0df831830e4c5f8df2343a45ea75c2ab4f57058)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:47 +01:00
Lee Chee Yang
0e3ff0c307 re2c: fix CVE-2020-11958
(From OE-Core rev: 17daffa1bc6d5af2d77dafd2b146d78802e4f2d2)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-30 12:32:47 +01:00
Richard Purdie
a35bf0e5d3 poky.conf: Add Fedora 32, remove Ubuntu 19.04 and poky-2.7
Update the list of distros we test to match the current autobuilder
workers.

(From meta-yocto rev: 0ddf2ae6ec099af5c149d68fc69464ddce2fbe85)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-28 18:13:24 +01:00
Steve Sakoman
23418c9a5f poky: Add Ubuntu 20.04 as a supported distro
(From meta-yocto rev: 7b9cacac21a7dedf960d04037eb820843d09eb73)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-28 18:08:52 +01:00
Michael Ho
392ba004f4 ref-manual: add PACKAGE_ADD_METADATA documentation
Add a basic variable definition and a small section to the development
tasks manual for using PACKAGE_ADD_METADATA to add custom metadata to
packages.

(From yocto-docs rev: c5e4d575a771ddd1c970389ce3ace6d6abe68769)

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 11:05:04 +01:00
Alexander Kanavin
7561eb32a0 qemu: enable virglrenderer and glx options subject to 'opengl' DISTRO_FEATURE
Note that to actually use accelerated GL passthrough, there are two options

1) a suitable frontend need to be also enabled - gtk+ and SDL both seem to work well.
Previously I struggled to make SDL work, but now it seems fine.

2) it is also possible to render off-screen with -display egl-headless option,
and see the output with a VNC viewer (for which, qemu needs to be started
with a VNC server):

$ runqemu kvm egl-headless publicvnc

(From OE-Core rev: 662c688e635f4490aac0d6d34ce7a7b31d73f5c5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 11:04:47 +01:00
Alexander Kanavin
08a3d674e0 libsdl2: enable opengl option for native/nativesdk, subject to 'opengl' in DISTRO_FEATURES
This allows virgl support in qemu with the SDL frontend

(From OE-Core rev: 0e0113c350e599f4da00eda384570e0db04f3b5d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 11:04:47 +01:00
Alexander Kanavin
2e29151a3a bitbake.conf: propagate 'opengl' DISTRO_FEATURE to native/nativesdk from target
This will allow better control over native virgl/qemu configurations.

Adjust gtk+3/cairo native configurations to actually ignore opengl
when building for -native: we do not need it, and it would cause build
failures as only a limited subset of mesa-native is currently built.

Drop native/nativesdk overrides from virglrenderer/libepoxy recipes
as opengl feature is now correctly set for those variants.

(From OE-Core rev: 0e1f8fa0535dab63742f575b52ec9fa891368ca2)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 11:04:47 +01:00
Joe Slater
e620119715 terminal.py: do not stop searching for auto
If a terminal fails to spawn() we should continue looking.
gnome-terminal, in particular can be present but not start.

(From OE-Core rev: 6e4babdeee38d32002a4c9129e77466ae4156dd7)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 11:04:47 +01:00
Richard Purdie
edbf8d3999 multilib/recipes: Use new RecipePostKeyExpansion event
There are issues with multilib due to the ordering of events where some
functions see the remapped multilib dependencies and some do not. A significant
problem is that the multilib class needs to make some changes before key expansion
and some afterwards but by using existing event handlers, some code sees things
in a partially translated state, leading to bugs.

This patch changes things to use a new event handler from bitbake which makes the
ordering of the changes explcit.

The challenge in doing this is that it breaks some existing anonymous python and
dyanmic assignments. In some cases these used to be translated and no longer are,
meaning MLPREFIX has to be added. In some cases these are now translated and the
MLPREFIX can be removed.

This change does now make it very clear when MLPREFIX is required and when it is
not, its just the migration path which is harder. The patch changes the small number
of cases where fixes are needed.

In particular, where a variable like RDEPENDS is conditionally extended (e.g.
with an override), MLPREFIX is now required.

This patch also reverts:
base: Revert 'base.bbclass: considering multilib when setting LICENSE_EXCLUSION'

This reverts 6597130256a1609c3e05ec5891aceaf549c37985 as the changes
to multilib datastore handling mean its no longer necessary.

(From OE-Core rev: b3fda056a674889cd9697e779de023d4f993d3ce)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 10:47:05 +01:00
Jacob Kroon
706b623c12 bitbake: doc: Clarify how task dependencies relate to RDEPENDS
Clarify that BitBake knows how to map entries defined in the runtime
dependency namespace back to build-time dependencies (recipes) in
which tasks are defined.

(Bitbake rev: caf422435ad64aacbdab8a94da3115599dd0938b)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 10:46:33 +01:00
Vyacheslav Yurkov
30eb63a414 bitbake: fetch2/cvs: Fix CVS fetcher clean method
Clean method assumes that download directory should be determined from
CVSDIR variable, but this is handled differently in download method.
Now we set download directory for the whole class in urldata_init

(Bitbake rev: 6d7ad9b06b82612f0dd17ffccea7ab98f9077198)

Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 10:46:33 +01:00
Richard Purdie
4a8b8a405d bitbake: event/ast: Add RecipePostKeyExpansion event
(Bitbake rev: 5c30cbe35e921f118e7da6b804af281627329d77)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 10:46:33 +01:00
Richard Purdie
0156afb7e2 ltp: Exclude the memcg_stress tests due to timeout problems
This test runs for 900s, we often see tests killed after 300s without
output which makes the test results unreliable and inconsistent. The
easiest solution for now is to skip this long running test, patching
it out wth sed.

(From OE-Core rev: 0739a8901140c05d037517ffd89382f151ba627c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 10:22:32 +01:00
Richard Purdie
f08831c5a9 resulttool/log: Add ability to dump ltp logs as well as ptest
Currently only ptest logs are accessible with the log command, this
adds support so the ltp logs can be extracted too.

(From OE-Core rev: 64a2121a875ce128959ee0a62e310d5f91f87b0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 10:22:31 +01:00
Richard Purdie
7a6739398a resulttool/report: Remove leftover debugging
I've long since wondered why there was some odd output in result reports,
remove the leftover debug which was causing it.

(From OE-Core rev: 66e96bf70753933714ff8edcc13a1f35a052656f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 10:22:31 +01:00
Richard Purdie
c2dc8be24b ltp: Add missing dependencies on coreutils, bc, e2fsprogs and gdb
When the tests are run we see messages like:

/opt/ltp/testcases/bin/run_cpuctl_stress_test.sh: line 242: nice: command not found
/opt/ltp/testcases/bin/run_cpuctl_test_fj.sh: line 66: tac: command not found
vma05 1 TCONF: 'gdb' not found
memcg_failcnt 1 TCONF: 'bc' not found
Owner=nobody; perms=-rw-------; sudo: lsattr: command not found

so add missing dependencies to avoid these.

(From OE-Core rev: faa01e1ae7a92d60699cd8865d1106a13549b096)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 10:22:31 +01:00
Daniel Díaz
70b128cb71 ltp: Add net-tools as rdependency
The version of ifconfig provided by Busybox is not enough for
some tests. Here's an example of how it fails with test
netns_breakns_ns_exec_ipv4_ioctl:
  ifconfig: bad address '192.168.0.2/24'
  ifconfig: bad address 'inet6'

This works with net-tools' ifconfig.

(From OE-Core rev: 8679f9b04ad1aaf05a11c14aa0a5e5b2291c0c0e)

Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-27 10:22:31 +01:00
Otavio Salvador
2d0c224213 go.bbclass: Add -trimpath to default build flags
The `-trimpath` option is important for reproducible builds so full
build paths and module paths are not embedded.

(From OE-Core rev: e3df027b3697b6a92b417bba8d442a5bd15525fd)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-26 23:07:12 +01:00
Otavio Salvador
1838b0df75 go-dep: Avoid use of 'go mod' support
dep utility must not use 'go mod' support, so we explicitly disable it.

(From OE-Core rev: b34000ae3dd6e0a1d7fc332efb35c5da84cf2275)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-26 23:07:12 +01:00
Otavio Salvador
030978c955 glide: Avoid use of 'go mod' support
Glide utility must not use 'go mod' support, so we explicitly disable
it.

(From OE-Core rev: b5a4369ba606677285b0a89a78c040b38f57767f)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-26 23:07:12 +01:00
Otavio Salvador
d280211773 go-mod.bbclass: Add class for go mod support
When using Go Modules, the the current working directory MUST be at or
below the location of the 'go.mod' file when the go tool is used, and
there is no way to tell it to look elsewhere.  It will automatically
look upwards for the file, but not downwards.

To support this use case, we provide the `GO_WORKDIR` variable, which
defaults to `GO_IMPORT` but allows for easy override.

[YOCTO #13883]

(From OE-Core rev: 11c2b06ac98cc5064640705712bffa156519f450)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-26 23:07:12 +01:00
Ming Liu
4316548341 at-spi2-atk: dont inherit features_check
In commit be18dabd:
[ at-spi2: Make X11 support truly optional ]

REQUIRED_DISTRO_FEATURES was dropped, so it does not have to inherit
features_check.bbclass.

(From OE-Core rev: 9106d0381d819dfdb73431b9d209ec09a995914e)

Signed-off-by: Ming Liu <ming.liu@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-25 22:25:53 +01:00
Michael Ho
a3cd8fe206 package_rpm.bbclass: add PACKAGE_ADD_METADATA_RPM to sstate variables
Refactor the addition of vardeps for this package class to use RPMEXTRAVARS
and pass the items through gen_packagevar so package name specific overrides
are accounted for. This matches the style used in package_ipk.bbclass. Since
do_package_write_rpm does not have any "extra vars" that affect the rpm
packaging yet, this commit has to add the variable.

This refactoring is needed to add PACKAGE_ADD_METADATA_RPM to RPMEXTRAVARS
so it affects the sstate hash of do_package_write_rpm.

(From OE-Core rev: 9e1907d7bd5f825d5ccca1da2a1e6ccc494088dd)

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-25 22:25:53 +01:00
Michael Ho
16421f5af1 package_deb.bbclass: add PACKAGE_ADD_METADATA_DEB to sstate variables
Refactor the addition of vardeps for this package class to use DEBEXTRAVARS
and pass the items through gen_packagevar so package name specific overrides
are accounted for. This matches the style used in package_ipk.bbclass.

Additionally add PACKAGE_ADD_METADATA_DEB to the DEBEXTRAVARS list so the
packaging is redone if the variable changes value.

(From OE-Core rev: e669141ccaeff346896f67f72b33c6aeae5cba46)

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-25 22:25:53 +01:00
Michael Ho
4fd59ec033 package_ipk.bbclass: add PACKAGE_ADD_METADATA_IPK to sstate variables
Add PACKAGE_ADD_METADATA_IPK to IPKEXTRAVARS so it affects the sstate hash
of do_package_write_ipk.

(From OE-Core rev: 4147f0d7a1c2a35cb12e76ed910ef7f066bab90b)

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-25 22:25:53 +01:00
Michael Ho
1dfd6dad27 package.bbclass: add PACKAGE_ADD_METADATA to sstate variables
The PACKAGE_ADD_METADATA can be used to define additional metadata for
packages. Changes to this variable should affect the packaging sstate hash
so packages are re-generated when this variable changes.

This variable is added to both PKGDATA_VARS and PACKAGEVARS. It is needed
in PACKAGEVARS to ensure changes invoke do_package to re-run. It is needed
in PKGDATA_VARS to ensure changes are written into the pkgdata so that the
hash equiv reports a change and does not skip over the package_write tasks.

(From OE-Core rev: de871a51cc450e3f90c923c5d80155453e5c241d)

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-25 22:25:53 +01:00
Michael Ho
c03dbb5afd package_rpm.bbclass: respect package overrides for the main package
Apply ${PN} to OVERRIDES when determining the base package spec variables.
Without this, there is a mismatch in behaviour where overrides for the base
package have no effect while overrides for subpackages do. The subpackages
should not be affected by this override as they apply their own package
overrides and will by default fetch the base variables and apply them in
the spec file.

This makes the behaviour for package overrides match the implementation
in package_deb.bbclass and package_ipk.bbclass.

(From OE-Core rev: b438a90fa4644dd3e5355f82730257ef579ceda9)

Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-25 22:25:53 +01:00
Robert Yang
b38f320a3c archiver.bbclass: Fix duplicated SRC_URIs for do_ar_original
The argument urls of bb.fetch2.Fetch(urls, d) are duplicated to SRC_URI, which caused errors like:

bb.data_smart.ExpansionError: Failure expanding variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which triggered exception FetchError: Fetcher failure: The SRCREV_FORMAT variable must be set when multiple SCMs are used.
The SCMs are:
git://github.com/docker/notary.git;destsuffix=git/src/github.com/docker/notary
git://github.com/docker/notary.git

The first one is from original SRC_URI, the second one is from the
variable 'urls', so cleanup SRC_URI before call bb.fetch2.Fetch() can fix the
problem.

(From OE-Core rev: b244c4f3427cd07376d4b8f7d27e38735bcc90e7)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-25 22:25:53 +01:00
zhengruoqin
6b9b423735 sysstat: upgrade 12.2.1 -> 12.2.2
(From OE-Core rev: eb8ae6702aa43e6d7a57bb46f4282af68e3dcd09)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Gregor Zatko
d16186c47c sanity.bbclass: Detect and fail if 'inherit' is used in conf file
'inherit' directive may not be used in conf files as it's supposed
to be used for the inheritance of classes.
Correct form in conf file is INHERIT.

This commit adds:
- a sanity check to find whether the wrong case exists
- fail the build if so
- tell user about the difference in directives

[YOCTO #5426]

(From OE-Core rev: 07bf9b460fe97dec86439302a83bbefa8bac9d70)

Signed-off-by: Gregor Zatko <gzatko@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Steve Sakoman
6b3b5ab4ba oeqa/concurrencytest: don't delete build directory for failed tests
(From OE-Core rev: 3d5aa170d2e88b852bd2a4452aab9311a24badef)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Joshua Watt
57daea00de checklayer: Skip layers without a collection
As in other places in the file, skip layers that don't define a
collection when searching for a layer to resolve a dependency. Fixes
KeyError exceptions when attempting to access the layer collections
later

(From OE-Core rev: 26090a2861ebe21224aaf89d7be0c0a89ca58e48)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Kai Kang
f67d3b51bb Revert "webkitgtk, pinentry: require gobject-introspection-data in DISTRO_FEATURES when libsecret PACKAGECONFIG is enabled"
This reverts commit 91264e5e0a.

It adds meson options 'instrospection' to disable gobject introspection
files build. So no need to check distro feature 'gobject-introspection-data'
any longer.

Keep the spaces adjustment and comment removal.

(From OE-Core rev: 424b65d57b16e3f0ad29a5115f048aaba4d95473)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Kai Kang
99da3b238f libsecret: add meson option introspection
Add meson option 'introspection' for libsecret. For bsp which doesn't
support qemu usermode, it could disable gobject introspection build.
Then remove distro feature check for 'gobject-introspection-data' too.

(From OE-Core rev: 019dd3afb8b49dc268bd7fb122a236b730ed67db)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
zhengruoqin
8f123a5301 ruby: upgrade 2.7.0 -> 2.7.1
(From OE-Core rev: 8d9b48bdf25363fb115a6311b031a7e5da8e0d4d)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Wang Mingyu
b2b665d518 iproute2: upgrade 5.5.0 -> 5.6.0
(From OE-Core rev: 7484b29ef75c44701fd80f5afcec13254a1ae931)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Wang Mingyu
92c2d3a647 iso-codes: upgrade 4.4 -> 4.5.0
(From OE-Core rev: 2d30384dff4245bcc797d83f653bf8401bd831cb)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Wang Mingyu
a28c4978eb boost: upgrade 1.72.0 -> 1.73.0
refresh 0001-Don-t-set-up-arch-instruction-set-flags-we-do-that-o.patch
remove 0001-revert-cease-dependence-on-range.patch
since it is included in 1.73.0

(From OE-Core rev: 1728ecf71f96570913202a54fd0012ac8b01b8ae)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Joshua Watt
945cf5f02a python3-magic: upgrade 0.4.15 -> 0.4.18
(From OE-Core rev: e8446a7c9af325be952f8edaef5a299b556ac635)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Joshua Watt
369b442099 diffoscope: upgrade 143 -> 144
(From OE-Core rev: 75e89667c973c18a9794167cb5c357f6464cc63a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Khem Raj
d0b97f53f9 cve-check: Run it after do_fetch
Certain recipes e.g. bash readline ( from meta-gplv2 ) download patches instead of having them in
metadata, this could fail cve_check

ERROR: readline-5.2-r9 do_cve_check: File Not found: qemuarm/build/../downloads/readline52-001

This patch ensures that download is done before running CVE scan, even
though these will be external patches and may not contain CVE tags as it
expects, but it will fix the run failures as seen above

(From OE-Core rev: e406fcb6c609a0d2456d7da0d2406d2d9fa52dd2)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Khem Raj
c24b23051f musl: Update to tip of master
Detailed changes [1]

[1] https://git.musl-libc.org/cgit/musl/log/?qt=range&q=040c1d16b468c50c04fc94edff521f1637708328..1b4e84c56df0f8ca30f6bc05962a860f869e71df

(From OE-Core rev: 67294d3e9cb2b3e416b76808dce1701391b88df1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-24 23:56:03 +01:00
Jan-Simon Moeller
3c28c19791 file: add bzip2-replacement-native to DEPENDS to fix sstate issue
file-native when built on a Debian 10 host will embed a dependency to
'libbz2.so.1.0' (instead of 'libbz2.so.1'). This can cause issues
when sharing the sstate between hosts e.g.:

 recipe-sysroot-native/usr/lib/rpm/rpmdeps:
      error while loading shared libraries: libbz2.so.1.0: \
        cannot open shared object file: No such file or directory

To avoid this situation, let's add the bzip2-replacement-native to the
file recipe's DEPENDS_class-native .

Details in https://bugzilla.yoctoproject.org/show_bug.cgi?id=13915 .

(From OE-Core rev: 4a996574464028bd5d57b90920d0887d1a81e9e9)

Signed-off-by: Jan-Simon Moeller <dl9pf@gmx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-22 17:07:44 +01:00
Li Wang
df1e1dc92e linux-modules.tgz: fix file permissions to root
the files of linux-modules should be same permissions with rootfs.tar.bz2,
because it is a part of rootfs when used to install.

(From OE-Core rev: 71e141906069c6f754199512741f6e3d5b72fee7)

Signed-off-by: Li Wang <li.wang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-22 17:07:44 +01:00
Paul Barker
662dfaeed9 avahi: Don't advertise example services by default
The example service files are placed into /etc/avahi/services when we
run `make install` for avahi. This results in ssh and sftp-ssh services
being announced by default even if no ssh server is installed in an
image.

These example files should be moved away to another location such as
/usr/share/doc/avahi (taking inspiration from Arch Linux).

(From OE-Core rev: cd237348221457ec5bd31da19668a68bb911edc8)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-22 17:07:44 +01:00
Robert P. J. Day
f5cc698a89 bitbake: user manual: properly tag content as <replaceable>
Tag a couple fields as replaceable to be consistent with rest of
manual.

(Bitbake rev: 647c13d4ae746a1bb9bd76ff318477dadb4d292f)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-21 12:40:23 +01:00
Quentin Schulz
1f9ebcf8af ref-manual: document new unlisted-pkg-lics insane-skip qa check
The new unlisted-pkg-lics INSANE_SKIP QA check was introduced and need
proper documentation.

This QA check makes sure all licenses listed for all packages built by a
recipe are declared in the recipe LICENSE variable.

(From yocto-docs rev: a50e0628f3d40f9103c9a6ecccde61ad6d7f21c6)

Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-21 12:36:03 +01:00
Alexander Kanavin
03bb031125 testresults.json: add duration of the tests as well
This is printed by testimage, but isn't actually saved.
It's a useful metric for tracking execution times.

(From OE-Core rev: 8fc19639f47b959a141dae231395bbababa644e1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-21 12:35:39 +01:00
Khem Raj
1db1ef6721 ltp: Fix format security warnings with gcc10
(From OE-Core rev: 3be441f12c790cefb0e2f7e9c88a920f03787719)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Petr Vorel <petr.vorel@gmail.com>
Cc: Daniel Díaz <daniel.diaz@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-21 10:52:07 +01:00
Petr Vorel
82346d35e4 ltp: Update to 20200515
Inherit also pkgconfig (required for TI-RPC and Netlink based route
tests), to fix:
configure:6045: error: possibly undefined macro: AC_DEFINE

Refreshed patches (some tests have been fixed for musl)
* 0001-build-Add-option-to-select-libc-implementation.patch
(add a note here)
* 0001-Add-more-musl-exclusions.patch

Removed patches (different fix in upstream)
* 0003-Check-if-__GLIBC_PREREQ-is-defined-before-using-it.patch

Removed patches (accepted upstream)
* 0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
* 0001-syscalls-Check-for-time64-unsafe-syscalls-before-usi.patch

Update upstream status
* 0004-guard-mallocopt-with-__GLIBC__.patch

(From OE-Core rev: b31adfccbcdf88f2a9cdca59dcb4725356d30a7f)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-21 10:52:07 +01:00
Alexander Kanavin
c4087787bc devtool: do not write md5sums into upgraded recipes
This will drop them md5sums from recipes that still have them,
and will not re-add them for recipes where they're already
removed.

[RP: Added fix for the test recipe]
(From OE-Core rev: 1609e77a4db04a4c01cbbff17261cd57e8f816ee)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-21 10:52:07 +01:00
Joe Slater
db888b58be acpica: Upgrade 20200214 -> 20200430 for gcc-10 fixes
Advance to version 20200430 to avoid multiple definition errors for uninitialized variables.
In this case, it is not enough to add -fcommon to CFLAGS.

(From OE-Core rev: 7e1df28fb0534587d4f9305eb163f497852df4ec)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-21 10:52:07 +01:00
Quentin Schulz
fa7b29e22b base/insane: Check pkgs lics are subset of recipe lics only once
Move logic checking that all packages licenses are only a subset of
recipe licenses from base.bbclass to the insane.bbclass so that it's
evaluated only once, during do_package_qa.

As explained in the linked bugzilla entry, if a package license is not
part of the recipe license, the warning message gets shown an
unreasonable amount of time because it's evaluated every time a recipe
is parsed.

[YOCTO #10130]

This also makes it possible to silence this error with INSANE_SKIP.

(From OE-Core rev: 852408ed4be1f64c57e196688728b7ed223d3493)

Signed-off-by: Quentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-21 10:52:07 +01:00
Lee Chee Yang
6cb7107d86 qemu: fix CVE-2020-11869
(From OE-Core rev: 586061c469a3340ec3a60ff59dae2e9ee33c3398)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:27 +01:00
Ricardo Ribalda
81e481b017 classes/image_types_wic: Reorder do_flush_pseudodb
When IMAGE_FSTYPES contains more types than wic, it can happen than the
pseudo database is not flushed properly.

This can be solved by changing the order of when do_flush_pseudodb is
launched.

Yocto Bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13898
Fixes: dde90a5dd2b2 ("wic: Fix multi images .wks with bitbake")
(From OE-Core rev: 445b0a9544b55735496bbb23dbff3399b3b9e9a4)

Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:27 +01:00
Marek Vasut
9350a816a7 libubootenv: Depend on zlib
The libubootenv depends on zlib as it calls at least crc32() from
there and links against it. Add the DEPENDS entry.

(From OE-Core rev: bbd926ca0108e6f77c140dc1113f64b745d0e285)

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:27 +01:00
Denys Dmytriyenko
4a34716eca xz: upgrade 5.2.4 -> 5.2.5
(From OE-Core rev: 39a68420e3af58b3b57a7046709e83408f39205e)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:27 +01:00
Khem Raj
4bc9eead8f libxcrypt: Upgrade to 4.4.16
(From OE-Core rev: 57002157d73efb9017de2f7c176e18378060ceb1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:27 +01:00
Khem Raj
4a02e8cdb1 re2c: Upgrade to 1.3
License-update: License moved to its own file in topdir instead of
checksumming portions of README, the license still remains PD

Extend to build nativesdk as well, which is needed in SDKs

(From OE-Core rev: 420ff58b40155370ed8dee586916ee3ac469d288)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
Konrad Weihmann
9ac51e479d lib/oe/recipeutils.py: passthrough of FETCHCMD
let FETCHCMD_* settings be passed to upstream check functions from
get_recipe_upgrade_status. It enables using different values for
the fetching tools, as otherwise always the defaults are used.
E.g. use different timeout or retry values for wget.
This is especially useful for remote server that do request-limiting (429)
or that are simply unavailable (500, 504) and can speedup upgrade-check
for a larger set of recipe significantly

(From OE-Core rev: f69347744241afea19f155d9ff5115c675e9043d)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
Anuj Mittal
59ccabe26b libsoup-2.4: upgrade 2.68.4 -> 2.70.0
(From OE-Core rev: bad27f1d663efd2ebf2064c081804af4fc876ac1)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
Anuj Mittal
9abadaa635 gsettings-desktop-schemas: upgrade 3.36.0 -> 3.36.1
(From OE-Core rev: dd3d2d772dfb7ed8cd3c2e9fa175d895954d42c8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
Anuj Mittal
dea64f0514 mtools: upgrade 4.0.23 -> 4.0.24
(From OE-Core rev: 375fadf46406b7021168a832d99d385b227f10d0)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
Ovidiu Panait
ce755dac80 lttng-tools: upgrade to 2.12.0
Upgrade lttng-tools 2.11.2 -> 2.12.0:
* drop x32 patch, as it was merged upstream
* update ptest file mi-lttng-3.0.xsd -> mi-lttng-4.0.xsd
* add local patch to fix ptest build failure on musl
* License-Update: licenses were moved under LICENSES directory and changed in
  upstream commit [1]

[1] ab5be9fa2e

(From OE-Core rev: 62357f16ecc8368cf8a92290e973633622cd6368)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
zhengruoqin
282b57bae0 make-mod-scripts: Fix dependence error.
Error:
 Problem: conflicting requests
  - nothing provides make-mod-scripts = 1.0-r0 needed by
make-mod-scripts-dev-1.0-r0

(From OE-Core rev: 8aef2bcc2bed261098c45f77e5706d9460d1290c)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
Aníbal Limón
21051011a7 linux-firmware: Update to 20200122 -> 20200421
(From OE-Core rev: ed9da2d9dc42c437650d539c4d14b8b786f82059)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
Aníbal Limón
4c2b3131a9 recipes-kernel/linux-firmware: Add adreno-a630 firmware package
(From OE-Core rev: dd5f6de4995fbfad881567137fdefc1a8a3903b4)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
Aníbal Limón
d4badc90e7 recipes-kernel/linux-firmware: Add wlanmdsp.mbn to qcom-modem package
(From OE-Core rev: 55fb6324d627f55c197af068038f3886b95c3cb2)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
Mingli Yu
78d1faf939 python3-setuptools: add the missing rdepends
Add the missing rdepends to fix below error:
 # python3
 [snip]
 >>> import setuptools.lib2to3_ex
 [snip]
 ModuleNotFoundError: No module named 'lib2to3'
 ModuleNotFoundError: No module named 'pickle'

(From OE-Core rev: 24f3414b718d6edd218544e3b348f6f73053b625)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
Adrian Bunk
329c600411 gcc: Remove mudflap remnants
mudflap was removed in gcc 4.9.

(From OE-Core rev: 6d649a07cfa0a89448caa67e4ca0a990973961b9)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-19 22:57:26 +01:00
Richard Purdie
a5698c0668 meta-poky/meta-yocto-bsp layer.conf: Move to depend on gatesgarth release codename
(From meta-yocto rev: a6b17a67a7478fb6536eff388bfd30f058388fd5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:57 +01:00
Paul Barker
af728be16f archiver.bbclass: Make do_deploy_archives a recursive dependency
To ensure that archives are captured for all dependencies of a typical
bitbake build we add do_deploy_archives to the list of recursive
dependencies of do_build. Without this, archives may be missed for
recipes such as gcc-source which do not create packages or populate a
sysroot.

do_deploy_archives is also added to the recursive dependencies of
do_populate_sdk so that all sources required for an SDK can be captured.

(From OE-Core rev: cd3f766ae1875dfa1f63b68e2ae5b6a950ce67ae)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Diego
4f56b96fd8 bmap-tools: update development snapshot revision
Update from a previous development snapshot to the latest development snapshot
that includes, among other improvements, support for zstd compression format.

(From OE-Core rev: 8a5d917f6a5bfae4fe86e0e4e0c0564476028965)

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Diego
106acf899e image_types: declare support for wic.zst
Declare images in wic.zst format as supported, as bmaptool now supports
zstd:
1b8437d584
Given the very fast decompression speed of zstd over, for example, gzip,
writing images with bmaptool can provide big write speed improvements
when decompression speed is the limiting factor (especially with very
sparse images).

(From OE-Core rev: 704b01f33196cfdeaa57e2f2602ff2d52b25ab93)

Signed-off-by: Diego Rondini <diego.rondini@kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Ovidiu Panait
17488d3e1d lttng-modules: Fix "LTTng: vmalloc_sync_all symbol lookup failed" warnings
Fix the following warnings introduced after backporting linux kernel commit [1]
to stable branches:
# lttng create session
...
[  483.242037] LTTng: vmalloc_sync_all symbol lookup failed.
[  483.257056] Page fault handler and NMI tracing might trigger faults.
...

These patches should be dropped when a new stable 12.0 release is available.

[1] 763802b53a

(From OE-Core rev: f2e48f9127aee949364696315e3adc861aba1dd6)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Ovidiu Panait
b3d1d71bab lttng-ust: upgrade to 2.12.0
Upgrade lttng-ust 2.11.1 -> 2.12.0.

(From OE-Core rev: 9b95d42ec72827ba90d7376d6d9a7645b39033cf)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Ovidiu Panait
a059fc67da lttng-modules: upgrade to 2.12.0
Upgrade lttng-modules 2.11.2 -> 2.12.0.

(From OE-Core rev: 117cb087316bc90e122ee98fc9d9ee06ec2d1764)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Khem Raj
b62b82c02d valgrind: Backport upstream patch to fix __getauxval needs
Drop disabling outline-atomics since that was added to fix this issue in
particular

(From OE-Core rev: 702a1ae29c6a0f920bd67b7a7a41b886ac52a751)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Khem Raj
3ad495ba92 syslinux: Fix build with gcc10
Bring in a patch from fedora to fix -fno-common issue

(From OE-Core rev: f635bd89d53cc8c110b18aa593babc55eeffc511)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Khem Raj
aa88e318f2 multilib_header_wrapper: Drop using __MHWORDSIZE
This is not needed as __WORDSIZE already represents same value and is
directly defined in wordsize.h, this simplifies the multlib headers

(From OE-Core rev: 3a6ba47ede9b1d66f6cb58a776255047a5d069ab)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Khem Raj
c131b23cdb multilib_header: Fall back to worsize form libc for bpf target
Setting bpf to use 64bit for wordlength is not right, it happens to
work perhaps becuase the targets its being run on are 64bit inherently

(From OE-Core rev: 6d8c7e3426a74b1bc4752d508f68548480955853)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Khem Raj
55b6734be9 multilib_header_wrapper.h: Remove pragma once
This was a bandaid to avoid include recursion caused by multilibbed
wordsize.h

(From OE-Core rev: 7496c8fd4b2d9a69ee764f196abaec6172be2f02)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Khem Raj
e5df49dfa3 glibc: Do not synthesize wordsize.h for arm multilibs
This has been constant source of trouble, because it is fundamental file
which sets machine word length and everything else builts on top of that
so when it is sythesized like this, where the sythesize template itself
needs wordsize.h to determine machine word length, it creates the
catch-22 problem, which is seen when building things like bpf, or
running clang-tidy etc. where compiler internal defines may not be used
this ends up in all sorts of problems. Now that glibc provides exact
same header for arm and aarch64, its no longer needed to be multilibbed
here

(From OE-Core rev: d223f85f8a18b1343f186122425f18f32706065b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Khem Raj
f4aac2a1e2 glibc: Unify wordsize.h for arm and aarch64
Should help simplify multilib in arm world

(From OE-Core rev: e13c85c8e822fc5e5ecba4d58a6f9786d4adb097)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Martin Jansa
91264e5e0a webkitgtk, pinentry: require gobject-introspection-data in DISTRO_FEATURES when libsecret PACKAGECONFIG is enabled
* gobject-introspection is mandatory since libsecret upgrade to 0.20.3
* enable libsecret in webkitgtk only when gobject-introspection-data
  is in DISTRO_FEATURES
* drop comment about libsecret being in meta-gnome from pinentry

(From OE-Core rev: cab86a3196ef4fcd2714591597f2503aa8138df0)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Martin Jansa
e8ac4332b8 libsecret: inherit features_check
* otherwise REQUIRED_DISTRO_FEATURES doesn't do anything

(From OE-Core rev: 08c86406186828dce19e101adfd118ed5d9e947e)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Richard Purdie
f1fdd5812e layer.conf: Move to gatesgarth naming
We're still compatible with dunfell from the core perspective so
that is left for compatibility (probably for the next week or two).

(From OE-Core rev: 1e79324f8290b820fee034b0d4a8c353027879da)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Richard Purdie
b0db81f238 ghostscript: Remove leftover file
This should have been removed in a previous change but was accidentally
left behind and points at an invalid directory.

(From OE-Core rev: 9d6ce24207189c711099f45265b240d0cdc0e686)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Joshua Watt
7ebe299c00 python3-pyelftools: Upgrade 0.25 -> 0.26
(From OE-Core rev: 0323e12624ef45e64e7a8ba6384c06e4d42df064)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Joshua Watt
cb94d9019b python3-pycryptodome(x): Upgrade 3.9.4 -> 3.9.7
Also splits apart the SRC_URI checksums to make automatic upgrades
easier

(From OE-Core rev: ae1f210546396b761ea86d9e32bf90c0867ff845)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Joshua Watt
1e327abcc9 pyelftools: Import from meta-python
Imports the pyelftools recipes from meta-python, as of 7c02c7d41
("gnome-themes-extra: correct the recipe name").

This recipe is commonly used by other layers, so moving it into
OE-core helps to cut down on layer dependencies.

(From OE-Core rev: 910ffaf5beed42936588c95b0c7c1b1ad67f99d3)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:36 +01:00
Joshua Watt
d52929ee35 pycryptodome: Import from meta-python
Imports the pycryptodome recipes from meta-python, as of 7c02c7d41
("gnome-themes-extra: correct the recipe name").

These recipes are commonly used by other layers, so moving them into
OE-core helps to cut down on layer dependencies.

(From OE-Core rev: a96f815c53364b119b5743b8b7100eb5588d5cf5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-18 06:33:35 +01:00
Robert P. J. Day
ff9ac2b303 ref-manual: delete long-unused comments in variable glossary
As these comments have been around since 2015 and apparently unused,
get rid of hundreds of them.

(From yocto-docs rev: afec5770a22ac51c956e87567bf39e71064e9f04)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-17 22:37:19 +01:00
Jacob Kroon
448dadd32c squashfs-tools: Backport fix for compiling with gcc 10
(From OE-Core rev: bae1603a27fadcfa7257801167f28db3ff02dc97)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:45 +01:00
Khem Raj
987b531eff qemuarm64.conf: Use cortext-a57 as default tune
This is more appropriate for the machine we are emulating

(From OE-Core rev: b9499c39697593cc392bba47b35f721f5885310c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:45 +01:00
Khem Raj
b6dc3c1d8c gcc: Drop reverting __getauxval patch
Issue has been fixed in valgrind itself

(From OE-Core rev: c4070f3d76e0170cf6ee672a8a9a38e4cdbbcad9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:45 +01:00
Khem Raj
3799c960c2 valgrind: Do not use outline-atomics on aarch64
This avoids the __getauxval undefined reference error seen with gcc10 on
doing static linking with -nodefaultlibs, which is uncommon usecase
anyway, disabling outline-atomics is not a huge deal for OE in terms of
performance as we already use -mcpu which is tuned enough to the SOC the
code is being generated for

(From OE-Core rev: 3952738d083b888e5b898ed3d63a0ed9a4dd3712)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:45 +01:00
Bruce Ashfield
68ad047228 kernel/reproducibility: kernel modules need SOURCE_DATE_EPOCH export
If CONFIG_IKHEADERS is set to =m, then reproducibility issues creep
into the modules build, since the variables we are setting for the
main kernel build are not present.

Since the source code must be available for a possibly git query
on the timestamp, there didn't seem to be an easy way to move the
environment variable setting to a common routine. As such, we
duplicate the block of code that exports the required variables for
reproducible builds. There is a maintenance risk to this, but any
issues should be easy enough to catch.

(From OE-Core rev: 82cdfcdccfedd320ebc0cdc778c7d4966198b96f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:45 +01:00
Bruce Ashfield
36a0e7e045 linux-yocto/5.4: update to v5.4.40
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    f015b86259a5 Linux 5.4.40
    2852b559afdf PM / devfreq: Add missing locking while setting suspend_freq
    8e054bd6dfc4 udp: document udp_rcv_segment special case for looped packets
    2a03c23b2015 tools headers UAPI: Sync copy of arm64's asm/unistd.h with the kernel sources
    f11664da13b9 Revert "drm/amd/display: setting the DIG_MODE to the correct value."
    c365ff781540 mm/mremap: Add comment explaining the untagging behaviour of mremap()
    8f30c3687f09 libbpf: Fix readelf output parsing for Fedora
    88348bd1f696 cgroup, netclassid: remove double cond_resched
    702d710ffd83 mac80211: add ieee80211_is_any_nullfunc()
    468465fdef4d ACPI: PM: s2idle: Fix comment in acpi_s2idle_prepare_late()
    da283f9be924 platform/x86: GPD pocket fan: Fix error message when temp-limits are out of range
    03f235a5bd3a x86/kvm: fix a missing-prototypes "vmread_error"
    85701f4768a1 ALSA: hda: Match both PCI ID and SSID for driver blacklist
    b8b42c8dcf44 hexagon: define ioremap_uc
    f31c9e904f1d hexagon: clean up ioremap
    1bc508b2d16d mfd: intel-lpss: Use devm_ioremap_uc for MMIO
    78b19f56b952 lib: devres: add a helper function for ioremap_uc
    7a9b738c7511 Revert "software node: Simplify software_node_release() function"
    b8bb9c3192f9 drm/amdgpu: Fix oops when pp_funcs is unset in ACPI event
    3fb4c93dc761 sctp: Fix SHUTDOWN CTSN Ack in the peer restart case
    9da07c4aeaf7 drm/i915: Extend WaDisableDARBFClkGating to icl,ehl,tgl
    d8e0b58fa471 net: systemport: suppress warnings on failed Rx SKB allocations
    5c065ee4a07d net: bcmgenet: suppress warnings on failed Rx SKB allocations
    fd2c9e605269 mac80211: sta_info: Add lockdep condition for RCU list usage
    07fea3d3ef88 lib/mpi: Fix building for powerpc with clang
    bacf98ee0003 tracing: Fix memory leaks in trace_events_hist.c
    c46330d4dabf cifs: do not share tcons with DFS
    84778248e013 scripts/config: allow colons in option strings for sed
    b31e0bd4a97a cifs: protect updating server->dstaddr with a spinlock
    0560b7c3ba48 ASoC: rsnd: Fix "status check failed" spam for multi-SSI
    883d34cdefea ASoC: rsnd: Don't treat master SSI in multi SSI setup as parent
    15de2df38652 net: stmmac: Fix sub-second increment
    8d5a1ddaa9bb net: stmmac: fix enabling socfpga's ptp_ref_clock
    d3539ea43a37 wimax/i2400m: Fix potential urb refcnt leak
    f0d6b056bc18 drm/amdgpu: Correctly initialize thermal controller for GPUs with Powerplay table v0 (e.g Hawaii)
    a09ba140db2f remoteproc: qcom_q6v5_mss: fix a bug in q6v5_probe()
    b2978c307696 ASoC: codecs: hdac_hdmi: Fix incorrect use of list_for_each_entry
    f9c3a17786fd ASoC: rsnd: Fix HDMI channel mapping for multi-SSI mode
    26500b980bf8 ASoC: rsnd: Fix parent SSI start/stop in multi-SSI mode
    5087c7f4e7f2 usb: dwc3: gadget: Properly set maxpacket limit
    ab182c06fc22 ASoC: topology: Fix endianness issue
    ae975c8e1062 ASoC: sgtl5000: Fix VAG power-on handling
    3ea62d49613b selftests/ipc: Fix test failure seen after initial test run
    a5dec15686e9 ASoC: topology: Check return value of soc_tplg_dai_config
    fd8f4a3be50b ASoC: topology: Check return value of pcm_new_ver
    0d452c7e309c ASoC: topology: Check soc_tplg_add_route return value
    76336d4fa881 ASoC: topology: Check return value of soc_tplg_*_create
    db80b7cb17d9 ASoC: topology: Check return value of soc_tplg_create_tlv
    04da88c86c2e drm/bridge: analogix_dp: Split bind() into probe() and real bind()
    336c7260a788 vhost: vsock: kick send_pkt worker once device is started
    592465e6a54b Linux 5.4.39
    eeef0d9fd40d selinux: properly handle multiple messages in selinux_netlink_send()
    1de07eb54ab7 arm64: vdso: Add -fasynchronous-unwind-tables to cflags
    73162ca8156f dmaengine: dmatest: Fix process hang when reading 'wait' parameter
    c753a12c88e8 dmaengine: dmatest: Fix iteration non-stop logic
    d458565e3c02 nfs: Fix potential posix_acl refcnt leak in nfs3_set_acl
    779f155811eb nvme: prevent double free in nvme_alloc_ns() error handling
    57165a241302 Fix use after free in get_tree_bdev()
    c0be115eb22d ALSA: opti9xx: shut up gcc-10 range warning
    3af9be5f5c66 i2c: aspeed: Avoid i2c interrupt status clear race condition.
    501ecc8fc9e5 iommu/amd: Fix legacy interrupt remapping for x2APIC-enabled system
    a0000d228dd3 scsi: target/iblock: fix WRITE SAME zeroing
    de59f2fbe6ca iommu/qcom: Fix local_base status check
    205757f476e8 vfio/type1: Fix VA->PA translation for PFNMAP VMAs in vaddr_get_pfn()
    08e90b299d4e vfio: avoid possible overflow in vfio_iommu_type1_pin_pages
    44e2a98e2b58 i2c: iproc: generate stop event for slave writes
    92c99197815d RDMA/cm: Fix an error check in cm_alloc_id_priv()
    4c499dafdd63 RDMA/cm: Fix ordering of xa_alloc_cyclic() in ib_create_cm_id()
    169b8b62717a RDMA/core: Fix race between destroy and release FD object
    1e12524f09a1 RDMA/core: Prevent mixed use of FDs between shared ufiles
    b7b72a16c5b0 RDMA/siw: Fix potential siw_mem refcnt leak in siw_fastreg_mr()
    7665d88f9d0e RDMA/mlx4: Initialize ib_spec on the stack
    80ba1153bc25 RDMA/mlx5: Set GRH fields in query QP on RoCE
    1f5a2162516e scsi: qla2xxx: check UNLOADING before posting async work
    faa8daca0226 scsi: qla2xxx: set UNLOADING before waiting for session deletion
    4438f397ee4c ARM: dts: imx6qdl-sr-som-ti: indicate powering off wifi is safe
    100cf0ba5b5d dm multipath: use updated MPATHF_QUEUE_IO on mapping for bio-based mpath
    beed763ab934 dm writecache: fix data corruption when reloading the target
    969b9cb1209b dm verity fec: fix hash block number in verity_fec_decode
    c554ab856b66 PM: hibernate: Freeze kernel threads in software_resume()
    8fc24d1029fd PM: ACPI: Output correct message on target power state
    ca662b6014f3 IB/rdmavt: Always return ERR_PTR from rvt_create_mmap_info()
    16cc37b3dc17 dlmfs_file_write(): fix the bogosity in handling non-zero *ppos
    5049385407b4 Drivers: hv: vmbus: Fix Suspend-to-Idle for Generation-2 VM
    95dd3099171e i2c: amd-mp2-pci: Fix Oops in amd_mp2_pci_init() error handling
    ea63e38b29e7 ALSA: pcm: oss: Place the plugin buffer overflow checks correctly
    c867614f196a ALSA: line6: Fix POD HD500 audio playback
    c7577237c228 ALSA: hda/hdmi: fix without unlocked before return
    6426aa65f7ca ALSA: usb-audio: Correct a typo of NuPrime DAC-10 USB ID
    981b7194e82a ALSA: hda/realtek - Two front mics on a Lenovo ThinkCenter
    35a9399714db crypto: caam - fix the address of the last entry of S/G
    ca34751b5819 mmc: meson-mx-sdio: remove the broken ->card_busy() op
    9e3315116f7e mmc: meson-mx-sdio: Set MMC_CAP_WAIT_WHILE_BUSY
    80e99f42608d mmc: sdhci-msm: Enable host capabilities pertains to R1b response
    d8f7e15a65dd mmc: sdhci-pci: Fix eMMC driver strength for BYT-based controllers
    eed4792f9657 mmc: sdhci-xenon: fix annoying 1.8V regulator warning
    31ba94b893b6 mmc: cqhci: Avoid false "cqhci: CQE stuck on" by not open-coding timeout loop
    2b925c4600bf btrfs: transaction: Avoid deadlock due to bad initialization timing of fs_info::journal_info
    67bc5f667a18 btrfs: fix partial loss of prealloc extent past i_size after fsync
    636987650f6b btrfs: fix block group leak when removing fails
    a378abbb8e39 btrfs: fix transaction leak in btrfs_recover_relocation
    e5744821adc9 NFSv4.1: fix handling of backchannel binding in BIND_CONN_TO_SESSION
    6eb95b35fd39 drm/qxl: qxl_release use after free
    c465bc31ed9f drm/qxl: qxl_release leak in qxl_hw_surface_alloc()
    4441fb2ab0fc drm/qxl: qxl_release leak in qxl_draw_dirty_fb()
    f25335a83cf4 drm/amd/display: Fix green screen issue after suspend
    5ec7eb970df4 drm/edid: Fix off-by-one in DispID DTD pixel clock
    ffd99c012a2e dma-buf: Fix SET_NAME ioctl uapi

(From OE-Core rev: d2fdd473db5446b0e96ad4f774121129fbf94e0e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:45 +01:00
Bruce Ashfield
1f4373d2a8 linux-yocto/5.4: update to v5.4.38
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    9895e0ac338a Linux 5.4.38
    5a54c69c4ef8 Revert "ASoC: meson: axg-card: fix codec-to-codec link setup"
    527c60e8b7a8 Linux 5.4.37
    4e7fb753e803 ASoC: stm32: spdifrx: fix regmap status check
    4104faaeeda0 ASoC: soc-core: disable route checks for legacy devices
    8c472abaedc7 ext4: check for non-zero journal inum in ext4_calculate_overhead
    93af898b251f qed: Fix use after free in qed_chain_free
    f1610480602a net: use indirect call wrappers for skb_copy_datagram_iter()
    ec9cf8afcd64 Crypto: chelsio - Fixes a hang issue during driver registration
    b0946b45b85a qed: Fix race condition between scheduling and destroying the slowpath workqueue
    d15fc1470441 taprio: do not use BIT() in TCA_TAPRIO_ATTR_FLAG_* definitions
    f37079e9ea83 hwmon: (jc42) Fix name to have no illegal characters
    c7b6c51298bd blk-mq: Put driver tag in blk_mq_dispatch_rq_list() when no budget
    3e9299c28fc5 ext4: convert BUG_ON's to WARN_ON's in mballoc.c
    1e4281eba3ff ext4: increase wait time needed before reuse of deleted inode numbers
    0fe3908e6abc ext4: use matching invalidatepage in ext4_writepage
    1876e0e654b8 arm64: Delete the space separator in __emit_inst
    a719f7bf5c88 mac80211: fix channel switch trigger from unknown mesh peer
    9178430df3f7 net: stmmac: socfpga: Allow all RGMII modes
    daafdf87b898 ALSA: hda: call runtime_allow() for all hda controllers
    d9d4ea17d6d6 xen/xenbus: ensure xenbus_map_ring_valloc() returns proper grant status
    8c627d4b15de objtool: Support Clang non-section symbols in ORC dump
    820126d9a83d objtool: Fix CONFIG_UBSAN_TRAP unreachable warnings
    1cc2460dad82 scsi: target: tcmu: reset_ring should reset TCMU_DEV_BIT_BROKEN
    62d350eb31d1 scsi: target: fix PR IN / READ FULL STATUS for FC
    a323f69d00c6 ALSA: hda: Explicitly permit using autosuspend if runtime PM is supported
    bd074af53cb6 ALSA: hda: Keep the controller initialization even if no codecs found
    135e10232fb5 ALSA: hda: Release resources at error in delayed probe
    535ed3f01564 xfs: fix partially uninitialized structure in xfs_reflink_remap_extent
    ec6e5792d62d afs: Fix length of dump of bad YFSFetchStatus record
    16976275b929 signal: check sig before setting info in kill_pid_usb_asyncio
    f88761412b90 x86: hyperv: report value of misc_features
    b5da1152f716 net: fec: set GPR bit on suspend by DT configuration.
    316ad98983d9 libbpf: Initialize *nl_pid so gcc 10 is happy
    3c9bbe7f44f6 bpf, x86: Fix encoding for lower 8-bit registers in BPF_STX BPF_B
    ab6e8af64f39 xfs: clear PF_MEMALLOC before exiting xfsaild thread
    e5329fcdc907 mm: shmem: disable interrupt when acquiring info->lock in userfaultfd_copy path
    309a509dabd5 bpf, x86_32: Fix logic error in BPF_LDX zero-extension
    d0b8695703f2 bpf, x86_32: Fix clobbering of dst for BPF_JSET
    50c5d9146100 bpf, x86_32: Fix incorrect encoding in BPF_LDX zero-extension
    ca3a2ca4cfa2 um: ensure `make ARCH=um mrproper` removes arch/$(SUBARCH)/include/generated/
    9c5c94c5012c blk-iocost: Fix error on iocost_ioc_vrate_adj
    b9c31556c37b PM: sleep: core: Switch back to async_schedule_dev()
    36c436a8e46a netfilter: nat: fix error handling upon registering inet hook
    9578a8c157b4 perf/core: fix parent pid/tid in task exit events
    c04d01e918d8 sched/core: Fix reset-on-fork from RT with uclamp
    040287785f42 net/mlx5: Fix failing fw tracer allocation on s390
    a8b5611ffee3 s390/pci: do not set affinity for floating irqs
    6cfb8c2ada58 cpumap: Avoid warning when CONFIG_DEBUG_PER_CPU_MAPS is enabled
    05ae98547af9 ARM: dts: bcm283x: Disable dsi0 node
    764a7d0a2756 PCI: Move Apex Edge TPU class quirk to fix BAR assignment
    684dba87fdd7 PCI: Add ACS quirk for Zhaoxin Root/Downstream Ports
    17d166e9535c PCI: Add Zhaoxin Vendor ID
    d2481b5d1257 PCI: Unify ACS quirk desired vs provided checking
    981fd6ad2a5a PCI: Make ACS quirk implementations more uniform
    85a9e198f124 PCI: Add ACS quirk for Zhaoxin multi-function devices
    d2b631a136e8 PCI: Avoid ASMedia XHCI USB PME# from D0 defect
    246ff2a6f69e net/mlx5e: Get the latest values from counters in switchdev mode
    2292e4049097 net/mlx5e: Don't trigger IRQ multiple times on XSK wakeup to avoid WQ overruns
    b4284efb1e14 svcrdma: Fix leak of svc_rdma_recv_ctxt objects
    53dbb934dd4f svcrdma: Fix trace point use-after-free race
    ccd3b4bb9944 xfs: acquire superblock freeze protection on eofblocks scans
    62f1cb491552 net/cxgb4: Check the return from t4_query_params properly
    ce3460b90ed9 rxrpc: Fix DATA Tx to disable nofrag for UDP on AF_INET6 socket
    6cdded333de6 i2c: altera: use proper variable to hold errno
    db2426f86d44 bpf: Forbid XADD on spilled pointers for unprivileged users
    f1317a4a2b9b nfsd: memory corruption in nfsd4_lock()
    13b28f6b6778 drivers: soc: xilinx: fix firmware driver Kconfig dependency
    1157d97cfa2b ASoC: wm8960: Fix wrong clock after suspend & resume
    005aa9f0af9d ASoC: meson: axg-card: fix codec-to-codec link setup
    08865eb796c4 ASoC: tas571x: disable regulators on failed probe
    e9058b45556b ASoC: q6dsp6: q6afe-dai: add missing channels to MI2S DAIs
    37405f2963c7 s390/ftrace: fix potential crashes when switching tracers
    1f107e441bde counter: 104-quad-8: Add lock guards - generic interface
    db66fd5fef68 propagate_one(): mnt_set_mountpoint() needs mount_lock
    f9e41e4bbe61 iio:ad7797: Use correct attribute_group
    f581eff93958 afs: Fix to actually set AFS_SERVER_FL_HAVE_EPOCH
    c2bdc86ec8ac afs: Make record checking use TASK_UNINTERRUPTIBLE when appropriate
    9dcb1844f884 usb: gadget: udc: atmel: Fix vbus disconnect handling
    7155416143dd usb: gadget: udc: bdc: Remove unnecessary NULL checks in bdc_req_complete
    8f4cd6f0ea82 kbuild: fix DT binding schema rule again to avoid needless rebuilds
    7067a62563d2 usb: dwc3: gadget: Do link recovery for SS and SSP
    a74a5435a610 ASoC: stm32: sai: fix sai probe
    4a5c9ae67b12 printk: queue wake_up_klogd irq_work only if per-CPU areas are ready
    276224b7a147 ubifs: Fix ubifs_tnc_lookup() usage in do_kill_orphans()
    4d23f544a328 remoteproc: Fix wrong rvring index computation
    aa73bcc37686 Linux 5.4.36
    44d9eb0ebe8f s390/mm: fix page table upgrade vs 2ndary address mode accesses
    58b243cf2786 compat: ARM64: always include asm-generic/compat.h
    3160e84abaf7 powerpc/mm: Fix CONFIG_PPC_KUAP_DEBUG on PPC32
    b48331b52a28 powerpc/kuap: PPC_KUAP_DEBUG should depend on PPC_KUAP
    c4606876164c Revert "serial: uartps: Register own uart console and driver structures"
    02d32033b397 Revert "serial: uartps: Move Port ID to device data structure"
    bbc0423c8968 Revert "serial: uartps: Change uart ID port allocation"
    f7504efa6bf7 Revert "serial: uartps: Do not allow use aliases >= MAX_UART_INSTANCES"
    3e64d4db7b10 Revert "serial: uartps: Fix error path when alloc failed"
    6fcbf58b115c Revert "serial: uartps: Use the same dynamic major number for all ports"
    1bb43b4d8c32 Revert "serial: uartps: Fix uartps_major handling"
    3af0614df15c serial: sh-sci: Make sure status register SCxSR is read in correct sequence
    fceab238c534 xhci: Don't clear hub TT buffer on ep0 protocol stall
    54470b0bd16a xhci: prevent bus suspend if a roothub port detected a over-current condition
    f385e765ac93 xhci: Fix handling halted endpoint even if endpoint ring appears empty
    8dbfb11452c0 usb: typec: altmode: Fix typec_altmode_get_partner sometimes returning an invalid pointer
    740c93814783 usb: typec: tcpm: Ignore CC and vbus changes in PORT_RESET change
    11c2089767cd usb: f_fs: Clear OS Extended descriptor counts to zero in ffs_data_reset()
    bf996950d8de usb: dwc3: gadget: Fix request completion check
    a0f1f53ecd8d fpga: dfl: pci: fix return value of cci_pci_sriov_configure
    22432bcf066c UAS: fix deadlock in error handling and PM flushing work
    e1b656677f7d UAS: no use logging any details in case of ENODEV
    f4d1cf2ef83c cdc-acm: introduce a cool down
    892de572ea71 cdc-acm: close race betrween suspend() and acm_softint
    23d44059bc44 staging: vt6656: Power save stop wake_up_count wrap around.
    9f1a23cbef73 staging: vt6656: Fix pairwise key entry save.
    0bcc6585717e staging: vt6656: Fix drivers TBTT timing counter.
    74bbe9d99040 staging: vt6656: Fix calling conditions of vnt_set_bss_mode
    ec5ad5e1958c staging: vt6656: Don't set RCR_MULTICAST or RCR_BROADCAST by default.
    64882aa0c531 vt: don't use kmalloc() for the unicode screen buffer
    b027b30d1428 vt: don't hardcode the mem allocation upper bound
    8f8d7f07d951 staging: comedi: Fix comedi_device refcnt leak in comedi_open
    279dd75cec55 staging: comedi: dt2815: fix writing hi byte of analog output
    dba6465408b8 powerpc/setup_64: Set cache-line-size based on cache-block-size
    921b7b175605 ARM: imx: provide v7_cpu_resume() only on ARM_CPU_SUSPEND=y
    eabc107d20da cifs: fix uninitialised lease_key in open_shroot()
    562489ba1078 iwlwifi: mvm: fix inactive TID removal return value usage
    f1926b14bd8f iwlwifi: mvm: Do not declare support for ACK Enabled Aggregation
    c93fb506bfaf iwlwifi: mvm: limit maximum queue appropriately
    4025ac3d7fb7 iwlwifi: mvm: beacon statistics shouldn't go backwards
    222722be70de iwlwifi: pcie: actually release queue memory in TVQM
    7e69c9e6bbf3 SUNRPC: Fix backchannel RPC soft lockups
    d62d85260ac4 mac80211: populate debugfs only after cfg80211 init
    f67f3317ceb3 ASoC: dapm: fixup dapm kcontrol widget
    83f82fd5552c audit: check the length of userspace generated audit records
    20821047aca4 signal: Avoid corrupting si_pid and si_uid in do_notify_parent
    1b4e23a945bd usb-storage: Add unusual_devs entry for JMicron JMS566
    9de9003b255e tty: rocket, avoid OOB access
    f1c0d3243dbe tty: hvc: fix buffer overflow during hvc_alloc().
    52ca311e5f82 KVM: VMX: Enable machine check support for 32bit targets
    878127ac8b70 KVM: Check validity of resolved slot when searching memslots
    347125705f02 KVM: s390: Return last valid slot if approx index is out-of-bounds
    3fc644fd6100 tpm: ibmvtpm: retry on H_CLOSED in tpm_ibmvtpm_send()
    16244edc3bbe tpm: fix wrong return value in tpm_pcr_extend
    86f1c523d422 tpm/tpm_tis: Free IRQ if probing fails
    387039b25077 ALSA: usb-audio: Filter out unsupported sample rates on Focusrite devices
    d5cd82153629 ALSA: usb-audio: Fix usb audio refcnt leak when getting spdif
    dbb11f1d6d33 ALSA: hda/hdmi: Add module option to disable audio component binding
    1e1f9d36280f ALSA: hda/realtek - Add new codec supported for ALC245
    0939d06af06f ALSA: hda/realtek - Fix unexpected init_amp override
    16e373fe61cb ALSA: usx2y: Fix potential NULL dereference
    000515184f6f tools/vm: fix cross-compile build
    5126bdeaf980 mm/ksm: fix NULL pointer dereference when KSM zero page is enabled
    3c88e95cd167 mm/hugetlb: fix a addressing exception caused by huge_pte_offset
    a77daafc2e37 coredump: fix null pointer dereference on coredump
    fcfd63da5d82 staging: gasket: Fix incongruency in handling of sysfs entries creation
    f4f235309b5c vmalloc: fix remap_vmalloc_range() bounds checks
    3d15344e23c5 tty: serial: owl: add "much needed" clk_prepare_enable()
    4fbf19bbba6a USB: hub: Revert commit bd0e6c9614b9 ("usb: hub: try old enumeration scheme first for high speed devices")
    50ad463e20bf USB: hub: Fix handling of connect changes during sleep
    b48193a7c303 USB: core: Fix free-while-in-use bug in the USB S-Glibrary
    1d53402d89d7 USB: early: Handle AMD's spec-compliant identifiers, too
    8409f83e3e81 USB: Add USB_QUIRK_DELAY_CTRL_MSG and USB_QUIRK_DELAY_INIT for Corsair K70 RGB RAPIDFIRE
    b7758cd38b94 USB: sisusbvga: Change port variable from signed to unsigned
    557f3f549217 iio: xilinx-xadc: Make sure not exceed maximum samplerate
    b3e365a07016 iio: xilinx-xadc: Fix sequencer configuration for aux channels in simultaneous mode
    cf2849c9ef46 iio: xilinx-xadc: Fix clearing interrupt when enabling trigger
    6a956eb2e1a7 iio: xilinx-xadc: Fix ADC-B powerdown
    f83a969fcb0b iio: adc: ti-ads8344: properly byte swap value
    db168069b0d6 iio: adc: stm32-adc: fix sleep in atomic context
    02311bc13344 iio: st_sensors: rely on odr mask to know if odr can be set
    14952589c9d8 iio: core: remove extra semi-colon from devm_iio_device_register() macro
    12c02c473e86 ALSA: usb-audio: Add connector notifier delegation
    6ec99b94a3a0 ALSA: usb-audio: Add static mapping table for ALC1220-VB-based mobos
    23abb5f2faea ALSA: hda: Remove ASUS ROG Zenith from the blacklist
    419d8fb1630c KEYS: Avoid false positive ENOMEM error on key read
    b1bcb485dd6b vrf: Check skb for XFRM_TRANSFORMED flag
    dfbbb4557af4 xfrm: Always set XFRM_TRANSFORMED in xfrm{4,6}_output_finish
    ace87b487a5f geneve: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
    b977fe1c9e80 vxlan: use the correct nlattr array in NL_SET_ERR_MSG_ATTR
    51c935f6c6ef net: dsa: b53: b53_arl_rw_op() needs to select IVL or SVL
    cb1a18a7d328 net: dsa: b53: Rework ARL bin logic
    2cc27f102dcd net: dsa: b53: Fix ARL register definitions
    1fae6eb0fc91 net: dsa: b53: Fix valid setting for MDB entries
    2537dc9e2c03 net: dsa: b53: Lookup VID in ARL searches when VLAN is enabled
    07856b2108cf vrf: Fix IPv6 with qdisc and xfrm
    755425c1b004 team: fix hang in team_mode_get()
    3f642d785a51 tcp: cache line align MAX_TCP_HEADER
    8a60fad4495d selftests: Fix suppress test in fib_tests.sh
    a3afaa5033f4 sched: etf: do not assume all sockets are full blown
    5a2ddf8e5a5d net/x25: Fix x25_neigh refcnt leak when receiving frame
    6885d58eb439 net: stmmac: dwmac-meson8b: Add missing boundary to RGMII TX clock array
    4acc0b18f7af net: openvswitch: ovs_ct_exit to be done under ovs_lock
    21b1a767eba6 net: netrom: Fix potential nr_neigh refcnt leak in nr_add_node
    befd63a980cc net/mlx4_en: avoid indirect call in TX completion
    49bbf322316c net: bcmgenet: correct per TX/RX ring statistics
    aa6a14bc4102 mlxsw: Fix some IS_ERR() vs NULL bugs
    d5ba4c22928f macvlan: fix null dereference in macvlan_device_event()
    70a37b9816f3 macsec: avoid to set wrong mtu
    2d197d8e1aa4 ipv6: fix restrict IPV6_ADDRFORM operation
    382f57b996aa ipv4: Update fib_select_default to handle nexthop objects
    3b759befd7f2 cxgb4: fix large delays in PTP synchronization
    d02f4242650d cxgb4: fix adapter crash due to wrong MC size
    91097eba10d3 PCI/PM: Add missing link delays required by the PCIe spec
    7720fd9c679e PCI/ASPM: Allow re-enabling Clock PM
    3340d011cff4 scsi: smartpqi: fix problem with unique ID for physical device
    d867f2757173 scsi: smartpqi: fix call trace in device discovery
    8a20fb1c9a49 scsi: smartpqi: fix controller lockup observed during force reboot
    3edd55247295 virtio-blk: improve virtqueue error to BLK_STS
    2390698b9dbd tracing/selftests: Turn off timeout setting
    ca958fe8af20 ASoC: SOF: trace: fix unconditional free in trace release
    01fad934f1bd PCI: pciehp: Prevent deadlock on disconnect
    39b9a0b3d24d libbpf: Fix readelf output parsing on powerpc with recent binutils
    b91ae5994725 PCI/PM: Add pcie_wait_for_link_delay()
    df38cda0144a drm/amd/display: Not doing optimize bandwidth if flip pending.
    2be21320076d xhci: Finetune host initiated USB3 rootport link suspend and resume
    ea6f7011c42d xhci: Wait until link state trainsits to U0 after setting USB_SS_PORT_LS_U0
    e650a264df6f xhci: Ensure link state is U3 after setting USB_SS_PORT_LS_U3
    bdb61374da1b ALSA: usb-audio: Add Pioneer DJ DJM-250MK2 quirk
    578aa47612f2 ASoC: Intel: bytcr_rt5640: Add quirk for MPMAN MPWIN895CL tablet
    632d9736d215 drm/amd/display: Calculate scaling ratios on every medium/full update
    16c370534d6c perf/core: Disable page faults when getting phys address
    41a3e446bc56 pwm: bcm2835: Dynamically allocate base
    53cdc935c912 pwm: renesas-tpu: Fix late Runtime PM enablement
    1bfb6423c6fc nvme: fix compat address handling in several ioctls
    de1263d4306e powerpc/pseries: Fix MCE handling on pseries
    107290a8f06b Revert "powerpc/64: irq_work avoid interrupt when called with hardware irqs enabled"
    1712911bfb34 loop: Better discard support for block devices
    ed61eec49a70 s390/cio: avoid duplicated 'ADD' uevents
    ad1187668ffe s390/cio: generate delayed uevent for vfio-ccw subchannels
    8652254e96a6 lib/raid6/test: fix build on distros whose /bin/sh is not bash
    e84ef75fa184 kconfig: qconf: Fix a few alignment issues
    cb5d9604038c ipc/util.c: sysvipc_find_ipc() should increase position index
    70638a74c52a selftests: kmod: fix handling test numbers above 9
    16846f6fcbcf kernel/gcov/fs.c: gcov_seq_next() should increase position index
    1edfff795d4f dma-direct: fix data truncation in dma_direct_get_required_mask()
    8300465623bf drm/amd/display: Update stream adjust in dc_stream_adjust_vmin_vmax
    da2c733a7180 nvme: fix deadlock caused by ANA update wrong locking
    90a33c23aad8 ASoC: Intel: atom: Take the drv->lock mutex before calling sst_send_slot_map()
    1310d9655be0 tools/test/nvdimm: Fix out of tree build
    713ad9b9d37a scsi: iscsi: Report unbind session event when the target has been removed
    f507ae6e33cb nvme-tcp: fix possible crash in write_zeroes processing
    a5f036adae09 pwm: rcar: Fix late Runtime PM enablement
    b71ac8086a7b ceph: don't skip updating wanted caps when cap is stale
    acbfccc6a3e3 ceph: return ceph_mdsc_do_request() errors from __get_parent()
    fb669262fdef scsi: libfc: If PRLI rejected, move rport to PLOGI state
    8427b05a7a1f scsi: lpfc: Fix crash in target side cable pulls hitting WAIT_FOR_UNREG
    0c5733a96261 scsi: lpfc: Fix crash after handling a pci error
    9d1062c4dd14 scsi: lpfc: Fix kasan slab-out-of-bounds error in lpfc_unreg_login
    66491dadd125 watchdog: reset last_hw_keepalive time at start
    7b709f1ba800 tools/testing/nvdimm: Fix compilation failure without CONFIG_DEV_DAX_PMEM_COMPAT
    810045068bda arm64: Silence clang warning on mismatched value/register sizes
    aa50d567ec4a arm64: compat: Workaround Neoverse-N1 #1542419 for compat user-space
    6de0c621191a arm64: Fake the IminLine size on systems affected by Neoverse-N1 #1542419
    f2791551cedb arm64: errata: Hide CTR_EL0.DIC on systems affected by Neoverse-N1 #1542419
    4b823bf7c2ca net, ip_tunnel: fix interface lookup with no key
    5811f24abd27 f2fs: fix to avoid memory leakage in f2fs_listxattr
    79ad14904152 ext4: fix extent_status fragmentation for plain files
    0c418786cb3a Linux 5.4.35
    a801a05ca714 bpf, test_verifier: switch bpf_get_stack's 0 s> r8 test
    8781011a302b bpf: Test_progs, add test to catch retval refine error handling
    37e1cdff90c1 bpf: Test_verifier, bpf_get_stack return value add <0
    3bd5bcafbbf3 bpf: fix buggy r0 retval refinement for tracing helpers
    f1afcf9488fc KEYS: Don't write out to userspace while holding key semaphore
    5d53bfdce008 mtd: phram: fix a double free issue in error path
    4191ebe1fc71 mtd: lpddr: Fix a double free in probe()
    7d4adb1d3c69 docs: Fix path to MTD command line partition parser
    318d5088fdfe mtd: spinand: Explicitly use MTD_OPS_RAW to write the bad block marker to OOB
    700bccb8e9a2 mtd: rawnand: free the nand_device object
    0c72ec11d8bd locktorture: Print ratio of acquisitions, not failures
    01c9e2a9fc5c tty: evh_bytechan: Fix out of bounds accesses
    f656649089a3 fbmem: Adjust indentation in fb_prepare_logo and fb_blank
    47e4d791d514 iio: si1133: read 24-bit signed integer for measurement
    a2a385aae551 ARM: dts: sunxi: Fix DE2 clocks register range
    7e141c307834 fbdev: potential information leak in do_fb_ioctl()
    f0938746879a dma-debug: fix displaying of dma allocation type
    bc69709c54df net: dsa: bcm_sf2: Fix overflow checks
    762d35aa906f drm/nouveau/gr/gp107,gp108: implement workaround for HW hanging during init
    a156e67acf6c f2fs: fix to wait all node page writeback
    f08e4e70b0ac iommu/amd: Fix the configuration of GCR3 table root pointer
    436af737c3c2 libnvdimm: Out of bounds read in __nd_ioctl()
    dcb122749f58 power: supply: axp288_fuel_gauge: Broaden vendor check for Intel Compute Sticks.
    760eecac993b csky: Fixup init_fpu compile warning with __init
    1500c7003146 sunrpc: Fix gss_unwrap_resp_integ() again
    ddb8812a21e1 ext2: fix debug reference to ext2_xattr_cache
    24191c8c9bd2 iommu/vt-d: Fix page request descriptor size
    a5a1d567a069 iommu/vt-d: Silence RCU-list debugging warning in dmar_find_atsr()
    21439dff919e ext2: fix empty body warnings when -Wextra is used
    d00041a48c3e SUNRPC: fix krb5p mount to provide large enough buffer in rq_rcvsize
    900cd0f6c688 iommu/vt-d: Fix mm reference leak
    9c01a49a7117 iommu/virtio: Fix freeing of incomplete domains
    475bec7063bc drm/vc4: Fix HDMI mode validation
    b58244c482ce um: falloc.h needs to be directly included for older libc
    6c3339269a8a ACPICA: Fixes for acpiExec namespace init file
    9f8b1216dac9 f2fs: fix NULL pointer dereference in f2fs_write_begin()
    57615a8561f0 csky: Fixup get wrong psr value from phyical reg
    c848e00e3b95 NFS: Fix memory leaks in nfs_pageio_stop_mirroring()
    2e03d3c569b6 drm/amdkfd: kfree the wrong pointer
    e907a0d09b34 csky: Fixup cpu speculative execution to IO area
    88591187bebc x86: ACPI: fix CPU hotplug deadlock
    a9282e58238d leds: core: Fix warning message when init_data
    ddf39dc2f7a3 drm/nouveau: workaround runpm fail by disabling PCI power management on certain intel bridges
    f24d8de03b72 KVM: s390: vsie: Fix possible race when shadowing region 3 tables
    3910babeac1a compiler.h: fix error in BUILD_BUG_ON() reporting
    b525f94f16e5 percpu_counter: fix a data race at vm_committed_as
    ffac60b8bc5f include/linux/swapops.h: correct guards for non_swap_entry()
    2a40eaab1fc4 drm/nouveau/svm: fix vma range check for migration
    f3955f1e58be drm/nouveau/svm: check for SVM initialized before migrating
    a825ce86ebed mm/hugetlb: fix build failure with HUGETLB_PAGE but not HUGEBTLBFS
    23e2519760f8 cifs: Allocate encryption header through kmalloc
    6ba010ea4856 um: ubd: Prevent buffer overrun on command completion
    b9f88c31b266 ext4: do not commit super on read-only bdev
    4078dceb1228 s390/cpum_sf: Fix wrong page count in error message
    fd80f4a6805c powerpc/maple: Fix declaration made after definition
    bee9bc3e0248 powerpc/prom_init: Pass the "os-term" message to hypervisor
    765052217847 btrfs: add RCU locks around block group initialization
    285f25c97f24 hibernate: Allow uswsusp to write to swap
    4753b111f003 s390/cpuinfo: fix wrong output when CPU0 is offline
    380d12904603 f2fs: Add a new CP flag to help fsck fix resize SPO issues
    066f1e4174f2 f2fs: Fix mount failure due to SPO after a successful online resize FS
    ea468f37370a NFS: direct.c: Fix memory leak of dreq when nfs_get_lock_context fails
    81b41f5ecc96 phy: uniphier-usb3ss: Add Pro5 support
    3e85d501828c f2fs: fix to show norecovery mount option
    ffbad91b66ce KVM: PPC: Book3S HV: Fix H_CEDE return code for nested guests
    ea410f2a1fc8 ARM: dts: rockchip: fix lvds-encoder ports subnode for rk3188-bqedison2qc
    59bafdc99440 NFSv4.2: error out when relink swapfile
    264e3f1597e8 NFSv4/pnfs: Return valid stateids in nfs_layout_find_inode_by_stateid()
    07cd4e8f745c NFS: alloc_nfs_open_context() must use the file cred when available
    66bfacd0f302 rtc: 88pm860x: fix possible race condition
    56aaa0e8c92a dma-coherent: fix integer overflow in the reserved-memory dma allocation
    960bf4e436ca soc: imx: gpc: fix power up sequencing
    1e7abaf24875 arm64: dts: clearfog-gt-8k: set gigabit PHY reset deassert delay
    d7b59cd020f7 arm64: tegra: Fix Tegra194 PCIe compatible string
    5615f66bfdfc arm64: tegra: Add PCIe endpoint controllers nodes for Tegra194
    540f9620f192 clk: tegra: Fix Tegra PMC clock out parents
    b7dee304aa0e power: supply: bq27xxx_battery: Silence deferred-probe error
    6a7721714835 arm64: dts: allwinner: a64: Fix display clock register range
    5d2861f840bb ARM: dts: rockchip: fix vqmmc-supply property name for rk3188-bqedison2qc
    1321fb4320e7 f2fs: fix the panic in do_checkpoint()
    6d4330391c49 net/mlx5e: Enforce setting of a single FEC mode
    0d03cbfdf364 clk: at91: usb: continue if clk_hw_round_rate() return zero
    04e43c7c664a clk: Don't cache errors from clk_ops::get_phase()
    83321ee302e3 drm/ttm: flush the fence on the bo after we individualize the reservation object
    94ebb1eea0e7 x86/Hyper-V: Free hv_panic_page when fail to register kmsg dump
    d662b44161e4 rbd: call rbd_dev_unprobe() after unwatching and flushing notifies
    88a57e387cf0 rbd: avoid a deadlock on header_rwsem when flushing notifies
    a362482b2325 block, bfq: invoke flush_idle_tree after reparent_active_queues in pd_offline
    839b7cd1d8bc block, bfq: make reparent_leaf_entity actually work only on leaf entities
    ad749ca022ad block, bfq: turn put_queue into release_process_ref in __bfq_bic_change_cgroup
    00d392873771 afs: Fix race between post-modification dir edit and readdir/d_revalidate
    42e343cf3285 afs: Fix afs_d_validate() to set the right directory version
    8c3e4ba0fa7a afs: Fix rename operation status delivery
    4eba6ec9644a afs: Fix decoding of inline abort codes from version 1 status records
    0604b60ef9d7 afs: Fix missing XDR advance in xdr_decode_{AFS,YFS}FSFetchStatus()
    4f7b1e892ed0 x86/Hyper-V: Report crash data in die() when panic_on_oops is set
    5097186b279a x86/Hyper-V: Report crash register data when sysctl_record_panic_msg is not set
    31ebf98817c6 x86/Hyper-V: Report crash register data or kmsg before running crash kernel
    1ed38a98478f x86/Hyper-V: Trigger crash enlightenment only once during system crash.
    9f38f7b46de0 x86/Hyper-V: Unload vmbus channel in hv panic callback
    4c2a34f9f448 of: overlay: kmemleak in dup_and_fixup_symbol_prop()
    93ef21bb1a72 of: unittest: kmemleak in of_unittest_overlay_high_level()
    a1371954ee49 of: unittest: kmemleak in of_unittest_platform_populate()
    dd3dd28241e0 of: unittest: kmemleak on changeset destroy
    25c9cdef5748 xsk: Add missing check on user supplied headroom size
    9244c79da15c ALSA: hda: Don't release card at firmware loading error
    182fa4d72a7c irqchip/mbigen: Free msi_desc on device teardown
    daefa51c4353 netfilter: nf_tables: report EOPNOTSUPP on unsupported flags/object type
    aea3873fb02c kbuild, btf: Fix dependencies for DEBUG_INFO_BTF
    e1e5c219f033 ARM: dts: imx6: Use gpc for FEC interrupt controller to fix wake on LAN.
    ed0a5355aa62 ALSA: hda: Honor PM disablement in PM freeze and thaw_noirq ops
    d8b667b45d72 scsi: sg: add sg_remove_request in sg_common_write
    d979eda8a72b objtool: Fix switch table detection in .text.unlikely
    2613535abd3b arm, bpf: Fix offset overflow for BPF_MEM BPF_DW
    d4adee8e8f2f arm, bpf: Fix bugs with ALU64 {RSH, ARSH} BPF_K shift by 0
    e7f6c25bafa6 xsk: Fix out of boundary write in __xsk_rcv_memcpy
    9a9eae78529c watchdog: sp805: fix restart handler
    41d097c83343 ext4: use non-movable memory for superblock readahead

(From OE-Core rev: 2503b1a55b3525ad8f97d3adafd442688dbd4397)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Mingli Yu
7d8dae11b9 bison: fix the parallel build
Explicitly make the BUILT_SOURCES which
are the generated headers such as stdio.h,
fcntl.h and etc to be the dependencies of
the gl_LIBOBJS such as libbison_a-sprintf.o,
libbison_a-printf.o and etc to guarantee the
BUILT_SOURCES is generated before begin to
compile EXTRA_lib_libbison_a_SOURCES such as
fprintf.c in parallel builid, otherwise there
may come below error:
 | muscle-tab.c:(.text+0x77a): undefined reference to `rpl_sprintf'

It does the same for src_bison_OBJECTS and
lib_libbison_a_OBJECTS to make sure BUILT_SOURCES
generated before begin to compile src_bison_SOURCES
which contains AnnotationList.c and etc.

BTW, the MOSTLYCLEANFILES also contains the
generated header needs to be created early
in the build process, so add it also in to
avoid below error:
 | ./lib/uniwidth/width.c:21:10: fatal error: uniwidth.h: No such file or directory

[YOCTO #13825]

(From OE-Core rev: d4a0cbf132cf6a821e3efe7db3d9afd014cc9bc6)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Kai Kang
5ec0bffa9e gcr: depends on gnupg-native
It fails to build gcr if no commmand gpg on build host:

| meson.build:44:0: ERROR: Program(s) ['gpg2', 'gpg'] not found or not executable

Add dependency gnupg-native to fix the error.

(From OE-Core rev: afa5ec0dee84927c61c3bc14602da93e23849f9e)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Naveen Saini
21be725a31 libva-utils: upgrade 2.6.0 -> 2.7.1
For release details:
https://github.com/intel/libva-utils/releases/tag/2.7.1

(From OE-Core rev: c74c9c5565225b028f5332a169999047c5a9dd74)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Naveen Saini
42289e4585 libva: upgrade 2.6.1 -> 2.7.1
For release details:
https://github.com/intel/libva/releases/tag/2.7.1
https://github.com/intel/libva/releases/tag/2.7.0

(From OE-Core rev: 16f826d25a9c8eeb04923ce2e595879a142516f1)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Adrian Bunk
72c2164fc5 apt: The C.UTF-8 locale is not portable
(From OE-Core rev: 1df7f2874de6af8846ca218d0467369768a56aa0)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Adrian Bunk
e992ffd162 apt: Remove workarounds for host gcc < 5
(From OE-Core rev: f905eabaeb6b32ac9f3d6d8695fe9f8628c1bec5)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Robert P. J. Day
d91e47d9ab common-licenses: add "Unlicense" license file
(From OE-Core rev: 7698f3145a9c48778d7bb79f54df169cf375349c)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Khem Raj
e19938f8c7 armv8/tunes: Define TUNE_PKGARCH
Now that they uses -mcpu, its better to have tune specific build
directories, since aarch64 wont be appropriate any longer

(From OE-Core rev: 030cd9021ef50d71482f6acf0e05fe425038c822)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Khem Raj
030f460b82 aarch64: Adjust big.LITTLE tune files to use -mcpu
mcpu is more appropriate on aarch64 and generates more optimized code
forr a given SOC, unlike -march/-mtune combination as decribed here [1]

[1] https://community.arm.com/developer/tools-software/tools/b/tools-software-ides-blog/posts/compiler-flags-across-architectures-march-mtune-and-mcpu

(From OE-Core rev: e114c670d1e670397c1c04292688b7550f54027c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Khem Raj
18f718cefd gcc: Do not set -march for arm64 for libatomic
libatomic has mind of its own when it comes to setting -march for arm64
which conflicts with -mcpu option we pass from environment in some cases
since we always pass -march/-mcpu in OE, its safe to remove this option

mcpu removal from cortex-a55 is no longer needed since the option
conflict is now removed from libatomic instead

(From OE-Core rev: a5331c5a8bbe63c6c2e56ebec496b28968d4663d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Khem Raj
74c132d23c tune-cortexa57.inc: Add new tune file
(From OE-Core rev: 03b04fcfa5549a54fe6f335df14433934a7d5128)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Khem Raj
3760f7a384 tune-cortexa55.inc: crc and crypto extentions are default on cortex-a55
(From OE-Core rev: 886333c5d1c336da99300d24fb3c15ab0b37d1cb)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Wang Mingyu
2810865b83 gnu-efi: upgrade 3.0.11 -> 3.0.12
(From OE-Core rev: 599bc20b9d3a2437e04894d035843f1042d34f3d)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Wang Mingyu
7e1b054aed watchdog: upgrade 5.15 -> 5.16
0001-Include-linux-param.h-for-EXEC_PAGESIZE-definition.patch
removed since it is included in 5.16

-License-Update: Copyright year updated to 2020.

(From OE-Core rev: 1ec6381bb6b654076ee7eec1d3a8933a160b7811)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Wang Mingyu
ff2a3335c4 freetype: upgrade 2.10.1 -> 2.10.2
(From OE-Core rev: 5d5adae33099101c86b00d29bcc1a2ecfb3a5888)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 16:31:44 +01:00
Richard Purdie
f468a73523 poky.conf: Post release version bump
(From meta-yocto rev: 48d5ee2b83eb33238f1425d32c6091e57b24cf36)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-15 15:36:46 +01:00
Khem Raj
344deae200 wayland: fix condition for strndup detection
current check does not work with gcc10

(From OE-Core rev: ce6c50ea68c34e02b487d54fdd9288e04833cdef)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Khem Raj
38543222aa glib-2.0: Fix stpcpy detection for mingw
Backport an upstream patch to fix it

(From OE-Core rev: 48b6f7e31ff042a4900307e830f9ed9375a8041a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Peter Kjellerstedt
d708afc6df file: Remove unneccessary override of PACKAGECONFIG for native
There is no reason to set PACKAGECONFIG_class-native to the same value
as the default PACKAGECONFIG.

(From OE-Core rev: 276a21cbbfc929f718fd758b64e3e0567534fd41)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
a6a1736782 wireless-regdb: Upgrade 2019.06.03 -> 2020.04.29
(From OE-Core rev: 5b71a3f3d1bca6b52f53b97971131a6771618420)

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Joshua Watt
54865c7c1e classes/kernel: Generate reproducible kernel module tarball
If reproducible binaries are requested, generate the kernel modules
tarball in a reproducible way. Namely, sort the tarball contents, clamp
the mtime to the source date epoch, compress the archive with a
consistent compression level (9), and don't include the name and
timestamp in the compressed file.

[YOCTO #12719]

(From OE-Core rev: 5c6a472c82a9b3c122fc54d3ee7171508c643a8b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
81da240a5f nettle: Remove workaround for gcc < 5
(From OE-Core rev: 09fa9dabe17f69db71f3773f8808af745fb8ed4a)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
ddb312f1b9 libtasn1: Remove workaround for host gcc < 5
(From OE-Core rev: 2c037f830856018b212d532198ae17932b3521d1)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
08f93d2cd6 python-numpy: Remove workaround for host gcc < 5
(From OE-Core rev: 170ff91c90c17fe6615c1616c4298a9948b818a9)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
6a60e2d2bb vte: Remove workaround for gcc 4.8
(From OE-Core rev: 84e9c9ec86252fba7d0b472ec6f84793db51e62f)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Khem Raj
5757286da1 gcc10: Revert using __getauxval in libgcc
This was added recently, but it seems be chewing more than what it
should and causes non glibc packages also depend on it.

(From OE-Core rev: 595d2df62b049e463568ab97cfe26d6df96a18a9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Khem Raj
d8981bb2eb gcc10: Default back to -fcommon
For time being change back to -fcommon as default, helps us iron
out other issues, eventually this should be removed as we fix the
packages to work with -fno-common

(From OE-Core rev: 951e859b1e8297970278c539e989b8a6d06a9cb3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Khem Raj
188891953f glibc: Update to latest on 2.31 branch
There are few fixes specifically for compiling with gcc10 that are good
to have, before hitting them later

Backport build fix from master for aarch64 with gcc10

Drop CVE-2020-10029 patch its already applied on latest 2.31 branch

latest glibc 2.31 added fix for __getauxval/aarch64 issue

(From OE-Core rev: 2c7e0e0bf32eb1ed0b7d8acddb16c0d1e93f2aa1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Khem Raj
d8d7d9e8f0 gcc10: Update to GCC 10.1 Release
* Package new gomp header acc_prof.h
* Package lto-dump which is a new tool in gcc10
* All Changes are here [1]
* Porting apps to gcc 10 help is here [2]
* Backport a patch to fix CET errors on cross builds
* Add patch to fix mingw libstdc++

[1] https://gcc.gnu.org/gcc-10/changes.html
[2] https://gcc.gnu.org/gcc-10/porting_to.html

(From OE-Core rev: 44c3881b18f74eb64379818fc150f94398fb8a49)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Wang Mingyu
e12098a612 nettle: upgrade 3.5.1 -> 3.6
refresh the following patches:
Add-target-to-only-build-tests-not-run-them.patch
dlopen-test.patch

(From OE-Core rev: cf4c4c65df5349b60895525418954281b3140173)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
wenlin.kang@windriver.com
f63e51a165 populate_sdk_base.bbclass: fix warning: name not matched
When do populate_sdk with SDK_ARCHIVE_TYPE = "zip", have below warning
in log file, this patch fixes it.

zip warning: name not matched: sysroots/core2-64-poky-linux/etc/tmpfiles.d/etc.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/tmpfiles.d/home.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/resolv-conf.systemd
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/mtab
zip warning: name not matched: sysroots/core2-64-poky-linux/etc/resolv.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/var/lock
zip warning: name not matched: sysroots/core2-64-poky-linux/usr/lib/environment.d/99-environment.conf
zip warning: name not matched: sysroots/core2-64-poky-linux/sbin/klogd
zip warning: name not matched: sysroots/core2-64-poky-linux/sbin/syslogd
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chfn
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chsh
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/passwd
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/usr/bin/chpasswd
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/vipw
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/vigr
zip warning: name not matched: sysroots/x86_64-pokysdk-linux/sbin/nologin

(From OE-Core rev: 5f7df08aca81ac269490876fe84c7fc5b1d5739c)

Signed-off-by: Wenlin Kang <wenlin.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
b23cc4a8f1 llvm: Remove -fcommon
I cannot reproduce the problem.

(From OE-Core rev: 80cc6e60b98da7c9de9e9da629353cf1fb687197)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
cf8ed74154 matchbox-wm: Replace -fcommon with fix
(From OE-Core rev: d69a05533048d0e50f5ee47b2c35675bc615728c)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
e324a20ea1 menu-cache: Replace -fcommon with fix
(From OE-Core rev: 97984f171b562f4ccaef527e6766b0e94697cf43)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
0308e5082a at-spi2-atk: Remove -fcommon
This was fixed in upstream version 2.34.0.

(From OE-Core rev: 9562c93799a37cd18aceb6f24378ba02a69865f0)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
6cc1e74814 mesa: Remove -fcommon
This was fixed in upstream version 20.0.

(From OE-Core rev: 1d269a3f3a84cae92e611e02082150cfd97f8258)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
e50227342d xorg-xserver: Remove -fcommon
This was fixed in upstream version 1.20.8.

(From OE-Core rev: be3457c76b3381d216087256effcbb3a0cb0356c)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
5d7f1d83c3 libxcrypt2: Remove -fcommon
This was fixed in upstream version 4.4.12.

(From OE-Core rev: 281d53ebab4c4c1b6c880ab14761d715196fb8d7)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Adrian Bunk
74e046959a iproute2: Remove -fcommon
This was fixed in upstream version 5.5.0.

(From OE-Core rev: 9a9f67b7c50a8c28a75fc48c8abcb8a7bb35f0e6)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-14 14:15:11 +01:00
Konrad Weihmann
17b80b70ba file: add PACKAGECONFIG for auto options
A few options of file configure are set to auto, which can lead to
unpredictable effects when something in the sysroot does provide
things that satisfy the autotools checks.
In the worst case this will lead to package-qa failures as libraries are
not set in RDEPENDS but configured for the tool.

To mitigate changes of accidental configure set explicit options via
newly introduced PACKAGECONFIG variables for bzip, lzma and zlib
support, where the default is just zlib, as it was before

(From OE-Core rev: a2236917395239eba7a8358ca4de61fd0d25b27f)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:43 +01:00
Alexander Kanavin
73b0154c97 gcr: correct a build race between vapi files
(From OE-Core rev: 0bd81166946cea15eab3e6df9a1141d6a7373a20)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:43 +01:00
Yeoh Ee Peng
a368fd4290 selftest/imagefeatures: Enable sanity test for IMAGE_GEN_DEBUGFS
Add new testcase to check IMAGE_GEN_DEBUGFS. Test makes
sure that debug filesystem is created accordingly. Test also check
for debug symbols for some packages as suggested by Ross Burton.

[YOCTO #10906]

(From OE-Core rev: 727e8819df17f0f959b602e6f7b6af15993fc466)

Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:43 +01:00
Khem Raj
9e44438a9d gcc-runtime: Avoid march conflicts with newer cortex-a55 CPUs
gcc-runtime/libatomic explicitly add -march=armv8-a+lse for all arch64
but cortex-a55 is armv8.2-a, which essentially conflicts, so let gcc
override it by not forcing the -mcpu option from TUNE_CCARGS

(From OE-Core rev: 882df891e13ce5c64718c364efb9ef2bf189eabf)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:43 +01:00
Khem Raj
ee19781d88 tunes: Add new tune files for cortexa55 and cortexa73-cortexa53
(From OE-Core rev: fd4a454b5a357c7a26792bf486212957c698839c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:42 +01:00
Richard Leitner
1d7e769149 cpio: add patch to fix issues with gcc 10
gcc 10 introduced "-fno-common" as default. Therefore backport the
according cpio patch to fix this issue.

(From OE-Core rev: ca6e5511b59b585de793ff6424c7c6ccfcd8e61e)

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:42 +01:00
Richard Leitner
b692f04101 binutils: add patch to fix issues with gcc 10
gcc 10 introduced "-fno-common" as default. Therefore backport the
according binutils patch to fix this issue.

(From OE-Core rev: fbeb572e1872cf64786d01d5c6408a6765f814ce)

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:42 +01:00
Richard Leitner
11fff92f7a libcomps: update to 0.1.15
In this update the 0001-Make-__comps_objmrtree_all-static-inline.patch
was mainlined by commit 18f52cb.

Furthermore mainline commit 3237f44 fixes a build problem with the
default "-fno-common" of gcc 10.

(From OE-Core rev: 90b942d01decbcff3b883ee6fb4bba67fb446817)

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:42 +01:00
Richard Leitner
4f1c3907d1 libtirpc: remove extra "-fcommon" from CFLAGS
commit daed7eedba ("Avoid multiple-definiton with gcc -fno-common") of
libtirpc fixed the -fno-common issues. Therefore it should be save to
remove the extra "-fcommon" in CFLAGS.

(From OE-Core rev: 9e4546701775fe98532f011f5ad146cfb1b33715)

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:42 +01:00
Jacob Kroon
b4e1ce1b93 pseudo: Fix enum typedef
'pseudo_access_t' is a type, so use typedef.

Fixes building pseudo with gcc 10 where -fno-common is the default.

(From OE-Core rev: a7d519f742aadc9110c2401f359254210a784f6b)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:42 +01:00
Anton Eliasson
fbb08a1561 meson.bbclass: Close the log file after reading
This fixes warnings like:

    WARNING: package-name-0.0.1-r0 do_configure: <string>:164: ResourceWarning:
    unclosed file <_io.TextIOWrapper
    name='/source_directory/build/tmp/work/arch/package-name/0.0.1-r0/package-name-0.0.1//meson-logs/meson-log.txt'
    mode='r' encoding='UTF-8'>

(From OE-Core rev: 4fe8bb4e3f15a3f4e153605d57096c565c5fac21)

Signed-off-by: Anton Eliasson <anton.eliasson@axis.com>
Reviewed-by: Ola x Nilsson <ola.x.nilsson@axis.com>
Signed-off-by: Anton Eliasson <anton.eliasson@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:42 +01:00
Alexander Kanavin
cfa1424b3c runqemu: force software x11 renderer for SDL when GL is not in use
If libsdl is configured with opengl enabled, it will try to use GL
renderers to open a window even if qemu doesn't use virgl. Setting
the environment variable forces a software X11 renderer, which is the
same one used when libsdl has opengl switched off. This avoids
needlessly loading the GL libraries and drivers from the host.

(From OE-Core rev: 73b75f5ff6c0b5333898fa340f4d9e2e5111fdef)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:42 +01:00
Tim Orling
e063a3924a pypi.bbclass: use new pypi UPSTREAM_CHECK_URI
Upstream https://pypi.python.org/pypi/${PYPI_PACKAGE}/
redirects to https://pypi.org/project/${PYPI_PACKAGE}/

(From OE-Core rev: 308206a1d2dad33ba70a1461e7e101eaea0e1675)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:42 +01:00
Konrad Weihmann
158f5db602 pypi.bbclass: mind package suffix on version check
Some pypi packages do have suffixes like dev, or a0 or b1.
When doing a version check on these, the version will get falsely
identified as major release versions.
Add a terminating slash to rule out those false positives

(From OE-Core rev: 21e3b2226597fce9ae9328cf4bdbb4cdba3aa711)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:42 +01:00
Kai Kang
6c6b2e9b52 python3-git: 3.0.5 -> 3.1.2
(From OE-Core rev: 8cf74d626d562aa83acf0b05597b85392e4943c5)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-12 15:20:42 +01:00
Joshua Watt
ee763935e9 bitbake.conf: Prevent git from detecting parent repo in recipe
Prevents git commands run in a recipe from moving up past ${WORKDIR}
when searching for a .git directory, and thus prevents them from
detecting the parent OE-core .git directory. Fixes several
reproducibility issues where recipes would use the OE-core version as
the recipe version due to git walking up the tree.

(From OE-Core rev: e496605ea197414b58025293e73dec099a8976c6)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Mingli Yu
51790fa49c python3-setuptools: add the missing rdepends
Add the missing rdepends to fix below error:
 # python3
 [snip]
 >>> import setuptools
 [snip]
 ModuleNotFoundError: No module named 'json'

(From OE-Core rev: f1dce04d2643352cd7a2c5a91eefc01d52926ecd)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Changqing Li
e9dd7659b4 lib/oe/package_manager: update default rpm config %_prefer_color
* %_prefer_color is used by rpm to determine which color's ELF file
is preferred to be installed.

Here are file colors:
0 is unknown or other
1 is Elf32
2 is Elf64
4 is MIPS64 n32 (this color is added by oe-core's patch)

if default value set to 7, all colors are preferred color, always
be last-in-wins.

For this scenario, when we have 64bits python3 installed first,
then install 32bits python3 later, 64bits python3 will be overwrited,
and sys.path will point to /usr/lib, not /usr/lib64, this may cause
some python3 modules not work. so fixed by remove setting of default
value 7, and use default value 2 of rpm

* other distro like fedora also use the default %_prefer_color 2

(From OE-Core rev: 56fa74497393a10f751d01c600c1936761e00294)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Changqing Li
07083caab6 rpm: fix file conflicts for MIPS64 N32
The following error occurred when prefer_color set to 2:
Error: Transaction check error:
  file /sbin/ldconfig conflicts between attempted installs of
ldconfig-2.31+git0+71f2b249a2-r0.mips64_n32 and
lib32-ldconfig-2.31+git0+71f2b249a2-r0.mips32r2
  file /usr/bin/gencat conflicts between attempted installs of
lib32-libc6-utils-2.31+git0+71f2b249a2-r0.mips32r2
...

This was because:
transactions_color = 001 (ELF32) & 010 (ELF64) & 100 (ELF32 N32 MIPS64)
FColor = Current file color (001) & transaction_color (111)
oFcolor = Previous file color (100) & transaction_color (111)

when "neither preferred" happened, handled as conflicts. this is too
restrictive for three way conflicts(mips64/mips64 n32/mips(32)).
Fixed by  perform a 'last-in-wins' resolution when "neither is preferred".

refer:
https://github.com/rpm-software-management/rpm/issues/193
https://git.openembedded.org/openembedded-core/commit/meta/recipes-devtools/rpm?id=36c225704daa58b98a4b7f2ef315eb944d8628b5

(From OE-Core rev: f94511fe5c163de8fb34d00ff3ba995437c3922c)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
jan
a073a3e2d3 scripts/tiny/ksize: Fix for more recent kernels
In the past kernel built object files were named 'built-in.o'.
Nowadays it is 'built-in.a'.

The script is modified to work with both.  I expect
it will not happen that there are built-in.a and built-in.o
files in the same kernel.

(From OE-Core rev: facc8a5859d95c416aff8313bec3f3a6d5ef5fec)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Joe Slater
e8fd72ee7c wget: improve reproducible build
Modify DEBUG_PREFIX_MAP as used by sed to handle
whitespace correctly.

This modifies an existing patch.

(From OE-Core rev: bf746c2dea3ade181e91ef12d41dfe4286949e1d)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Zoltan Boszormenyi
ded978ea62 mesa: Add PACKAGECONFIG knob to enable VDPAU state tracker and drivers
(From OE-Core rev: 7ea4c7c32cbad1743852c27a2f0a87d6cf5a1820)

Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Zoltan Boszormenyi
18b6533e3e mesa: Add PACKAGECONFIG knob to enable VAAPI
The previously added libva-initial recipe makes it possible and
trivial.

(From OE-Core rev: 1169238a4586852f807a63d9e70a8a556d84dac6)

Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Zoltan Boszormenyi
29a25abba2 libva-initial: New bootstrap recipe
Mesa needs libva.pc and libva headers to enable the VAAPI
state tracker and drivers.

This recipe is a variant of the full libva package build as in:
* it only depends on libdrm to build so it doesn't introduce
  the circular dependency between mesa and libva, and
* it doesn't include the libraries in the final package.

However, there is another issue with build dependency handling
in Yocto. libva depends on mesa and mesa depends on this package.
Any package that depends on libva therefore would pull in libva
and this package resulting in an error in the prepare-sysroot
phase because they would install identical files into the
per-recipe sysroot.

Using the package name "*-initial" avoids this because of the
interaction between sstate.bbclass and staging.bbclass: any
package with the pattern "*-initial" in the name is excluded
from the dependency list unless explicitly added to DEPENDS.

(From OE-Core rev: b697f0446f9b016c6c229edda1bf20ca3a7c88ce)

Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Zoltan Boszormenyi
991820475e libva: Factor out base parts into an include file
To enable the VAAPI state tracker and drivers in mesa, it needs
libva.pc and the libva headers. To enable GLX support in libva,
it needs mesa to be compiled first. At the recipe level, this
would create a circular dependency between libva and mesa.

This is a preparation step before introducing a new libva recipe
variant to break the circular dependency.

(From OE-Core rev: 3028a2194e9ade70840600867e38d8873f07a93f)

Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Peter Kjellerstedt
1f1650e5d8 sstate.bbclass: Do not fail if files cannot be touched
It may be that a file is not allowed to be touched, e.g., if it is a
symbolic link into a global sstate cache served over NFS.

(From OE-Core rev: 462e3f505217c9b9e0d2c1cbdafb0c8910bb6a59)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Khem Raj
634735c81a avahi: Cover gtk packageconfig with x11/wayland distro features
This ensures that avahi can compile for EGLFS distros (headless)

(From OE-Core rev: d3f6ffb148e8837f2f6ba81f07dbfd6bbec64726)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Yi Zhao
d15a8d87b6 opkg-keyrings: check if opkg-key exists before run postinst
By default, the opkg-key command is not included in pokg package because
it is only installed when gpg support is enabled. We'd better check if
it exists before run 'opkg-key populate' in pkg_postinst.

(From OE-Core rev: 096a03659cdfa99ca2b4b50ff37d6f2001d0bc90)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Alejandro Hernandez
86b5247348 connman: Include vpn-script in FILES
When vpnc support is included through PACKAGECONFIG, there
is now an extra vpn-script coming after the atest upgrade,
include that script into FILES so it gets packaged.

(From OE-Core rev: 2873d4afac0845955e0811281203a39f4074b2c3)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Robert P. J. Day
96ae619a5b documentation.conf: Add variables supported by features_check.bbclass
Add to documentation.conf all the new variables supported by
features_check.bbclass.

(From OE-Core rev: 77df7e9b822c1d895d2e0212300f836eeff10b3d)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-09 18:57:21 +01:00
Richard Purdie
c570f89083 poky: We now match OE-Core's error/warning config so simplify
(From meta-yocto rev: c90123725f282bae5ce4bb0bec4df141c823d769)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:48 +01:00
Alexander Kanavin
8599c05cb3 virgl: skip test on Debian 9
Debian 9 has an older version of mesa, where dri drivers do not link
against glapi explicitly, which causes problems when they are loaded
by newer mesa-native:

pokybuild@debian9-ty-2:~$ ldd -d /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so |grep undefined
undefined symbol: _glapi_tls_Dispatch   (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so)
undefined symbol: _glapi_tls_Context    (/usr/lib/x86_64-linux-gnu/dri/swrast_dri.so)

compared to Debian 10:

pokybuild@debian10-ty-2:~$ ldd -d /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so|grep undefined
pokybuild@debian10-ty-2:~$

(From OE-Core rev: e604e9d23478a4ea8e5afa63306dd481a34c68d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
458849ee6c libepoxy: do not strip RUNPATH from native/nativesdk
This was done to fall through to host GL stack; now that
mesa-native with host dri drivers is used instead, this is
no longer necessary or desirable.

(From OE-Core rev: fdfa8a6ed102fdaf96006675b3d2cc7888a0c613)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
1ec9103116 runqemu: set host DRI driver path for all instances of virgl usage
Falling through to host GL stack via epoxy chrpath hack was
found to be problematic in case of SDL particularly (because it does
not actually use epoxy, and does its own dlopen()).

So let's just use the mesa-native libraries everywhere, but instruct
them to load DRI drivers from the host.

NVidia's proprietary blob users have to take care of themselves, I'm afraid.

(From OE-Core rev: 2125920828eba7bab1afc977d5e9bccb124078e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Richard Leitner
21791a446d dtc: update to 1.6.0
This also fixes issues with gcc 10's default change to "-fno-common".

(From OE-Core rev: 3acc1e5d5bce4e229801c9d66391e007390fb373)

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Bartosz Golaszewski
bc88819c45 busybox: disable i2ctransfer
I2C tools are built by default in busybox. OE-core on the other hand
disables them all in the busybox defconfig except i2ctransfer. Since
this looks like an oversight, this patch proposes to disable this tool
as well.

(From OE-Core rev: c01da7f80db119bc87a25d68c2bcf49bb703c3b4)

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
13e49c2af0 mesa: enable x11 for native/nativesdk
This was found to be necessary for libsdl-native to enable opengl, as otherwise
the opengl check would fall through to the host with unpredictable outcome.

(From OE-Core rev: 53fb4937e5c2b293e6bdbbceb37b1080aa5db630)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Joshua Watt
e7833d0edf libnewt: Backport patch to fix reproducibility
Backports a patch from upstream to fix a reproducibility problem where
paths would be encoded in the binary.

Drops an obsolete patch that conflicted with the backport

(From OE-Core rev: 303bf23048cb326dd8a8079a7cf773c3fd8f21ff)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Richard Purdie
643c26562f insane: Promote warnings into errors
There are several warnings the build can emit which show real problems
in the way recipes are being built. Some distros like poky and the Yocto
Project autobuilder have been fixing the issues these show for some time.

OE-Core has therefore been clean of these errors and warnings for some time.
Promote warnings into errors to match the defaults in poky to encourage
people to fix these real issue and reduce confusion when people switch
distros or customise.

(From OE-Core rev: a6a3a4a3739df3ab867fbe7e5a8cb5cac5ee124a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
be9fa8db6b vte: add icu dependency
This is new in 0.60, and needs to be added explicitly
to cause vte to rebuild properly against icu changes
(there will be a QA check to catch such situations).

(From OE-Core rev: cfa58fc143e19f465f4cb39d5e4f2c18b5f3ae85)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Andrej Valek
a52a755110 icu: upgrade 66.1 -> 67.1
- 0001-icu-Added-armeb-support.patch - rebased
- 0001-Fix-big-endian-build.patch - removed, already included in new version
- CVE-2020-10531.patch - removed, already included in new version
- icu-pkgdata-large-cmd.patch - removed, implemented correct size

(From OE-Core rev: 62feb846853bcc8982258a224a3e84090d6559a2)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
d692ae9b7b re2c: correct upstream location
(From OE-Core rev: 4fcadab1be9e9cdb89bcd8c659ff1774c08df19b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
ee375b11de cdrtools-native: fix upstream version check
(From OE-Core rev: 07fb6fcf418a63de19db5d6ea49f88288b33646a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
1c81649cc1 ovmf: update to 202002
(From OE-Core rev: c4301758f5a1560965ca5fb69eb1492adf351ed0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
622b3f851e build-compare: update to latest revision
Drop the patch as upstream has refactored the code,
and recent reproducible builds work has likely rendered it
unnecessary.

(From OE-Core rev: fb26d418fdf556dc28df8304d9856fedcb586041)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
3e4dd4c8fd e2fsprogs: update to 1.45.6
Drop backports, and also 0001-misc-create_inode.c-set-dir-s-mode-correctly.patch
as upstream code has been refactored.

(From OE-Core rev: da9fec8592db913d13af3a936ab518e93496be3e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
17b8a3da16 vulkan-demos: upgrade to latest revision
gli is replaced upstream with ktx.

lfs objects are not in a revision that we use, so they can be ignored.

(From OE-Core rev: a837a33e78b471038ec289eb1c641d2e6da462ed)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
a846602f39 vulkan-tools: upgrade 1.1.126.0 -> 1.2.135.0
(From OE-Core rev: 99dea774d51f9b7af9dd2359ab59cde1ea60374c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
da9f963ff1 vulkan-loader: upgrade 1.1.126.0 -> 1.2.135.0
(From OE-Core rev: 8ecb1e82cbf7df676f6f7e79c5d1210643a7babb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
69e454728c vulkan-headers: upgrade 1.1.126.0 -> 1.2.135.0
(From OE-Core rev: 890a81e4d3e85644b3905bd50c85da98c0588f2c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
e7bbf3eea3 rpcsvc-proto: update to 1.4.1
(From OE-Core rev: 4261dc441cb81fea4cee28a016e5c952cf3347d4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
60e787e202 meson: fix upstream version check
(From OE-Core rev: 95140100585311860446b053a046c16ff059b3c0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:16:00 +01:00
Alexander Kanavin
25c8903f6a powertop: switch to Arjan's git
01.org seems unmaintained; while the tarball is still there, the
page to download it from is gone.

(From OE-Core rev: bcd6475928dba0a46d196d905cfd449ba7a3ada5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Alexander Kanavin
40584e8719 patchelf: switch to git
The tarball download website is full of broken links;
while direct tarball download still works, exploring
around and checking for latest versions does not.

(From OE-Core rev: d1c11259464ba2d972e1e1ad5c540050ccc80c15)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Alexander Kanavin
93c07445d6 epiphany: update to 3.36.1
libhandy is a new hard dependency.

(From OE-Core rev: 79090666f16da652f7917e54d685844b1e1894f4)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Alexander Kanavin
1e44a77b04 libdazzle: update to 3.36.0
(From OE-Core rev: 154a74690b6a8e3ec3dd5b542e2bccc971dd589a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Alexander Kanavin
8b5f73342b libhandy: add a recipe from meta-oe
This is needed by new versions of epiphany browser.

(From OE-Core rev: 348467b3e6d607c662a48e3a7e31d15b5fde9f97)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Alexander Kanavin
364d9bae27 libcap: update to 2.33
(From OE-Core rev: d5126e2e728319a8a72dec055477fd79e4218248)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Alexander Kanavin
de45521723 git: update to 2.26.2
Disable iconv, as configure.ac attempts to run a
cross-compiled test program otherwise.

(From OE-Core rev: 6b18acfbe61aef449743f5ce0dfd77f83f5cb2a5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Alexander Kanavin
095d730110 testsdkext/devtool: initialize the test component's git repo
Devtool is relying on externalsrc class, which, in order to determine
if a rebuild is needed, relies on git to checksum files (if the
component tree is a git repo), or sets a flag to always rebuild if
the component tree is not a git repo.

This is problematic in testsdkext scenario, where the test component
is inside a build directory, which itself is inside the poky repo
checkout, and listed in .gitignore. What happens is that git walks
up the tree and uses the index of the poky repo. This works okay
with older versions of git, but git 2.26 complains that we're inside
a directory that is ignored, and returns an error.

To fix the issue, the git repository is initialized directly in the
component directory, just prior to running the tests.

(From OE-Core rev: a5b21af4884c322be173b045ec2fad57ef76e98e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Alexander Kanavin
af24c40ca4 avahi: update to 0.8
(From OE-Core rev: 520cb26ac248994a88f161b6ad92211ffcb93d9b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Alexander Kanavin
cca4eebd03 avahi: merge avahi-ui into the main recipe
The split was building the same code twice, awkward to maintain,
and causing issues with upgrades.

Disabling the gtk bits can be easily done through the standard
PACKAGECONFIG mechanism when needed.

(From OE-Core rev: 33cfebfed51166e409cbb05ab7bbc3fff7c7f36d)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Alexander Kanavin
e68b8c3598 libinput: update 1.15.2 -> 1.15.5
(From OE-Core rev: 3edce2872445b74825c8e3caa3df565f20dd090c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Alexander Kanavin
b36a754d46 libinput: add ptest
The test takes about 17 minutes, and fully passes.

(From OE-Core rev: adc4dbb748c01b731035a759de7cd798d7860d0c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Richard Leitner
ef5725ddfc gdbm: add patch to fix link failure against gcc 10
This also makes appending "-fcommon" to CFLAGS obsolete and enables
native builds with a host gcc v10.

(From OE-Core rev: 7717b35265e6ef8ef71a4eca4074294dfcc2110c)

Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Pierre-Jean Texier
a8625d04c7 sysklogd: upgrade 2.1.1 -> 2.1.2
See https://github.com/troglobit/sysklogd/releases/tag/v2.1.2

Also remove patch applied upstream.

(From OE-Core rev: 7b8c52c76b41cb83452338ba5ede66e74c8956d5)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Richard Purdie
ecd5eacbdd recipes: Remove remaining INC_PR variables
Most of these were unused, remaining in the inc files long after the
PR values were removed from the recipes.

The only two which did anything wre in xorg-font and for those,
bump PR by hand and remove the INC_PR to clean up all references.

This kind of change is much better handled by PRServ now.

(From OE-Core rev: 3fdd772b419bbecb1fac1efae874a8f160f2112d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-07 12:15:59 +01:00
Frazer Clews
b5763b2f48 bitbake: lib/bs4/testing.py: fix bs4 testing
Have classes actually inherit SoupTest so it can
use it's original methods, also correctly import
HTMLParserTreeBuilder

(Bitbake rev: 5dbee3628972d521d44bdfb282ecc44fc956bdb1)

Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:22:29 +01:00
Frazer Clews
6fd3f6f379 bitbake: lib/toaster: fixup codebase so pydocstyle can parse
fixed literal comparison in lsupdates so the
integer isn't treated as a singleton, also fix
indentation in perf

(Bitbake rev: 58c8752cd430a7a89bbf1ed5f21b515b17b514b0)

Signed-off-by: Frazer Clews <frazer.clews@codethink.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:22:29 +01:00
Robert P. J. Day
1c914ba04b bitbake: docs: delete reference to obsolete recipe-depends.dot
Given that generation of recipe-depends.dot was removed:

  commit 4c484cc01e3eee7ab2ab0359fd680b4dbd31dc30
  Author: Chen Qi <Qi.Chen@windriver.com>
  Date:   Thu Aug 22 15:52:51 2019 +0800

      cooker.py: remove generation of recipe-depends.dot

      The information of recipe-depends.dot is misleading.

delete mention of it from the user manual.

(Bitbake rev: 2effbb6e10b07dc12e4ecdf449ca29fc20968c59)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:22:29 +01:00
Robert P. J. Day
73a31df937 ref-manual: Remove long-dead PACKAGE_GROUP variable
This was, years ago, deprecated in favour of FEATURE_PACKAGES, so
remove all references, other than the entry in the migration section.

(From yocto-docs rev: 8e5469aadd31bc3de181848aae5733cd7835eefb)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:22:00 +01:00
Robert P. J. Day
2921941876 ref-manual: typo "SSTATE_MIRROR" -> "SSTATE_MIRRORS"
(From yocto-docs rev: d694ff63f4aee0fff6eac0541413c1a36b3b02e2)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:22:00 +01:00
Robert P. J. Day
c3884f4630 ref-manual: IMAGE_TYPES, add tar.zst, delete elf
Update list of legal IMAGE_TYPES to match what's in
image_types.bbclass.

(From yocto-docs rev: 7706a240d6dbbace9a76b4b55427f91bd4afc6da)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:22:00 +01:00
Robert P. J. Day
528c43e931 ref-manual: fix excessive command indentation
(From yocto-docs rev: a95b49eef8f6bfde153677dda8021ffadf29d8f7)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:22:00 +01:00
Bruce Ashfield
26d583a063 linux-yocto/5.4: update to v5.4.34
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    6ccc74c083c0 Linux 5.4.34
    b538aacc9400 x86/microcode/AMD: Increase microcode PATCH_MAX_SIZE
    856a74fd7e61 scsi: target: fix hang when multiple threads try to destroy the same iscsi session
    992e469b4c44 scsi: target: remove boilerplate code
    4b3380e007b2 x86/resctrl: Fix invalid attempt at removing the default resource group
    3652782e3a87 x86/resctrl: Preserve CDP enable over CPU hotplug
    6b5e8e7cbe24 irqchip/ti-sci-inta: Fix processing of masked irqs
    9d2759006e29 ext4: do not zeroout extents beyond i_disksize
    653b42530952 i2c: designware: platdrv: Remove DPM_FLAG_SMART_SUSPEND flag on BYT and CHT
    e2b80bf26956 drm/amdgpu: fix the hw hang during perform system reboot and reset
    251f13126e23 drm/amd/powerplay: force the trim of the mclk dpm_levels if OD is enabled
    eecd70c77ff3 net/mlx5e: Use preactivate hook to set the indirection table
    57f578bce415 net/mlx5e: Rename hw_modify to preactivate
    67284c11399f net/mlx5e: Encapsulate updating netdev queues into a function
    cae385538886 mac80211_hwsim: Use kstrndup() in place of kasprintf()
    a8ce3412e8a2 mac80211: fix race in ieee80211_register_hw()
    21350f28b226 nl80211: fix NL80211_ATTR_FTM_RESPONDER policy
    aa5b11bb333c btrfs: check commit root generation in should_ignore_root
    0026e356e51a tracing: Fix the race between registering 'snapshot' event trigger and triggering 'snapshot' operation
    a0aaafe7ce4b keys: Fix proc_keys_next to increase position index
    f32a339e0321 arm64: vdso: don't free unallocated pages
    5209e5f05bf2 ALSA: usb-audio: Check mapping at creating connector controls, too
    250db0305392 ALSA: usb-audio: Don't create jack controls for PCM terminals
    aae6e154680f ALSA: usb-audio: Don't override ignore_ctl_error value from the map
    9acfd1ac016a ALSA: usb-audio: Filter error from connector kctl ops, too
    0eb7bcf3ad32 ALSA: hda/realtek - Enable the headset mic on Asus FX505DT
    549a48900d8e ASoC: Intel: mrfld: return error codes when an error occurs
    86ec55651fd2 ASoC: Intel: mrfld: fix incorrect check on p->sink
    538b623fed6d usb: dwc3: gadget: Don't clear flags before transfer ended
    3bffb20603cd arm64: dts: librem5-devkit: add a vbus supply to usb0
    3a8dc1e91561 ARM: dts: imx7-colibri: fix muxing of usbc_det pin
    c2c5d07090d4 clk: at91: usb: use proper usbs_mask
    90c1f740ddf8 clk: at91: sam9x60: fix usb clock parents
    c874d9d116d8 ext4: fix incorrect inodes per group in error message
    dd7b410c9b01 ext4: fix incorrect group count in ext4_fill_super error message
    44c70ed66c93 net/bpfilter: remove superfluous testing message
    229563dc6b04 pwm: pca9685: Fix PWM/GPIO inter-operation
    0a4c06f0db06 perf report: Fix no branch type statistics report issue
    4542e583e2b8 acpi/nfit: improve bounds checking for 'func'
    5815a5d70def jbd2: improve comments about freeing data buffers whose page mapping is NULL
    8078d3af4af7 platform/chrome: cros_ec_rpmsg: Fix race with host event
    777c8c9f11a8 scsi: ufs: Fix ufshcd_hold() caused scheduling while atomic
    66458aa271b0 ovl: fix value of i_ino for lower hardlink corner case
    c85a7109f905 Revert "ACPI: EC: Do not clear boot_ec_is_ecdt in acpi_ec_add()"
    4f2fb2a1990a net: stmmac: dwmac-sunxi: Provide TX and RX fifo sizes
    a06a51d59292 net/mlx5e: Fix pfnum in devlink port attribute
    e25122586403 net/mlx5e: Fix nest_level for vlan pop action
    cb8892f52ec9 net/mlx5e: Add missing release firmware call
    34310505d404 net/mlx5: Fix frequent ioread PCI access during recovery
    1ff0732cf805 net: ethernet: mediatek: move mt7623 settings out off the mt7530
    f749a8bfdd38 net: dsa: mt7530: move mt7623 settings out off the mt7530
    bb54dcca3fb5 net: tun: record RX queue in skb before do_xdp_generic()
    f6b264f2a04c net: revert default NAPI poll timeout to 2 jiffies
    61260486790e net: qrtr: send msgs from local of same id as broadcast
    81dc4e9bff98 net: phy: micrel: use genphy_read_status for KSZ9131
    a9a851f0ec67 net: ipv6: do not consider routes via gateways for anycast address check
    22e56cb2f951 net: ipv4: devinet: Fix crash when add/del multicast IP with autojoin
    3ca854743110 net: dsa: mt7530: fix tagged frames pass-through in VLAN-unaware mode
    016e3531d5c1 l2tp: Allow management of tunnels and session in user namespace
    22ea267a9cd6 hsr: check protocol version in hsr_newlink()
    ced57064a085 amd-xgbe: Use __napi_schedule() in BH context
    dc4059d21d87 Linux 5.4.33
    484cc15ad00f scsi: lpfc: fix inlining of lpfc_sli4_cleanup_poll_list()
    8dead2c275e4 ASoC: stm32: sai: Add missing cleanup
    aed5ee6befcc efi/x86: Fix the deletion of variables in mixed mode
    0c839eee166a mfd: dln2: Fix sanity checking for endpoints
    b70eb420e96d bpf: Fix tnum constraints for 32-bit comparisons
    26711cc7e064 mmc: sdhci: Refactor sdhci_set_timeout()
    56a296657e4b mmc: sdhci: Convert sdhci_set_timeout_irq() to non-static
    c1f3e1d8d7e6 powerpc/kasan: Fix kasan_remap_early_shadow_ro()
    36b0b1f63994 drm/i915/icl+: Don't enable DDI IO power on a TypeC port in TBT mode
    bdac1d76a310 drm/amdgpu: fix gfx hang during suspend with video playback (v2)
    d1bbdf003c05 drm/dp_mst: Fix clearing payload state on topology disable
    7676e69c67e3 Revert "drm/dp_mst: Remove VCPI while disabling topology mgr"
    ba74ab0c29fc scsi: lpfc: Fix broken Credit Recovery after driver load
    33ebae4f3ba6 scsi: lpfc: Fix configuration of BB credit recovery in service parameters
    037b0b5521a4 scsi: lpfc: Fix Fabric hostname registration if system hostname changes
    f48e7593523e scsi: lpfc: Add registration for CPU Offline/Online events
    33344a7661a1 dm clone: Add missing casts to prevent overflows and data corruption
    2d7eb7ee36a3 dm clone: Fix handling of partial region discards
    dcf2f00b0869 dm clone: replace spin_lock_irqsave with spin_lock_irq
    fddfa591da8e dm zoned: remove duplicate nr_rnd_zones increase in dmz_init_zone()
    1ba26c2aedb4 arm64: Always force a branch protection mode when the compiler has one
    ba7581be850b powerpc: Make setjmp/longjmp signature standard
    3457b2232eaf scsi: mpt3sas: Fix kernel panic observed on soft HBA unplug
    e294f8a5ad31 powerpc/64: Prevent stack protection in early boot
    fc8755dc01d1 powerpc/kprobes: Ignore traps that happened in real mode
    ed6f6b2b39af powerpc/xive: Fix xmon support on the PowerNV platform
    1ab730b65946 powerpc/64: Setup a paca before parsing device tree etc.
    9240f83aa9c7 powerpc/xive: Use XIVE_BAD_IRQ instead of zero to catch non configured IPIs
    bd0fa144737c powerpc/hash64/devmap: Use H_PAGE_THP_HUGE when setting up huge devmap PTE entries
    81b9336ab20e powerpc/fsl_booke: Avoid creating duplicate tlb1 entry
    38aa7f32dfd8 powerpc/64/tm: Don't let userspace set regs->trap via sigreturn
    0abc07d23c51 xen/blkfront: fix memory allocation flags in blkfront_setup_indirect()
    5fdf01181cb8 ipmi: fix hung processes in __get_guid()
    d0b9bd4804a7 libata: Return correct status in sata_pmp_eh_recover_pm() when ATA_DFLAG_DETACH is set
    ec2c054e87a5 hfsplus: fix crash and filesystem corruption when deleting files
    af80e6f70f72 cpufreq: powernv: Fix use-after-free
    9cc4f52d34a2 kmod: make request_module() return an error when autoloading is disabled
    bf4fcd52742e clk: ingenic/TCU: Fix round_rate returning error
    9e8388fdf4de clk: ingenic/jz4770: Exit with error if CGU init failed
    7bcca67bdee8 ftrace/kprobe: Show the maxactive number on kprobe_events
    7dad5beb8dfd Input: i8042 - add Acer Aspire 5738z to nomux list
    efb9e9f723f5 s390/diag: fix display of diagnose call statistics
    453fb8b20db4 perf tools: Support Python 3.8+ in Makefile
    beb3ef51cfd8 ocfs2: no need try to truncate file beyond i_size
    47199f4b87eb fs/filesystems.c: downgrade user-reachable WARN_ONCE() to pr_warn_once()
    6772387e8201 ext4: fix a data race at inode->i_blocks
    699d2c4d667e NFS: Fix a page leak in nfs_destroy_unlinked_subrequests()
    6b64cbd05807 NFS: Fix use-after-free issues in nfs_pageio_add_request()
    98a817eda5bc nfsd: fsnotify on rmdir under nfsd/clients/
    27993365c009 powerpc/pseries: Avoid NULL pointer dereference when drmem is unavailable
    4e4c6760fe03 drm/amdgpu: unify fw_write_wait for new gfx9 asics
    45bc323b8102 drm/amdgpu/powerplay: using the FCLK DPM table to set the MCLK
    fe0ec6f90e4d drm: Remove PageReserved manipulation from drm_pci_alloc
    b716a5f5ec65 drm/etnaviv: rework perfmon query infrastructure
    463a2dddb4f9 drm/i915/gem: Flush all the reloc_gpu batch
    cda1eda28f1d vfio: platform: Switch to platform_get_irq_optional()
    b5eec37a3b85 selftests/powerpc: Add tlbie_test in .gitignore
    e1ec78f93042 selftests/vm: fix map_hugetlb length used for testing read and write
    336b96a68170 selftests: vm: drop dependencies on page flags from mlock2 tests
    20a62e9073f3 arm64: armv8_deprecated: Fix undef_hook mask for thumb setend
    3d66a67f7310 arm64: dts: ti: k3-am65: Add clocks to dwc3 nodes
    9d971b0059a2 ARM: dts: exynos: Fix polarity of the LCD SPI bus on UniversalC210 board
    e5b9c1027ee8 scsi: lpfc: Fix lpfc_io_buf resource leak in lpfc_get_scsi_buf_s4 error path
    73a122c2636d scsi: ufs: fix Auto-Hibern8 error detection
    0ad68e6212ad scsi: zfcp: fix missing erp_lock in port recovery trigger for point-to-point
    8179a260313e crypto: ccree - dec auth tag size from cryptlen map
    9135cd1b0f64 crypto: ccree - only try to map auth tag if needed
    a86744642789 crypto: ccree - protect against empty or NULL scatterlists
    f3f13f979448 crypto: caam - update xts sector size for large input length
    bc8413b626dd crypto: caam/qi2 - fix chacha20 data size error
    07378b099139 xarray: Fix early termination of xas_for_each_marked
    8f4c8e92bdac XArray: Fix xas_pause for large multi-index entries
    a1ffc47f22a8 dm clone metadata: Fix return type of dm_clone_nr_of_hydrated_regions()
    996f8f1ba72a dm clone: Add overflow check for number of regions
    2e703059348d dm verity fec: fix memory leak in verity_fec_dtr
    833309f3fb51 dm integrity: fix a crash with unusually large tag size
    bef0d2f5fdcb dm writecache: add cond_resched to avoid CPU hangs
    5c84ab9c96d7 mm, memcg: do not high throttle allocators based on wraparound
    935e87b20c56 arm64: dts: allwinner: h5: Fix PMU compatible
    1dbfae009525 sched/core: Remove duplicate assignment in sched_tick_remote()
    8b068046321f arm64: dts: allwinner: h6: Fix PMU compatible
    27dbb3633809 net: qualcomm: rmnet: Allow configuration updates to existing devices
    add09c86cd3e tools: gpio: Fix out-of-tree build regression
    a0f079ac13be powerpc/pseries: Drop pointless static qualifier in vpa_debugfs_init()
    e0ae9da3fb2f mmc: sdhci-of-esdhc: fix esdhc_reset() for different controller versions
    7661469ef56e io_uring: honor original task RLIMIT_FSIZE
    a181a74610e6 erofs: correct the remaining shrink objects
    433868b19ce0 crypto: mxs-dcp - fix scatterlist linearization for hash
    248414f50596 crypto: rng - Fix a refcounting bug in crypto_rng_reset()
    6b936b1872ba remoteproc: Fix NULL pointer dereference in rproc_virtio_notify
    5b677eddc547 remoteproc: qcom_q6v5_mss: Reload the mba region on coredump
    241f681d19e1 remoteproc: qcom_q6v5_mss: Don't reassign mpss region on shutdown
    87a9058d5552 btrfs: use nofs allocations for running delayed items
    0425813c2279 btrfs: fix missing semaphore unlock in btrfs_sync_file
    08e69ab983da btrfs: unset reloc control if we fail to recover
    098d3da1ad30 btrfs: fix missing file extent item for hole after ranged fsync
    b436fbff6fca btrfs: drop block from cache on error in relocation
    dd68ba0d7355 btrfs: set update the uuid generation as soon as possible
    441b83a84208 btrfs: reloc: clean dirty subvols if we fail to start a transaction
    1bd44cada415 Btrfs: fix crash during unmount due to race with delayed inode workers
    941dabde6c1a btrfs: Don't submit any btree write bio if the fs has errors
    0297b7f9842e mtd: spinand: Do not erase the block before writing a bad block marker
    4da7c98c3081 mtd: spinand: Stop using spinand->oobbuf for buffering bad block markers
    c138ad0741fc CIFS: Fix bug which the return value by asynchronous read is error
    9b35348318d1 smb3: fix performance regression with setting mtime
    40888c31aca3 KVM: VMX: fix crash cleanup when KVM wasn't used
    93a2b7368862 KVM: VMX: Add a trampoline to fix VMREAD error handling
    771b9374a529 KVM: x86: Gracefully handle __vmalloc() failure during VM allocation
    455f37affe13 KVM: VMX: Always VMCLEAR in-use VMCSes during crash with kexec support
    bcd1d7462aba KVM: x86: Allocate new rmap and large page tracking when moving memslot
    0c7fb8c91c0f KVM: s390: vsie: Fix delivery of addressing exceptions
    654b70e84710 KVM: s390: vsie: Fix region 1 ASCE sanity shadow address checks
    2c5bfcda8791 KVM: nVMX: Properly handle userspace interrupt window request
    99a890ed7009 platform/x86: asus-wmi: Support laptops where the first battery is named BATT
    bd90b96e3486 x86/entry/32: Add missing ASM_CLAC to general_protection entry
    3dc06261a41f x86/tsc_msr: Make MSR derived TSC frequency more accurate
    41a7f842e312 x86/tsc_msr: Fix MSR_FSB_FREQ mask for Cherry Trail devices
    6c63cf15d066 x86/tsc_msr: Use named struct initializers
    5f2d04139aa5 signal: Extend exec_id to 64bits
    0a993df8d609 ath9k: Handle txpower changes even when TPC is disabled
    d941b33bdc68 PM: sleep: wakeup: Skip wakeup_source_sysfs_remove() if device is not there
    4fcbc35fab57 PM / Domains: Allow no domain-idle-states DT property in genpd when parsing
    5bd5307cd264 MIPS: OCTEON: irq: Fix potential NULL pointer dereference
    ed374eee8ce6 MIPS/tlbex: Fix LDDIR usage in setup_pw() for Loongson-3
    4acbbe98e06a pstore: pstore_ftrace_seq_next should increase position index
    38119a689766 io_uring: remove bogus RLIMIT_NOFILE check in file registration
    6124e10dbc4f irqchip/versatile-fpga: Apply clear-mask earlier
    3f3700c4697b genirq/debugfs: Add missing sanity checks to interrupt injection
    6ecc37daf64e cpu/hotplug: Ignore pm_wakeup_pending() for disable_nonboot_cpus()
    4b67e5afc2a0 KEYS: reaching the keys quotas correctly
    f7384f90ecc7 tpm: tpm2_bios_measurements_next should increase position index
    27544e1bdcc6 tpm: tpm1_bios_measurements_next should increase position index
    96e05bb57b40 tpm: Don't make log failures fatal
    524089fa70ef sched/fair: Fix enqueue_task_fair warning
    8b6f8619fc96 PCI: endpoint: Fix for concurrent memory allocation in OB address region
    96843346b201 PCI: qcom: Fix the fixup of PCI_VENDOR_ID_QCOM
    55b61a08bf86 PCI: Add boot interrupt quirk mechanism for Xeon chipsets
    72d52a779e99 PCI/ASPM: Clear the correct bits when enabling L1 substates
    463181e64f5f PCI: pciehp: Fix indefinite wait on sysfs requests
    c755ca32c8cd efi/x86: Add TPM related EFI tables to unencrypted mapping checks
    91bed1f1fb97 nvme-fc: Revert "add module to ops template to allow module references"
    0eb4d8b985be nvmet-tcp: fix maxh2cdata icresp parameter
    b3c7227ad4c6 thermal: devfreq_cooling: inline all stubs for CONFIG_DEVFREQ_THERMAL=n
    e7251a88d387 ACPI: PM: s2idle: Refine active GPEs check
    dd993e283bc3 ACPICA: Allow acpi_any_gpe_status_set() to skip one GPE
    1efd20ea57d4 acpi/x86: ignore unspecified bit positions in the ACPI global lock field
    52e6985f2c91 seccomp: Add missing compat_ioctl for notify
    15ae94fe2211 media: ti-vpe: cal: fix a kernel oops when unloading module
    3a59d985ceb1 media: ti-vpe: cal: fix disable_irqs to only the intended target
    46b0e2900ee2 media: hantro: Read be32 words starting at every fourth byte
    7ac962c5b730 media: venus: firmware: Ignore secure call error on first resume
    be9956bac91a ALSA: hda/realtek - Add quirk for MSI GL63
    09e7b678f3e0 ALSA: hda/realtek - Add quirk for Lenovo Carbon X1 8th gen
    f5462668ad94 ALSA: hda/realtek - Remove now-unnecessary XPS 13 headphone noise fixups
    a92931dea6b1 ALSA: hda/realtek - Set principled PC Beep configuration for ALC256
    0f18192b6924 ALSA: doc: Document PC Beep Hidden Register on Realtek ALC256
    3e7167475236 ALSA: hda/realtek - a fake key event is triggered by running shutup
    faea94956333 ALSA: hda/realtek: Enable mute LED on an HP system
    1dfcd70d1fcc ALSA: pcm: oss: Fix regression by buffer overflow fix
    e3ab9c5540e3 ALSA: ice1724: Fix invalid access for enumerated ctl items
    6a9ba565b41f ALSA: hda: Fix potential access overflow in beep helper
    f4f0a1f017e0 ALSA: hda: Add driver blacklist
    1ee0023c340e ALSA: usb-audio: Add mixer workaround for TRX40 and co
    78a92756fc2c usb: gadget: composite: Inform controller driver of self-powered
    a385ebdaa4dc usb: gadget: f_fs: Fix use after free issue as part of queue failure
    9a8b1ba9d41f ASoC: topology: use name_prefix for new kcontrol
    f467e054c03f ASoC: dpcm: allow start or stop during pause for backend
    af0b76f9f632 ASoC: dapm: connect virtual mux with default value
    803db8a07868 ASoC: fix regwmask
    acec0e9a916a btrfs: track reloc roots based on their commit root bytenr
    9632851a5326 btrfs: restart relocate_tree_blocks properly
    ddc25a38ab36 btrfs: remove a BUG_ON() from merge_reloc_roots()
    679885143c04 btrfs: qgroup: ensure qgroup_rescan_running is only set when the worker is at least queued
    b37de1b1e882 block, bfq: fix use-after-free in bfq_idle_slice_timer_body
    bd9afea9bde7 locking/lockdep: Avoid recursion in lockdep_count_{for,back}ward_deps()
    b9da72cb7019 spi: spi-fsl-dspi: Replace interruptible wait queue with a simple completion
    64a97384d4f4 firmware: fix a double abort case with fw_load_sysfs_fallback
    2d29a61a14fa md: check arrays is suspended in mddev_detach before call quiesce operations
    6420b2e5fa66 irqchip/gic-v4: Provide irq_retrigger to avoid circular locking dependency
    80e85ab88b3f usb: dwc3: core: add support for disabling SS instances in park mode
    b6257832dd45 media: i2c: ov5695: Fix power on and off sequences
    510b4e069508 block: Fix use-after-free issue accessing struct io_cq
    b9d5ced37ac7 genirq/irqdomain: Check pointer in irq_domain_alloc_irqs_hierarchy()
    bceda1dd4716 efi/x86: Ignore the memory attributes table on i386
    fc427b7a0266 x86/boot: Use unsigned comparison for addresses
    f6bb3ea812f0 cpufreq: imx6q: fix error handling
    c5bcaacd0640 gfs2: Don't demote a glock until its revokes are written
    46bbc5526dd7 gfs2: Do log_flush in gfs2_ail_empty_gl even if ail list is empty
    aa547b9dc20f pstore/platform: fix potential mem leak if pstore_init_fs failed
    347f091094ab libata: Remove extra scsi_host_put() in ata_scsi_add_hosts()
    288761c9f0a2 media: i2c: video-i2c: fix build errors due to 'imply hwmon'
    fb80a18584a4 block, bfq: move forward the getting of an extra ref in bfq_bfqq_move
    d1d846fb02a8 PCI/switchtec: Fix init_completion race condition with poll_wait()
    75434bcc6593 selftests/x86/ptrace_syscall_32: Fix no-vDSO segfault
    dd39eadc71d4 sched: Avoid scale real weight down to zero
    f7557078e16e media: allegro: fix type of gop_length in channel_create message
    2902207377f8 time/sched_clock: Expire timer in hardirq context
    3f755f5233a2 irqchip/versatile-fpga: Handle chained IRQs properly
    c8b81c33c5cb debugfs: Check module state before warning in {full/open}_proxy_open()
    fd66df97dce9 block: keep bdi->io_pages in sync with max_sectors_kb for stacked devices
    e88ee287fd82 dma-mapping: Fix dma_pgprot() for unencrypted coherent pages
    aa04e8d359d7 x86: Don't let pgprot_modify() change the page encryption bit
    ce7a61a0d57d ACPI: EC: Do not clear boot_ec_is_ecdt in acpi_ec_add()
    99e20a79d215 xhci: bail out early if driver can't accress host in resume
    61ed3dcad80c media: imx: imx7-media-csi: Fix video field handling
    dd051f1af594 media: imx: imx7_mipi_csis: Power off the source when stopping streaming
    502b83e73e35 null_blk: fix spurious IO errors after failed past-wp access
    38c1299f8c5c null_blk: Handle null_add_dev() failures properly
    becd9a906657 null_blk: Fix the null_add_dev() error path
    f9ee512dd913 firmware: arm_sdei: fix double-lock on hibernate with shared events
    7bf2c31ba0bb media: venus: hfi_parser: Ignore HEVC encoding for V1
    0d3d868b34af staging: wilc1000: avoid double unlocking of 'wilc->hif_cs' mutex
    d5bc44e6b0d4 cpufreq: imx6q: Fixes unwanted cpu overclocking on i.MX6ULL
    33dbe5867c39 media: rc: add keymap for Videostrong KII Pro
    a5ef462303e0 i2c: pca-platform: Use platform_irq_get_optional
    54d09aab81aa i2c: st: fix missing struct parameter description
    28f5b6ee1c2f qlcnic: Fix bad kzalloc null test
    d7f6f2b0be09 cfg80211: Do not warn on same channel at the end of CSA
    068168461e68 drm/scheduler: fix rare NULL ptr race
    f5429ec64f4f cxgb4/ptp: pass the sign of offset delta in FW CMD
    d2037f68ae03 selftests/net: add definition for SOL_DCCP to fix compilation errors for old libc
    9a3f55fc0f46 hinic: fix wrong value of MIN_SKB_LEN
    a8f9fe793001 hinic: fix wrong para of wait_for_completion_timeout
    243ebc24e01c hinic: fix out-of-order excution in arm cpu
    5edd115ba09e hinic: fix the bug of clearing event queue
    d63fac896335 hinic: fix a bug of waitting for IO stopped
    ad4ad8253f89 net: vxge: fix wrong __VA_ARGS__ usage
    b9c961998565 net: stmmac: platform: Fix misleading interrupt error msg
    f96f2c885eda rxrpc: Fix call interruptibility handling
    f8da7f442861 rxrpc: Abstract out the calculation of whether there's Tx space
    96860db5c09f soc: fsl: dpio: register dpio irq handlers after dpio create
    10e15e1b9297 Input: tm2-touchkey - add support for Coreriver TC360 variant
    ed1c4d2ca9da iwlwifi: mvm: Fix rate scale NSS configuration
    fd29a0242f86 bpf: Fix deadlock with rq_lock in bpf_send_signal()
    5c234312e805 ARM: dts: Fix dm814x Ethernet by changing to use rgmii-id mode
    d04ffa50f901 bus: sunxi-rsb: Return correct data when mixing 16-bit and 8-bit reads
    7092cc4590c0 ARM: dts: sun8i-a83t-tbs-a711: HM5065 doesn't like such a high voltage

(From OE-Core rev: a1353cc9236d28c9a985f6e01adddb8d363b23a3)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:55 +01:00
Joshua Watt
ee90d314bb jquery: Upgrade 3.4.1 -> 3.5.0
(From OE-Core rev: d0f883c4cbdcf722767b437a69002244be4cf8d9)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:55 +01:00
Peter Kjellerstedt
a197c96039 libdnf: Use single-quotes around string literals used in SQL statements
If sqlite is built with -DSQLITE_DQS=0 in accordance with
https://sqlite.org/quirks.html#dblquote, migration to version 1.2 of the
history database would fail with:

  History database cannot be created: .../var/lib/dnf/history.sqlite.
  Error: SQLite error on ":memory:": Executing an SQL statement failed:
  no such column: 1.2

(From OE-Core rev: 61d34df201cf6498854fa9258c320437b97071a4)

Signed-off-by: Peter Kjellerstedt <pkj@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:55 +01:00
Richard Purdie
e568c8ec2a utils: Drop is_machine_specific()/machine_paths()
There appear to be no users of these in OE-Core and their functionality
is questionable at best too. Probably safest to remove them entirely
at this point.

(From OE-Core rev: 03c5cfd7611c88ce82d16619a49e3ea9fa7385d8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:55 +01:00
Richard Purdie
2457c6c886 utils: Drop FILESPATHPKG usage
Nothing in OE-Core uses this and its been deprecated for some time. Remove
the last reference to it.

(From OE-Core rev: 5b27c2f58fa45a55199c08ef219e3b41a09d2fe4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:55 +01:00
Alexander Kanavin
7ad8d67b1d gcr: update to 3.36.0
Convert to meson build.

(From OE-Core rev: 0d5f86e021fe25cec258e3b8bb87cc45c8631cf7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:54 +01:00
Alexander Kanavin
08b9f9fe50 xkeyboard-config: update to 2.29
(From OE-Core rev: 430fccaf952e4e327d8f8898e83a1db3019ffd47)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:54 +01:00
Alexander Kanavin
576da5a88e connman: update to 1.38
Drop a patch merged upstream.

(From OE-Core rev: ce2948af5293258a69a9cfefba9e883cefecac87)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:54 +01:00
Alexander Kanavin
2345bdf571 libnotify: update to 0.7.9
Convert to meson build, disable manpages as I couldn't figure
out what is needed exactly to build them.

(From OE-Core rev: a31ee18338513a36ad82761506c40fdfca056119)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:54 +01:00
Alexander Kanavin
d753920854 vte: update to 0.60.2
(From OE-Core rev: 72e97bac4e3e851803302631870c08418ab57b62)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:54 +01:00
Alexander Kanavin
a9be35d7c2 wpe: update to 1.6.0
(From OE-Core rev: c67ff709d00058ba9eb0a1b80e1dd516101368be)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:54 +01:00
Alexander Kanavin
8041bc55f4 diffoscope: update to 143
(From OE-Core rev: b318cc76f84bf90687a8a603a8fb1e3d3a6803b0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:54 +01:00
Alexander Kanavin
9f52f5b735 clutter-1.0: update to 1.26.4
(From OE-Core rev: 95731de05ae637470341ab39eb0f38487798e949)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:54 +01:00
Alexander Kanavin
e7037b93d4 gptfdisk: update to 1.0.5
Add a patch to correctly include curses header.

(From OE-Core rev: 99078a950877787704ea92d4557cb8e0ab3827fe)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:54 +01:00
Alexander Kanavin
d22f00e5a4 glib-networking: update to 2.64.2
(From OE-Core rev: 4f180c87b5de98e743678513771f6d4aa92de9db)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:54 +01:00
Alexander Kanavin
e2e161170e glib-2.0: update 2.62.4 -> 2.64.2
Add a couple of missing ptest dependencies.

Drop backports.

(From OE-Core rev: 8c2d45680ad0d8b2ab5bc7f78579fc82b04e6134)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 13:19:54 +01:00
Bruce Ashfield
631b222117 linux-yocto-dev: bump to v5.7-rc
(From OE-Core rev: fb7e7c34d346a7095ae0644683ebae2d0f450e49)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 08:49:41 +01:00
Bruce Ashfield
e37c3f45ed linux-yocto/5.4: update to v5.4.32
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    bc844d58f697 Linux 5.4.32
    ad5676629a12 iommu/vt-d: Allow devices with RMRRs to use identity domain
    04ad505eed58 drm/i915: Fix ref->mutex deadlock in i915_active_wait()
    047affa0ef00 fbcon: fix null-ptr-deref in fbcon_switch
    d4083258db04 blk-mq: Keep set->nr_hw_queues and set->map[].nr_queues in sync
    d020ff5060a4 RDMA/cm: Update num_paths in cma_resolve_iboe_route error flow
    b40f1ae359f2 Bluetooth: RFCOMM: fix ODEBUG bug in rfcomm_dev_ioctl
    7f5432c2f446 RDMA/siw: Fix passive connection establishment
    09583e3f0402 RDMA/cma: Teach lockdep about the order of rtnl and lock
    51795bcf595d RDMA/ucma: Put a lock around every call to the rdma_cm layer
    ab6ee4330288 include/uapi/linux/swab.h: fix userspace breakage, use __BITS_PER_LONG for swap
    193490dbe5ba ceph: canonicalize server path in place
    56385788f7f6 ceph: remove the extra slashes in the server path
    7dafb2c6fb46 ARM: imx: only select ARM_ERRATA_814220 for ARMv7-A
    cf7005662673 ARM: imx: Enable ARM_ERRATA_814220 for i.MX6UL and i.MX7D
    4ac80b02f10d IB/mlx5: Replace tunnel mpls capability bits for tunnel_offloads
    ccc2b645de20 IB/hfi1: Fix memory leaks in sysfs registration and unregistration
    cd38d8b231f1 IB/hfi1: Call kobject_put() when kobject_init_and_add() fails
    9351dee1cc24 ASoC: jz4740-i2s: Fix divider written at incorrect offset in register
    e30a21c6fea5 platform/x86: intel_int0002_vgpio: Use acpi_register_wakeup_handler()
    9da847d65f37 ACPI: PM: Add acpi_[un]register_wakeup_handler()
    41a0cfa05c05 hwrng: imx-rngc - fix an error path
    dfa210cf9f94 tools/accounting/getdelays.c: fix netlink attribute length
    ea84a26ab633 slub: improve bit diffusion for freelist ptr obfuscation
    8b0f08036659 uapi: rename ext2_swab() to swab() and share globally in swab.h
    94d2d84bcafa usb: dwc3: gadget: Wrap around when skip TRBs
    170f88a47b9f random: always use batched entropy for get_random_u{32,64}
    5e331978200e s390: prevent leaking kernel address in BEAR
    74107d56d1e8 r8169: change back SG and TSO to be disabled by default
    5249653d971d mlxsw: spectrum_flower: Do not stop at FLOW_ACTION_VLAN_MANGLE
    671331c11c39 tun: Don't put_page() for all negative return values from XDP program
    fdb6a094ba41 slcan: Don't transmit uninitialized stack data in padding
    feed32e3d6fe net: stmmac: dwmac1000: fix out-of-bounds mac address reg setting
    049b9fa3ef65 net_sched: fix a missing refcnt in tcindex_init()
    1891d57f89aa net_sched: add a temporary refcnt for struct tcindex_data
    1189ba9eedac net: phy: micrel: kszphy_resume(): add delay after genphy_resume() before accessing PHY registers
    7d3d99f579e8 net: dsa: mt7530: fix null pointer dereferencing in port5 setup
    bce7ce18bd18 net: dsa: bcm_sf2: Ensure correct sub-node is parsed
    040f7a27583f net: dsa: bcm_sf2: Do not register slave MDIO bus with OF
    bbbdd7956bab ipv6: don't auto-add link-local address to lag ports
    77cf80793692 cxgb4: fix MPS index overwrite when setting MAC address
    3fcd53b1d859 net: phy: realtek: fix handling of RTL8105e-integrated PHY
    de850633a01f Linux 5.4.31
    c3f87e03f90f mm: mempolicy: require at least one nodeid for MPOL_PREFERRED
    c3d4e6fc4b37 padata: always acquire cpu_hotplug_lock before pinst->lock
    238112fcf391 net: Fix Tx hash bound checking
    15ee8da79ee3 i2c: i801: Do not add ICH_RES_IO_SMI for the iTCO_wdt device
    079c8da9e5ac watchdog: iTCO_wdt: Make ICH_RES_IO_SMI optional
    b42afa3475bf watchdog: iTCO_wdt: Export vendorsupport
    4ebd16641797 tcp: fix TFO SYNACK undo to avoid double-timestamp-undo
    a6b1820d3330 IB/hfi1: Ensure pq is not left on waitlist
    c4168080f1d4 rxrpc: Fix sendmsg(MSG_WAITALL) handling
    be8a3aecd21a iwlwifi: dbg: don't abort if sending DBGC_SUSPEND_RESUME fails
    b4190809a17b iwlwifi: yoyo: don't add TLV offset when reading FIFOs
    00e332e42bbe iwlwifi: consider HE capability when setting LDPC
    5f843cb77142 net/mlx5e: kTLS, Fix wrong value in record tracker enum
    ea26f82a0422 soc: mediatek: knows_txdone needs to be set in Mediatek CMDQ helper
    f6c8f128856b ALSA: hda/ca0132 - Add Recon3Di quirk to handle integrated sound on EVGA X99 Classified motherboard
    2892100bc85a Revert "dm: always call blk_queue_split() in dm_process_bio()"
    7c6ae8ae0ac5 power: supply: axp288_charger: Add special handling for HP Pavilion x2 10
    899c38d93000 extcon: axp288: Add wakeup support
    4d60b72514c2 nvmem: check for NULL reg_read and reg_write before dereferencing
    98b32db072e9 mei: me: add cedar fork device ids
    1843cba24aef coresight: do not use the BIT() macro in the UAPI header
    b5212116392e PCI: sysfs: Revert "rescan" file renames
    aa98c16a5b7c misc: pci_endpoint_test: Avoid using module parameter to determine irqtype
    a5d697c1e92d misc: pci_endpoint_test: Fix to support > 10 pci-endpoint-test devices
    82f6c72e5d4d misc: rtsx: set correct pcr_ops for rts522A
    cec4be18d136 brcmfmac: abort and release host after error
    625b940a28e0 padata: fix uninitialized return value in padata_replace()
    16696ee7b581 XArray: Fix xa_find_next for large multi-index entries
    4eb33cb9b566 net/mlx5e: kTLS, Fix TCP seq off-by-1 issue in TX resync flow
    8792e1ac5f48 tools/power turbostat: Fix 32-bit capabilities warning
    09116eeea6a5 tools/power turbostat: Fix missing SYS_LPI counter on some Chromebooks
    0ba0ce3cbb86 tools/power turbostat: Fix gcc build warnings
    7ebc1e53a46b drm/amdgpu: fix typo for vcn1 idle check
    d2faee42f9e7 initramfs: restore default compression behavior
    4a8ba74c1c64 drm/bochs: downgrade pci_request_region failure from error to warning
    f8abcff4fd0d drm/amd/display: Add link_rate quirk for Apple 15" MBP 2017
    205b5f80c74f kconfig: introduce m32-flag and m64-flag
    91358d0f36fa nvme-rdma: Avoid double freeing of async event data
    ad13e142e024 Linux 5.4.30
    9e62b6673d14 arm64: dts: ls1046ardb: set RGMII interfaces to RGMII_ID mode
    c399a50ae878 arm64: dts: ls1043a-rdb: correct RGMII delay mode to rgmii-id
    5aa29219206a ARM: dts: sun8i: r40: Move AHCI device node based on address order
    8f1199341837 ARM: dts: N900: fix onenand timings
    89ecba47b391 ARM: dts: imx6: phycore-som: fix arm and soc minimum voltage
    bb4ec20d1687 ARM: bcm2835-rpi-zero-w: Add missing pinctrl name
    e58eb564e1fc ARM: dts: oxnas: Fix clear-mask property
    a1081413e834 perf map: Fix off by one in strncpy() size argument
    451bf4d9592a arm64: alternative: fix build with clang integrated assembler
    693860e79552 libceph: fix alloc_msg_with_page_vector() memory leaks
    61bbc823a17a clk: ti: am43xx: Fix clock parent for RTC clock
    b2efabe3f88c clk: imx: Align imx sc clock parent msg structs to 4
    4a3c7e1c807f clk: imx: Align imx sc clock msg structs to 4
    08479b1391cb net: ks8851-ml: Fix IO operations, again
    62465fd66323 gpiolib: acpi: Add quirk to ignore EC wakeups on HP x2 10 CHT + AXP288 model
    877f28596da2 bpf: Explicitly memset some bpf info structures declared on the stack
    e92528a8984e bpf: Explicitly memset the bpf_attr structure
    d3e215554a6c platform/x86: pmc_atom: Add Lex 2I385SW to critclk_systems DMI table
    3f4ba176c623 vt: vt_ioctl: fix use-after-free in vt_in_use()
    acf0e9401931 vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console
    d1b6ab26c850 vt: vt_ioctl: remove unnecessary console allocation checks
    c897e625f94b vt: switch vt_dont_switch to bool
    e7244ce86ceb vt: ioctl, switch VT_IS_IN_USE and VT_BUSY to inlines
    383c71b7314f vt: selection, introduce vc_is_sel
    125dd8c48b19 serial: sprd: Fix a dereference warning
    5b1bd4900fed mac80211: fix authentication with iwlwifi/mvm
    5863d2b27fb2 mac80211: Check port authorization in the ieee80211_tx_dequeue() case
    73fea3292b49 Linux 5.4.29
    f8c60f7a0051 net: Fix CONFIG_NET_CLS_ACT=n and CONFIG_NFT_FWD_NETDEV={y, m} build
    5f80d17c517d media: v4l2-core: fix a use-after-free bug of sd->devnode
    e7cd85f398cd media: xirlink_cit: add missing descriptor sanity checks
    4490085a9e2d media: stv06xx: add missing descriptor sanity checks
    d111431a4420 media: dib0700: fix rc endpoint lookup
    e4af1cf37b90 media: ov519: add missing endpoint sanity checks
    b25af84517de libfs: fix infoleak in simple_attr_read()
    dcf2d659add5 ahci: Add Intel Comet Lake H RAID PCI ID
    89d4acabb2f6 staging: wlan-ng: fix use-after-free Read in hfa384x_usbin_callback
    c44ea4fe738b staging: wlan-ng: fix ODEBUG bug in prism2sta_disconnect_usb
    0ec1ab1b15d2 staging: rtl8188eu: Add ASUS USB-N10 Nano B1 to device table
    fea3939c6ccc staging: kpc2000: prevent underflow in cpld_reconfigure()
    b958dea86c26 media: usbtv: fix control-message timeouts
    275316b63165 media: flexcop-usb: fix endpoint sanity check
    5102000134f4 usb: musb: fix crash with highmen PIO and usbmon
    f32219427ca1 USB: serial: io_edgeport: fix slab-out-of-bounds read in edge_interrupt_callback
    004b43fdfcf4 USB: cdc-acm: restore capability check order
    4003d59a00e2 USB: serial: option: add Wistron Neweb D19Q1
    d5fec27c54e7 USB: serial: option: add BroadMobi BM806U
    6eff944ff084 USB: serial: option: add support for ASKEY WWHC050
    8d62a8c7489a bpf: Undo incorrect __reg_bound_offset32 handling
    f23f37fe702f clocksource/drivers/hyper-v: Untangle stimers and timesync from clocksources
    791c420f4228 r8169: fix PHY driver check on platforms w/o module softdeps
    d8166d4b4203 vti6: Fix memory leak of skb if input policy check fails
    9c4f1506b477 ARM: dts: sun8i-a83t-tbs-a711: Fix USB OTG mode detection
    7f884cb145dc bpf, sockmap: Remove bucket->lock from sock_{hash|map}_free
    657559d632c2 bpf/btf: Fix BTF verification of enum members in struct/union
    188aae1f3d5f bpf: Initialize storage pointers to NULL to prevent freeing garbage pointer
    c68e1117f4e4 bpf, x32: Fix bug with JMP32 JSET BPF_X checking upper bits
    74617178d694 i2c: nvidia-gpu: Handle timeout correctly in gpu_i2c_check_status()
    6734a326cb13 netfilter: nft_fwd_netdev: allow to redirect to ifb via ingress
    5be3b97a1f18 netfilter: nft_fwd_netdev: validate family and chain type
    4e8bba9420e2 netfilter: flowtable: reload ip{v6}h in nf_flow_tuple_ip{v6}
    0bc1c7f6358c mac80211: set IEEE80211_TX_CTRL_PORT_CTRL_PROTO for nl80211 TX
    74fdc220e2f1 ieee80211: fix HE SPR size calculation
    eaca61f5f850 afs: Fix unpinned address list during probing
    455f5192a10d afs: Fix some tracing details
    c743855a0ebe afs: Fix client call Rx-phase signal handling
    21af83e17ffa xfrm: policy: Fix doulbe free in xfrm_policy_timer
    160c2ffa7016 xfrm: add the missing verify_sec_ctx_len check in xfrm_add_acquire
    a5c5cf6f24bb xfrm: fix uctx len check in verify_sec_ctx_len
    1b92d81d4cc2 RDMA/mlx5: Block delay drop to unprivileged users
    1babd2c979aa RDMA/mlx5: Fix access to wrong pointer while performing flush due to error
    9961c56955a4 RDMA/mlx5: Fix the number of hwcounters of a dynamic counter
    f8f90690df59 vti[6]: fix packet tx through bpf_redirect() in XinY cases
    c467570443bb xfrm: handle NETDEV_UNREGISTER for xfrm device
    86c7d38c2baf genirq: Fix reference leaks on irq affinity notifiers
    fe6010e47ddc afs: Fix handling of an abort from a service handler
    d9e974eea8f1 RDMA/core: Ensure security pkey modify is not lost
    768e582a9970 bpf: Fix cgroup ref leak in cgroup_bpf_inherit on out-of-memory
    0dcf81d2c12f gpiolib: acpi: Add quirk to ignore EC wakeups on HP x2 10 BYT + AXP288 model
    43d2a61ceb09 gpiolib: acpi: Rework honor_wakeup option into an ignore_wake option
    323a89bff42b gpiolib: acpi: Correct comment for HP x2 10 honor_wakeup quirk
    159aef18f05c mm: fork: fix kernel_stack memcg stats for various stack implementations
    cc5da743a456 mm/sparse: fix kernel crash with pfn_section_valid check
    238dd5ab0080 drivers/base/memory.c: indicate all memory blocks as removable
    da458bbfb6cf mm/swapfile.c: move inode_lock out of claim_swapfile
    33c8bc8aa7b2 mac80211: mark station unauthorized before key removal
    d6b1f3fc76c4 mac80211: drop data frames without key on encrypted links
    4a89bb3fca20 nl80211: fix NL80211_ATTR_CHANNEL_WIDTH attribute type
    b34e20c78f1c scsi: sd: Fix optimal I/O size for devices that change reported values
    35b34d264cb3 scripts/dtc: Remove redundant YYLOC global declaration
    683cf6637730 tools: Let O= makes handle a relative path with -C option
    2fe72de89cf7 rtlwifi: rtl8188ee: Fix regression due to commit d1d1a96bdb44
    a2d866c50a35 perf probe: Do not depend on dwfl_module_addrsym()
    5f2b792d3125 perf probe: Fix to delete multiple probe event
    94a4104bf10e x86/ioremap: Fix CONFIG_EFI=n build
    174da11b6474 ARM: dts: omap5: Add bus_dma_limit for L3 bus
    e41cd3b598ae ARM: dts: dra7: Add bus_dma_limit for L3 bus
    7cdaa5cd79ab ceph: fix memory leak in ceph_cleanup_snapid_map()
    ed24820d1b0c ceph: check POOL_FLAG_FULL/NEARFULL in addition to OSDMAP_FULL/NEARFULL
    44960e1c39d8 RDMA/mad: Do not crash if the rdma device does not have a umad interface
    34aa3d5b84d5 RDMA/nl: Do not permit empty devices names during RDMA_NLDEV_CMD_NEWLINK/SET
    9924d9fac61b gpiolib: Fix irq_disable() semantics
    10d5de234df4 RDMA/core: Fix missing error check on dev_set_name()
    b0a2af91cd78 IB/rdmavt: Free kernel completion queue when done
    99058b8beef5 Input: avoid BIT() macro usage in the serio.h UAPI header
    597d6fb4815c Input: synaptics - enable RMI on HP Envy 13-ad105ng
    381c88a6b948 Input: fix stale timestamp on key autorepeat events
    cd18a7f6a789 Input: raydium_i2c_ts - fix error codes in raydium_i2c_boot_trigger()
    d8f58a0f533a i2c: hix5hd2: add missed clk_disable_unprepare in remove
    65047f7538ba iwlwifi: mvm: fix non-ACPI function
    72a0cfeb513c iommu/vt-d: Populate debugfs if IOMMUs are detected
    cb17ed60ec39 iommu/vt-d: Fix debugfs register reads
    e5ea0d970f33 net: hns3: fix "tc qdisc del" failed issue
    24e72d55bc0b sxgbe: Fix off by one in samsung driver strncpy size arg
    753ea21f2ac3 dpaa_eth: Remove unnecessary boolean expression in dpaa_get_headroom
    27030150699b mac80211: Do not send mesh HWMP PREQ if HWMP is disabled
    5ecb28b15678 scsi: ipr: Fix softlockup when rescanning devices in petitboot
    ee3bc486643d s390/qeth: handle error when backing RX buffer
    8b6cccd9bd84 s390/qeth: don't reset default_out_queue
    f8de95a236f6 iommu/vt-d: Silence RCU-list debugging warnings
    957e6f437d02 drm/exynos: Fix cleanup of IOMMU related objects
    70e0a720038e drm/amdgpu: correct ROM_INDEX/DATA offset for VEGA20
    2e89e4e7f7e1 drm/amd/display: update soc bb for nv14
    8dab286ab527 fsl/fman: detect FMan erratum A050385
    406f1ac075fe arm64: dts: ls1043a: FMan erratum A050385
    c211a30c1846 dt-bindings: net: FMan erratum A050385
    b82e91ae6384 cgroup1: don't call release_agent when it is ""
    0cd633314661 drivers/of/of_mdio.c:fix of_mdiobus_register()
    dda4fca30906 cpupower: avoid multiple definition with gcc -fno-common
    7f9c2d71cfd3 nfs: add minor version to nfs_server_key for fscache
    b51274fabedc cgroup-v1: cgroup_pidlist_next should update position index
    74f554af848d net/mlx5e: Do not recover from a non-fatal syndrome
    f94d69e5f682 net/mlx5e: Fix ICOSQ recovery flow with Striding RQ
    bd81b9ba546a net/mlx5e: Fix missing reset of SW metadata in Striding RQ reset
    d8338b5f373a net/mlx5e: Enhance ICOSQ WQE info fields
    63a0fc3b0047 net/mlx5: DR, Fix postsend actions write length
    c3c9927d0a8f hsr: set .netnsok flag
    1a0fdef2d52d hsr: add restart routine into hsr_get_node_list()
    80aa1e38e16b hsr: use rcu_read_lock() in hsr_get_node_{list/status}()
    e4723e0a858e net: ip_gre: Accept IFLA_INFO_DATA-less configuration
    85aa84d3c587 net: ip_gre: Separate ERSPAN newlink / changelink callbacks
    62e3ffa4ea4e bnxt_en: Reset rings if ring reservation fails during open()
    0234e8ebb7f4 bnxt_en: Free context memory after disabling PCI in probe error path.
    797d6f91c399 bnxt_en: Return error if bnxt_alloc_ctx_mem() fails.
    ae4565168af3 bnxt_en: fix memory leaks in bnxt_dcbnl_ieee_getets()
    2ac37a531115 bnxt_en: Fix Priority Bytes and Packets counters in ethtool -S.
    53d0bf064c9f vxlan: check return value of gro_cells_init()
    a6ce82deba5c tcp: repair: fix TCP_QUEUE_SEQ implementation
    27cf5410a9e1 tcp: ensure skb->dev is NULL before leaving TCP stack
    c94b94626876 tcp: also NULL skb->dev when copy was needed
    49d2333f97f0 slcan: not call free_netdev before rtnl_unlock in slcan_open
    4cc2498b7ebb r8169: re-enable MSI on RTL8168c
    3428faf70c59 NFC: fdp: Fix a signedness bug in fdp_nci_send_patch()
    3d9cc478af25 net: stmmac: dwmac-rk: fix error path in rk_gmac_probe
    d23faf32e577 net_sched: keep alloc_hash updated after hash allocation
    5317abb870fe net_sched: hold rtnl lock in tcindex_partial_destroy_work()
    ff28c6195814 net_sched: cls_route: remove the right filter from hashtable
    a631b9668460 net/sched: act_ct: Fix leak of ct zone template on replace
    312805c93bf6 net: qmi_wwan: add support for ASKEY WWHC050
    522d2dc17967 net: phy: mdio-mux-bcm-iproc: check clk_prepare_enable() return value
    f806b9e84057 net: phy: mdio-bcm-unimac: Fix clock handling
    9fe154ee3fd5 net: phy: dp83867: w/a for fld detect threshold bootstrapping issue
    86137342fd4c net/packet: tpacket_rcv: avoid a producer race condition
    bb8c787be0e3 net: mvneta: Fix the case where the last poll did not process all rx
    a2a3baa29914 net: ena: Add PCI shutdown handler to allow safe kexec
    e586427a0abb net: dsa: tag_8021q: replace dsa_8021q_remove_header with __skb_vlan_pop
    0ec037c1353c net: dsa: mt7530: Change the LINK bit to reflect the link status
    60e975088be8 net: dsa: Fix duplicate frames flooded by learning
    7c6fe9b2af79 net: cbs: Fix software cbs to consider packet sending time
    712c39d9319a net/bpfilter: fix dprintf usage for /dev/kmsg
    85675064133e mlxsw: spectrum_mr: Fix list iteration in error path
    5a1a00f6ac32 mlxsw: pci: Only issue reset when system is ready
    6e75284e2480 macsec: restrict to ethernet devices
    51db2db8fe68 ipv4: fix a RCU-list lock in inet_dump_fib()
    b67aa57f4a9d hsr: fix general protection fault in hsr_addr_is_self()
    6fe31c7ce0ed geneve: move debug check after netdev unregister
    b5c9652ada33 cxgb4: fix Txq restart check during backpressure
    e92a0e7fba68 cxgb4: fix throughput drop during Tx backpressure
    b0ab8700283c ACPI: PM: s2idle: Rework ACPI events synchronization
    127882d10931 mmc: sdhci-tegra: Fix busy detection by enabling MMC_CAP_NEED_RSP_BUSY
    71d89344af0b mmc: sdhci-omap: Fix busy detection by enabling MMC_CAP_NEED_RSP_BUSY
    bf8b920f474e mmc: core: Respect MMC_CAP_NEED_RSP_BUSY for eMMC sleep command
    3b9b71adbec4 mmc: core: Respect MMC_CAP_NEED_RSP_BUSY for erase/trim/discard
    d9c4f387e22a mmc: core: Allow host controllers to require R1B for CMD6

(From OE-Core rev: 6c9f63925b1f6fa99e74ab0c3e31059736638ac9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 08:49:41 +01:00
Bruce Ashfield
2d16ab08be linux-yocto/5.4: update to v5.4.28
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    462afcd6e7ea Linux 5.4.28
    7b2cdbd67ff0 staging: greybus: loopback_test: fix potential path truncations
    8e79f440edb5 staging: greybus: loopback_test: fix potential path truncation
    58ffe6b0245e drm/bridge: dw-hdmi: fix AVI frame colorimetry
    c965a0299c61 nvmet-tcp: set MSG_MORE only if we actually have more to send
    d3eb4daa333f arm64: smp: fix crash_smp_send_stop() behaviour
    6080e0a9d107 arm64: smp: fix smp_send_stop() behaviour
    c61417fef99a ALSA: hda/realtek: Fix pop noise on ALC225
    163489b64361 futex: Unbreak futex hashing
    553d46b07dc4 futex: Fix inode life-time issue
    66f28e110565 x86/mm: split vmalloc_sync_all()
    9dfed456e1eb page-flags: fix a crash at SetPageError(THP_SWAP)
    32991c960d0b mm, slub: prevent kmalloc_node crashes and memory leaks
    623515739282 mm: slub: be more careful about the double cmpxchg of freelist
    8e709bbe41d6 epoll: fix possible lost wakeup on epoll_ctl() path
    69f434a05fb4 mm: do not allow MADV_PAGEOUT for CoW pages
    c3f54f0a68bf mm/hotplug: fix hot remove failure in SPARSEMEM|!VMEMMAP case
    61cfbcce9e09 mm, memcg: throttle allocators based on ancestral memory.high
    77c4bc4bf612 mm, memcg: fix corruption on 64-bit divisor in memory.high throttling
    ceca26903bd7 memcg: fix NULL pointer dereference in __mem_cgroup_usage_unregister_event
    2439259c32c8 stm class: sys-t: Fix the use of time_after()
    f7ef7a020f3b drm/lease: fix WARNING in idr_destroy
    b4e798cab8e9 drm/amd/amdgpu: Fix GPR read from debugfs (v2)
    eaa7fe20231a btrfs: fix log context list corruption after rename whiteout error
    039547fbd1e8 xhci: Do not open code __print_symbolic() in xhci trace events
    ac9d3279514c arm64: compat: Fix syscall number of compat_clock_getres
    70ca8a95df81 rtc: max8907: add missing select REGMAP_IRQ
    eba75a365f55 modpost: move the namespace field in Module.symvers last
    69a9b971406f intel_th: pci: Add Elkhart Lake CPU support
    3bdc0f68a170 intel_th: Fix user-visible error codes
    97097054a1f0 intel_th: msu: Fix the unexpected state warning
    07c70054ba24 staging/speakup: fix get_word non-space look-ahead
    35da67a8a50c staging: greybus: loopback_test: fix poll-mask build breakage
    fbe68a636982 staging: rtl8188eu: Add device id for MERCUSYS MW150US v2
    5f9579641df2 kbuild: Disable -Wpointer-to-enum-cast
    0f5be2f69e89 CIFS: fiemap: do not return EINVAL if get nothing
    48a9bc9534f3 mmc: sdhci-cadence: set SDHCI_QUIRK2_PRESET_VALUE_BROKEN for UniPhier
    8aafd5a0c63c mmc: sdhci-of-at91: fix cd-gpios for SAMA5D2
    0c4e0f0d2e51 mmc: rtsx_pci: Fix support for speed-modes that relies on tuning
    dbb328d1a87d iio: light: vcnl4000: update sampling periods for vcnl4040
    c3540b094edb iio: light: vcnl4000: update sampling periods for vcnl4200
    7ad22950caf5 iio: adc: at91-sama5d2_adc: fix differential channels in triggered mode
    4d71a4f76179 iio: adc: stm32-dfsdm: fix sleep in atomic context
    a79f53a2f5af iio: magnetometer: ak8974: Fix negative raw values in sysfs
    6387b4002357 iio: accel: adxl372: Set iio_chan BE
    3c69b794f96e iio: trigger: stm32-timer: disable master mode when stopping
    eb5f46b0cc55 iio: st_sensors: remap SMO8840 to LIS2DH12
    69399842e4a9 iio: chemical: sps30: fix missing triggered buffer dependency
    51d590fadc14 tty: fix compat TIOCGSERIAL checking wrong function ptr
    a754de70f6d6 tty: fix compat TIOCGSERIAL leaking uninitialized memory
    279cdccb6dc7 ALSA: pcm: oss: Remove WARNING from snd_pcm_plug_alloc() checks
    07ec940ceda5 ALSA: pcm: oss: Avoid plugin buffer overflow
    59e4624e664c ALSA: seq: oss: Fix running status after receiving sysex
    f439c2ece795 ALSA: seq: virmidi: Fix running status after receiving sysex
    e2f1c2d0b6db ALSA: hda/realtek - Enable the headset of Acer N50-600 with ALC662
    f0e819900968 ALSA: hda/realtek - Enable headset mic of Acer X2660G with ALC662
    2d994c9cefc4 ALSA: line6: Fix endless MIDI read loop
    64ab82cf614f USB: cdc-acm: fix rounding error in TIOCSSERIAL
    9ed83da8cd97 USB: cdc-acm: fix close_delay and closing_wait units in TIOCSSERIAL
    186b9564cf5e usb: typec: ucsi: displayport: Fix a potential race during registration
    ff1d876e9f4f usb: typec: ucsi: displayport: Fix NULL pointer dereference
    7b5aab752efc usb: xhci: apply XHCI_SUSPEND_DELAY to AMD XHCI controller 1022:145c
    6e1167db8d21 USB: serial: pl2303: add device-id for HP LD381
    ade2ca96e7a6 usb: host: xhci-plat: add a shutdown
    bace91138933 USB: serial: option: add ME910G1 ECM composition 0x110b
    2601053cafb4 usb: quirks: add NO_LPM quirk for RTL8153 based ethernet adapters
    d742e9874048 USB: Disable LPM on WD19's Realtek Hub
    712d9c2e92ea Revert "drm/fbdev: Fallback to non tiled mode if all tiles not present"
    c71986d18dea binderfs: use refcount for binder control devices too
    169bf660646a parse-maintainers: Mark as executable
    4db2f87e15c8 block, bfq: fix overwrite of bfq_group pointer in bfq_find_set_group()
    5d33ba6f385f xenbus: req->err should be updated before req->state
    7a79e217e3a5 xenbus: req->body should be updated before req->state
    25c3f96370a1 drm/amd/display: fix dcc swath size calculations on dcn1
    46c5b0d8dfbb drm/amd/display: Clear link settings on MST disable connector
    e53a333014a3 drm/amdgpu: clean wptr on wb when gpu recovery
    b557b2f00682 riscv: Fix range looking for kernel image memblock
    1c2106d2d9c1 riscv: Force flat memory model with no-mmu
    0bc9de1b1c1b spi: spi_register_controller(): free bus id on error paths
    af7dd05d7c8f ASoC: stm32: sai: manage rebind issue
    a3f349393eed riscv: avoid the PIC offset of static percpu data in module beyond 2G limits
    1804cdf99fdb dm integrity: use dm_bio_record and dm_bio_restore
    2e7e6de9ae38 dm bio record: save/restore bi_end_io and bi_integrity
    886a8fb13d0c altera-stapl: altera_get_note: prevent write beyond end of 'key'
    2c4e36033ace drivers/perf: arm_pmu_acpi: Fix incorrect checking of gicc pointer
    1002a094e066 drivers/perf: fsl_imx8_ddr: Correct the CLEAR bit definition
    0f6ae2cba3b8 drm/exynos: hdmi: don't leak enable HDMI_EN regulator if probe fails
    53138bea67b2 drm/exynos: dsi: fix workaround for the legacy clock name
    41f88dc1adcc drm/exynos: dsi: propagate error value and silence meaningless warning
    0c30297dddc0 spi/zynqmp: remove entry that causes a cs glitch
    b8ba4d74f9f3 spi: pxa2xx: Add CS control clock quirk
    416e1f433c70 ARM: dts: dra7: Add "dma-ranges" property to PCIe RC DT nodes
    74219d52d4e7 cifs: add missing mount option to /proc/mounts
    ddd8b3ed509a cifs: fix potential mismatch of UNC paths
    a7393e6f2ecf powerpc: Include .BTF section
    9eee3e21a59d spi: qup: call spi_qup_pm_resume_runtime before suspending
    1d4f214c8820 ARM: dts: dra7-l4: mark timer13-16 as pwm capable
    5f657e5303d3 phy: ti: gmii-sel: do not fail in case of gmii
    ee1245396b6e phy: ti: gmii-sel: fix set of copy-paste errors
    4d9020c3d802 drm/mediatek: Find the cursor plane instead of hard coding it
    61c895d0f726 spi: spi-omap2-mcspi: Support probe deferral for DMA channels
    f9f635c04769 locks: reinstate locks_delete_block optimization
    384e15fc4226 locks: fix a potential use-after-free problem when wakeup a waiter

(From OE-Core rev: 62e6b89c60d39853c3c55d9e49b868e4b2d2b0c9)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-05 08:49:41 +01:00
Khem Raj
a1b0fe98ce musl: Remove spurious unused patch
(From OE-Core rev: 26eb22191fc5c31698aec7a6cdee1038e6a468d9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Alexander Kanavin
f372ddb776 coreutils: update to 8.32
License-Update: copyright years, http changed to https
(From OE-Core rev: 6e1052d401da5a9fa7f535786d76e033a39bc30a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Alexander Kanavin
97216d023f mc: update to 4.8.24
(From OE-Core rev: 4177d4375300b94e4e7f9968cd8ecce044bbe5bd)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Vyacheslav Yurkov
4d98363d59 os-release: sanitize required fields
Currently only VERSION_ID field is sanitized, but os-release (5) has
more fields with the same requirement. Moreover, those fields come
unquoted in most distributions, because quotes are not needed for a
values without whitespaces.

(From OE-Core rev: f451c68667cca8a1883ceddb66dd2834b18252a8)

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Khem Raj
7d2814a2b0 dpkg: Add riscv32 CPU support
(From OE-Core rev: 6fef4583a6b578427ffd776d0ec1488649e924a7)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Sakib Sajal
b3f5f7f10a sqlite: backport CVE fixes
Fixes CVE-2020-11655 and CVE-2020-11656

(From OE-Core rev: 3b06a6c73f4e49c6d00f758423c2e8865ec2de00)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Andreas M?ller
62e8390e12 libsecret: upgrade 0.20.1 -> 0.20.3 / port to meson
>From [1]:

0.20.3
 * secret-file-backend: Fix use-after-free in flatpak [!52]
 * docs: Add man subdir only if manpage is enabled [!51]

>From [2]:

0.20.2
 * secret-file-collection: force little-endian in GVariant [!49, #42]
 * Prefer g_info() over g_message() [!48, #40]
 * meson: Don't specify shared_library() [!47]
 * docs: Make sure to set install: true [!46]

[1] http://ftp.gnome.org/pub/gnome/sources/libsecret/0.20/libsecret-0.20.3.news
[2] http://ftp.gnome.org/pub/gnome/sources/libsecret/0.20/libsecret-0.20.2.news

(From OE-Core rev: cea9dc5a2aa1d6c226b142f00db873df89a63b00)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Alexander Kanavin
d358729649 python3-dbusmock: add recipe from meta-oe
This is needed for glib ptests.

(From OE-Core rev: 6dbe449ac2ed7c93f71f00d53237c6aba4ebbf81)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Alexander Kanavin
4b4816514a libevdev: update to 1.9.0
(From OE-Core rev: 075ce9fdbac8c58696cf5a9718446f94352b6ce8)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Alexander Kanavin
db07280a75 python3-gitdb: update to 4.0.4
License-Update: text reformatting

(From OE-Core rev: 0bba7e2ee81dc2a143d1a29395289a94ac31a672)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Alexander Kanavin
6325198763 webkitgtk: update to 2.28.2
(From OE-Core rev: 684bd64a6e6fa088364194d06e2a59b276e3bd77)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Alexander Kanavin
a8a25ba59b ghostscript: update 9.50 -> 9.52
Drop all custom objarch.h files; ghostscript nowadays generates
that with autoconf.

Freetype can no longer be disabled.

Building out of source tree is broken.

(From OE-Core rev: bb699a99b2e99a868520430c614d55ea3004427c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Alexander Kanavin
972b270502 ghostscript: do not hardcode version in SRC_URI
(From OE-Core rev: e0d972a054e286d62ccf9e3ccc4ec00892198038)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:40 +01:00
Alexander Kanavin
2ed888f3e0 libxcb: update to 1.14
Drop a patch as the problem is fixed upstream.

(From OE-Core rev: bf4ef2e3b376744b16c2f57725104207d23c28c6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:39 +01:00
Alexander Kanavin
9bb49514ab xcb-proto: update to 1.14
(From OE-Core rev: 26d55e7612ecb1233131834a78afd3dcde1be320)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:39 +01:00
Alexander Kanavin
f3c3035976 kmscube: update to latest commit
Drop a mali-specific patch that was never ported to meson or accepted
upstream.

(From OE-Core rev: a4c04903be056ec289e67a3319e9941cb506d3fa)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:39 +01:00
Alexander Kanavin
dba033caf3 rt-tests: further exclusion of development versions
(From OE-Core rev: 8064c7548e0c8a22117054dfc49c5ca2610b9df7)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:39 +01:00
Alexander Kanavin
36c82447e2 logrotate: update to 3.16.0
(From OE-Core rev: a719c1bc44e47b34f70090f7c299b4d97650234c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:39 +01:00
Pierre-Jean Texier
3741e216d1 curl: support mqtt in PACKAGECONFIG
The version 7.70.0 of curl add experimental support for this
protocol.

So, add PACKAGECONFIG for mqtt.

See [1] for more informations.

[1] - https://github.com/curl/curl/blob/master/docs/MQTT.md

(From OE-Core rev: aaf4054cb9e2c73d34e6fab12bf140808b2612ac)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:39 +01:00
Pierre-Jean Texier
4d218720ae curl: upgrade 7.69.1 -> 7.70.0
See full changelog https://curl.haxx.se/changes.html#7_70_0

(From OE-Core rev: bbb2d451d6290d8ec312890fd5d3bc5c6d0e7468)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:39 +01:00
Benjamin Fair
c920ec0f8a util-linux: fix build error in kill
Backport patches from upstream to fix a build error in the kill utility.

Fixes:
| In file included from ../util-linux-2.35.1/misc-utils/kill.c:57:
| ../util-linux-2.35.1/include/pidfd-utils.h: In function ‘pidfd_open’:
| ../util-linux-2.35.1/include/pidfd-utils.h:19:17: error: ‘SYS_pidfd_open’ undeclared (first use in this function); did you mean ‘pidfd_open’?

(From OE-Core rev: 11876e819dae43d0ba3b9010e30e91c9501f3593)

Signed-off-by: Benjamin Fair <benjaminfair@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:39 +01:00
Tim Orling
946dd23c26 at-spi2-core: upgrade 2.34.0 -> 2.36.0
Fix source reproducibility patch merged upstream.
https://gitlab.gnome.org/GNOME/at-spi2-core/-/merge_requests/25.

Upstream release notes:
"""
What's new in at-spi2-core 2.35.92:

* bus-launcher: make session management more robust.

What's new in at-spi2-core 2.35.1:

* Fix source reproducibility (!25).

* Avoid depending on Meson 0.50 (#20).

* Add ATSPI_ROLE_MARK and ATSPI_ROLE_SUGGESTION (!27).
"""

(From OE-Core rev: dc0d7ddb395548992f87f0804e1736c7c28179d9)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:39 +01:00
Tim Orling
1644b5822b atk: upgrade 2.34.1 -> 2.36.0
Upstream release notes:

Changes in version 2.36
=========================

* New API
   * Added ATK_ROLE_MARK and ATK_ROLE_SUGGESTION
   * Add ATK_TEX_ATTR_TEXT_POSITION to the list of possible AtkText
     attributes (MR!33)

* Documentation
   * Updated documentation for atk_text_set_caret_offset (MR!18)

* Building - meson
   * Fix building atk as subproject
   * Add Meson wrap file for GLib (MR!37)

* Building - visual studio
   * Use -utf-8 if available (MR!38)

Contributors
   Luca Bacci, Joanmarie Diggs, Samuel Thibault

Translations

   Fran Dieguez (gl), Ryuta Fujii (ja), Daniel Korostil (uk), Jwtiyar
   Nariman (ckb), Umarzuki Bin Mochlis Moktar (ms)

Changes in version 2.35.1
=========================

* AtkComponent, AtkImage, AtkText: Make sure returned values are
  initialized to some known default value (MR!22, MR!24)

* AtkPlug
   * Add atk_plug_set_child (MR!27)

* AtkSocket
   * Make AtkSocket get_extents return parent extents by default (MR!23)
   * atk_socket_embed: make plug_id parameter const (MR!26)
   * Make AtkSocketClass (embed) use const for plug_id (MR!31)

* AtkText
   * Make atk_text_rectangle_union ignore undefined rectangles (MR!25)

* Documentation
   * Refine *_scroll_to_point documentation (MR!21)
   * Refine AtkScrollType documentation (MR!12)

Contributors
  Samuel Thibault

(From OE-Core rev: cf24d2a32f20338fcfbf4c612cd913d2ef3f821b)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:39 +01:00
Pierre-Jean Texier
b118ef3cec timezone: upgrade 2019c -> 2020a
See full changelog https://github.com/eggert/tz/blob/master/NEWS#L11

(From OE-Core rev: 9d74b048e3a160d7a9a20e85817e9eb3a558af63)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-03 15:41:39 +01:00
Richard Purdie
7a5cc8659e bitbake: bitdoc: Remove it
This script took a documentation.conf and generated an HTML index of
each of the variables. The data in the yocto-docs manuals is now far
superior to this. The script has bitrotted and doesn't run, hasn't for
some time and wasn't reported until recently.

Easiest is just to remove it as anyone would reimplement it quite
differently now.

The referenced bug does have a patch which cleans up the code but I
don't see value in keeping this around.

[YOCTO #13881]

(Bitbake rev: 0829af7090065c429ba558d06423c2e7e7e05e90)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 10:51:10 +01:00
Anibal Limon
81b8656f6b oeqa/runtime: Use libdir to run ptest-runner
In multilib build configs libs can be installed in /usr/lib{32,64,x32}
so use libdir to specify the correct ptest directory along with default
/usr/lib.

[YOCTO #12604]

(From OE-Core rev: e44ca998c27f494466a524d09f751f963ec9be20)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:53 +01:00
Anibal Limon
792d1ebba9 ptest-runner: Bump to 2.4.0
Add support for un ptests in multiple directories, useful in multilib
builds.

Changes,

1e9a845 Add support to specify multiple folder for ptest-runner
287ba30 Makefile: Fix TEST_LDFLAGS gcc cmdline position

[YOCTO #12604]

(From OE-Core rev: 1203ee86e3cf4d73f6ba513452717f1c4f78c501)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:53 +01:00
Bartłomiej Burdukiewicz
81054cf536 libva: removed opengl from REQUIRED_DISTRO_FEATURES.
Since libva can be built without virtual/mesa, opengl
requirement is only true for glx backend and it's
incorrect for wayland and x11 backends.

(From OE-Core rev: 47d32813a3fd67e75cddce255b40b43fb09e1497)

Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:53 +01:00
Bartłomiej Burdukiewicz
5dbea45519 libva: add PACKAGECONFIG and additonal rules for glx.
* glx PACKAGECONFIG by default is selected when x11 and opengl
flag is present in DISTRO_FEATURES.

* virtual/mesa is only required when glx driver is selected to
build.

(From OE-Core rev: 65b7b48cd6c7ec88da4dc8bcc3e93fe2703a8fef)

Signed-off-by: Bartłomiej Burdukiewicz <bartlomiej.burdukiewicz@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:53 +01:00
Wang Mingyu
e5204fe6db icu: CVE-2020-10531
security Advisory

References:
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10531

(From OE-Core rev: 1d5df7310ee119b71494f97ae86f0fa264ae3022)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:53 +01:00
Jan Luebbe
de438de820 openssl: upgrade 1.1.1f -> 1.1.1g
This also fixes CVE-2020-1967.

(From OE-Core rev: 8e0283e70b9977c9ac14cdab77907301405c3cee)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:53 +01:00
Mingli Yu
8b0b87c5ad iputils: Initialize libgcrypt
Initialize libgcrypt on first use otherwise
there comes below warning when check the status
of the ninfod.service.
 # systemctl status ninfod.service
 * ninfod.service - Respond to IPv6 Node Information Queries
 Loaded: loaded (/lib/systemd/system/ninfod.service; enabled; vendor preset: enabled)
 Active: active (running) since Wed 2020-04-29 05:18:21 UTC; 36s ago
 Docs: man:ninfod(8)
 Main PID: 347 (ninfod)
 Tasks: 1 (limit: 9382)
 Memory: 1.2M
 CGroup: /system.slice/ninfod.service
 `-347 /sbin/ninfod -d

 Apr 29 05:18:21 intel-x86-64 systemd[1]: Started Respond to IPv6 Node Information Queries.
 Apr 29 05:18:24 intel-x86-64 ninfod[347]: Libgcrypt warning: missing initialization - please fix the application

Reference: 4f489a8c79

(From OE-Core rev: 7d37d129012d723b7c6ade0a763b877b657e1248)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:53 +01:00
Alexander Kanavin
0bbb01c3b0 dnf: add a patch for base-files installation failures
(From OE-Core rev: 742a1b71249f4da1c8d8e13e270b0eb6128a3f66)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:52 +01:00
Alexander Kanavin
4d8df76f40 dnf: upgrade 4.2.2 -> 4.2.21
Drop upstreamed patches.

(From OE-Core rev: 7828bf903001413cb38d34f4a2525f718380b88f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:52 +01:00
Alexander Kanavin
7add0b8b4d libdnf: upgrade 0.28.1 -> 0.47.0
Add a patch that avoids hardcoded sphinx dependency.

Switch off a couple of new features (zchunk, html docs for
hawkey library via sphinx) that both require new dependencies.

Move from modulemd 1.x to 2.x, drop upstreamed patches.

(From OE-Core rev: ce54462de6642935859421f2116e25ca5b2faa8c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:52 +01:00
Alexander Kanavin
e1ab20ea5a libmodulemd: move from 1.x to 2.x version
New libdnf requires 2.x and is the only consumer in oe-core
(or elsewhere).

(From OE-Core rev: 2c518de672d8876ff96e49b498feb898a497e6a5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:52 +01:00
Alexander Kanavin
365f24bee1 rpm: upgrade to 4.15.1
Drop patches that were merged upstream.

0001-mono-find-provides-requires-do-not-use-monodis-from-.patch
modifies a file that was removed upstream.

Add a 0001-rpmfc.c-do-not-run-file-classification-in-parallel.patch
as unfortunately the new parallel file classification feature from
upstream trips over somewhere in libmagic when inspected files are
compressed:
https://github.com/rpm-software-management/rpm/issues/756

(From OE-Core rev: 67257ca87c6fa8e6050a20ecea50daf834c7e869)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:52 +01:00
Richard Purdie
b55f765ae4 abi_version/staging: Bump versions to force rebuild after sstate corruption
A "broken" buildtools-extended-tarball has been released into the wild
where it is optimising binaries for the host processsor. This is fine in
local usage but in a non-homogeneous cluster like our autobuilder, this
results in SIGILL on other machines when the sstate is shared amongst them
and is painful to debug.

The buildtools tarball has been fixed but we need to invalidate the hash
equivalence and sstate data. This change does that. Adding to OE-Core
rather than autobuilder local changes as its good to illustrate how to
do this and the issue is potentially wider than just Yocto Project
infrastructure.

(From OE-Core rev: 23cdfa9eb23146a69edb77a83ef03719a62ddaae)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:52 +01:00
Richard Purdie
13297d8589 gcc-target: Ensure buildtools-extended-tarball doesn't use arch=native
A nativesdk BBCLASSEXTEND was added to gcc-target without realising this
would pass arch=native through to it for x86-64. This heavily optimises
gcc output for the host its running on meaning it can't be reused via
sstate on other machines.

Add class-target overrides here to get the desired behaviour. All
targets have been covered for completeness.

(From OE-Core rev: d0d4853dd773f7bbe0f72e50144559b80e80d67a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:52 +01:00
Richard Purdie
f7b8747c52 sanity: Require gcc 6 or later
New versions of rpm have issues with the libgomp support in gcc 5.x
so raise the minimum to 6 or later. This mainly affects Ubuntu 16.04.

(From OE-Core rev: aca2e5816203b54e0955eaa99fc980d010052d5d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-05-02 09:08:52 +01:00
Mingli Yu
a8544811d7 pbzip2: Fix license warning
After below commit introduced, the LICENSE
field changed from BSD-4-Clause to bzip-1.0.6.
669600ef9b bzip2/pbzip2: Correct license information

But actually it should be bzip2-1.0.6,
update it to fix the below license warning:
WARNING: pbzip2-native-1.1.13-r0 do_populate_lic: pbzip2-native: No generic license file exists for: bzip-1.0.6 in any provider

(From OE-Core rev: ecca4b97b3522e43332c3720bbe8da80c744d0b9)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-30 12:57:40 +01:00
Richard Purdie
a98d9c5b71 image/packagegroup: Remove PACKAGE_GROUP_*, long since deprecated
This was deprecated in 2014 so we can safely remove the old code now.

(From OE-Core rev: fe1b79188cbe8159a0950f0c02d7f476a6694a04)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:19 +01:00
Ovidiu Panait
2aa51e2e31 populate_sdk_base: create_sdk_files: Use _nativesdk variants for libdir and base_libdir
Use the _nativesdk variants for libdir and base_libdir to fix the resulting
ld.so.conf paths in the SDK for systems with libdir=/lib64.

(From OE-Core rev: a6077e87f4eeb89b0617883c9c01e08219ae44dc)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:19 +01:00
Ovidiu Panait
a3b21540c3 populate_sdk_base: Add ld.so.conf for nativesdk-binutils
Extend the functionality provided by commit [1] to the SDK as well. This way we
can make sure that nativesdk-binutils finds SDK libraries first rather than
host ones.

This is useful for example when trying to build the linux kernel using
nativesdk-gcc. This scenario currently fails because it tries to link to host
libraries rather than SDK host ones:

make x86_64_defconfig
make bzImage
...
error: Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel
Makefile:1101: recipe for target 'prepare-objtool' failed
make: *** [prepare-objtool] Error 1
....
/../../../../x86_64-wrlinuxsdk-linux/bin/ld: /lib/x86_64-linux-gnu/libpthread.so.0: undefined reference to `__libc_vfork@GLIBC_PRIVATE'
...

[1] 15049c610b [buildtools-tarball: Add an ld.so.conf for nativesdk-binutils]

(From OE-Core rev: 7ec84a463ad4c45aee9cd2cbc75b43e5aab5cd18)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:19 +01:00
Kai Kang
430ef75dcf pseudo: add macro guard for seccomp
It fails to compile pseudo-native on centos 7:

| ports/linux/pseudo_wrappers.c: In function ‘prctl’:
| ports/linux/pseudo_wrappers.c:129:14: error: ‘SECCOMP_SET_MODE_FILTER’ undeclared (first use in this function)
|    if (cmd == SECCOMP_SET_MODE_FILTER) {
|               ^

Add macro guard for the definition to avoid the failure.

(From OE-Core rev: d1c4492cb9cf5a624bb996c94e9a1589133be014)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:19 +01:00
Alejandro Hernandez
48a8eb0fc2 baremetal-helloworld: Fix IMGDEPLOYDIR expansion
IMGDEPLOYDIR is not being expanded anymore, this causes
do_rootfs to fail because it can't create the manifest file,
we can set it to the default being set on image.bbclass since
this is only a decoy function anyway to satisfy testimage,
this makes do_rootfs happy and allows it to continue.

(From OE-Core rev: 06ed491e30b47b8c5f89746e890519dd7de800fd)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:19 +01:00
Alejandro Hernandez
87a2e7c43d newlib: Upgrade to latest yearly release 3.3.0
Upgrade to the latest snapshot, also drop md5sum while were at it.

(From OE-Core rev: d73aa359e42e707dbc7cfa29c55a2fc8e6bb938a)

Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:19 +01:00
Andrew Geissler
11e7f09d60 libffi: fix v3.3 compile on ppc64le
The latest released version of libffi no longer compiles on ppc64le
based machines. Some searching found a patch that fixed our issue but
had not been submitted upstream to libffi.

It has now been submitted upstream with this PR:
https://github.com/libffi/libffi/pull/561

(From OE-Core rev: 76001bd4ae1e4f153f3d670b19e9ccd39c9fc4ef)

Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:19 +01:00
Alexander Kanavin
2434bf3925 buildtools-extended-tarball: add libgomp-dev
This is needed in particular for newer versions of rpm
which would otherwise fail to build due to absence of omp.h header.

(From OE-Core rev: 319ae973740bc291cb3e02e3cb2b4df2109df53e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:18 +01:00
Alexander Kanavin
0c53c56812 python3-numpy: update to 1.18.3
(From OE-Core rev: f31e3d2e55962472ba585736a7190e833b9bdf87)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:18 +01:00
Alexander Kanavin
10fd6095cd python3-pyparsing: update to 2.4.7
(From OE-Core rev: e73b429a3b32e319f0cdbb932a476ba96e40f5a5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:18 +01:00
Alexander Kanavin
339eeadc96 python3-cython: update to 0.29.16
(From OE-Core rev: b3f2ed624e772997c356d2b9690dc65ebd551dc0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:18 +01:00
Alexander Kanavin
9dc3347207 maintainers.inc: add entries for cython and pyparsing
(From OE-Core rev: 74f1170657aa92c809b7b903d00415fbd8e6adf3)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:18 +01:00
Alexander Kanavin
1407d1460c python3-cython: add from meta-oe
This is needed by new python3-numpy.

(From OE-Core rev: 5b62f1c313d8b9a74f49ef30e7fa5ff489ae3e84)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:18 +01:00
Alexander Kanavin
182c1af2e6 python3-pyparsing: add from meta-oe
This is needed for python3-cython, which is needed by new python3-numpy.

(From OE-Core rev: 85c025a7072558e49e4cf77ce03b3d156b9377a0)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:18 +01:00
Alexander Kanavin
4a971a2ed0 gobject-introspection: update to 1.64.1
All the cross-support patches are finally merged upstream;
the maintainer also changed the option naming to his preference, so
the recipe is adjusted.

(From OE-Core rev: 4f024e10f2c889ca8c09257b7c09f2cbe2eb6d4e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:18 +01:00
Alexander Kanavin
3c2e77b186 perl: update to 5.30.2
racefix.patch was merged to perl-cross
determinism.patch was partially merged to perl-cross

0001-tests-adjust-to-correctly-exclude-unbuilt-extensions.patch
is no longer needed as issue is addressed upstream.

(From OE-Core rev: d263537bc0a0ad8736dea5e49b93188b123d4a9f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-29 15:02:18 +01:00
Richard Purdie
2e11d97b6c oeqa/qemurunner: Clean up failure handling
If you fail to setup the tap devices, runqemu will error quickly
however stdout/stderr are not shown to the user, instead a SystemExit
traceback is shown. This could explain some long since unexplained
failures on the autobuilder.

Rework the error handling so SystemExit isn't used and the
standard log failure messages can be shown. The code could
likely ultimatley need some restructuring to work effectively.

(From OE-Core rev: 57ccf1e3bb320bd28a2d106c98f4706434c3075a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:51 +01:00
Richard Purdie
ccb009e9a7 targetcontrol: Fix leaking log handler
We had a mystery failure on the autobuilder where runqemu appeared to
be failing as a logfile directory no longer existed. The key to
reproducing was running a runqemu where the image was deleted (as
devtool does), then running another runqemu test. E.g.:

'oe-selftest -r  devtool.DevtoolExtractTests.test_devtool_deploy_target wic.Wic2.test_qemu_efi'

This then tries to write to the logfile from the first test, the
image directory was deleted and we get strange failures.

The fix is to remove the logging handler when qemu is stopped.

(From OE-Core rev: b59a2bbbf3c56b71f6118970ed2269dddfbdbe0c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:51 +01:00
Trevor Gamblin
a3f1d619f3 python3: fix CVE-2020-8492
CVE: CVE-2020-8492

(From OE-Core rev: 7cf314f3eb83750ec70f5b86045a5f5d195cddef)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:51 +01:00
Changqing Li
90f2ebbb5a python3-setuptools: change shebang to python3
we have offcially dropped python2, so it is possible
that our code run on python3 only host, so change
shebang to python3 to avoid error like:
python: command not found

(From OE-Core rev: c49ea8d5640d984e28ad63919e0b9ee549a4e17f)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:51 +01:00
Changqing Li
c57eb0a488 python3-pip: change shebang to python3
we have offcially dropped python2, so it is possible
that our code run on python3 only host, so change
shebang to python3 to avoid error like:
python: command not found

(From OE-Core rev: 4a4fabaa8f6915513a3b1ef2268c402e96eca888)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:51 +01:00
Changqing Li
e5e0b30035 python3-pbr: change shebang to python3
we have offcially dropped python2, so it is possible
that our code run on python3 only host, so change
shebang to python3 to avoid error like:
python: command not found

(From OE-Core rev: a0b6ae56970aa53f65ed10bebd90fefa410a7099)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:51 +01:00
Peter Kjellerstedt
9f7bd77be7 busybox: Correct the name of the bzip2 license
The common bzip2 license was renamed from "bzip2" to "bzip2-1.0.6" in
commit 669600ef to match the official SPDX identifier.

(From OE-Core rev: 7d32417b4dd7788d44ae896e75827f7bf56d328c)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:51 +01:00
Alex Kiernan
d78a20fdc3 u-boot: Upgrade 2020.01 -> 2020.04
(From OE-Core rev: da4b1de11213f988317bee1c9da356a506ef0acc)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:51 +01:00
Khem Raj
425d71856c binutils: Install PIC version of libiberty.a
some architectures e.g. mips complain in linking apps which have shared
libs that are linking with libiberty.a fixes errors like below

libiberty/../../libiberty/hashtab.c:285:(.text+0xf8): relocation R_MIPS_26 against `htab_create_typed_alloc' cannot be used when making a shared object; recompile with -fPIC

(From OE-Core rev: 49eacd44ff65b524c02ab93401dc97745d28415f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:51 +01:00
Khem Raj
4089efd375 binutils: Detect proper static-libstdc++ support when using clang
Fixes configure time tests to ensure static-libstdc++ is enabled when
using clang

(From OE-Core rev: 0f2c415f50364e3b341e9b0d043ec973feacc2f1)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:51 +01:00
Khem Raj
43b340fb27 gcc: Configure all gccs with --disable-install-libiberty
OE uses libiberty from binutils, since its properly compiled as pic
archive and applications and other libraries needing libiberty can
properly link with it.

With this option applied, explicit delete of libiberty headers and
libraries is not required in install step, since they wont get installed
in first place.

(From OE-Core rev: fa8a205c69770d23323c9a06373db958af4b34d3)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Ricardo Ribalda Delgado
01619c9acb oeqa: wic: Add more tests for include_path
Make sure permissions are respected.

Add new test for orig/destination option.

Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: 33785be3c7eb4d5684cded08f955412a0c008929)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Ricardo Ribalda Delgado
31b14186e9 wic: rootfs: Combine path_validation in one function
Combine all the common path validation in a function to avoid code
duplication.

Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: ebd12b10d17db0b4176b0188407d7e9b8420eab1)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Ricardo Ribalda Delgado
a293c76c53 wic: root: Add an opt. destination on include-path
Allow specifying an optional destination to include-path and make the
option aware of permissions and owners.

It is very useful for making a partition that contains the rootfs for a
host and a target Eg:

/ -> Roofs for the host
/export/ -> Rootfs for the target (which will netboot)

Although today we support making a partition for "/export" this might
not be compatible with some upgrade systems, or we might be limited by
the number of partitions.

With this patch we can use something like:

part / --source rootfs --fstype=ext4 --include-path core-image-minimal-mtdutils export/ --include-path hello

on the .wks file.

Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: e8c21c6ebaebde88151697381bdb2452f1171090)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Ricardo Ribalda Delgado
fc2589384b wic: misc: Do not find for executables in ASSUME_PROVIDED
Executables like tar won't be available on the native sysroot, as they
are part of the ASSUME_PROVIDED variable.

Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: 2f574d535f8665b26dab65c14668cf8fc7b751c0)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Ricardo Ribalda Delgado
6cfcc149ef oeqa: wic: Add tests for permissions and change-directory
Make sure that the permissions and username are respected when using all
the rootfs modifiers.

Add tests for change-directory command

Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: 4aad9531df44d1b0637bd559161702ad86861b46)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Ricardo Ribalda Delgado
c81d5c6243 wic: Avoid creating invalid pseudo directory
If the source of the rootfs is not a bitbake cooked image, or it is not
pointing to the root of one, we call pseudo again, which will produce
a new pseudo folder at rootfs/../pseudo

Eg:

part /etc --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --fstype=ext4

Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: 799a24ae78655f7a3eda7456b1a0ffaf3e43ec16)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Ricardo Ribalda Delgado
19e778fe1b wic: Continue if excluded_path does not exist
If an excuded path does not exist, continue without an error.
This allows to seamleasly reuse .wks among different projects.

Eg:

part / --source rootfs --fstype=ext4 --exclude-path=opt/private_keys

Where /opt/private_keys in only populated by some of the image.bb files.

Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: 2dbd692b8e563cf991fb4ae1ef6129fda0d7e3c4)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Ricardo Ribalda Delgado
d19004da2f wic: Add --change-directory argument
This option allows to specify which part of a rootfs is going to be
included, the same way the -C argument on tar.

Thanks to this option we can make sure the permissions and usernames
on the target partition are respected, and also simplify the creation of
splitted partitons, not neeting to invoke external vars or using .wks.in
files. Eg:

part / --source rootfs --ondisk sda --fstype=ext4 --exclude-path=etc/   
part /etc --source rootfs --fstype=ext4 --change-directory=etc

Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: 2265d089a58e1f78f26d623ee667c420cb1c3bd4)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Ricardo Ribalda Delgado
c58711f0ea wic: Fix multi images .wks with bitbake
In order to support .wks files with multiple images inside bitbake we
need to explicitly set the pseudo database in use.

Eg: If we try this .mks:
part / --source rootfs --ondisk sda --fstype=ext4
part /export --source rootfs --rootfs=core-image-minimal-mtdutils --fstype=ext4

The username for all the files under /export will be set to the runner
of bitbake (usually UID 1000).

Before we run wic, we need to make sure that the pseudo database will be
flushed, and contains all the data needed.

Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: dde90a5dd2b22a539095d1bac82acc15c6380ac8)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Ricardo Ribalda Delgado
90164f0f3d wic: Fix permissions when using exclude or include path
When parameters include_path or exclude_path are passed to the rootfs
plugin, it will copy the partition content into a folder and make all
the modifications there.

This is done using copyhardlinktree(), which does not take into
consideration the content of the pseudo folder, which contains the
information about the right permissions and ownership of the folders.

This results in a rootfs owned by the user that is running the wic
command (usually UID 1000), which makes some rootfs unbootable.

This bug can be easily triggerd with the following .wks

part / --source rootfs --fstype=ext4 --exclude-path=home

And this sequence:

$ wic create test-permissions -e core-image-minimal -o test/
$ sudo mount test/test-permissions-202004080823-sda.direct.p1 /mnt
$ ls -la /mnt/etc/shadow

To fix this we copy the content of the pseudo folders to the new folder
and modify the pseudo database using the "pseudo -B" command.

If the rootfs is not a rootfs generated by bitbake a warning is shown
making the user aware that the permissions on the target might not match
what he expects.

WARNING: /tmp/test/../pseudo folder does not exist. Usernames and permissions will be invalid

Cc: Paul Barker <pbarker@konsulko.com>
(From OE-Core rev: fd739c15cdba221d9d497d3402b7d929c0be2ca4)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Richard Purdie
3e9cdd8788 staging: Fix overlapping file failures
If there are different providers of a file and they are swiched when the
recipe isn't machine specific, we can get tracebacks due to the overlapping
files. The issue is that the previous provider isn't uninstalled since
the system can't tell whether some later task needs them.

By tracking which tasks we depend upon, the code can now choose to
uninstall more things since a later task can reinstall if/as needed.

The code here was to protect against code with two different tasks
running in parallel which is still protected agaisnt.

[YOCTO #13702]

(From OE-Core rev: 9d8e6daa866d2f19b2a6324072b984a866715426)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Richard Purdie
f135cb3659 oeqa/selftest: Add test for conflicting sysroot provider
sysroot-test depends on virtual/sysroot-test which we build for one machine,
switch machine, switch provider of virtual/sysroot-test and check that the
sysroot is correctly cleaned up. The files in the two providers overlap
so can cause errors if the sysroot code doesn't function correctly.

Yes, sysroot-test should be machine specific really to avoid this, however
the sysroot cleanup should also work.

This adds a test for bug:

[YOCTO #13702]

(From OE-Core rev: 24ca62b3c1fd404b67d549b29aeeacf913e6dc86)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Yann Dirson
d645fe38d3 package: get_package_mapping: avoid dependency mapping if renamed package provides original name
Packages with a runtime dependency on a target package whose name is
changed by the PKG_* mechanism must rebuild when that mapping changes,
but we have no way of tracking this today, so
eg. packagegroup-machine-base ends up with a relationship on a
versioned kernel-image, and does not get rebuilt when that version
changes, leading to unsatisfiable dependency and reproducibility
issue.

OTOH there is no reason for the dependency to get rewritten if the
renamed package already has a RPROVIDES on the non-rewritten package
name, and if the dependency relationship is an unversionned one.  This
is what this patch prevents.

Note that this may not cover all cases of rewritten package names.

Notably I had to let the rewrite be done in the case of versionned
dependencies, as package managers usually can follow "Provides" in
such case; this includes many dependencies against shared-lib packages
renamed to their soname, and those at least are OK, since the
dependent recipe should explicitly depend on the target recipe.

(From OE-Core rev: 920beaaeef62b558e046f32c8ef0332250969ef1)

Signed-off-by: Yann Dirson <yann@blade-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Khem Raj
5e3c05701e packagegroup-go-sdk-target: Add go to packagegroup
This ensures that we have go compiler installed into image along with
runtime

(From OE-Core rev: 14db3e42faf28b8157a04435ea74e86b5e7d440a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Khem Raj
7dbcc71712 go: Rely on go-runtime to provide needed modules
go compiler is including go/src/cmd modules in -dev package which is in
conflict with go-runtime-dev which provides exact same copy of this
module along with other runtime modules, as a result when both go-dev and
go-runtime-dev are included in image then it results in rootfs failures,
here lets make go depend on go-runtime and dont install the cmd module
here explicitly.

(From OE-Core rev: 307ad88822950e8523b313d70a1fbab87048fa8d)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Tim Orling
b8ea59d595 scripts/install-buildtools: bump to 3.1 release by default
By default, use the extended buildtools installer from the
Yocto Project 3.1 "dunfell" release.

(From OE-Core rev: abd9bf4428e024f4fbcabd75235965769c03f2db)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Daisuke Yamane
caa530a277 selftest/package: Add test to ensure ownership is preserved
Yocto Bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=13806

Add test_preserve_ownership to selftest/package.
This test creates a file, a directory and a symbolic link and changes ownership,
then compares with them installed in rootfs to ensure ownership is preserved.

[Test without a commit 'bitbake: lib/bb/utils.py: Preserve ownership of symlink']
| 2020-03-14 10:01:14,519 - oe-selftest - INFO - test_preserve_ownership (package.PackageTests)
| 2020-03-14 10:56:44,612 - oe-selftest - INFO - Check ownership of /etc/selftest-chown/file
| 2020-03-14 10:56:44,770 - oe-selftest - INFO - Check ownership of /etc/selftest-chown/dir
| 2020-03-14 10:56:44,822 - oe-selftest - INFO - Check ownership of /etc/selftest-chown/symlink
| 2020-03-14 10:56:44,879 - oe-selftest - ERROR - Incrrect ownership /etc/selftest-chown/symlink [root:root]
| 2020-03-14 10:56:45,884 - oe-selftest - INFO -  ... FAIL

[Test with a commit 'bitbake: lib/bb/utils.py: Preserve ownership of symlink']
| 2020-03-14 10:58:49,599 - oe-selftest - INFO - test_preserve_ownership (package.PackageTests)
| 2020-03-14 11:51:39,947 - oe-selftest - INFO - Check ownership of /etc/selftest-chown/file
| 2020-03-14 11:51:40,013 - oe-selftest - INFO - Check ownership of /etc/selftest-chown/dir
| 2020-03-14 11:51:40,063 - oe-selftest - INFO - Check ownership of /etc/selftest-chown/symlink
| 2020-03-14 11:51:41,118 - oe-selftest - INFO -  ... ok

(From OE-Core rev: 88c1824468109d0f78d5fee7b71baa1f3944db7f)

Signed-off-by: Daisuke Yamane <daisuke.yamane@cybertrust.co.jp>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Dan Callaghan
6efa038c01 package.bbclass: inject "minidebuginfo" into packaged binaries
"Mini debuginfo" is a special section in ELF executables containing
minimal compressed debuginfo for non-exported symbols:

https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html

It lets debugging tools produce better stack traces, including local
function names, without incurring the space overhead of full debuginfo.
The feature was originally developed for Fedora:

https://fedoraproject.org/wiki/Features/MiniDebugInfo

but nowadays it is widely supported in the ecosystem, including in gdb
and elfutils (and therefore also in tools which use elfutils, such as
systemd-coredump).

This patch adds an optional extra step in package.bbclass to inject
minidebuginfo while stripping and splitting out debuginfo. It can be
enabled by setting PACKAGE_MINIDEBUGINFO=1. In my testing, this
increases the size of resulting binaries by roughly 5%.

The code for producing and re-injecting the minidebuginfo is my own
Python implementation but corresponds directly to the shell
implementation that RPM uses for doing the same:

https://github.com/rpm-software-management/rpm/blob/rpm-4.15.1-release/scripts/find-debuginfo.sh#L261

(From OE-Core rev: 4df992ce50c2d12e356b6d9fe7b23a6320c8b4df)

Signed-off-by: Dan Callaghan <dan.callaghan@opengear.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Alex Kiernan
bf607afc7f systemd: upgrade v244.3 -> v245.5
Refresh patches for v245.5, enable userdb by default. Update musl
patches for additional missing stdlib headers. Add musl patch to avoid
gshadow.

Commits:

  c5e346905952 network: fix static assertion on IPPROTO_MAX range
  a71980e03037 resolved: tone down comment in /run/systemd/{stub-,}resolve.conf
  7a2b5237d111 logind: skip polkit query with --no-wall
  e7ee90637194 verify: ignore nonexistent executables if required
  037b5e2281fe hwdb: optimize isatty()-per-line away
  2099a9e58d64 fileio: extend comment a bit
  abbfa8fdfa5a fileio: optionally allow telling read_line_full() whether we are processing a tty or not
  10731dde4240 fileio: fileno() can realistically return -1
  40b2a5975cbe coredumpctl: support --file=PATH
  059211c7c612 Fix pam_systemd_home's debug parameter to match man page description
  c4883fe438af core: make sure ProtectHostname= is handled gracefully in containers lacking seccomp
  3ad42f3837b1 test: wait a bit after stopping the test service
  76e0d8b38016 catalog: add entry for SD_MESSAGE_UNSAFE_USER_NAME
  ed86450ff452 docs: hook up the new USER_NAMES document everywhere
  64fdacd5f13e user-util: rework how we validate user names
  110d89cb652d userdbctl: drop redundant user name validity check
  f0300901bac4 man: explicitly note that ExecSt*Post does count for After/Before ordering
  78b3f7348d7e sleep: improve log msg slightly
  680d485902fc man: correct the default slice for systemd-run units
  e04ee3c70889 hwdb: Update database of Bluetooth company identifiers
  d830b0574ee3 detect-virt: also detect "microsoft" as WSL
  dea7e0dd97d3 dbus-execute: show also ProtectClock
  8a2b89b5d6f5 man: add note that --no-hostname has limited effect
  8b0368f5111f journal-remote: fix description of option
  da2125b6a23b capability: don't skip ambient caps setup if we actually have something to set
  e3b6d65c5386 shared/dissect-image: log messages from cryptsetup
  9c61b53c748f resolve: reload /etc/hosts on inode change
  d540b947f41d string-util: make sure we eat even half complete words in split()
  3fa7fdce595c udev: Fix SIGSEGV in AlternativeNamesPolicy handling
  2c4229221c77 man: mention that stdout logging works the same as stderr logging
  1e4711af5b98 userwork: fix signal worker sends to manager requesting more workers
  c7f9da1e4a32 units: do not pull in home.mount from systemd-homed.service
  3469a951fad8 home: fix several typos
  2c5ae0f58a0c homectl: fix a typo
  5eedafd01a0e import: Only keep RO copy if ETag header is set
  5b434d720959 nss-systemd: add missing jump to unlock mutex
  1a2f596bcb14 basic: Fix capability_ambient_set_apply for kernels < 4.3
  e4b7c40dca12 sd-journal: remove the dead code and actually fix #14695
  a0b77ea24b31 user-util: switch order of checks in valid_user_group_name_or_id_full()
  d71c24910d01 user-util: Allow names starting with a digit
  9ac30702856d Remove stale doc about PrivateNetwork and type
  d822e2a5247c Add `shell` to machinectl ZSH completion
  60521ea90446 Silence Wstring-plus-int warning when using clangd with GCC.
  e6fcb95f4ae0 path-lookup: Use default value for XDG_CONFIG_DIRS if environment is not set
  0f5047b7d393 network: DHCP lease load SIP copy paste error
  98a349465291 davfs is a network file system
  9b52ce58de50 units: Don't mount tracefs in LXC
  cd6ff773bd1f swap: check p->what for NULL
  9ac1ab165803 login: allow non-console sessions to change vt
  8f0feac20f7d logind: log a more accurate error when we failed at session creation
  a0b4460e49d0 core: add support for setting CPUAffinity= to special "numa" value
  e3b12a749d71 shared: split out NUMA code from cpu-set-util.c to numa-util.c
  d1d3f2aa1561 docs: Add syntax for templated units to systemd.preset man page
  3c69813c69af man: add a tiny bit of markup
  bf595e788c56 home: fix segfault when parsing arguments in PAM module
  e110f4dacb6d test: wait a bit after starting the test service
  e8df08cfdb20 fix journalctl regression (#15099)
  eb3a38cc23b2 NEWS: add late note about job trimming issue
  405f0fcfddb2 systemctl: hide the 'glyph' column when --no-legend is requested
  1c7de81f89ef format-table: allow hiding a specific column
  b7f2308bda49 core: transition to FINAL_SIGTERM state after ExecStopPost=
  2867dfbf70a5 journalctl: show duplicate entries if they are from the same file (#14898)
  af339a3122be namespace: ignore prefix chars when comparing paths
  d58988be7fab udev: fix SECLABEL{selinux} issue (#15064)
  98f8a718c161 dissect-image: avoid scanning partitions
  35c4d42040ec test: ignore IAB capabilities in `test-execute`
  40737329d960 test: add a test case for migrating DynamicUser=yes to no
  705938529062 execute: Fix migration from DynamicUser=yes to no
  ec458d20b268 homed: replace "home directory" with "home area" in a few places
  20a7592edf5f shared/ask-password-api: do not show hint on echo
  084df9c616fd analyze: fix table time output
  9251cac7b296 Support compiling with clang and gnu11 standard
  ffccc15f725f Typo fix
  1777c7f70d4d Update Croatian translation (#15042)
  73678d230704 boot: Ensure ARM UEFI binary does not contain FP/SIMD instructions
  b7cf4b4ef5d0 core: Fix resolution of nested DM devices for cgroups
  57680ddd4035 Fix typo on initrd-root-device.target
  03985d069b52 NEWS: final contributor update for v245
  0d5aef3eb513 hwdb: update for v245
  9cbf1e58f962 units: skip modprobe@.service if the unit appears to be already loaded
  ff12a7954c19 treewide: more portable bash shebangs
  eda0cbf07186 Use Finished instead of Started for Type=oneshot services (#14851)
  d48eea583fd8 units: make systemd-network-generator.service stay around
  94c3a838da69 systemctl: make list-dependencies take multiple arguments
  82c8bdff122d man: mention networkctl in the networkd man page
  4a29c185b7fe man: add systemd-network-generator.service(8)
  9fd32ff7d363 units: restore RemainAfterExit=yes in systemd-vconsole-setup.service
  44e5d00603a8 pid1: remove unnecessary terminator
  5403e153372e man: update list of supported controllers
  a3558e795203 units: do not ignore return value from systemd --user
  df883de98a88 pid1, nspawn: voidify loopback_setup()
  fd74a13e85ac timesync, meson: allow statically linked build
  dbf2801f5ac4 systemctl: do not print items twice in list-dependencies
  dd0395b5654c make namespace_flags_to_string() not return empty string
  e31b6bd02050 lgtm: drop the TMPDIR/meson workaround
  d4de2b2afff6 man: document that .link/.network/.netdev files have the usual ini syntax
  870d38dca90b docs: add .link/.network/.netdev files to interface stability chart
  c7fe06fb0a00 man: document the default value for IPv6AcceptRA=
  cd517eb7310d man: specify that Domains= is a space-separated list
  1699f5378896 hwdb: add corrections for Olimex Teres-I to keyboard hwdb
  105a1a36cd6e tree-wide: fix spelling of lookup and setup verbs
  33eb1f24978c tree-wide: drop printk.devkmsg=on setting in various places
  a345d5c1c9b2 man,mkosi: use glibc-minimal-langpack for Fedora
  95d311faea78 man: bump fedora versions
  1c5b427f5d36 hwdb: 60-sensor.hwdb: Add proximity sensor udev property (#14845)
  fdb0405edd90 selinux: check return value of string_to_security_class()
  81d4a026a61c drop unused translations
  d015652944b5 update Russian translation
  1fb5a5edc7c1 sysusers: do not require /proc to be mounted
  a100fe3c279b NEWS: Use correct tense in v245 entry
  6cb356ca9fe0 basic/fs-util: add a version of chmod_and_chown that doesn not use  /proc
  08c7c3216bd5 sysusers: many different errnos to express one condition
  d54bb638750c NEWS: two minor entries
  9c4d3d796825 NEWS: update contributors list
  8193040362e8 hwdb: update for v245-rc2
  a75b21175078 network: Move config_parse_ip_service_type to networkd-dhcp4.c and rename
  2b43402c8477 ask-password-api: drop unneeded parentheses
  86fca584c38f core/execute: use return value from sockaddr_un_set_path(), remove duplicate check
  425d925f24a6 homed,userdb: don't use sockaddr_un_set_path() on fixed addresses
  f36a9d590901 tree-wide: use the return value from sockaddr_un_set_path()
  0f1886872362 test-sizeof: print size socklen_t
  64177e9e4e8b journald: fix forwarding to syslog
  3b355677b8cc RequireMountsFor in systemd-nspawn should wait for machine mount
  27f31daf3e22 shared/logs-show: Remove unused OUTPUT_FOLLOW
  ef62949a23a2 network: make Type=ether match based on iftype
  834ea1a4665f test-network: remove unnecessary dummy interface
  2cd651066133 man: fix typo
  f4665664c4ff units: disable ProtectKernelLogs for machined
  123aeae20672 random-seed: add missing header for GRND_NONBLOCK (#14988)
  8632e8768903 po: update Polish translation
  4347f0abe261 l10n: update Czech Translation
  4c2e1833ec1a test-network: add a test case for [DHCPv4] UseRoutes=no
  ad098b14c5ec network: Allow to configure GW even UseRoutes=false
  161bc525bbd7 rules.d: import the keyboard builtin instead of running it
  df70539f9fe0 resolve: error handling improvements
  6f22d5723527 userdb: fix lookup of groups defined by homed
  3e93027b5b94 Fix two typos
  972e81629d40 Italian: removed spurious lines of old labels
  f7ae155b14dc italian: language updates
  0d066dd1a4cd pid1: add new mode systemd.show-status=error and use it when 'quiet' is passed
  5bcf34ebf303 pid1: when showing error status, do not switch to status=temporary
  1b4154a8919c pid1: make cylon timeout significantly bigger when not showing any messages
  ef15d3e1ab67 pid1: touch the /run/systemd/show-status just once
  7365a2967031 pid1: when printing status message status, give reason
  5ca02bfc3968 core: fix message about show status state
  b3ce4e2d407a hwdb: Add Medion Akoya E1239T MD60568 to 60-sensor.hwdb
  196dedd50300 journalctl: implement --facility=foo
  c4ad7f83ec60 homed: fix typo
  aeac9dd6475d Revert "namespace: fix MAC labels of /dev when PrivateDevices=yes"
  ee00d1e95e84 pid1: do not fail if we get EPERM while setting up network name
  ecf63c91025b execute: Make '+' exec prefix ignore PrivateTmp=yes
  5926ea0a6860 presets: enable systemd-pstore.service by default
  aa07dc709328 man: add .service suffix to systemd-pstore(8)
  e3b192626e24 man: tweak markup in systemd-pstore.service(8)
  ebb7a2fcb979 man: add missing refnames for two binary names
  b0cda2414802 docs: interlink the docs to make it easier to navigate
  04c31af4c5cb docs: say XBOOTLDR instead of just giving the GPT identifier
  6ffeca8c8f2e meson: explain GIT_VERSION and PROJECT_VERSION
  62641751d529 man: fix links to ssh(1) and sshd(8)
  3ea2b1137b6a man: add explanation where environment.d are inherited
  8956caf333ff network: fix typo in comment
  e6e81ec0a568 namespace: fix MAC labels of /dev when PrivateDevices=yes
  07336a067216 network: assume Scope=host when Address= is loopback address
  aa73f181e92c basic/string-table: avoid crash when table is sparse
  1a8f0ce64fd2 systemctl: be more specific when emitting warning about rotated journal
  68c1ac156891 conf-parser: fix line number in error message
  79ac19ae616a hwdb: add cube i7
  df5a4889fe85 udevadm: show more error message during exporting database
  287f506c32f3 pstore: Don't start systemd-pstore.service in containers
  81eb5bc5cc7e network: remove redundant %m in error message
  3d7ac1c655ec udev-builtin-input_id: any i2c mouse is a pointing stick
  443876d8dcf3 userdb: make groupdb_all() always set iterator when it returns >= 0
  0ffbe10b8159 userdb: drop unnecessary goto
  e9b0b64f77fd fix ACCEL_MOUNT_MATRIX for Thinkpad Yoga 11e 3rd gen
  19bb96759a91 userdb: allow dots in username
  2a5180945a10 hwdb: Fix rotation for Nuvision Encite Split 11
  9c1f969d40f8 swap: finish the secondary swap units' jobs if deactivation of the primary swap unit fails
  06654d122515 ata_id: Add support for host managed zone block devices (#14933)
  aaaf42cb44d4 units: add mount for tracefs
  6dea2361dc2f typo: stringy -> string
  6ed8c09a40ed po: update Japanese translation of "home area"
  e60228bf6842 kernel-install: strip BOOT_IMAGE= from kernel options
  7c7c44855e2e userdb: fix memleak
  662d74daf7c9 userdb: make userdb_all() always set iterator when it returns >= 0
  4617d37a375c po: fix confusion about what "it" is in Polish translation
  09460a234bed tree-wide: replace "asked to inhibit it" with "is inhibiting this"
  15f73764c4fb tree-wide: replace present participle forms
  40afe4916a58 test-network: add one more test case for VRF=
  a856a83f181a po: update Polish translation of "home area"
  18143cd76795 tree-wide: s/home/home area/g
  c0d48bc50ff4 network: use VRF's route table if VRF= is set
  1ad448673ed3 man/systemd.unit: Add missing article to `Wants=` description
  4a6ab3f79fb3 hwdb.d: actually install the 60-input-id.hwdb
  31c33315b3e9 portablectl: block when stopping a unit on detach (--now)
  d4ffda38716d man: tmpfiles.d: z/Z ignore the argument
  c667e09ba067 ci: pass max_total_time to libFuzzer
  6cec69fc3edd Change all fuzzing links to point to OSS-Fuzz site
  129c55c06f49 docs: fix HACKING.md broken links
  c14faa944015 fixed typo in systemd.netdev Documentation for L2TP
  ad5555b42e9f systemd: Fix busctl crash on aarch64 when setting output table format
  bec31cf5f003 systemd: Fix busctl crash on aarch64 when setting output table format
  c315b79fb43a makefs: strdup arguments to mkfs
  7ad1f0439843 lgtm: use the system version of meson
  65be7042a876 lgtm: set TMPDIR to /var/tmp
  99fdffaa194c Revert "Support Plugable UD-PRO8 dock"
  d900701eeab4 fix typo in object field
  c24c83dc67a6 network: Allow multiple IPv6Token 'static' items to generate addresses
  38d1255a52f7 test-network: add tests for qdisc Handle=
  d8b2396d3458 network: add support for qdisc handle
  bfcdc872604a network: fix indentation
  8a98f11ed0cd network: Make address_hash_ops available outside of networkd-address.c
  0ddad04eda2a network: Document the lack of actual DAD usage in prefixstable algorithm
  8dcce054e396 network: Rewrite IPv6Token documentation for new modes
  53f8cced4570 network: Correct typo and naming in error message
  87f9d6ea8efa network: Improve variable name for address generation
  f7ada4b8ec12 test-network: tentatively stops .socket units for udevd
  b241fa00e92e network: Add test for explicit 'static' IPv6Token
  b751c3e747a9 network fix parser for IPv6Token=
  5f04f4e47037 test: give systemd chance to actually start the unit
  e2c1ddcc492f portablectl: add --now and --enable to attach/detach
  68697cdd1274 hwdb: Fix touchpad toggle on WeiHeng P325J
  74deaff1188a journal: fix log message
  03b76a197731 repart: do not quit earlier when --empty=force
  676047438a12 l10n: update Ukrainian translation
  3d55b5a9def5 test-network: add test for teql
  9b749c11e20b network: tc: support teql
  ab9dc1db477e test-network: add more tests for traffic control
  f0c1ad308d0d network: fix ABRT
  59bae425704f network: update log message
  ab119e633878 network: append period if error message provided by kernel does not contain it
  4c2724013ffa network: drop redundant %m
  2ed5f6d5de38 network: introduce new [QDisc] section to support Parent=ingress
  72545ae05745 core: sync SeccompParseFlags between dbus-execute and load-fragment
  e2c4070edfb0 network: rename eui64 to static
  6e55b9b75839 chromiumos: sync auto suspend rules with chromeos commit e348a229bacc3
  cff789b746c6 core/selinux-access: use _cleanup_ and improve logging
  0ae5ffe0630a repart: quit earlier if no .conf file exists
  d7887449e7c9 basic/selinux-util: expose _cleanup_freecon_
  22cd7aabecd8 core/selinux-access: do not use NULL for %s
  949fb07e6e3e network: also change fair_queue_traffic_policing→fair_queueing
  2b6a90d17f4c selinux: update log message to suppress warning by coverity
  db99904bc848 sysctl: fix segfault
  8aaf18e08a2e shared/ask-password-api: show "(press TAB for no echo)"
  72c08a471c9c shared/ask-password-api: return "error" when dialogue is cancelled
  1acf344dfa28 core: do not prepare a SELinux context for dummy files for devicenode bind-mounting
  39e96f844a46 firstboot: add missing check
  d5d5b3f4a729 man: fix typo in systemd.unit man page
  6b2fd86fd1fd network: remove unnecessary link->ifname from debug log statements
  28ca867abdb2 sd-journal: close journal files that were deleted by journald before we've setup inotify watch
  c7220ca8025e units: drop OnFailure= from .target units
  e0e2112f6184 cgroup: systemctl: Don't display NULL if protection was set to max
  8b51950f4cd2 docs: Correct resource weight range
  129466138124 polkit: remove unused variable
  c450335bf74a github: remove direct paypal link
  384db814eea1 meson: bump version numbers for v245
  901d1ce8efcd NEWS: add contributors for v245
  573e58f62f27 NEWS: mention the operational state changes
  f05c0615f4c0 NEWS: mention SuppressPrefixLength=
  9569e385036c test: adapt to the new capsh format
  87bbebeab6e2 test-network: add tests for IPv6Token=
  5f506a55606f network: Allow to specify multiple IPv6Token for SLAAC
  69f173477bb1 NEWS: mention the TrafficControlQueueingDiscipline rename
  823b03527106 NEWS: mention empty .link and .network files
  2ad988896c47 NEWS: reword and shorten a bunch of stuff
  641aa41200f7 test-network: use udevd in build directory
  ea9bc14cd0a3 hwdb: update for v245-rc1
  427928caa4c0 network: change "Gateway=dhcp" to "Gateway=_dhcp" (#14774)
  c0f765cac8b0 core: move bus-util include out of selinux-access header
  bc130b685832 Fix typo in function name
  5c1163273569 man: document the new sd_bus_enqueue_for_read() API call
  637486261528 polkit: when authorizing via PK let's re-resolve callback/userdata instead of caching it
  1068447e6954 sd-bus: introduce API for re-enqueuing incoming messages
  f4425c72c739 polkit: use structured initialization
  7f5698228927 polkit: on async pk requests, re-validate action/details
  95f82ae9d774 polkit: reuse some common bus message appending code
  773b1a7916bf bus-polkit: rename return error parameter to ret_error
  f156e60c66fa core: unit_label_path(): take const unit
  6bdd90fbcd94 man: add "quick-help" to sysusers.d synopsis
  1648233dce34 selinux-access: log warning on context acquisition failure
  074b597dd904 selinux-util: increase log severity
  ca58d00c68bc network: FairQueueTrafficPolicing→FairQueueing
  60ed2dcfc7ea network: TokenBufferFilter→TokenBucketFilter
  8e92d92fb898 man: tweak description of blockdev@.target
  eb1322744dea NEWS: correct indenting for two entries
  ce4121c6ff92 meson: update efi path detection to gnu-efi-3.0.11
  18de0969c576 network: split TrafficControlQueueingDiscipline section into small pieces
  dade73491747 network,udev: refuse .link and .network settings with no matches
  e519e20ae16e test-network: do not fail if lo has a .network file
  90198bcbea92 Fix generator name in hibernate-resume-generator's drop-in
  61c3e2c8bfc2 presets: "disable" all passive targets by default
  41fd8fe71652 test-network: add a test case for IPv6PrefixDelegation.DNS=linklocal
  fd3ef936ed5b network,radv: make DNS= in [IPv6PrefixDelegation] section take special value 'linklocal'
  5d4fc0e665a3 sysctl: set ipv4 settings in a race-free way
  e0f424790d3d sysctl: add glob syntax to sysctl.d files
  5e9c08f377a6 l10n: update Czech Translation
  50152bb1c5c3 core: call dynamic_user_acquire() only when 'group' is non-null
  4c1dea42b593 journal: drop unreachable path
  e362d6eebadc po: update French translation
  bf2334c054da udev: add {Receive,Transmit}ChecksumOffload= settings
  53e1ba280f07 network: add SuppressPrefixLength option to RoutingPolicyRule (#14736)
  e06d7d0fb0f1 po: update Japanese translation
  10f58ad01534 po: update Polish translation
  9a4940bf92c9 update NEWS
  60d0a5098b2b util: uid_t, gid_t, and pid_t must be 32bit
  c757517d98ad meson: fix feature list
  649916d3561a sysusers: support creating users with a specific primary group
  6be8e78e32ec test-network: add test for UID based routing policy
  ea471a469572 network: support UID based routing policy
  03de302a3132 util: add parse_uid_range() helper function
  af06ddf51a8a meson, man: do not install pam_systemd_home(8) when pam or homed is disabled
  2273ecfeda0b test: don't install /etc/securetty
  020313b213f0 test: also check the result of merge_gid_lists()
  4af8ab2cab69 user-util: fix use after free() on error path
  b44b735a78be userdbd: fix memleak
  ad2378524635 update TODO
  2b6b8bd3f727 man: document --namespace= switch of journalctl
  241c8f67f65a man: document the new sd_journal_open_namespace() API
  5b0a76d107eb man: document LogNamespace= unit setting
  7d8155b3df13 man: document new _NAMESPACE= journal field
  6bc4361997b1 man: document journald@NAMESPACE.conf
  efcbcd0d043f man: document journald namespaces
  23d8c56046f1 journalctl: underline sections in --help
  9610210d3235 nspawn: voidify umount_verbose()
  02cec1562962 user-record-util: add missing error check
  00c7b071acce homework: fix errno in log_error_errno()
  852640f8a223 home: add missing variable initialization
  340cb115b388 units: define RuntimeDirectory= in systemd-journald.service
  5591cd4e2041 units: sort settings in systemd-journald.service again
  fb38a7beb815 tmpfiles: apply ACLs to top-level journal directory in /run, too
  0f5a4f9cd969 tmpfiles: merge lines for the same inodes
  db23d83bd49b test: add simple test for log namespaces
  dc5437c78bbf journald: add ability to activate by varlink socket
  65c398c031a3 journald: add exit on idle
  6d4d6002606e varlink: add ability to register callback for disconnections
  c4f601f20535 varlink: add API for determining number of current connections
  d98580e4380e journald: use structured initialization
  243526917131 journald: add logging for one error we lacked logging for
  d93dda3afef4 systemctl: show logs for correct namespace of service
  21fa231ece5e journalctl: drop misplaced empty line
  6b25db87a180 journalctl: add new --namespace= switch for showing logs for namespace
  31e99dd2cc37 journal: make constant argument actually 'const'
  456aa8790625 journal: allow opening journal files specific to some namespace
  2f5435a14757 journal: use structured initialization
  33ff74643e2a journalctl: use an anonymous array when an array is needed
  68312977db5e journal: properly mark two definitions that are deprecated with GCC attributes for that
  e7238caf0cf5 journalctl: use automatic memory cleanup
  0491150b5cb4 journalctl: use log_error_errno() wherever we can
  a6214d9643c1 journalctl: move pcre function code down
  91dd5f7cbe6f core: add new LogNamespace= execution setting
  839d1b201474 string-util: add brief explanatory comment
  1ee51fbd7075 units: add unit files for instantiated journal daemons
  b1852c48c127 journald: allow running multiple instances of journald
  d6f46470f562 journald: when create journal directories use calculated paths
  4f6031037363 journald: minor coding style updates
  4e00337b1621 journald: let's simplify rotating of offline user journals
  46e2348a586b journald: simplify find_journal() a bit
  b42b9479a8e2 journald: hide current storage determination in helper call
  74dd8f575932 journald: use structured initialization
  8548f4f09ba6 journald: line break overly long function header
  7e7ef3bfb283 journald: let's use TAKE_PTR() and TAKE_FD() where appropriate
  a30e35f85aa9 journald: let's use unlink_and_free() where we can
  2066f4fe30f5 journald: specifying _pure_ on static functions is unnecessary, compiler can figure that out on its own
  a2735a4549e8 journald: don't bother with seqnum file if we don't read form /dev/kmsg anyway
  dbac26257881 journald: fix indentation
  99d0d05a10e4 journald: use free_and_replace() where appropriate
  659a77bec6d5 journald: add missing logging for some errors
  d83f7e4c9218 journald: why bitwise XOR when boolean != is easier to read?
  9a1862bfa6cd tests: unset LD_PRELOAD in testsuite.service when it's run under ASan
  efda8aebcb0e sd-boot: fix -Wpointer-sign warning
  a614aa1985d6 sd-boot: fix warning about comparison is always true
  2d37ea5ca901 man: do not install man pages for systemd-repart if it is disabled
  3ae01632f2d0 dhcp6: coding style fixes
  9de8a4259eae dhcp6: do not use T1 and T2 longer than one provided by the lease
  faec9de87f1a docs: Fix example code in ROOT_STORAGE_DAEMONS
  58345a2332f3 docs: formatting fix (#14707)
  258adeca3c32 po: add src/home/org.freedesktop.home1.policy to POTFILES.in
  56b3eddb7043 fix links to GROUP_RECORD and USER_GROUP_API
  e5e529c30ad5 fix link to JSON User Records
  f770b7e084d6 man: document man/sd_bus_message_dump.xml
  2a4be3c52b98 Various typo fixes and grammar corrections
  402058dc3a2c polkit: tweak grammar
  ec74f47e5617 meson: fix type of homed option
  02d89f9a623a man: add syntax quickhelp to sysctl.d(5)
  def94437934b Revert "sysctl: always write net.ipv4.conf.all.xyz= in addition to net.ipv4.conf.default.xyz="
  fa2111bd3ed2 man: document logging downgrade in systemctl
  f3b136a4847a shared/sysctl-util: normalize repeated slashes or dots to a single value
  ce306dd872af po: update Polish translation
  70e9d9a56c7a update TODO
  ed2d9661521c update TODO
  8d251485fa53 core: fsck images specified as RootImage= too before using them
  4fcb96ce253f nspawn: fsck all images when mounting things
  e475f72977ba dissect: add --fsck= option to systemd-dissect tool
  cf32c4865761 dissect: optionally, run fsck before mounting dissected images
  0f7c9a3d81be dissect: complain if partition flags are set that we don't know
  a44956c94a93 network: fix implicit type conversion warning by GCC-10
  97cd52c1b54b update TODO
  d200253ba5f6 update TODO
  e21d90606afc pam_systemd: resolve the tty of display via /sys instead of /dev
  72d43d09ccb5 id128: change table header from "uuid" to just "id"
  68410195679e NEWS: more v245 preparation
  552cafaa86ad po: update French translation
  723822f00ae3 NEWS: start preparing v245
  bcb1eadc0cf8 test: fix rename_noreplace() test
  3c7b4ebf94d1 test: make sure chase_symlink() returns normalized paths
  47d7ab727cf5 fs-util: make sure we output normalized paths in chase_symlinks()
  6efb1257d10c test: add test for the non-resolving of chase_symlink() root prefix
  c2595d3b0284 fs-util: when calling chase_symlinks() with root path, leave root part unresolved
  c809ed783e6c update TODO
  0edd431e1549 ci: add new dependencies to CI
  a9dabd6866d8 docs: document the home directory format
  f62dd2375e51 docs: document homed UID range
  28e208a7d8bb man: document pam_systemd_home
  38e7b808eb0f man: add systemd-homed man page
  ea7a19e95db9 man: add homectl(1) man page
  ba0fb5acd46e sleep: automatically lock all home directories when suspending
  6ead39170aea test: add test case for homed
  26cf9fb7f833 home: add pam_systemd_home.so PAM hookup
  4aa0a8ac3e54 home: add homectl client tool
  70a5db5822c8 home: add new systemd-homed service that can manage LUKS homes
  e53db1405c5d mkosi: add fdisk-devel, openssl-devel, libpwquality-devel, p11kit-devel and efsck to build
  1ffadeaae32d udev: assume that the recv buffer size of the netlink socket is already configured when the socket is passed in
  a05a6e8bba7e test-network: fix test_qdisc2()
  8bc943b47256 fix erroneous "`" in boot loader spec
  e0db55a643f2 man: document that sd_bus_message_read_array() only supports trivial types
  10c238b2cc4a man: clarify that we decode D-Bus bools as "int", not as C99 "bool"
  e5667705faa8 man: describe types slightly more accurately
  979bdc47c9cd man: enclose C type names in <type></type>
  1b3cccfdacc7 unit: add AF_ALG to systemd-networkd.service
  11a182aa1e64 test: drop sector-size line from output of sfdisk
  37b9966e2525 test: Synchronize journal before reading from it
  006c44c1e86f TODO: add various items as result from devconf.cz 2020 discussions
  58abbbcc6bce sd-bus: fix introspection bug in signal parameter names
  022d334561ab man: doc: Document ProtectClock=
  732e3a61043b network: accept NUL character in SendOption=
  a6a36dea2d40 test: add tests for UNESCAPE_ACCEPT_NUL
  0e72e469f88c escape: introduce UNESCAPE_ACCEPT_NUL flag
  46dc83440fc6 escape: make cunescape() and cunescape_length() inline
  8bdda551dab5 efi: fix build.
  9f37272a192e analyze: Add ProtectClock= to analyze-security
  fc64760dda4d core: shared: Add ProtectClock= to systemd.exec
  0de6103dffed man: tmpfiles.d: list missing q
  576e50efb694 Update copyright notice
  fe5a698f7646 bootspec: parse random-seed-mode line in loader.conf
  a14c18ba7b4e sd-boot: fix typo
  a3e42c468fc1 test: unpin meson from v0.52.1
  da2076a159ba man: remove duplicate in list of variables ignored by Anonymize
  2b4a65b66813 sd-bus: export sd_bus_message_dump
  27cf4c18c76d sd-bus: make dump flags public
  dc972b074071 systemd-id128: add new verb to print GPT partitions UUIDs
  e1d32d6ee86a update TODO
  19ce38ce620f shared/gpt: export gpt_partition_type_uuid_{to,from}_string functions
  6252bd0e8442 update TODO
  4acf0cfd2f92 logind: check PolicyKit before allowing VT switch
  269e4d2d6b75 shared: split out polkit stuff from bus-util.c → bus-polkit.c
  2c0d7ed39393 network: do nothing if link is in pending or linger state on reconfiguring
  0ce0e3470eb5 network: synchronously save state file when link is being reconfigured
  8ae7b8a1e1d6 network: set dirty flag when link is being reconfigured
  dc084399fad2 loginctl: use /org/freedesktop/login1/session/auto when "lock-session" is called without argument
  68bda079fd08 man: document blockdev@.target
  44b0d1fd597d core: add implicit ordering dep on blockdev@.target from all mount units
  e3e6f996894f core: downgrade swap → device dep to Requires=
  61f9cf4e4c48 swap: generate automatic dependencies also for /proc/swaps devices
  5de0acf40d32 core: let's be defensive, /dev/nfs is also a special mount source, filter it out
  219f3cd94106 core: drop _pure_ from static functions
  a7e885587949 units: introduce blockdev@.target for properly ordering mounts/swaps against cryptsetup
  6bbd539e5e72 cryptsetup-generator: order after cryptsetup-pre.target unconditionally
  49685fb31480 cryptsetup-generator: break overly long line
  33a4c9834282 fstab-generator: line break a bit more systematically
  56a061f508ec update TODO
  a15e1a5df0c9 man: fix typo in systemd.netdev Xfrm example
  502991215726 network,udev: use uint64_t for bit rate
  ce96c9cb1a8f timesyncd: log louder when we refuse a server due to root distance
  d3e5639ebb60 Fixed some typos in the documentation
  f1f20764f9e5 resolved: drop DNSSEC root key that is not valid anymore
  be02c1cf426d Implemented x-systemd.{required,wanted}-by= options
  e0567bc8adfe journal: don't use startswith() on something that is not a NUL-terminated string
  f847b7eca30f hwbd: add Asus TP500LA
  df062bef2925 hwdb: merge identical entries
  c9872da4d17c hwdb: fix whitespace issue
  680120bb20f0 virt: do not define vm_from_string() for non-x86 architecture
  b90cf10245bc core: make a number of functions not used externally static
  96462ae9984c core: show the UID we cannot parse
  898820edb5c9 json: lower maximum allowed recursion to 2K
  18e6e8635f06 generator: order growfs for the root fs after systemd-remount-fs
  d6bd2bb4441e hwdb: fix error numbers passed to log_syntax()
  2aecc668878f hwdb: use strv_extend() where we can
  2e5180d38b33 strv: get rid of strv_clear()
  81248e7f3e83 Documentation update for x-systemd.{before,after}
  f85df8181727 import: let's disable UNIX signal generation from curl
  d076f9fd56c9 import: put a time-out on downloads
  137c6c6b3659 import: don't complain if FS_NOCOW_FL is not available
  492f91d8c6c3 update TODO
  e65f29b4c6e8 ci: add dependencies for repart + cryptsetup's pkcs#11 support
  917cc8082bbd man: document systemd-repart
  2f62a8c68809 test: add repart test
  29ee6541a414 units: add unit file for systemd-repart to automatically run at boot
  64db6f3644c3 mkosi: modernize
  e594a3b154bd repart: add new systemd-repart tool
  b57ebc6004bb conf-parser: add parser for 32bit signed integers
  7e70f2cb0e43 locale-util: add special glyph Σ
  1d2a1a0cb808 locale-util: add block drawing special glyphs
  137688dff466 format-table: add support for formatting uuids/id128 values
  1293a168f16d id128: move make_v4_uuid into id128-util.h to make it generally useful
  449d530700ae makefs: simplify SPDX header
  e56a8790a0bf test: add test for https://github.com/systemd/systemd/issues/14560
  3b7f79dc9fc5 core: make sure StandardInput=file: doesn't get dup'ed to stdout/stderr by default
  cdc6804b6046 units: drop full paths for utilities in $PATH
  5608deb847b7 Italian: language update
  5cbaf95ee311 wait-online: Support waiting for interfaces to disappear
  75cd4a5d9294 wait-online: Add maximum operational state option
  fc57f105d9e2 pkgconf: add full generator paths
  7e284b054ec5 tree-wide: we forgot to destroy some bus errors
  287cf2d80226 typo: "May modify to" -> "May modify"
  0879fbd6fedc mount: make checks on perpetual mount units more lax
  88414eed6f45 core: never allow perpetual units to be masked
  f535af6bcd51 man: document that WakeSystem= affects clock choice
  1e1f4f443dc3 docs: uppercase are headers
  3b9796c01c31 docs: let's reduce our spurious whitespace a bit
  8eabc083dc83 docs: in PORTABILITY_AND_STABILITY only use one h1
  54ed193f8d48 man: clarify that user rlimits cannot go beyond limits set for service mgr
  59d83463d18c man: extend on halt documentation
  0b306655f1ec man: document that rootflags= does not override /etc/fstab
  d524094b6b3f man: underline that AccuracySec= is about coalescing timer events, nothing else
  eec68a1a0807 man: mention that Before= doesn't work for device units
  49dd0c161a1e man: suggest SYSTEMD_WANTS usage instead of RUN for long running processes
  f27a21d48bac man: document the limits of the block device discovery for IO cgroup options
  1e8a7eff2207 man: document how error propagation to path units works
  ba96a8a2778c man: document that program invocation will fail if the User= does not exist
  8384ed93b958 docs: clarify that we don't want to own $BOOT exclusively
  4ca739e20a09 core: reduce indentation a bit
  b0a94df9631d logind: use loop instead of repeated code
  ddee3ada467d shared/user-record-nss: use macro to avoid repeats
  192aee3cae72 shared/user-record-nss: shorten code a bit
  c7d26acce6dc Disable reading SystemdOptions EFI Var when in SecureBoot mode
  c97ae2b29036 Clarify journald.conf MaxLevelStore documentation
  c16460cf781c shared/sysctl-util: add missing header
  32458cc9687c sysctl: downgrade message when we have no permission
  b2ae4d9eb85f sysctl: move hashmap allocation out of main function
  e76c60bf2a2b man: rework section about configuration file precedence
  4bb68f2fee91 core: on each iteration processing /proc/self/mountinfo merge all discovery flags for each path
  46d7c6afbf92 execute: allow pam_setcred() to fail, ignore errors
  5b8d1f6b7757 execute: add const to array parameters, where possible
  c903ee897681 docs: add documentation for the varlink user/group APIs
  32eb3c42299d docs: add documentation for JSON group records, too
  812862db7116 docs: add documentation for JSON user records
  0ba56d3657b3 man: document the new nss-systemd behaviour
  7d9ad0e5e51c man: document systemd-userdbd.service
  3b2db6f110f3 man: document userdbctl(1)
  fc89f88e56cd man: document new pam_systemd features in man page
  f9c1f4e19308 pam-systemd: apply user record properties to session
  7bfbf6cc92bd pam-systemd: normalize return values of append_session_xyz()
  9ab0d3ebe5a5 pam-systemd: port over to use a UserRecord structure
  355c9966c207 pam-systemd: share bus connection with pam_systemd_home if we can
  d750dde2a634 pam-systemd: port to pam_bus_log_{create|parse}_error() and pam_log_oom()
  cef9f2a64766 shared: add pam utility helpers
  d510589fd0a4 logind: honour per-user stopDelayUSec property
  156a363750b3 logind: honour killProcesses field of user record
  e8e4b7a0b6ef logind: enforce user record resource settings when user logs in
  22c902faccb3 logind: port to UserRecord object
  1684c56f40f0 nss: hook up nss-systemd with userdb varlink bits
  19d22d433d3a core: add user/group resolution varlink interface to PID 1
  4bad7eedae3d core: make return parameter of dynamic_user_lookup_name() optional
  1604937f83d3 userdbd: add userdbctl tool as client for userdbd
  d093b62c941e userdbd: add new service that can merge userdb queries from multiple clients
  295c1a6e4569 shared: add helpers for displaying new-style user/group records to users
  ec8e4a0ef12f shared: add internal API for querying JSON user records via varlink
  9b2d907877ab shared: add helpers for converting NSS passwd/group structures to new JSON objects
  71d0b9d42263 shared: add generic user/group record structures and JSON parsers
  64aa2622a3ba libcrypt-util: add superficial validator for UNIX hashed password strings
  42f3b2f97510 shared: split out crypt() specific helpers into its own .c/.h in src/shared/
  2ee4b118fa72 nss-util: add macros for generating getpwent()/getgrent() prototypes
  65e2766f6458 docs: fix width of console example
  5425f8a57c22 Revert "docs: rename HACKING → Hacking"
  8c5cd27dd155 docs: rename HACKING → Hacking
  b6bcde2623bf docs: shift console log on index page to the left
  6af0a0442808 docs: add the systemd output example
  4e96d758f883 docs: update old para with links to the blog stories
  48f60ea9ad2e docs: remove markup from title
  d00386fc0b1c man: add commas and reword a sentence
  bbaba5748d65 test-format-table: add tests for TABLE_STRV
  29e15e98c760 resolvectl: use format-table.[ch]
  536cdd07b3f7 networkctl: use TABLE_STRV
  4618660d1012 format-table: introduce TABLE_STRV
  8b75798d12cc strv: introduce strv_compare()
  3fec55246854 docs: rework HTML into GitHub Markdown table
  c238a2f8899b cgroup: minor comment improvement
  be2bb14f0044 logind: refuse overriding idle hint on tty sessions
  de9a8fe18e01 systemctl: use format-table.[ch] for tables
  191a3f163451 basic/strv: drop flags argument from strv_fnmatch()
  0ef84b80c59b networkctl: return error or warning when interfaces are not matched
  1d086a6e5972 mount: mark an existing "mounting" unit from /proc/self/mountinfo as "just_mounted"
  48fd01e5f3bf cgroup: drop redundant if check
  e1e98911a818 cgroup: update only siblings that got realized once
  95ae4d142072 cgroup: drop unnecessary {}
  a0d6590c4e8f cgroup: no need to cast dev_t to dev_t
  57f1030b1373 cgroup: use log_warning_errno() where possible
  b35ec8ded2da docs: uppercase all markdown document titles
  a0fadf66daba docs: drop "The" in categorization titles of Markdown documentation
  744c49e1fef0 docs: update link and more dots
  0a5a8f13b421 docs: say that journalctl --flush/--sync also require journald
  180f7c26aa18 docs: import initrd interface documentation from fdo wiki
  f8349d2fa5ce docs: various small fixes to PORTABILITY_AND_STABILITY markdown
  0bdd282a4e81 killall: update reference to root storage daemon interface docs
  6e47cac0aa86 docs: convert root storage daemon doc to markdown
  61c0ac0924d5 hwdb: Entry for Lenovo Ideapad 310S-14ISK Alps Touchpad
  23b392166388 journalctl: Correctly handle combination of --reverse and --lines (fixes #1596)
  3ac9cac7f7a3 journalctl: Correctly handle --show-cursor in combination with --until or --since and --reverse
  03f9228e7cf2 man: suffix parameter with = in our documentation, if it expects an argument
  fc6eb08e74d6 machinectl: modernize address table handling
  d91614e717ed format-table: natively support multiline cells
  f6857fa60118 string-util: add helper for extracting n'th line of a string
  8dd6491ef9f6 string-util: let's add helper for truncating string after a specified number of lines
  f9951b0cf0e5 man: we support bind mounting regular files too
  151a7133cd06 man: document that we mkdir() on What= in .mount units too
  c6cecb744b53 test: Add tests for gid list ops
  afb11bf1b843 execute: Detect groups added by PAM and merge them with supplementary groups
  3bb39ea936a5 execute: Restore call to pam_setcred
  0c5d667932f8 user-util: Add helper functions for gid lists operations
  d89cde099474 docs: say that various cli progs are independent of pid1
  ef0bea8cf4f1 docs: say that dbus api is stable (but list various caveats)
  b2eea3dc325e docs: say that all documented programs in $PATH are stable
  e4893c6306f4 docs: import "interface stability promise"
  117caf376557 networkctl: break long line
  8571210a21d7 machinectl: reduce scope of iterator variables
  957d9df38822 resolvectl: minor optimizations to allocate less
  d308bb99d20b Resolve alternative ifnames wherever we would resolve an interface name
  fc2ea97ad03b util-lib: add function to resolve "alternative" names
  6b8fe4c30cbb man: XxxRate= are in bps
  b8b7309778ca docs/stability: relax the stance on accepting patches a bit
  02c789f9f966 docs: import stability chart from wiki
  5c3fa98db68f util-lib: move things that parse ifnames to shared/
  955bb7fac3bc basic/socket-util: indent for clarity
  bad7cecc0aa8 sd-netlink: do not require rtnl pointer to be passed
  231d9de1e3e9 networkctl: define a helper for interface name resolution
  9030b50a7bfe timedatectl: drop ifindex output parameter too
  597da51bae9e tree-wide: make parse_ifindex simply return the index
  bcc0fe635df5 nspawn: Correct "container" to "host" MAC setting message
  2e93770fd865 man: document alias rules and aliases dropin loading
  1bf15585521c core,install: allow one more case of "instance propagation"
  972f3176fa36 shared/install: drop an unused variable in config_parse_also()
  66a19d85a533 shared/install: try harder to find enablement symlinks when disabling a unit
  3f57bc2267e0 shared/install: rework alias check and add test
  29a743f99346 core: explicit mention of unit ID is redundant with log_unit_*()
  9a4f9e69e108 shared/unit-file: expose function to check .wants/.requires symlink validity
  2595eb8cd9ba hwdb: make comment more precise
  12845a91b5c6 machinectl: do not truncate addresses when --full is specified
  bd17fa8cd870 tree-wide: use table_log_add_error()
  964a7745de89 portablectl: optimize table creation
  679c7c7a6741 machinectl: optimize table creation
  9c46b437fcb1 analyze: optimize table creation by using table_add_many()
  d8aedafb57df format-table: add table_log_add_error()
  0e05be840513 initctl: (void)ify epoll_ctl() CID 996298
  a602a0b44b9e man: Document systemctl --with-dependencies switch
  e9c387c8293c systemctl: Add --with-dependencies flag
  e2268fa43742 bash-completion: do not ellipsize machine name
  a65e34ccb083 machinectl: do not ellipsize table when --full is specified
  2a6c483b8cb7 bash-completion: busctrl: support --full command line option
  b683b82fe770 busctl: introduce --full command line option
  6c64cf8859ea bash-completion: networkctl: do not show ellipsized link name
  a42d94908003 networkctl: set table width 0 when --full is specified
  a362c069a9d7 systemd-mount: add --full command line option
  bcf00b6c0a6f format-table: allow forcing arbitrary width tables
  0c020321c83e test-network: simplify wait_online() by calling wait_operstate()
  a4632dc7d131 test-network: convert wait_operstate() to recheck condition for timeout seconds
  19cf3143cf9f test-network: rename check_operstate() to wait_operstate()
  4c6496525763 network: drop foreign config after addr_gen_mode has been set
  0917a2717810 network: if ipv6ll is disabled, enumerate tentative ipv6 addrs before dropping foreign addrs
  9524014ee638 network: add link->setting_genmode flag
  3a390124b794 network: rename linux_configure_after_setting_mtu() to linux_configure_continue()
  b63c88b62718 man: describe "symlink" and "systemctl link" explicitly in UNIT FILE LOAD PATH
  65f6b6bdcb50 core: fix re-realization of cgroup siblings
  6fca66a7f125 core: set error value correctly
  af4454cb17da core: use unit-based logging instead of generic logging where appropriate
  eb34a981d671 core: initialize priority_set when parsing swap unit files
  6afc31615e63 core: no need to initialize swap structure fields if all zeroes anyway
  6d9e0ca40013 core: expose swap priority value via dbus only if it is set
  246be82bd419 man: link to specific sections of cgroups-v2 document
  bb6d563a5049 doc: link to html versions of cgroup docs
  0ca1926ec314 bash-completion: networkctl: support --full and --lines
  404308486aa2 core: be more restrictive on the dependency types we allow to be created transiently
  cf57766d792f timedatectl: use format-table.[ch]
  7cce68e1e042 core: make sure we use the correct mount flag when re-mounting bind mounts
  8403219fc13a mount-util: line break overly long function prototypes
  08b1f5c7d119 mount-util: clean up get_mount_flags()
  4eaf0d9401ab mount-util: don't mask away MS_RDONLY twice
  f3dab34d22e6 mount-util: rename cleaned → simplified, because that's what we actually did here
  a5279634c025 systemd-mount: add --no-legend command line option
  6ae6ea55d81d systemd-mount: use format-table.[ch]
  f93d876c80a6 format-table: introduce TABLE_PATH
  4c2ef3276735 core: propagate service state to socket in more load states
  19212f278166 udev: don't import parent ID_FS_ data on partitions
  b0a94268f876 core: when we cannot open an image file for write, try read-only
  c8c535d589cc namespace: tweak checks whether we can mount image read-only
  9a2ec8f7a6d5 install: use path_strv_contains() where appropriate
  3593fa60f2a1 path-util: express PATH_IN_SET() through path_strv_contains()
  3841fee82218 path-util: introduce path_strv_contains() helper
  ab015b13df5e man: small casing fix
  f2e5e70410ab man: document that scope units can fail, but not due to process exit statusses
  c80a9a33d04f core: clearly refuse OnFailure= deps on units that can't fail
  b44d87e200b9 sd-event: use _cleanup_ in one more place
  1eac79486ef3 sd-event: use RAII for struct epoll_event
  0475919b56c4 network: use automatic stack allocation and structured init
  6666c4faeefa network: do not require ethtool_get_permanent_macaddr() to get an fd
  6a6078a585f3 test: minor typo fix
  514793658c49 test: pin meson to 0.52.1 for fuzzit/fuzzbuzz
  64be35ab02c6 network: rename *fd to *ethtool_fd
  d9b204544b69 man: use xi:include to avoid duplication
  95522092925a man: fix option name
  d2e825b4ab51 doc: tweak grammar in CONTAINER_INTERFACE description
  caa8538a22b6 networkctl: show permanent mac address if it is not used now
  4bb7cc828706 network, udev: introduce PermanentMACAddress= setting in [Match] section
  95f2b4dd237f Support Plugable UD-PRO8 dock
  79b4428a7d01 ethtool: introduce ethtool_get_permanent_macaddr()
  4f0840669e17 gpt-auto: don't assume XBOOTLDR is vfat
  5ac8b50d5894 network, meson: allow statically linked build
  356873ddec61 zsh: Complete systemctl subcommands in separate tags
  8f817cb888cc shared/sleep-config: do not ignore resume_offset when resume not set
  8efc2c1608af shared/sleep-config: make swap detection stricter again
  411975ce63b2 shared/bus-util: Don't replace exsting strv
  4353974d7594 boot: fix osrel parser
  3a827125e70a man: stop recommending modprobe -abq in ExecStartPre=
  d5016c21d7bb units: tweaks to modprobe@.service
  867af7282b2e unit: make sure to pull in modprobe@loop.service when RootImage= is used with DeviceAllow=
  07141aa00592 bpf-devices: line-break some overly long function signatures
  625077264ba0 units: Split modprobing out into a separate service unit
  3ce252d0e0cc udev: use dot_or_dot_dot() where appropriate
  a1686563ded4 man: fix documentation of IBM VIO device naming
  e232c307c052 man: slightly extend documentation on difference between ID_NET_NAME_ONBOARD and ID_NET_LABEL_ONBOARD
  e9f0c5d08c65 shared/sleep: use stat() instead of open()+fstat() in one place
  7a182f103437 udev: do not use exact match of file permission
  6b50cb5ca919 nspawn: set original ifname as alternative if it is truncated
  98b0299479a6 network: append INTERFACE= attributes for logs corresponds to a netif
  fc79e6ff5e1f test-network: suppress logs in status command
  10c71c3605d7 networkctl: status command also shows logs of networkd
  b6cea5496a20 man: drop unnecessary white space
  67861acdf3f0 locale-util: extend comments on unicode glyph use, and drop mdash (that actually was an ndash)
  214c5bae09fb test-network: add test for Gateway=DHCP
  1985c54ff352 network: static routes via DHCP gateway
  25454a0c341e virt: drop trailing white spaces
  735ea55f5cd8 virt: use string table to detect VM or container
  0e97a910a63d pkcs11-util: don't mask return value of the first asprintf()
  d6246fd498ab network: lower the log-level of harmless message
  11b8568f26e5 meson: drop unnecessary linking of libudev_core
  a26c307320fb sd-netlink: fix copy and paste mistake
  53dc5fbc41af man: change links to container interface doc to https://systemd.io/
  635dea2783a6 docs: move container interface docs from wiki to markdown
  fc67a943d989 core: drop initial ListNames() bus call from PID 1
  a5b07847950c core: create/remove unit bus name slots always together
  5085ef0d711f core: no need to eat up error
  17bda1f19d53 core: shorten code a bit
  a54654ba700b core: don't check potentially NULL error, it's not gonna work anyway
  42837b813484 core: don't check error parameter of get_name_owner_handler()
  3425c45e1e95 testsuite: drop "systemctl is-system-running --wait" invocation
  13811aa5f6bc test: don't rely on "nobody" user for TEST-43
  519b2e521214 test: hardcode shell to use
  14b6e6b6f31a sd-netlink: use uint8_t* for non-character data
  f9aefc91f170 testsuite: drop "systemctl is-system-running --wait" invocation
  e9786a5c0164 test: don't rely on "nobody" user for TEST-43
  6e0ed2865e34 test: hardcode shell to use
  52133271a7b3 systemd-sleep: always attempt hibernation if configured
  ec04aef44225 dbus-execute: avoid extra strdup()
  ff963ea6ba8e test: use symlinks for Makefiles
  097537f07a2f job: Don't mark as redundant if deps are relevant
  2436ea761b28 nspawn: Make a custom mount on root imply --read-only.
  bbd407ea2bc5 nspawn: Don't mount read-only if we have a custom mount on root.
  72a86dd5ec25 man: tmpfiles.d: only list "v" once
  f6bc26ee7fba man: tmpfiles.d: "b", "c" options require major and minor numbers
  2ceefe45873d hwdb: Lenovo T490 Synaptics Touchpad hwdb entry
  75997c3fa5e7 test: add test case for setpriority_closest()
  390902012c51 core: in execute, Never fail setting Nice priority
  bc5ea049f29c nspawn: Generate unique short veth names
  b355d0c9affc udev: move naming-scheme.[ch] into src/shared/
  b01c1f305c04 systemctl: show 'VENDOR PRESET' column in 'list-unit-files'
  a25457f5b768 systemctl: skip non-existent units in the 'cat' verb
  412a6c646ced systemd.exec: document the file system for EnvironmentFile paths
  5b4855ab73c1 nspawn: Move --network-interface interfaces back to the host.
  85f04a216147 hwdb: 60-sensor.hwdb Chuwi Hi10 CWI515 accelerometer orientation.
  736eadf0284b Update Galician translations
  be78e0f07b23 systemd-analyze: fixed typo in documentation
  e514aa1eead3 tree-wide: yet another batch of coccinelle recommendations
  48d0248e6df3 network: bump netlink receive buffer size to 128M
  14157349db98 travis: wait for the container to fully boot up
  a3d35654517e test-network: add a test case for CoDel
  b078e52855d0 network: add more settings for CoDel
  c695dcf929bc network: Add support to configure DHCPv4 route MTU
  a9a5d632da72 network: tc introduce codel
  e6627f2392cd unit drop-in: Fix ordering of special type.d drop-ins
  f5dd6e50a781 Add failing test to show service.d global drop-in does not get overridden by more specific dropins
  98cd752a285c test-condition: fix group check condition
  6e3c443b56f1 Fix typo
  11fcfc539854 Fix several typos in documentation
  40681e5cdc74 network: add one more log message
  b390f1789262 nspawn-network: Split off udev checking from parse_interface.
  fa7ea8651084 zsh: Prepare for classifying systemctl commands (#14422)
  1d8385b41599 zsh: Complete more systemctl commands
  51a3b7263409 zsh: Group systemctl subcommands as in the manual. No functional change.
  27cc3c9d764f update TODO
  31ca5166b6c7 man: document /var/tmp/ and /var/ handling in systemd-gpt-auto-generator man page
  19ac32cdd6c3 docs: import discoverable partitions spec
  d4dffb8533a0 dissect: introduce new recognizable partition types for /var and /var/tmp
  4171837be6b8 bash-completion: move shell-completion for log-level or friends to systemctl
  b59817b199f3 shared/install: drop creation of alias for DefaultInstance
  4ca8072fd619 umount: when we fail to detach a loopback device, set the auto-clear flag
  b877c3b06f15 umount: check LO_FLAGS_AUTOCLEAR after LOOP_CLR_FD claimed success
  63135a2d8db0 umount: detect root loopback device the same way as we detect root DM devices
  88287615e631 umount: show correct error message
  610f9a42c4a8 umount: remove unneeded variable
  49f80dcec83b umount: line break comments again
  b895fa08e680 Revert "Drop dbus activation stub service"
  0fd8b7180959 test-network: add a test case for DHCPv4.SendDecline=
  c1d3fa29ca9d network: link should not become configured state during ACD probing
  0f3ff4eae2f3 network: DHCP4 introduce send decline
  7c6d95ea5add network: fix typo
  2f8c48b6059b core,journal: export user units' InvocationID and use as _SYSTEMD_INVOCATION_ID
  f9ef25a483ed basic/unit-name: make sure UnitNameFlags is signed
  509b06ffddb0 network: update log message in message_rtnl_process_xyz()
  aa0f357fd833 shared/install: split out alias verification function
  277519db5129 man: add section about user manager units
  f71502c49fd9 man: add remote-*.targets to the bootup sequence
  9e7c8f64cfda time-util: also use 32bit hack on EOVERFLOW
  12c7d4d65e4f hwdb: ignore keys added in kernel 5.5
  419a8a2dabb4 hwdb: Add LCD menu key mappings for the Logitech MX5000 and MX5500 keyboards
  4186441bbd91 Revert "cryptsetup: umount encrypted devices before detaching it during shutdown"
  a1533ad73f09 [man] note which UID ranges will get user journals
  d59fc29bb742 [man] fix URL
  b6657e2c53ee test: add test case for PrivateDevices=y and Group=daemon
  e5f10cafe0bb core: create inaccessible nodes for users when making runtime dirs
  a49ad4c482b8 core: add test case for PrivateUsers=true in user manager
  5749f855a76b core: PrivateUsers=true for (unprivileged) user managers
  d909b40fda52 analyze: badness if neither of RootImage and RootDirectory exists
  de697db05b08 network: introduce AddPrefixRoute= and deprecate PrefixRoute=
  a0ce990e711f test-network: add test case for multipath routing
  6ff5cc6b7a0f network: introduce multipath route
  6497a8aa9b48 sd-netlink: introduce rtattr_append_attribute()
  b012a1f455cb Make openssl dependency optional again
  27b4b3cc927e update TODO
  3d0205f28b06 Be more strict about what can be an Alias for template and instances
  5cddd924aa1f sd-event: don't allocate event queue array on stack
  ac6431dad950 man: add man page for sd_bus_message_sensitive()
  4023637a8ab0 Restore silent handling of BUS_ERROR_SPEED_METER_INACTIVE
  1b49e3e3c4f5 shared/loop-util: rename function
  7a670b1dd981 shared/dropin: fix assert for invalid drop-in
  f27bb6abd3b8 initrd: make udev cleanup service confict trigger and settle too
  9652d740929f varlink: add varlink_close_unref() helper
  e10720818ec3 chown-recursive: add fd based API
  417a6eece8a1 chown-recursive: move src/core/chown-recursive.[ch] → src/shared/
  845a7c1fc183 basic: add quota-util.[ch] with some helpers for the Linux quotactl() API
  6789dd57f0a0 cryptsetup-pkcs11: just return zero on success, no need to return anything else
  3ded1d616a50 cryptsetup-pkcs11: line break some overly long lines
  12f69587e973 cryptsetup-pkcs11: refuse keys above 16MiB size
  2ccf0ff6e8cd man: tweaks to the crypttab(5) man page
  3d864658ea01 hwdb: assume all Medion Akoya E-models have the same matrix
  35a05d8d5edc man: whitespace fix
  76b73ce21c0a man: we support growing xfs too these days
  601f91bec564 time-util: deal with systems where userspace has 64bit time_t but kernel does not
  e7bdadb5c655 network: support alternative name to get bus path for the link
  f7581ed6e06b networkctl: support alternative name to specify interface
  4d016e965b13 udev: sort alternative names
  b04c5e51da7a sd-netlink: introduce rtnl_resolve_link_alternative_names()
  1209ef94bd09 [import] fix stdin/stdout pipe behavior in import/export tar/raw
  05de16766b6b hwdb: Add Bluetooth-attached Logitech MX Master
  4afb4a9cc574 systemctl: show what verbs support --dry-run in the help page
  6d185cffb196 sd-netlink: add a whitespce between cast operator and variable
  f501c2515125 sd-netlink: make netlink_container_parse() takes size_t for rt_len
  49f5cbe92484 network: set AlternativeNamesPolicy= in 99-default.link
  ef1d2c07f956 udev: introduce AlternativeNamesPolicy= setting
  bb181dd4a664 udev: do not fail if kernel does not support alternative names
  a0f11d1d11a5 random-util: call initialize_srand() after fork()
  78f8849f84ca udev: extend the length of ID_NET_NAME_XXX= to ALTIFNAMSIZ
  861f1789051d efivars: properly NUL terminate EFI variables when reading
  e40b4caa1f91 basic/tmpfile: avoid maybe-uninitialized warning in mkostemp_safe()
  b742942edf60 TODO: drop entry
  e51712963b81 shared/install: log syntax error for invalid DefaultInstance=
  cb180b09fab0 Added Trekstor Primetab S11B
  da7667518b57 docs: CSS files should not be executable
  90d81ee96665 github: use systemd.io links in issue template
  479ddcdf5ac5 util: constify arguments of strv_xxx()
  7a2f6fb6f1bf test-network: pass environment variables to networkctl
  6934ace05d04 test-network: add a test case for netdev altname
  511070ee9501 networkctl: show alternative names
  572b21d96cab network: make Name= in [Match] support alternative names of interfaces
  a5053a158b43 udev: support AlternativeName= setting in .link file
  4252696aec9e util: introduce ifname_valid_full()
  d08d92d5ee50 test: add a test for sd_netlink_message_{append,read}_strv()
  6d725977c4f9 sd-netlink: introduce sd_netlink_message_append_strv()
  8f3c18596692 sd-netlink: introduce sd_netlink_message_read_strv()
  01813148619c shared/loop-util: spin on open() returning ENOENT too
  35b9eb0a72b6 basic/efivars: do not return EIO if an efivar read is shorten than fstat size
  a97abb30e7eb shared/efi-loader: add some debugging statements
  f2d9213fee0f shared/loop-util: spin on LOOP_CTL_REMOVE
  e8af3bfd635c shared/loop-util: fix error handling in loop_device_make_full()
  ffeb16f5d832 sd-netlink: support IFLA_PROP_LIST and IFLA_ALT_IFNAME attributes
  d3678e3a0b4b linux: update headers
  d9ceeb9fe7bb Add Acer Spin 1 SP111-33 to sensor hwdb
  c8bf87b3399a hwdb: Add accel orientation quirk for Thundersoft TST168 tablet
  4ef289250f1c test-network: add a test case for new FQ settings
  d7ceaf72618a shared/install: provide a nicer error message for invalid WantedBy=/Required= values
  d9c1c43e678f shared/install: remove duplicated check
  e83562e51e97 network: tc: add more settings for FQ
  d0556c55e7b6 nspawn: fix overlay with automatic temporary tree
  ff2c2d0850c4 docs: make sure there's only one # markdown header in each file
  db8728a60c73 blockdev-util: rework get_block_device()
  bd6609eb11ec nspawn-mount: Use FLAGS_SET to check flags.
  5530dc87f21c nspawn: Only bind-mount directory when necessary.
  e091a5dfd162 nspawn-mount: Remove unused parameters
  5f0a6347acf0 nspawn: Enable specifying root as the mount target directory.
  eae1ef076d6b test: increase qemu timeout for TEST-08 and TEST-09
  679ecd361634 nspawn: allow combination of private-network and network-namespace-path
  9401e488555a test-network: add a test case for the new settings of FQ-CoDel
  ac810b75c103 network: tc: support more attributes for FQ-CoDel
  dd1e09971b7d test: add a test case for network-generator
  21a925a4ac79 network-generator: allow empty hostname
  0baddbd5eef0 test-network: add a test case for FQ
  7234b915963c network tc: inroduce FQ - Fair Queue traffic policing
  eb34f4b3d2a9 sd-netlink: add attributes for FQ
  ef8863902831 man: document INVOCATION_ID and USER_INVOCATION_ID journal fields
  5e13bcdd0391 locale-util: drop weird invisible unicode codepoints accidentally inserted in comment
  c498df3a7e51 hwdb: trivial indentation fix
  8fb82e35dc0d minor: avoid double title
  b41a3f66c97e docs: make it pretty
  e8c17dc078ee network: tc: introduce QDiscVTable for future extendability
  1f9dd3bfdf0a network: tc: drop unused element
  042fc950eafe network: tc: drop unused functions
  335498ca57a5 docs: direct to systemd.io version of naming scheme docs
  7c4a7c6d13db docs: fix markdown links
  471d407eaaea docs: use `` quotes for marking identifiers of some form
  955ed5d540fe man: fix typo in net-naming-scheme man page
  5d3f5e408196 docs: beef up entrypoint documentation page
  4cdca0af1149 docs: place all our markdown docs in rough categories
  f32d15b0e4f5 man: fix typos (#14304)
  92c7593f5e68 network: tc: use typesafe functions to append netlink attributes
  42b5f7dd322d sd-netlink: make TCA_OPTIONS take NETLINK_TYPE_UNION
  e92b60b20f21 ipv4ll: do not reset conflict counter on restart
  40821c2ac3a7 test-network: add a test case for fq-codel
  4e5ef1491901 network tc: Add support to conkfigure CoDel - Controlled-Delay Active Queue Management algorithm
  d80810200832 network tc: qdisc parent add support to set ingress
  5905d7cf5bc8 tree-wide: use SD_ID128_STRING_MAX where appropriate
  b5ea030d65e9 id128: introduce ID128_UUID_STRING_MAX for sizing UUID buffers
  c2d54475c431 man: document pkcs#11 hookup in /etc/crypttab
  086697094ec7 cryptsetup: add native pkcs#11 support to cryptsetup
  f573629c0bba udev: mark all ccid/security devices with a special tag
  839fddbe500f shared: add pkcs11-util.[ch]
  3f6370198305 shared: add openssl helpers
  6047637645ac strv: when growing strv arrays piecemeal actually allocate memory in exponential steps
  47ac31f792a8 test-util: add more tests for ALIGN_POWER2
  e49e4c33dc96 macro: introduce new GREEDY_ALLOC_ROUND_UP() helper
  85c267afa7ce macro: avoid subtraction overflow in ALIGN_POWER2()
  886e07a9cf5d test-network: add tests for new TBF settings
  dcfc23ae7713 network: tc: add more options for TBF
  0810e6d787bd test-network: add a test case for SendOption=
  83b56c70e6bc network: fix segfault in parsing SendOption=
  fb4b0465abbd seccomp: real syscall numbers are >= 0
  0cab1f197647 Add Cube iWork 11 Stylus
  8ee08dc564cc test: do not fail if new device is plugged during enumeration
  bc942f69aa49 test-network: make test_bind_carrier more stable
  6d62ec61b941 network: fix copy and paste mistake
  07317d6e343c resolved, networkd: don't resolve the user if not root
  b076d5d76ddc test-network: add test case for IFB
  3295a461b373 network: introduce ifb (Intermediate Functional Block)
  cec1552ad4e0 sd-netlink: add support for ifb device
  dc7d3c5fd4cf test-network: add test case for IPv4 DAD
  051e77cac119 network: introduce DAD for static address
  b069c2a3f2b0 shared/seccomp: avoid possibly writing bogus errno code in debug log
  2c7b826ddf52 network: do not drop foreign config if interface is in initialized state
  6b2a8b80b4bf shared/loop-util: drop inline function with one use
  ba5450f4119c shared/loop-util: fix leak of fd in error path
  1163a2e98a89 shared/loop-util: operate on the right fd
  7db054470589 test-network: add tests to verify IPv6MTUBytes
  3e8215254359 test-network: disable restart limiting for networkd
  fd372b1a68a6 test-network: in wait_online() allow a few seconds to reach setup_state
  befd4b8b60dd test-network: read link attribute at any depth
  9dfc1a9339ee test-network: allow specifying only individual drop-in files
  d236718c167a network: set ipv6 mtu after link-up or device mtu change
  ab4fae0c8c3f Fix typo (duplicate "or")
  14bb274d3fdd networkd: check return value
  362c378291e8 cryptsetup: umount encrypted devices before detaching it during shutdown
  1dc85eff1d0d crypsetup: introduce x-initrd.attach option
  5ebbb45bdee9 TODO: remove obsolete entries
  bddeb54cbb09 Fix use of unitialized variable in error path
  d6f1e6607692 growfs: port over to resize_fs()
  2b82a99fe0d3 growfs: define main function through macro
  49219b5c2a65 seccomp: mmap test results depend on kernel/libseccomp/glibc
  5ef3ed97e3c7 seccomp: use per arch shmat_syscall
  903659e7b242 seccomp: ensure rules are loaded in seccomp_memory_deny_write_execute
  bed4668d1dae seccomp: fix multiplexed system calls
  bf331d87171b network: if /sys is rw, then udev should be around
  26208d5b9674 nspawn: do not fail if udev is not running
  2e22a54f4e08 Implement SNI when using DNS-over-TLS
  6f0245b34276 sd-bus: don't include properties maked as "emit-invalidation" in InterfacesAdded signals
  7a77d2a41cb6 sd-bus: add new call sd_bus_message_sensitive() and SD_BUS_VTABLE_SENSITIVE
  0ab927913271 test-network: add a test case for SFQ
  b2340fbb5ab3 network: SFQ cannot be configured with netem or TBF
  9942b71089aa network: tc introduce sfq - Stochastic Fairness Queueing
  1b628c4f64e9 test-network: add test case for TBF
  f1dba5556564 network: drop unnecessary headers
  6483f04381db network: make network_emulator_fill_message() take NetworkEmulator
  edc54f2f753b network: rename QDiscs to QDisc
  8efb93f02dd6 network: ignore sections which have both NetworkEmulator and TokenBufferFilter settings
  ba5841b5206d networkd tc: introduce tbf
  28937bcc6ca1 shared: add new wrapper for online fs resizing ioctls
  24a0b2c0abc0 missing: add XFS magic
  6b636c2d2790 main-func: send main exit code to parent via sd_notify() on exit
  8987afc4d12c process-util: add new safe_fork() flag for connecting stdout to stderr
  7a509acc297a tmpfile-util: modernize mkostemp_safe() a bit
  e5ea9ed03078 tmpfile-util: if no path is passed to fopen_temporary() make one up
  a3292ec8d704 user-util: add uid_is_container() for checking whether UID is in container range
  6093b2bb05f3 user-util: export is_nologin_shell() so that we can use it elsewhere
  c0dd3269535b man: document journal rate limit burst multiplier
  53caaffdf4a6 string-util: readd string_erase()
  282bde106652 memory-util: introduce erase_and_free() helper
  9933a4780843 errno-util: add new ERRNO_IS_DISK_SPACE() helper
  b64cea60275b ordered-set: add ordered_set_first() helper
  22810041c220 parse-util: sometimes it is useful to check if a string is a valid integer, but not actually parse it
  26601a2a1771 sd-boot: Add a 0.1 second delay before key-probing for showing menu
  e544601536ac sd-event: refuse running default event loops in any other thread than the one they are default for
  8089643328b2 man: document the new sd-event pidfd magic
  b3508072002c man: mention that SIGCHLD has to be blocked before using sd_event_add_child()
  68765d94fec8 man: don't claim we'd unblock the specified signal in sd_event_add_signal()
  3ecb3bdc9384 test: add test for pidfd support in sd-event
  ee880b37c152 sd-event: refuse sd_event_add_child() if SIGCHLD is not blocked
  d1b75241baa3 sd-event: make use of new signal_is_blocked() helper
  90b15e18eef4 signal-util: add new helper signal_is_blocked()
  f8f3f9263e51 sd-event: add pidfd support
  298f466f159e process-util: add helper pidfd_get_pid()
  5ead4e85f6b5 missing: add rt_sigqueueinfo() syscall definition
  5f152f43d04e missing: define new pidfd syscalls
  5a795bff3840 sd-event: (void)ify some epoll_ctl() syscall invocations
  d1cf20237492 sd-event: drop unnecessary local variable
  9f537ae3100f udev: Ensure udev_event_spawn reads stdout
  a9dfac21ec85 core: reload SELinux label cache on daemon-reload
  68d58f38693e pid1: add new kernel cmdline arg systemd.cpu_affinity=
  6355715e5b5d Fix DPI for MX Master 2s bluetooth mouse
  a652f050a786 Create parent directories when creating systemd-private subdirs
  e813de549b17 network: do not return error but return UINT64_MAX if speed meter is disabled
  cfd54b6a2e8b Alienware M17xR3 ejectcd button fix
  7477451b691d core: swap priority can be negative
  09e4b620e7a9 hwdb: Set trackball property for Logitech MX Ergo (#14231)
  33ebda2e81aa networkctl: fix to show BSSID
  ff757c9d2941 hibernate-resume-generator: wait "infinitely" for the resume device
  7cecc563163f cryptsetup-generator: unconfuse writing of the device timeout
  2fec5854baa6 systemctl: enhance message about kexec missing kernel
  6a2dc6a040f7 TODO: remove obsolete entries
  23e5e79a51f9 initrd: fix systemd.debug-shell & friends
  1e904320aacb Fixup typo in NEWS
  10c1b18888b4 valgrind: temporarily handle that valgrind still doesn't know LOOP_GET_STATUS64
  50d046993be9 loop-util: if we fail to fully set up a loop device, detach it again
  b26c39ad2c65 loop-util: fill in the loopback number, even a posteriori
  f1443709e0c2 loop-util: optionally also resize partitions
  441ec80468d1 loop-util: add api for locking the block device with flock()
  c37878fcedd9 loop-util: allow refreshing offset
  ed9eeb7b0b50 loop-util: allow creating loopback block devices with offset/length
  9dabc4fda574 loop-util: add API to refresh loopback device size and opening existing loopback block devices
  e08f94acf589 loop-util: accept loopback flags when creating loopback device
  2d8143048bc6 json: add new output flag JSON_PRETTY_AUTO
  19a209cc710a json: add const string dispatcher
  e4defdc4b02f json: teach json_build() to build arrays from C arrays of JsonVariant
  a42ef715a2c6 json: add more dispatch helpers
  a832b08e6e1b json: add json_variant_set_field_integer() and json_variant_set_field_boolean() helpers
  faca141c5fb3 json: add json_variant_unbase64() helper
  0b1f2e8a0617 json: add new flag for forcing a flush after dumping json data to file
  0ac0787e30f0 json: add explicit log call for ENOMEM
  3dd1b600b8b7 json: permit 'null' as a way to reset tri-states to default
  aafa52ab8370 json: add ability to generate empty arrays/objects in json builder
  886b0c93a8bc json: allow putting together base64 fields with json_build()
  21e215110771 json: add new helper json_variant_append_array()
  cc164891da29 json: add new helper json_variant_new_base64()
  b7fc90a2e63f json: add concept of normalization
  ca409a59c8ee json: add json_variant_merge() helper
  15f1fb3e3e3f json: add json_variant_set_field_string() and json_variant_set_field_unsigned()
  a7f8c9ce60f9 nspawn-oci: use new json_variant_strv() helper
  22f14d6b0287 json: add json_variant_strv() helper that converts a json variant to an strv
  ba23dbf1ebd9 json: optionally, make string checks stricter when dispatching strings
  d642f640bf39 json: add flags parameter to json_parse_file(), for parsing "sensitive" data
  f325aaf34175 json: add json_parse_file_at() helper
  83bc6cb79233 json: add a new "sensitive" flags for JsonVariant objects
  78a41236e40f json: add new json_variant_set_field() helper
  f2ff34ff2aaa json: add new API json_variant_filter() for dropping fields from objects
  e787b211a5aa json: add new json_variant_is_blank_{object,array}() helpers
  07737617a18d json: beef up strv parser to also accept a single string instead of an array of strings
  95244ceb9c82 fileio: add WRITE_STRING_FILE_MODE_0600 flag for writing files
  8241f785f414 fileio: add 'dir_fd' parameter to read_full_file_full()
  0a38e6b9a37b fileio: add an openat() flavour for fopen()
  d0d7f11ca27b hwdb: Add accel orientation quirk for Teclast X89 tablet
  3b681ace37e2 hwdb: Sort 60-sensor.hwdb Teclast entries alphabetically
  6d8f06368bc0 semaphore: switch branch to debian/master
  3d92aa4596a7 gpt-auto-generator: rename function for clarity
  46c41478c933 tree-wise: standarize on "auto-detection" spelling
  607ebf2bd28f bootlctl: show LoaderDevicePartUUID information in status
  b50a3a156502 gpt-auto-generator: make it easier to notice if boot loader support is missing
  1fac34b94121 gpt-auto-generator: use write_drop_in_format() helper and downgrade failure
  074cdb953bd2 gpt-auto-generator: improve debug messages a bit
  5ecb131d9479 network: include NLMSGERR_ATTR_MSG attribute in error message
  e4a1e68d7ab3 sd-netlink: support NLMSGERR_ATTR_MSG
  0e7e8544712f update TODO
  2b1daf24dc82 man: document initrd.target
  8755dbad5b2a pid1: use initrd.target in the initramfs by default
  9fe6f5cc1668 gpt-auto-generator: move functions around
  80e7c8408142 tmpfiles: create with correct MAC label on option C
  aeec5efab58a copy: add flag COPY_MAC_CREATE to create with correct label
  6e86b24db3c5 tree-wide: normalize includes of public headers
  fe7a6da8c5a9 core: use SPECIAL_DEFAULT_TARGET more
  943800f4e772 execute: Call capability_ambient_set_apply even if ambient set is 0
  155a6234ea2c test-capability: Modify ambient capability tests to test clearing caps
  82d832b435a0 basic: Drop ambient inherited capabilities by default
  f4331d0db28c shared/install: warn about unkown sections in unit files
  130b812f9d68 network: warn about unknown sections when parsing .netdev files
  ddeb3f5d4b7c shared/conf-parser: allow sections to be silently ignored with new -Section syntax
  94a404cb0357 shared/conf-parser: document what the flags do
  f9761a89a84f shared/conf-parser: turn CONFIG_PARSE_REFUSE_BOM flag into a local variable
  15b82eecb646 boot: Deduplicate old-style loader entries.
  ae474efc3f65 boot: Update bootspec.c to match previous changes.
  10d0024a07c8 boot: Improve EFISTUB name and version detection.
  6cd12ebcfe45 boot: Retain ".conf" suffix for loader config IDs.
  65901c0fd164 boot: Ignore EFISTUB binaries starting with "auto-".
  7fa23ab646a0 boot: Make EFISTUB IDs use binaries' filenames.

(From OE-Core rev: 7b3cdc74773fce29ef4fec4f60b719f46c3e7f30)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Alex Kiernan
543afac598 systemd: Drop RDEPEND on systemd-compat-units when sysvinit is disabled
When sysvinit is disabled we have no init script support, so
systemd-compat-units serves no purpose.

(From OE-Core rev: bed3c48a0a8bc3d32f84f580f2949e86a8d135b7)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Alex Kiernan
133e137f95 run-postinsts: Set RemainAfterExit on systemd unit
run-postinsts is only expected to run once, but during startup, but if
any dependency is pulled into a transaction, even once it has been
marked disabled, then it can be restarted.

This leads to occasional failures during QA if an ssh session starts
whilst the existing transaction is still running:

  Finished Run pending postinsts.
  run-postinsts.service: Succeeded.
  Condition check resulted in Commit a transient machine-id on disk being skipped.
  Condition check resulted in Bind mount volatile /srv being skipped.
  Condition check resulted in Bind mount volatile /var/spool being skipped.
  Condition check resulted in Bind mount volatile /var/lib being skipped.
  Condition check resulted in Bind mount volatile /var/cache being skipped.
  Condition check resulted in Platform Persistent Storage Archival being skipped.
  Condition check resulted in Rebuild Hardware Database being skipped.
  Starting Run pending postinsts...
  Condition check resulted in Kernel Configuration File System being skipped.
  Condition check resulted in FUSE Control File System being skipped.
  Condition check resulted in Load Kernel Modules being skipped.
  Condition check resulted in File System Check on Root Device being skipped.
  Condition check resulted in Huge Pages File System being skipped.
  Condition check resulted in Journal Audit Socket being skipped.
  dropbear@125-192.168.7.2:22-192.168.7.1:44226.service: Succeeded.
  Condition check resulted in Platform Persistent Storage Archival being skipped.
  Started SSH Per-Connection Server (192.168.7.1:44226).
  dropbear@124-192.168.7.2:22-192.168.7.1:44224.service: Succeeded.
  Started SSH Per-Connection Server (192.168.7.1:44224).
  Condition check resulted in Commit a transient machine-id on disk being skipped.
  Condition check resulted in Bind mount volatile /srv being skipped.
  Condition check resulted in Bind mount volatile /var/spool being skipped.
  Condition check resulted in Bind mount volatile /var/lib being skipped.
  Condition check resulted in Bind mount volatile /var/cache being skipped.
  Condition check resulted in Platform Persistent Storage Archival being skipped.
  Condition check resulted in Rebuild Hardware Database being skipped.
  Failed to start Run pending postinsts.
  run-postinsts.service: Failed with result 'start-limit-hit'.
  run-postinsts.service: Start request repeated too quickly.

Setting RemainAfterExit ensures that the unit remains active and is not
gratuitously restarted, unless done so explicitly using systemctl
restart.

(From OE-Core rev: 9f5830375064af920c807b57b5b36691ad346199)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Alex Kiernan
0d201feb8d rng-tools: Restrict rngd.service
Whilst rngd has to run as root, we can significantly constrain its
permissions (network is only required if nistbeacon is enabled).

(From OE-Core rev: 3ed70b755d0b60e61e0871f8b0cca2e2ab5e13f9)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Alex Kiernan
c21dfbd8ea rngd-tools: Install as part of sysinit.target
rngd.service has a constraint of Before=sysinit.target, installing as
part of multi-user.target is an odd choice as unless it's pulled in by a
different dependency, an other target would not start it.

(From OE-Core rev: eeb1e236dab087b7565dbbf6979e2b4c03e56e91)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Alex Kiernan
4f568b44c6 openssh: Move sshdgenkeys.service to sshd.socket
sshd.socket launches the templated sshd@.service, so by moving the
sshdgenkeys.service to sshd.socket, key generation can start in advance
of a connection.

(From OE-Core rev: af38a39b4bed9e43c5075008be47ca72191a489e)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Lee Chee Yang
df77ee4723 wic: use Filesystem UUID when expand swap partition
part.get("uuid") return the Partition UUID from the partition
table instead of Filesystem UUID. This lead to swap partition
UUID not match/change when wic write expand swap partition.

change it to read the filesystem UUID using blkid. The output
from blkid should looks like this:
wic-partvzhiwq3s: LABEL="swap1" UUID="04e55c19-3f3f-4491-9e32-44eea8daa827" VERSION="1" TYPE="swap" USAGE="other"

[YOCTO #13313]

(From OE-Core rev: 683297eefebe83f848daad9927871242ab28ef91)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Alexander Kanavin
c7ce37d3dd testimage: add an overall timeout setting
This is useful when tests misbehave and get stuck, or when
a significant increase in testing time is undesirable and
needs to be caught automatically.

(From OE-Core rev: d77546e910ad9048f0057f4465716d417b810065)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Alexander Kanavin
4ae71d667d testimage.bbclass: correctly process SIGTERM
Python's unittest will not propagate exceptions upside
of itself, but rather will just catch and print them.

The working way to make it stop is to send a SIGINT
(e.g. simulate a ctrl-c press), which will make it exit
with a KeyboardInterrupt exception.

This also makes pressing ctrl-c twice from bitbake work
again (previously hanging instances of bitbake and qemu were
left around, and bitbake would no longer start until they
were killed manually).

(From OE-Core rev: 06568a06ca22ee279d1829d26d4c38738233c06a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Drew Moseley
594c9392e9 perl: Add missing dependency for tie-hash on carp.
(From OE-Core rev: f97a6d241d1ad1a2cb03ced05202f615223d3a32)

Signed-off-by: Drew Moseley <drew.moseley@northern.tech>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Wang Mingyu
f676a18b74 xorgproto: upgrade 2019.2 -> 2020.1
legacy.patch
removed since it is included in 2020.1

(From OE-Core rev: 5402e91bdca4d4068d93d9374974006d034fbdbf)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:50 +01:00
Wang Mingyu
4efe123fe7 msmtp: upgrade 1.8.7 -> 1.8.8
(From OE-Core rev: db90fff8918f449d433ab6e17423dec089ffe627)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:49 +01:00
Yeoh Ee Peng
2492d4fa53 oeqa/runtime/weston: Enhance weston tests
Existing weston test available make sure that a process
for weston-desktop-shell exist when image boot up.

Enhance weston tests by:
 - execute weston-info to make sure weston interface(s)
   are initialized
 - execute weston and make sure it can initialize a
   new wayland compositor (retry checking for
   wayland processes up to 5 times)
 - enable weston logging for debugging when fail
   to initialize wayland compositor

[YOCTO# 10690]

(From OE-Core rev: d06552c588bde8fc15c23d8fc2eb00a4243cbc3b)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:49 +01:00
Andrew Geissler
ae1be0d1d1 boost: revert 1.72.0 regression
https://www.boost.org/users/history/version_1_72_0.html documents a
"Known Issue" and has a revert patch for an issue that causes code to
fail to compile that includes the coroutine function. Without this
patch, code which includes the asymmetric_coroutine.hpp will fail to
compile.

(From OE-Core rev: e25e3f151c324272990ad6370c5bc71fd5d05c8c)

Signed-off-by: Andrew Geissler <geissonator@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-26 14:00:49 +01:00
Mark Morton
f9e1127643 Updated patch for publishing
(From yocto-docs rev: ac352ad7f95db7eeacb53c2778caa31800bd7c26)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 15:21:14 +01:00
mmorton
cd25abf777 Added usrmerge to distro-features for Bug 13494
(From yocto-docs rev: 049832ea4c13b01c31911ad0a6f3e170781db6cd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 15:21:14 +01:00
Robert P. J. Day
fe25ef9871 ref-manual: correct "script" dirname to "scripts"
(From yocto-docs rev: 43f042582675f89fcdf81c0cd2ac2602d4282cb3)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 15:21:14 +01:00
Richard Purdie
98f9b05875 bitbake: data_smart: Handle hashing of datastores within datastores correctly
If there is a datastore within a datastore (e.g. BB_ORIGENV) then
get-hash() doesn;t correclty handle the contents using the memory
address instead of the contents.

This is a patch from dominik.jaeger@nokia.com which addresses
this problem. Its been low priority since we don't include
BB_ORIGENV anywhere this would cause an issue as standard.

[YOCTO #12473]

(Bitbake rev: 1a8bcfc1eb89ccff834ba68fb514330b510976a2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:31:42 +01:00
Richard Purdie
8b1636763d bitbake: cache: Fix performance problem with large numbers of source files
Some companies are using large numbers of patch files in SRC_URI.
Rightly or wrongly that exposes a performance problem where the code
does not handle the large string manipulations in a way which works
efficienty in python.

This is a modified version of a patch from z00539568
<zhangyifan46@huawei.com153340508@qq.com which addresses the performance
problem. I modified it to use a more advanced regex, retain the "*" check
and cache the regex.

[YOCTO #13824]

(Bitbake rev: c07f374998903359ed55f263c86466d05aa39b68)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:31:42 +01:00
Paul Barker
ab26fdae9e bitbake: fetch2/wget: Set User-Agent when checking status of a URL
When a website is behind a CDN like Cloudflare there may be a "Browser
Integrity Check" or other test applied to requests before they are
allowed through to the server. Downloading via wget passes these tests
as headers are set appropriately, however the Python urllib module may
fail these tests unless additional headers are set. This causes
Wget.checkstatus() to fail where Wget.download() would actually succeed.

For Cloudflare in particular a valid User-Agent is needed, it's easy to
add this to the headers in Wget.checkstatus(). The user agent string is
copied from Wget._fetch_index().

(Bitbake rev: 4679d3cdb9cdf23f3962aa61c599ad7474591f9f)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:31:42 +01:00
Hongxu Jia
03826c61fd bitbake: tinfoil: fix config_data mess up insane check while parsing multiple recipes
Since commit [tinfoil: Simplify remote datastore connections][1] and
[tinfoil: Add back ability to parse on top of a datastore][2] applied,
bitbake run command parseRecipeFile with param config_data.dsindex rather
than config_data.

While calling tinfoil.parse_recipe_file() with one config_data (with the same
config_data.dsindex) to parse multiple recipes, it will mess up insane check.

It broke update_layer.py on layerindex, here are the simplified steps:
[snip]
t= bb.tinfoil.Tinfoil()
t.prepare()
data = bb.data.createCopy(t.config_data)
fn = "path_to/oe-core/meta/recipes-graphics/images/core-image-clutter.bb"
t.parse_recipe_file(fn, appends=False, config_data=data)
fn = "path_to/oe-core/meta/recipes-graphics/packagegroups/packagegroup-core-x11-base.bb"
t.parse_recipe_file(fn, appends=False, config_data=data)

|  File "path_to/oe-core/meta/classes/insane.bbclass", line 1303,
in __anon_1304__path_to_oe_core_meta_classes_insane_bbclass
|    bb.fatal("Fatal QA errors found, failing task.")
[snip]

In above failure, RDEPENDS is assigned `${PACKAGE_INSTALL} ${LINGUAS_INSTALL}
${IMAGE_INSTALL_DEBUGFS}' in core-image-clutter.bb, but it broke insane check
on packagegroup-core-x11-base.bb

>From commit [remotedata: enable transporting datastore from the client to
the server][3], it create a new DataSmart to save receive_datastore's remote_data
Similarly, make a copy of config_data(with different config_data.dsindex) could
fix the issue.

[1] http://git.openembedded.org/bitbake/commit/?id=85e03a64dd0a4ebe71009ec4bdf4192c04a9786e
[2] http://git.openembedded.org/bitbake/commit/?id=4618da2094189e4d814b7d65672cb65c86c0626a
[3] http://git.openembedded.org/bitbake/commit/?id=784d2f1a024efe632fc9049ce5b78692d419d938

(Bitbake rev: a3074807974536e370289c25fddcb9ad93cbc137)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:31:42 +01:00
zhengruoqin
9ef43dfb81 liburcu: upgrade 0.11.1 -> 0.12.0
(From OE-Core rev: 820b3aee5d7104182e33edd3068ab11cad457fdd)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
zhengruoqin
65f8df550a libtirpc: upgrade 1.2.5 -> 1.2.6
0001-xdr_float-do-not-include-bits-endian.h.patch
removed since it is included in 1.2.6

(From OE-Core rev: c940792e1492923036cae97010f9945e7ad43a32)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
LiweiSong
70be29c493 xf86-video-intel: Add more i915 pciids
Add more i915 pciids to make graphic work well on some new boards
like TigerLake.

(From OE-Core rev: 64e93cbb6660f1cb60fa2599f2fd87e44e6c7565)

Signed-off-by: Liwei Song <liwei.song@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Trevor Gamblin
691f8c5fc8 buildall-qemu: automate build testing for qemu MACHINEs
buildall-qemu simplifies the process of build testing an upgraded or
patched recipe by cycling through the build steps for each available qemu
target, with desired LIBC specified by the user as an option (defaulting
to both glibc and musl if no option is provided). While building, a log
file with the name "<recipe>-buildall.log" is written, containing a PASS
or FAIL line upon completion of the build for each architecture. For now,
qemu targets are not selectable (i.e. the recipe is built for all qemu
targets found in meta/conf/machine), but this functionality can be added
in the future along with other useful options.

The log file created by buildall-qemu also includes some basic system
info (e.g. build start time, hostname, host OS, host kernel). Since it is
not guaranteed that tools such as lsb_release will be available on the
host (it isn't by default on my Fedora machine), this information is
collected manually. Additionally, the previous run's log is retained for
comparison by renaming it in the format <recipe>-buildall.log.old once a
new set of builds is triggered for the same recipe.

We've seen multiple variations of this concept in use as one-liners and
as bash functions in dotfiles, so it seemed appropriate to submit it in
script form to oe-core for everyone to use.

Sample log output:

BUILDALL-QEMU LOG FOR aspell
START TIME: 2020-02-11_19:50:02
HOSTNAME: yow-tgamblin-fedora2
HOST OS: Fedora 31 (Server Edition)
HOST KERNEL: 5.4.10-200.fc31.x86_64
===============
BUILD RESULTS:
[glibc]
PASS: qemuarmv5
PASS: qemux86
PASS: qemuppc
PASS: qemumips64
PASS: qemux86-64
PASS: qemumips
PASS: qemuarm
PASS: qemuarm64
PASS: qemuriscv64
[musl]
PASS: qemuarmv5
PASS: qemux86
PASS: qemuppc
PASS: qemumips64
PASS: qemux86-64
FAIL: qemumips
FAIL: qemuarm
FAIL: qemuarm64
FAIL: qemuriscv64
===============
PASSED: 14
FAILED: 4

(From OE-Core rev: ee64b7db6651df4ed419e3d2649b4fb2f2faf830)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Konrad Weihmann
da0ab97f61 testimage: enable ovmf support
Add support for running wic images with EFI as testimage.
Introduces a variable called QEMU_USE_OVMF for configuration.

(From OE-Core rev: 3af8aaff68ed332d812ea7dc184d392700ad7882)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Wang Mingyu
b3a109509b ed: upgrade 1.15 -> 1.16
-License-Update: Copyright year updated to 2020.

(From OE-Core rev: 76e142a370c66dd7929c9df4401aae8346f2dd68)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Wang Mingyu
94df70eaaf bison: upgrade 3.5.3 -> 3.5.4
(From OE-Core rev: 0acf102023856e11df949d4889aa821df81abb8a)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Yi Zhao
f8c41e8e03 cups: add volatiles files to create /var/log/cups
Add volatiles files to create /var/log/cups directory rather than create
it directly when do_install.

(From OE-Core rev: 315689f58536dec4042ef9880c227a69e71e749d)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Joe Slater
13cad0f5c4 vim: do not adjust script paths building for target
When cross-compiling, do not change scripts to use host
versions of perl and gawk.

Also, use INSANE_SKIP to suppress QA complaints if perl
or gawk are not on the target.

(From OE-Core rev: 8972fe5581b9fe8ef14d539001758bb13bca6737)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Domarys Correa
5c90ec2d80 insane.bbclass: Add test for shebang line length
Shebang lines longer than 128 characters can give an error
depending on the operating system.
This implements a test that signals an error when locating a
faulty shebang.

YOCTO: #11053

(From OE-Core rev: e694b09cacf8eb0b7e189f449816d3d6a337cb37)

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Konrad Weihmann
8361b47d7f runqemu: add QB_ROOTFS_EXTRA_OPT parameter
Content of the optional parameter will be appended to the rootfs-device
in the qemu configuration, in case QB_ROOTFS_OPT is not specified.
By default this is empty.

Example use cases are:

Defining 'readonly' when using squashfs, so multiple instances of qemu
can share the same base image, something that cannot be done by just
specifying 'snapshot'.

Defining 'bootindex=0' which helps to get past the EFI shell in
ovmf-binary. This also enables the use case of running WIC images with
EFI bootloader through the testimage.bbclass.

(From OE-Core rev: e9b8c194636cb5505774a2a71bf54450580dd5b8)

Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Khem Raj
892c64e7c1 packagegroup-go-sdk-target: Enable on rv64
RISCV64 now supports golang (starting dunfell), therefore limit
disabling to rv32 only.

(From OE-Core rev: beb17254f019a7f72c9ab41298da7bcee6ad8ce8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
zhengruoqin
edd77b0041 man-db: upgrade 2.9.0 -> 2.9.1
(From OE-Core rev: 2aaede304944c66d33a7691c6ace1bdf8ebd9b87)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
zhengruoqin
d06edf8328 at-spi2-atk: upgrade 2.34.1 -> 2.34.2
0001-atk_test_util.h-add-missing-sys-time.h-include.patch was removed since it was included in 2.34.2

(From OE-Core rev: a2d1a3349fe92276ba28028209858c4c34ef527a)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Wang Mingyu
fe170b85af xserver-xorg: upgrade 1.20.7 -> 1.20.8
(From OE-Core rev: 4e06262ee0eafa4aff6dfcd7bd2fdd62820d5f12)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Wang Mingyu
37605f613f libusb1: upgrade 1.0.22 -> 1.0.23
no-dll.patch
removed since it is no available for 1.0.23

(From OE-Core rev: 5d55b5e3c5b41929e348a2c9ab69ce0ba774f0cb)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Wang Mingyu
a2bfc86aaf elfutils: upgrade 0.178 -> 0.179
(From OE-Core rev: c100ee0ca4499bb6264647ab37d0b1ddffcd7012)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:08 +01:00
Wang Mingyu
5d908eef1c libdrm: upgrade 2.4.100 -> 2.4.101
musl-ioctl.patch
removed since it is included in 2.4.101

(From OE-Core rev: 015e631cd18d982df03d4c829c0f8229a2face38)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Changqing Li
40f08d2c97 sysklogd: update the patch
(From OE-Core rev: be4c224273039a138750c8cf88ef0e0315a92ea5)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Bartosz Golaszewski
0cc4c008d6 qemuboot.bbclass: don't redefine IMGDEPLOYDIR
This variable is already defined in image.bbclass and there's not need
to redefine it here.

(From OE-Core rev: 3ab3b10d14798d27c8e5a096daab36d1bad64e80)

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Changqing Li
b2341e6f97 parselogs.py: ignore pulseaudio startup warning messages
If set default syslog to rsyslog, we can see below messages
in user.log,

[pulseaudio] authkey.c: Failed to open cookie file
[pulseaudio] authkey.c: Failed to load authentication key

They are only warnings when cookie file is not found. And
PulseAudio will create it if it doesn't exist.

refer:
https://wiki.archlinux.org/index.php/PulseAudio/Configuration
https://lists.freedesktop.org/archives/pulseaudio-discuss/2014-December/022719.html

(From OE-Core rev: f23c375f3d9e9fc15332347123ddb4a7fb7d3745)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
hongxu
85c30182b1 buildtools-tarball: add nativesdk-mtools for `wic ls'
On ubuntu 18.04.1, it does not provides `mdir' by default
which caused `wic ls **.wic' failed on fat partition

...
$ wic ls build/tmp-glibc/deploy/images/xilinx-zynqmp/wrlinux-image-std-xilinx-zynqmp.wic

ERROR: Can't find executable 'mdir'
...

Add nativesdk-mtools to buildtools-tarball and use buildtools
to provide mdir

(From OE-Core rev: f35a6586d62a98589ef6454f36b8fbeb30029c1b)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Yi Zhao
d32a0d25ef alsa-state: ignore 'No soundcards found' error in pkg_postinst
If there is no soundcards on the target (e.g. qemu), the pkp_postinst
function will report an error:
  alsactl: load_state:1735: No soundcards found...
  pkg_run_script: package "alsa-state" postinst script returned status 19.
  opkg_configure: alsa-state.postinst returned 19.

Pass '-g' option to alsactl to ignore this error.

(From OE-Core rev: 100fce2a65582b9032cb9412fbe8ca572a0549b1)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Tim Orling
a1a7dec7a1 python3-manifest.json: add pathlib to core
The pathlib module is for Object-oriented filesystem paths

It also provides a lot of handy utilities for checking on
paths. This seems to justify adding it to the core package
along side os, sys, and the other *path libraries.

[YOCTO #13670]

(From OE-Core rev: e5d3a6b2fb1fad62dec6389b16fec258df0b573d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Pierre-Jean Texier
499cadb904 ell: upgrade 0.30 -> 0.31
This is a bugfix release:

ver 0.31:
	Fix issue with verification of the second certificate in chain.
	Fix issue with handling trusted CA matching in verification.

(From OE-Core rev: ea92fd8ec153146d613516c4d32476f27ad1f815)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Wang Mingyu
edfb711a55 gnutls: upgrade 3.6.12 -> 3.6.13
(From OE-Core rev: 5cc0f0dcf1f41bc148b034b3f7abef756a328cd3)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Maxime Roussin-B?langer
5978daed3a tzdata: remove exit 0 from pkg_postinst
Documentation says that if you exit 0 in a pkg_postinst it will marked as
installed.
If you exit 0, before running postinst-intercepts defer_to_first_boot, the
pkg_postinst_ontarget script will not be present on target.

The "exit 0" in tzdata makes it difficult to have a bbappend with a
pkg_postinst_target step when you have `INSTALL_TIMEZONE_FILE = 0`

(From OE-Core rev: 338a67951c375d907b36b87d4115ee5489df722e)

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Khem Raj
cec802aa4d ruby: Link with libucontext on musl
coroutines in ruby 2.7+ needs ucontext APIs which are not available in
musl but an external library is available to provide them so use it

Use cached values for ac_cv_func_isnan and ac_cv_func_isinf this is not
detected correctly by configure on musl

on ARM drop using old arm32 implementation of coroutine which is slow and
inefficient

(From OE-Core rev: 406e7a085b0650bdba9f19633dadb7e6ff0149e5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Khem Raj
6762231809 libucontext: Bring in mips/mips64 support
License-Update: Updated copyright years [1]

Latest master 0.10.x+ has added support for mips/mips64, which should
help compile ruby on musl for these architectures

Switch SRC_URI to github upstream URI

Check for common arches before checking others in map_kernel_arch

Drop already upstreamed patches

[1] d31eaabbaf

(From OE-Core rev: aa3b25b649cfe5d30cc0d8a539fbbcc9efdb4fbd)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Jeremy Puhlman
76b27d57a9 buildtools-extended-tarball: Add libstc++.a
Builds like native-openjdk, really wants a to link
some tools against the static version. Since when
using the extended tarball, its the only place to
get it, add the library.

(From OE-Core rev: 59c4a3fdbbfd5a6aaba7e0a1675dcd5866a7f3a4)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Jeremy Puhlman
aee7ed7b38 nativesdk-gcc-runtime: enable building libstdc++.a
(From OE-Core rev: ef5cff3db22e911b7a6ecf3dac212903757b4df1)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Jeremy Puhlman
3a8d3a3984 qemu-system-native: Fix commented out PACKAGECONFIG
(From OE-Core rev: f2bcc384a6e90480b5b0f0c77530f014785b291e)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Paul Barker
b72dbb2e4b kernel-yocto.bbclass: Fix deps when externalsrc is used
do_kernel_configme was recently removed from SRCTREECOVEREDTASKS so this
task still runs when externalsrc is used. This task normally runs after
do_patch but when externalsrc is used, do_patch is removed and this ordering
restriction does nothing. This allows bitbake to execute do_kernel_configme
too early, causing races with do_unpack.

This is fixed by adding in a dependency on do_unpack when externalsrc is
used.

(From OE-Core rev: 75d31beb03d9369448d8d77e12321aa2d91bebf0)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Richard Purdie
4bd5cbabf6 bzip2/pbzip2: Correct license information
The license of pbzip2 looks slightly BSD like but is in fact the bzip2
license. The SPDX identifier for this is "bzip-1.0.6" since there is
another version of the bzip license out there.

To clear up all the confusion, use the SPDX license name and update
both recipes to refer to it. The copyright information is slightly
different between the codebases but the license looks the same.

(From OE-Core rev: 669600ef9b6155cd3d9b8092505a1eed289d40b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Denys Dmytriyenko
971ab23fa8 u-boot.inc: install u-boot-initial-env as ${PN}-initial-env in $D and $DEPLOYDIR
The common u-boot.inc can be used by multiple recipes in the same build for
different cores and/or multiple stages of the bootloader. Naming initial-env
with ${PN} prefix avoids clashes in deploy and rootfs between those recipes.

This fixes 69b3b093079c2ca2744d6c02747c5d1b5d3e7ecf that unconditionally
builds, installs and deploys u-boot-initial-env in the common u-boot.inc.

(From OE-Core rev: e0f697ea097f2eacc34f405ec22f9eef5c8e134d)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-24 14:10:07 +01:00
Maxime Roussin-Bélanger
a44b8d2856 dev-manual: remove postinst false statement
This outdated section contradicts the real behavior expressed in the next
paragraph

(From yocto-docs rev: 77e8a9e03b3bb6e6b6b2adf7796740fb362f189b)

Signed-off-by: Maxime Roussin-Bélanger <maxime.roussinbelanger@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-15 22:56:23 +01:00
Paul Eggleton
c31ddaba1f ref-manual: add migration section for 3.1
Migration information for the 3.1 release.

(From yocto-docs rev: dda13761733c7f3fe672f45b8d06f6c3fcf8cb30)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-15 22:56:23 +01:00
Paul Eggleton
545c067f9a dev-manual: basic updates for npm fetcher changes
Update the npm:// URL and the generated npm recipe, and remove
references to NPM_SHRINKWRAP, NPM_LOCKDOWN and lockdown functionality in
general.

(From yocto-docs rev: bc09233543abbf28adfcc1e214f85ef4c7c56639)

Signed-off-by: Paul Eggleton <paul.eggleton@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-15 22:56:23 +01:00
Richard Purdie
5d47cdf448 build-appliance-image: Update to master head revision
(From OE-Core rev: 1795f30d8ab73d35710ca99064c51190dc84853e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 22:15:35 +01:00
Richard Purdie
33903932ad Revert "u-boot: cmd/gpt.c: fix memory leak"
This reverts commit 32f01f9e72089d4412cef5da80970c99c651cc49.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 22:15:26 +01:00
Richard Purdie
5f1bc05ee4 build-appliance-image: Update to master head revision
(From OE-Core rev: b507cbbfadae7c169782c4305d646750a160e448)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 22:01:38 +01:00
rpjday@crashcourse.ca
51ecc1069a ref-manual: update PACKAGECONFIG glossary entry
Update the glossary entry for PACKAGECONFIG in two ways:

1) Explain the recent sixth argument, which identifies conflicting
   features for a given feature.
2) Use a different example, as the librsvg "croco" feature no
   longer works that way.

(From yocto-docs rev: af9bf61a54c059e72c807ca8061a57d6fe74c5fa)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 22:00:10 +01:00
Robert P. J. Day
c063e37425 overview-manual: fix obvious typo "ORHNAME"
(From yocto-docs rev: d40485a7eecb8d54179b562f05b4d7b044bb03b2)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 22:00:10 +01:00
Robert P. J. Day
4a115c52cf dev-manual: clarify how to select "read-only-rootfs"
For stylistic reasons, clarify the use of both IMAGE_FEATURES versus
EXTRA_IMAGE_FEATURES when configuring a read-only rootfs.

(From yocto-docs rev: 4111e4e70a87400671455ddd873d802d40d6b587)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 22:00:10 +01:00
Max Krummenacher
fc4d55008e libubootenv: update to latest git hash
This adds the missing feature 'negative offsets' which was present
in the orginal U-Boot based tools.

git change log:
* f4b9cde Allow negative offsets
* 45bf92a Detect sector size if not found in config
* 9f59db6 uboot_env: remove unused variables
* 65d243e README: libubootenv is now in oe-core

(From OE-Core rev: 72006a6034385d345ed273bcef3f465df8bb332a)

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 21:57:16 +01:00
Sakib Sajal
eba83a98eb u-boot: cmd/gpt.c: fix memory leak
Fixes CVE-2020-8432, a double free introduced
by commit 18030d04d25d7c08d3deff85881772a520d84d49

CVE: CVE-2020-8432
(From OE-Core rev: 32f01f9e72089d4412cef5da80970c99c651cc49)

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 21:57:16 +01:00
Changqing Li
9c760ffd3d parselogs.py: update network interface related messages
along with systemd upgrade, error message related change
network interface have changed, update it.

(From OE-Core rev: a8b2cd7470bcc25527577b95a26a0a528949232d)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 21:57:16 +01:00
Mingli Yu
3e78dc11c1 Revert "dhclient: not always skip the nfsroot interface"
This reverts commit[27aec88 dhclient: not always skip
the nfsroot interface] which used to address the IP
address renew issue when boot a system in a nfsroot fs
and altogether boot with ip=dhcp.

But reported by some tester, the above commit introduces
below issue when run ltp test on a nfsroot system which
boot with ip=dhcp:
nfs: server 192.168.100.1 not responding, still trying
nfs: server 192.168.100.1 not responding, still trying
[snip]

So revert the above commit now to avoid blocking test.

(From OE-Core rev: 5c172e0e8f8d02fe1dacec9d3574671baf9ad075)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 21:57:16 +01:00
Lee Chee Yang
ad030e8ff0 qemu: fix CVE-2020-11102
(From OE-Core rev: 47f8d0da838c59ab419f0cbae941f84693cb53c0)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 21:57:16 +01:00
Richard Purdie
f4e0b26568 Revert "wic: Fix permissions when using exclude or include path"
This reverts commit 36993eea89d1c011397b7692b9b8d61b499d0171.

After discussion on the mailing list it was felt these changes
were not ready yet.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 21:57:16 +01:00
Richard Purdie
157a12d499 Revert "wic: Add --embed-rootfs argument"
This reverts commit efdcf94801f6abe8e4099e324d9a3deccd8d4384.

After discussion on the mailing list it was felt these
changes were not ready yet.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-07 21:57:16 +01:00
rpjday@crashcourse.ca
9a5aa31870 dev-manual: use "git", not "apmd", to explain checksum names
The apmd recipe is no longer appropriate to demonstrate the use of
SRC_URI checksum names as it has only a single SRC_URI URL, so pick a
more illuminating recipe.

(From yocto-docs rev: 7f391a0656442e7ee2f3dd48b848befb7f461aec)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:53:24 +01:00
rpjday@crashcourse.ca
43ad3f54ea dev-manual: use "strace" for PV example, not cdrtools
Section 3.3.5, "Fetching Code", uses the cdrtools recipe as an example
for showing the use of PV, but that's a bad example since the current
cdrtools recipe file contains:

  SRC_URI = " \
  ${SOURCEFORGE_MIRROR}/project/cdrtools/cdrtools-${REALPV}.tar.bz2 \
  ...

  PV = "3.01a31+really3.01"
  REALPV = "3.01"

which is not exactly the point the dev manual is trying to make, so
replace with simpler strace recipe.

(From yocto-docs rev: d865b0288a4162a8d4df9a2abde43875e3dc2ced)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:53:24 +01:00
Richard Purdie
45792835fe build-appliance-image: Update to master head revision
(From OE-Core rev: fcc68424f1dbd52fe3cef6decabc306fd06947c1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:50:40 +01:00
Richard Purdie
40d8ea5a49 poky.conf: Bump version for 3.1 dunfell release
(From meta-yocto rev: 3f6857be9be9ab5e2ede9a416c212487357eec0d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:50:31 +01:00
Richard Purdie
70ee928f8f bitbake: tinfoil: Add back ability to parse on top of a datastore
This option was removed recently as we didn't realise the layerindex
relies upon it. Add back the API which it turns out can be supported
as long as we assume the datastore passed in is a remote datastore
which it usually would be unless created locally.

(Bitbake rev: 4618da2094189e4d814b7d65672cb65c86c0626a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:45:34 +01:00
Richard Purdie
9435b6cf10 bitbake: data/siggen: Don't expand ignored variables
If a variable is in the signature whitelist, we'd currently expand
it, then later ignore the data. This is problemtic for code which
has effects when expanded, recently source date epoch in OE-Core
for example.

We don't actually need to do this, if we pass the whitelist into
the earlier function it can avoid the expansion. This also also
give a small performance boost since we avoid running code in some
cases.

[YOCTO #13581]

(Bitbake rev: f483ee4a869fb1dafbe4bdf2da228cdaa40b38bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:45:34 +01:00
Adrian Freihofer
f15a1f2b7f runqemu-extract-sdk: fix install debugfs on rootfs
At least with my current setup and acc. the manual, the images are named
like image-dbg.rootfs.tar.bz2.

The filter has two bugs:
- expects something like -dbg.tar
- tar without compression suffix is not allowed

(From OE-Core rev: e5fb903db308c508fc44bada89fd0210810301a9)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:45:11 +01:00
Jan Luebbe
d4fb02ee8b apt-native: don't let dpkg overwrite files by default
With --force-overwrite (implied by --force-all), dpkg will not abort
when a package overwrites files from different packages. As this can
also lead to "The following package disappeared from your system as
all files have been overwritten by other packages: <package>" and
subsequently broken dependencies, this makes the simple case of
conflicting files hard to debug.

Instead of finding all possibly required force options, only disable
overwrite for now.

(From OE-Core rev: 4292387ef6c4e80428bad6a07c844a288b27d9a1)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:45:11 +01:00
Khem Raj
6902357198 systemd: Package systemd-hwdb-update.service into udev
Currently, this unit is packaged into udev-hwdb which then adds it as rdep
instead of rrecommends to systemd itself, this meant that even if we
added udev-hwdb to BAD_RECOMMENDATIONS, it would not be respected since
its a rdep, therefore move the service unit file into udev package
instead, this decouples the hard runtime dependency and restores the bad
recommendations expectations

(From OE-Core rev: bfaaefe8346e9f0eab153981fe6a3cc63590afb5)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alex Kiernan <alex.kiernan@gmail.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:45:11 +01:00
Ricardo Ribalda Delgado
c4cd85ca3e pseudo: During DB fix, remove files that do not exist
If a file does not exist, either because it has been removed outside
bitbake, or because only some of the files have been moved to a
different location, delete it from the pseudo-db is the user decides to
fix the database.

(From OE-Core rev: 79f7212ae71a4eb9e7abfe2c333b035ccc10e5c5)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:45:11 +01:00
Ricardo Ribalda Delgado
242412656b wic: Add --embed-rootfs argument
This option adds the content of a rootfs on a specific location on the
rootfs.

It is very useful for making a partition that contains the rootfs for a
host and a target Eg:

/ -> Roofs for the host
/export/ -> Rootfs for the target (which will netboot)

Although today we support making a partition for "/export" this might
not be compatible with some upgrade systems, or we might be limited by
the number of partitions.

With this patch we can use something like:

part / --source rootfs --embed-rootfs target-image /export --embed-rootfs target-image2 /export2

on the .wks file.

(From OE-Core rev: efdcf94801f6abe8e4099e324d9a3deccd8d4384)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:45:11 +01:00
Ricardo Ribalda Delgado
6bac089383 wic: Fix permissions when using exclude or include path
When parameters include_path or exclude_path are passed to the rootfs
plugin, it will copy the partition content into a folder and make all
the modifications there.

This is done using copyhardlinktree(), which does not take into
consideration the content of the pseudo folder, which contains the
information about the right permissions and ownership of the folders.

This results in a rootfs owned by the user that is running the wic
command (usually UID 1000), which makes some rootfs unbootable.

To fix this we copy the content of the pseudo folders to the new folder
and modify the pseudo database using the "pseudo -B" command.

(From OE-Core rev: 36993eea89d1c011397b7692b9b8d61b499d0171)

Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:45:11 +01:00
Richard Purdie
f4c7f9ebae pseudo: Force seccomp to return success when in fact doing nothing
Pseudo changes the syscall access patterns which makes it incompatible with
seccomp. Therefore intercept the seccomp syscall and alter it, pretending that
seccomp was setup when in fact we do nothing. If we error as unsupported,
utilities like file will exit with errors so we can't just disable it.

This works around issues on platforms where seccomp is enabled in file
(e.g. archlinux).

(From OE-Core rev: bc895522eb940539a0e3cb6192c4a64f13ca8d6a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:45:11 +01:00
Richard Purdie
40407d28f0 bitbake: bitbake: Update to version 1.46
(Bitbake rev: 76396230731432b38fdcb25ad27bb84065bc89e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 16:43:38 +01:00
Tim Orling
3b718dbdae brief-yoctoprojectqs: buildtools changes
Bump tar, Python versions and add new gcc requirement.

Update reference from 'required-git-tar-and-python-versions'
to 'required-git-tar-python-and-gcc-versions'

(From yocto-docs rev: ca6334c1653d5e2abfe77865391509a8cd516d88)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:25 +01:00
Tim Orling
edaad681fb dev-manual: buildtools versions and changes
Bump tar, Python versions and add new gcc requirement.

Update reference from 'required-git-tar-and-python-versions'
to 'required-git-tar-python-and-gcc-versions'

(From yocto-docs rev: 18b11662c7c9ab7828d2709eed4090116a751e14)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:25 +01:00
Tim Orling
07aaa69d57 ref-manual: add install-buildtools and -extended
Add instructions to use 'install-buildtools' and
'buildtools-extended-tarball'.

Add gcc 5.0 requirement and call out how to
use above to prepare host development system.

(From yocto-docs rev: c6dbd9bf6860ffea1bc025907343373439d91737)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:25 +01:00
Tim Orling
e75301e018 ref-manual: fix debian-8 system reqs
jessie-backports is no longer supported, so python3-git and
pylint3 are not installable via apt-get (or at least not
without disabling security checks by using archive.debian.org)

Add note to use pip3 to install instead.

(From yocto-docs rev: 19a02c5c6ef9a317c2339c2ec71200e51335e32f)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:25 +01:00
Tim Orling
2888172856 ref-manual: bump tar and python min versions
* tar min version is now 1.28
* python min version is now 3.5

(From yocto-docs rev: 96dfaee63f84c21fc2bf460ded642b853a5317cf)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:25 +01:00
Tim Orling
cdca9b23c9 ref-manual: split CentOS-7 and CentOS-8 reqs
CentOS-7 has different requirements than the much
newer CentOS-8. Add a section for CentOS-8 and
make the old section CentOS-7 specific.

NOTE: at the time this was written, the 'fop'
package is not yet available in epel-8. As
a Fedora packager, that will change.

(From yocto-docs rev: caf08811a23a29965ec915459019796a0c882d4d)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:25 +01:00
Tim Orling
cb6bb9d914 poky.ent: split centos-7 and centos-8
Update Centos-7 to require python3, not python.

CentOS-8 has different installation requirements than
either CentOS-7 or Fedora (although it is closer to
Fedora).

Allow for differentiation between CentOS versions.

(From yocto-docs rev: 615fc45108d10e842679b3d8a38b53074d3eed4b)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:25 +01:00
Tim Orling
85cc7cb4df poky.ent: recommend python36-pip for CentOS
'python3' in EPEL7 is now Python 3.6, so we
should be recommending python36-pip

Python 3.4 is EOL [1]

[1] https://www.python.org/downloads/release/python-3410/

(From yocto-docs rev: 817ca8adc91d9975b9ec57e7fead7fdff4001854)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
akuster
24dab56884 documentaiton: Change author info
Update the author indo and use variables for author and email to make it
easier to change in future.

(From yocto-docs rev: 4fdf2a060705fa00b11b5a9d270f4ffa506c9927)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
d4a3a121ed BSP Guide: numerous tweaks/grammar/wording/clarification
(From yocto-docs rev: 3a87e5900b603f124ce7f63fd072415762f63212)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
284af91476 kernel-dev: fix explanation of KBUILD_DEFCONFIG
KBUILD_DEFCONFIG is meant to refer to an *in-tree* defconfig file, not
an external one.

(From yocto-docs rev: 34202eee3fc2bb4e0b92374822bff87fd3af1ebc)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
0096b10efe correct mention of "postinst_intercept delay_to_first_boot"
Migration to YP 2.5 contains incorrect description of routine for
delaying to first boot.

(From yocto-docs rev: 08f71ec137822c0c19b56956d7045dfb73a544d7)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
4f58e37e17 ref-manual: minor rewording/clarification in chapter 2
(From yocto-docs rev: a9a3248b12b85f3637ebe5eddd4b1a29268d5598)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
77f6e7bb4e ref-manual: minor rewording in chapter 1
(From yocto-docs rev: 5582f01fc4774e7d21af24627bbd47a77463d272)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
5486dd3680 ref-manual: update PROVIDES example, clarify use of "+="
Update the example used in explaining the PROVIDES variable to one
that actually exists, and point out that "+=" is unnecessary, a simple
assignment is sufficient.

(From yocto-docs rev: 80cd888ee81757bc5281f174b26974391ee45522)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
f63d44ab32 ref-manual: various touchups, rewordings, corrections to Ch 5
Minor tweaks to chapter 5 of reference manual, including:

 - grammar
 - adding slashes to directory names for consistency
 - collapse trivial paras into one

(From yocto-docs rev: 96b75e723bff042183f70a858d09df4aad094578)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
a5ac4b6fca use defined entity "YOCTO_DOCS_URL", not "YOCTO_HOME_URL"
Given the defined DocBook entity:

  <!ENTITY YOCTO_DOCS_URL "&YOCTO_HOME_URL;/docs">

replace numerous instances of the more verbose
"&YOCTO_HOME_URL;/documentation", which is a redirect, anyway.

rday

(From yocto-docs rev: 53fa17321624028b12d880bc4236fbef46675eb4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
b31daa130a dev-manual: minor tweaks, rewording, grammar for chapter 2
(From yocto-docs rev: 706386ac094479916e1cc482e56a6433caa85e1a)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
fd54658d87 dev-manual: clarify PN usage in packagegroup files
Make it clear to the reader that they can use the much shorter form of
${PN} for the base packagegroup name, rather than typing it out in
full.

(From yocto-docs rev: 19915978c30bbf37b65d9887c78a23394779f079)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
63efaa94c1 dev-manual: add missing check to yocto-check-layer section
Add explanation of missing checks performed by yocto-check-layer, and
fix one typo.

(From yocto-docs rev: 231bb92fa4a9c044894f845b8d6d0b9498abfc49)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
5f6e055dc8 dev-manual: use actual machine override demonstration
Given that the section in question is describing how to configure
dependencies based on the machine type, it seems inappropriate to use
an example that depends on the choice of C library, so grab a snippet
from linux-yocto.inc to really drive the point home.

(From yocto-docs rev: 66bfec015f61a690f96cf8e28b80869c77327e6d)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
rpjday@crashcourse.ca
0bcf88c375 dev-manual: explain LAYERDEPENDS with other layer.conf vars
(From yocto-docs rev: 2d56b38e1a1d4a89c0ed46af93791fe1fbdfecc9)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:40:24 +01:00
Alejandro Hernandez Samaniego
189791a43d dev-manual: Fix CROPS link
The link used in the documentation points to a file
that no longer exists on the crops repository.

Use the poky-container repo instead since it is more
accurate and updated

(From yocto-docs rev: 5d16ccecf0b198af0f78a4cce28532ab9dca739f)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Alejandro Hernandez Samaniego
e2053e2547 overview-manual-yp-intro: Fix CROPS link
The link used in the documentation points to a file
that no longer exists on the crops repository.

Use the poky-container repo instead since it is more
accurate and updated.

(From yocto-docs rev: c5e21f5d18f4fc069ccc05cd82819eda291fcf9d)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Alejandro Hernandez Samaniego
fb1c4df08b overview-manual-development-environment: Fix CROPS link
The link used in the documentation points to a file
that no longer exists on the crops repository.

Use the poky-container repo instead since it is more
accurate and updated.

(From yocto-docs rev: 98d2a2161a30d9080bc7dea8ae7964893563b1e2)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Yeoh Ee Peng
c2ca25e51e dev-manual-common-tasks.xml: Replace "QemuTarget" with "qemu"
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"QemuTarget" was obsolete and replaced by "qemu".
Replacing the refer of "QemuTarget" with "qemu".

(From yocto-docs rev: f89d18adb62bc864e7890a613ff860bd3e4279ed)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Yeoh Ee Peng
0b46a94528 ref-variables.xml: Replace "QemuTarget" with "qemu"
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"QemuTarget" was obsolete and replaced by "qemu".
Replacing the refer of "QemuTarget" with "qemu".

(From yocto-docs rev: 87691219dfe312c0db0af1fa30cc3505298a27af)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Yeoh Ee Peng
004b87f476 dev-manual-common-tasks: Replace "SimpleRemoteTarget" with "simpleremote"
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"SimpleRemoteTarget" was obsolete and replaced by "simpleremote".
Replacing the refer of "SimpleRemoteTarget" by "simpleremote".

(From yocto-docs rev: 41823811229754805c682ecec6903399bfe606fe)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Yeoh Ee Peng
48bbafde4e ref-variables.xml: Replace "SimpleRemoteTarget" with "simpleremote"
As the OEQA code revamp and code changes in testimage.bbclass,
testexport.bbclass, runtime/context.py and oeqa/runexported.py,
"SimpleRemoteTarget" was obsolete and replaced by "simpleremote".
Replacing the refer of "SimpleRemoteTarget" by "simpleremote".

(From yocto-docs rev: 1779a6d699ae7a6e51f8b92516eea948c1767400)

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Alejandro Hernandez Samaniego
734f5cb5ba brief-yoctoprojectqs: Document the basics of WSL and create a link to the build host setup process
(From yocto-docs rev: 225e2aff28a4a68faf1bf1c702e7deacc9effbde)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Alejandro Hernandez Samaniego
42daacc1ac overview-manual: Document the basics of WSL and create a link to the build host setup process
(From yocto-docs rev: 317059cbfcd8fdb342819b00f9f2836e44ce3d8b)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Alejandro Hernandez Samaniego
57a3886757 dev-manual: Document the WSLv2 install process
(From yocto-docs rev: 65e3a1b3c82475f706418b8ec7d0e6bed34b382b)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Alejandro Hernandez Samaniego
0894fd32bd ref-manual: Explain the project is not validated against WSL but people may still use it
(From yocto-docs rev: c55378d8a5597b3760dd9aae766af735a61a6158)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Alejandro Hernandez Samaniego
26da846034 Windows: Enable Windows builds under WSLv2 and warn accordingly
Due to the architectural changes between Windows Subsystem for Linux v2,
and WSL v1 it should now be possible to run bitbake on the several distros
offered through the Microsoft Store.

WSLv2 is available on Windows 10 build number > 18917

The current build number may be checked by opening a cmd prompt on Windows
and running:

C:\Users\myuser>ver

Microsoft Windows [Version 10.0.19041.113]

If a distro has already been installed via the Microsoft Store, then we can
check which WSL version its using by opening a Windows Powershell (notice this
is a powershell and not a cmd prompt):

C:\WINDOWS\system32> wsl -l -v
  NAME      STATE           VERSION
  * Ubuntu    Running         2
    Debian    Stopped         1

In this case it shows two distros installed, Ubuntu running WSLv2 and
Debian running WSLv1

To change the version of WSL being used by a certain distro run:

C:\WINDOWS\system32> wsl --set-version <Distro> 2

e.g

C:\WINDOWS\system32> wsl --set-version Debian 2

For more information on installing WSLv2 please look at:

  https://docs.microsoft.com/en-us/windows/wsl/wsl2-install

There are some caveats related to the way storage is handled by WSLv2 though,
and at this point these have to be managed by the user manually, the storage
space used by WSL is not reflected immediately and since bitbake heavily uses
storage, after several builds this can prove to be a bit of an issue.

WSLv2 uses a VHDX file for storage, this issue can be easily avoided by
optimizing this file every now and then, this can be done via the following:

1.- Find the location of your VHDX file:
 - Get the distro app package directory.
 - Open Windows Powershell as Administrator and run:
  Get-AppxPackage -Name "*<DISTRO>*" | Select PackageFamilyName

 e.g.:
  PS C:\WINDOWS\system32> Get-AppxPackage -Name "*Ubuntu*" | Select PackageFamilyName

 PackageFamilyName
  -----------------
   CanonicalGroupLimited.UbuntuonWindows_79abcdefgh

 Replace the PackageFamilyName (and your user) on the following path:

 C:\Users\<user>\AppData\Local\Packages\<PackageFamilyName>\LocalState\

 e.g.

 ls C:\Users\<user>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79abcdefgh\LocalState\

 Mode                 LastWriteTime         Length Name
  -a----         3/14/2020   9:52 PM    57418973184 ext4.vhdx

 The VHDX file path is:
  C:\Users\<user>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79abcdefgh\LocalState\ext4.vhdx

2.- Optimize your VHDX file (Also on Powershell):
 - Make sure WSL is shutdown
  wsl --shutdown

 - Optimize it
  optimize-vhd -Path C:\Users\<user>\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_79abcdefgh\LocalState\ext4.vhdx -Mode full

 A progress bar should be shown while optimizing the VHDX file.

 As an example, after building core-image-sato, removing the TMPDIR did not reflect
 any changes on Windows Explorer for storage space being used, after optimizing the
 VHDX file, 14 extra GB were shown as free.

 So, as long as the the user optimizes its storage, the builds should run smoothly.

This patch warns the user that is running bitbake under WSLv2, that they should
optimize the VHDX file eventually to avoid storage issues.

The same check previoulsy used for WSLv1 works for WSLv2, checking for the kernel
version:
WSLv1:
Linux version 4.4.0-19041-Microsoft (Microsoft@Microsoft.com)

WSLv2:
Linux version 4.19.84-microsoft-standard (oe-user@oe-host)

Builds have been tested under Ubuntu and Debian distros offered and installed through
the Microsoft Store, and other distros should be able to run builds just as fine.

Performance wise, using the same hardware, and same configuration a comparison between
builds using native Linux vs WSLv2 for the following targets has been performed:
- core-image-minimal
- core-image-sato
- core-image-sato-sdk
- meta-toolchain

No real evidence of any performance changes could be found, with WSLv2 builds running even
faster in some cases.

Running a recently built image can be done just as smoothly, if using "nographic" as
argument for runqemu, or if its a graphical image, installing an X server and running
runqemu runs just as fine.

Happy bitbaking.

(From OE-Core rev: c42cec0c1c57c4e67dc7cdb07c5e4aba14a847d3)

Signed-off-by: Alejandro Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-06 14:25:52 +01:00
Yi Zhao
c94ce41660 busybox: sysctl: ignore EIO of stable_secret below /proc/sys/net/ipv6/conf
Avoid confusing messages caused by EIO on reading
/proc/sys/net/ipv6/conf/*/stable_secret if those are not set yet.
Make it behave the same as procps(>=3.3.13).

Fixes:
$ sysctl -a | grep ipv6.conf | grep stable_secret
sysctl: error reading key 'net.ipv6.conf.all.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.default.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.eth0.stable_secret': Input/output error
sysctl: error reading key 'net.ipv6.conf.lo.stable_secret': Input/output error

(From OE-Core rev: ff074f495dd4bb637618f790dd30e51e542cd30a)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
Khem Raj
c822e9b935 icu: Mark strtod_l unavailable on musl
Musl version is just a wrapper to strtod and not an exposed API

(From OE-Core rev: 660fdaa95858485b1caa779f1137a933c1f5d5f6)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
Khem Raj
72a56c2bd0 icu: Add knobs to generate a subset of ICU data
Recent versions of ICU (64+) provides a tool for configuring ICU
locale data file with finer granularity [1]

Default generated size for libicudata.so.66.1 is ~27M, which is quite
large for embedded systems and all of them may not even need all locale
data.

This patch calls the icudata buildtool during configure on the icudata
and utilizes a filter called 'filter.json` ( empty by default) to
create the data, default behavior should remain same but someone can
add a filter.json in own layer to configure this data, e.g.

{
  "localeFilter": {
    "filterType": "language",
    "whitelist": [
      "en",
      "de",
      "it"
    ]
  }
}

would only generate the locale data for english/german/italian

This would reduce the size of libicudata.so.66.1 to 12M

Ensure that icudata is generated using host-tools so it can deal with
endianness correctly, when host and target systems have different
endianness

install the icudtata file back into in/ folder so that main build
can now pickup this data file instead of regenerating it and wiping
out the filter changes that are expected to take effect

Use native compiler tools

Update the big-endian support patch to apply to latest Makefile.in
from icudata source and mark it as backport

defer applying 0001-Fix-big-endian-build.patch after moving new data/ in

[1] https://github.com/unicode-org/icu/blob/master/docs/userguide/icu_data/buildtool.md

(From OE-Core rev: 5e5be67744d7ddf5a9ac433ecba02f697a84a325)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Suggested-by: Wouter Meek <w.meek@metrological.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
Khem Raj
8fad68fb3c binutils: Use configure options to disable gdb and dependencies
Deleting sources is a rough way of dealing with disabling components,
using configure option is elegant way and we also keep the sources
unchanged, this should not cause any funcitonal changes otherwise

(From OE-Core rev: 1921711c9e7a915dbf04c3909bee39450c907845)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
Tim Orling
58796dc18f scripts/install-buildtools: refactor for Python 3.4
Our least common denominator supported distro is debian-8
which has python 3.4. The whole point of the install-buildtools
script is to make it easier on the user to install buildtools
tarball. So it needs to run on Python 3.4.

The way we checked if the install was successful in the prior
version of the script was not workable in python 3.4. Since
the environment-setup-... script is currently just exporting
environment variables, use os.environ to do the equivalent from
values gleaned via regex from the environment-setup-... file.

Corrected a couple minor whitespace errors

NOTE: License changed to GPL-2.0-only due to inclusion of code
copied directly from bitbake/lib/bb/utils.py. This avoids the
need to depend on bitbake, which is now Python 3.5+ only.

(From OE-Core rev: 869020dac889e9ed79a294f308a87cfd946a68bd)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
Paul Gortmaker
45157a4e82 sanity.bbclass: echo current SDK_VENDOR if it is invalid
It can be frustrating if this sanity check triggers, but you
don't know why; you haven't explicitly set any SDK vars, or
similar.

At least echo out the offending value, so the end user has
a bit more information to go on.

Before:
  SDK_VENDOR should be of the form '-foosdk' with a single dash
After:
  SDK_VENDOR should be of the form '-foosdk' with a single dash; found '-overc-sdk'

Cc: Ross Burton <ross.burton@intel.com>
(From OE-Core rev: e238fa177bd72bc5d165fbe4f640132267a1d3fd)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
Jeremy Puhlman
8b8d689754 nativesdk-binutils: correct path to ld.so.conf
The alternative ld.so patch is set up so the linker will search
the nativesdk sysroot before searching the host filesystem.

However the patch concatenates <sysroot>/etc and /etc/ld.so.conf
leading to a path that does not exist:

3061991 openat(AT_FDCWD, "/buildtools/sysroots/x86_64-pokysdk-linux/etc/etc/ld.so.conf",
O_RDONLY) = -1 ENOENT (No such file or directory)

In native-nspr, the build uses -lpthread, which triggers a search for librt, but because
of the above it drags in the system librt leading to errors as follows:

/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/gcc/x86_64-pokysdk-linux/
9.3.0/../../../../x86_64-pokysdk-linux/bin/ld: /lib64/librt.so.1:
undefined reference to `__clock_getcpuclockid@GLIBC_PRIVATE'

update concatenation to correctly construct the path to the nativesdk ld.so.conf

[YOCTO #13853]

(From OE-Core rev: d085da8300abb72e14957ecedf40189b25088d4b)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
rpjday@crashcourse.ca
af4a96e8b2 cdrtools-native: remove use of REALPV in versioning
There appears to be no need for the use of REALPV in the recipe for
cdrtools-native as the downloaded tarball has the official version in
it.

(From OE-Core rev: d99309924fd33342748bd572816b2682bc7e32ab)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
Daniel Gomez
5cd71814ac glib-2.0: Backport GMainContext fixes
Backport fixes introduced in 2.63.6 for memory leaks and memory corruption in
GMainContext

Upstream merge: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1353

Fixes SIGSEGV in GStreamer:

    Thread 2 "multihandlesink" received signal SIGSEGV, Segmentation fault.
    [Switching to Thread 0x7ffff6bb9700 (LWP 18045)]
    0x00007ffff7d65992 in g_source_unref_internal (source=0x7ffff00047d0, context=0x55555561c800, have_lock=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:2146
    2146    ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c: No such file or directory.
    (gdb) bt
    #0  0x00007ffff7d65992 in g_source_unref_internal (source=0x7ffff00047d0, context=0x55555561c800, have_lock=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:2146
    #1  0x00007ffff7d65bb6 in g_source_iter_next (iter=iter@entry=0x7ffff6bb8db0, source=source@entry=0x7ffff6bb8da8) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:980
    #2  0x00007ffff7d67ef3 in g_main_context_prepare (context=context@entry=0x55555561c800, priority=priority@entry=0x7ffff6bb8e30) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:944
    #3  0x00007ffff7d6896b in g_main_context_iterate (context=context@entry=0x55555561c800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:3900
    #4  0x00007ffff7d68b4c in g_main_context_iteration (context=0x55555561c800, may_block=may_block@entry=1) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gmain.c:3981
    #5  0x00007ffff6be4482 in gst_multi_socket_sink_thread (mhsink=0x555555679ab0 [GstMultiSocketSink]) at ../../../gst-plugins-base-1.14.4/gst/tcp/gstmultisocketsink.c:1164
    #6  0x00007ffff7d8fb35 in g_thread_proxy (data=0x55555565c770) at ../../../../../../../repo/workspace/sources/glib-2.0/glib/gthread.c:784
    #7  0x00007ffff7841ebd in start_thread (arg=<optimized out>) at pthread_create.c:486
    #8  0x00007ffff7aa12bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
    #8  0x00007ffff7aa12bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

(From OE-Core rev: 62eb45e6455df99b0c8b61bfb90858bb656bd724)

Signed-off-by: Daniel Gomez <daniel@qtec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
Jeremy Puhlman
ac39c11d49 busybox: on upgrade save busybox if it is the last shell
During a busybox upgrade on a ipk based system, it is possible
that busybox is the only shell in the system. During the uninstall
the alternative for /bin/sh is removed and everything after that
goes down hill.

* Add a check to verify if busybox is the shell, and save it to
the busyboxrm directory created in tmp. Then add an alternative
for /bin/sh that points to that busybox at the lowest priority.

* Add PATH to the busyboxrm directory using shell(as during an upgrade
busybox and its links are missing).

* When install over remove extra busybox if present.

deb and rpm are uneffected by the bug because they both drag in bash,
however neither upgrade seemed to have issue with the changes.

[YOCTO 13850]

(From OE-Core rev: a9d2af8f5b3da8239cf00a52883ca596a19ea23a)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
Martin Kelly
1b15cc6e65 cmake: fix Python executable with cmake
Currently, CMake has two ways of finding Python executables:
FindPythonInterp and FindPython/FindPython3. FindPythonInterp is
deprecated and may be removed at some point. Currently, python3native
sets PYTHON_EXECUTABLE, which FindPythonInterp uses. This is a problem
for a few reasons:

- Setting PYTHON_EXECUTABLE as an environment variable doesn't work, as
  CMake needs it to be set as an explicit CMake option via -D.
- Projects using the newer FindPython/FindPython3 don't pickup the right
  Python, as the newer routines use Python_EXECUTABLE and
  Python3_EXECUTABLE.

Fix this by setting PYTHON_EXECUTABLE, Python_EXECUTABLE, and
Python3_EXECUTABLE using -D options to EXTRA_OECMAKE.

The CMake routines are documented below:
https://cmake.org/cmake/help/latest/module/FindPythonInterp.html
https://cmake.org/cmake/help/latest/module/FindPython.html
https://cmake.org/cmake/help/latest/module/FindPython3.html

(From OE-Core rev: a22200a646eaf42cd4902a2fe3358d29717ac129)

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:38 +01:00
Martin Jansa
c23d6f7799 prservice.py: fix do_package with newer Python in Ubuntu 20.04
* with Ubuntu 20.04 which is using python 3.8 I'm seeing a lot of errors like:
  ERROR: libxml2-2.9.10-r0 do_package: Can NOT get PRAUTO, exception No module named '_sysconfigdata'
  not sure what caused this from python 3.8, but this seems to work
* PRserv is enabled with:
  PRSERV_HOST = "localhost:0"

(From OE-Core rev: 4b26eaf7152fb712aba47a0c746333578f58ee8d)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:37 +01:00
Lee Chee Yang
cae5e155a8 cve-update-db-native: fix DB file version for '-'
fix logic for CVE DB update so that when the CPE version is '-',
it keeps the version as '-' in the DB file too and leave other
operation as blank.

(From OE-Core rev: 0ec35b00d65c70485eb1efe602d9fca53e926811)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:37 +01:00
Richard Purdie
4c9cfe61a5 sanity: Require gcc 5.0 minimum version
After polling various develoeprs, its clear that many layers are struggling
with gcc 4.8 and its better for the project to adopt 5.0 as a minimum
version at this point in time. We should have technology like
buildtools-extended-tarball available to ensure things still work on Centos 7
and Debian 8.

(From OE-Core rev: abc741af16311cb473b7e3185ae34265b243d804)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-05 11:46:37 +01:00
Mingli Yu
930540d90f dhcp: add RDEPENDS for dhcp-client
Add iproute2 RDEPENDS for dhcp-client as
/sbin/dhclient-systemd-wrapper which called
by dhclient.service depends on ip command which
provided by iproute2 package when systemd enabled
in DISTRO_FEATURES.

(From OE-Core rev: 0c91fcba446418ad1f71d3df9aa3b186bbd353c7)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:59 +01:00
Mingli Yu
5badcf8168 dhclient: not always skip the nfsroot interface
Don't skip the nfsroot interface when use dhcp
to get the address for nfsroot interface as the
nfsroot interface may need dhclient to renew
the lease.

(From OE-Core rev: 27aec88c2ff4588acacadbe1cd61d7ce233fc817)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:59 +01:00
Otavio Salvador
4882a93566 u-boot: Restore valid default environment for running system
One significant change from previous OE-Core releases was the move from
u-boot-fw-utils to libubootenv which offers a generic and not machine
specific alternative. However, it is not fully functional as currently
we don't provide the default environment nor the required configuration
file to be used by it.

This change address this and include on the default u-boot.inc the
needed code to generate, install and deploy the default environment.

(From OE-Core rev: 69b3b093079c2ca2744d6c02747c5d1b5d3e7ecf)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:59 +01:00
Changqing Li
40f37ab231 perf: fix compile error when rebuilding
Fix error like:
Makefile.perf:597: recipe for target
'intel_x86_64-wrs-linux/perf/1.0-r9/perf-1.0/perf-in.o] Error 2
Makefile.perf:220: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:69: recipe for target 'all' failed
make: *** [all] Error 2

during rebuilding, when kernel version changed, some
source files also maybe changed. It could happened
that the source under ${S} messed up with some already
dropped files and also new files. Fix by clean the ${S}
before copy source files.

(From OE-Core rev: 57b4745cca8d486c1f20b8f01f4a25cb59c4b968)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:59 +01:00
Khem Raj
87ef247ed4 gstreamer1.0-plugins-good: Fix build when egl is enabled but no x11/wayland
This fixes build errors seen in no-x11/no-wayland configuration ( eglfs
) and when QT5 support is enabled

(From OE-Core rev: 03e498cd7e35902202579d404f4aad5c92664f18)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:59 +01:00
Ovidiu Panait
a8588f3087 inetutils: Use alternatives to avoid manpage conflict
Fix the following manpage conflicts:
 * check_data_file_clashes: Package inetutils-doc wants to install file /usr/share/man/man1/tftp.1
	But that file is already provided by package  * tftp-hpa-doc
 * check_data_file_clashes: Package inetutils-doc wants to install file /usr/share/man/man8/tftpd.8
	But that file is already provided by package  * tftp-hpa-doc
 * check_data_file_clashes: Package netkit-telnet-doc wants to install file /usr/share/man/man8/telnetd.8
	But that file is already provided by package  * inetutils-doc

(From OE-Core rev: fc14bfd60ad86094f65ebefbd10dbddc112d2698)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:59 +01:00
Lee Chee Yang
b5a3625e59 wic: align layer plugin path
wic look for external layer source plugin under scripts/lib/
while other tools look for lib/.

allow wic to check for source plugin at both scripts/lib/ and
lib/ to align with other tools while avoid breaking any existing
source plugin in external layer.

[YOCTO #13056]

(From OE-Core rev: 986baff26bd96a6265f5fe2d631818fff9f66374)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:59 +01:00
Khem Raj
93b4aeecbb binutils: Do not build gold linker on mips/glibc
Using gnu_hash style is unsupported on gold for now therefore disable
building gold on mips/glibc

Certain applications poke for presence of gold linker and silently use
it (webkit), therefore its best to disable building it

(From OE-Core rev: b1b98ed4fafa9d37f71cbfe18f7a00ce2643449e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:59 +01:00
Jan Luebbe
f07c7dfc33 lib/oe/package_manager: don't try to rm /var/lib/opkg
As opkglibdir starts with a /, os.path.join will ignore
self.target_rootfs, leading to an attempt to remove /var/lib/opkg.

This only fails if it exists on the host, explaining why this remained
undiscovered for long.

(From OE-Core rev: fc974977cea389f54e7fc7de7b1c8fd3d8bafe58)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:59 +01:00
Jan Luebbe
cb180dc45f lib/oe/package_manager: avoid installing provided packages via apt
If there already is a package providing (and conflicting against)
packages what should be installed, apt will try remove the conflicting
package (target-sdk-provides-dummy) and any that depend on it (like apt
and dpkg). This usually fails because of the protection of essential
packages. In that case, no -dev/-dbg packages are installed to the SDK.

Avoid this problem by checking which packages are already provided and
removing them from the list to be installed. Also sort the list to make
it easier to read when debugging.

(From OE-Core rev: 3ffb339dd55f8ca7c952fd3390608510f772e19f)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:59 +01:00
Jan Luebbe
2864210236 lib/oe/package_manager: collect provided package names when using debs
This is needed for a later change to avoid installing packages which are
already provided by an installed package.

(From OE-Core rev: ad72dfaaa2caf2c39d033dc1682f0bbbbe45dbbd)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:58 +01:00
Jan Luebbe
e1aabb2cae lib/oe/package_manager: fix handling of last package
In commit 7d214b34e11dc57316ed5c1c7747c4601286f6d2, only the code in the
for loop was modified to store the pkgarch value. The code used if there
was no empty line at the end was not modified.

Instead of fixing the duplicated code, remove it and just make sure that
a final empty line is processed.

(From OE-Core rev: a7b93c695b23d015607b179d98526b9b14c03d45)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:58 +01:00
Jan Luebbe
440be55987 lib/oe/package_manager: make sure to not remove packages in apt install
apt install can decide to remove already installed packages if there are
conflicts. Avoid this by explicitly specifying --no-remove. This will
then cause a "E: Packages need to be removed but remove is disabled."
message.

(From OE-Core rev: 9605a488b55042add012e9aeef13ab3f4e70e6e5)

Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-02 15:24:58 +01:00
Richard Purdie
02eacce410 scripts/oe-buildenv-internal: Add pointer to scripts/install-buildtools
If the minimum python version isn't met, show a pointer to the new
install-buildtools script.

(From OE-Core rev: 38e3d5bd3d05ed00a2fc55e3729cb8a6d4e4132f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-01 11:44:24 +01:00
Alexander Kanavin
9333374605 openssl: update to 1.1.1f
This also un-breaks python3 ptest which got broken
with 1.1.1e update.

(From OE-Core rev: b4ddf5b9d8cd769b7026663f93c8bc69b55d8cbf)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-01 11:44:24 +01:00
Tim Orling
4787c97874 install-buildtools: bump default to yocto-3.1_M3, fixes
Add ability to check md5sum (yocto-3.1_M2 and before) or sha256
(yocto-3.1_M3 and beyond).

Make regex for path in checksum file optional, since
for yocto-3.1_M3 the format is <checksum>  <filename>,
but prior releases was <checksum>  <path><filename>

(From OE-Core rev: cb1c98f38755b8340140125064c21e407f39db74)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-01 11:44:24 +01:00
Tim Orling
3783313700 sanity.bbclass: add test for gcc < 4.8
It is known that old versions of gcc prior to 4.8 causes builds to fail.

Add a test for BUILD_CC == 'gcc' and gcc < 4.8 and recommend using
scripts/install-buildtools or user built buildtools-extended-tarball.

Use the new get_host_compiler_version function from lib/oe/utils.py

NOTE: another solution is to install devtoolset-6+ from scl [1], but
this is a rather large install (> 1 Gb) and fairly invasive.

[1] https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/

Adding this code means we can increase the minimum version easily
in the future too (which will soon be needed).

RP: Change minimum version from 5.0 to 4.8 for initial patch
(From OE-Core rev: 3bb3b9cbad82b2f09386153226d1d4e769b7347b)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-01 11:44:24 +01:00
Tim Orling
d5d634f682 lib/oe/utils.py: add get_host_compiler_version()
Add helper function to get the host compiler and version.
Do not assume compiler is gcc.

NOTE: cannot set env to d.getVar("PATH") as that does not contain
the session PATH which was set by environment-setup-... which
breaks the install-buildtools use-case

(From OE-Core rev: 88712929354ff9c876bb1e48b6f15c33af5f2bbc)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-01 11:44:24 +01:00
Tim Orling
8c1aeb60c8 sanity.bbclass: recommend using install-buildtools
For old tar version (< 1.28), recommend using
scripts/install-buildtools

Drop check for tar version 1.24. Dubious extra value.

(From OE-Core rev: 7a66434cf11b7f051699b774e4fccd6738351368)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-01 11:44:23 +01:00
Tim Orling
1834a0ce44 oe-buildenv-internal: python 3.5 as min version
Python 3.4 is EOL:
https://www.python.org/downloads/release/python-3410/

The last supported distro was probably CentOS-7, which has python36 available
from epel-7 or scl (as rh-python36) [1]

[1] https://www.softwarecollections.org/en/scls/rhscl/rh-python36/

(From OE-Core rev: 20cdec283a2ee39daa2ffaace11daa764ba40606)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-01 11:44:23 +01:00
Tim Orling
420c926f8a scripts/install-buildtools: improvements
* Install directory defaults to scripts/../buildtools
  e.g. --directory is set by default
  This avoids the user having to type in their sudo password
  to install in /opt/poky/<installer-version>

* Use "." rather than "source" for sourcing the environment script
  as not all distros (e.g. Debian) have "source" by default.

* Add buildtools/ to .gitignore

* Fix typos in example usage (--install-version -> --installer-version)

[YOCTO #13832]

(From OE-Core rev: c6c3a58dbf0ca6c4a41df7ff50fa56d39d7ee23f)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-01 11:44:23 +01:00
Aníbal Limón
a6faf56477 linux-firmware: Add qcom-sdm845-{audio,compute,modem} firmware packages
Contains the firmware for the audio, compute and modem/wireless in SDM845 platforms.

(From OE-Core rev: 1bc608b35ce22f65596d29b4944a2a82d0cd8c39)

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-01 11:44:23 +01:00
Lee Chee Yang
7c37e5c7cd cve-check: CPE version '-' as all version
CPE version could be '-' to mean no version info.
Current cve_check treat it as not valid and does not report these
CVE but some of these could be a valid vulnerabilities.

Since non-valid CVE can be whitelisted, so treat '-' as all version
and report all these CVE to capture possible vulnerabilities.

Non-valid CVE to be whitelisted separately.

[YOCTO #13617]

(From OE-Core rev: c69ee3594079589d27c10db32bc288566ebde9ef)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-01 11:44:23 +01:00
Richard Purdie
2d9a29a3cf poky: Add Fedora31 and drop Fedora 28/29 as supported distros
(From meta-yocto rev: 6f73b728e2e5ad88c7b923ce30a0fdbe747a4ee1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 22:38:58 +01:00
Richard Purdie
55a3292962 poky: Add Centos8 as a supported distro
(From meta-yocto rev: d7c399f10245f8f7fba3ae1ecb149d78957d4b73)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 22:38:58 +01:00
Richard Purdie
1a826482bc pseudo: Ensure we use our own libsqlite
pseudo-native is special in that bitbake ends up executing it from the
sysroot-components directory before we have any workdirs for the bitbake
fakeroot worker. Since we switched to dynamically linking sqlite, it
means sqlite from the host system may be found, we really want the version
in sysroot-components. Trying to run tasks to create some special environment
for pseudo is hard and error prone. The simplest fix is to add an RPATH to
the binary so that it can correctly find the sqlite we want.

Unfortunately passing $ORIGIN into make doesn't work so well with shell
quoting so we have to fix that during do_install.

[YOCTO #13814]

(From OE-Core rev: 3937ca9e2dfabb1ce9bce1d536b60b1e2a43739b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 13:58:01 +01:00
Matthias Schoepfer
1aa01b21b5 python3: fixing bpo-36852 patch for builds on i686 architecture
The original patch "bpo-36852: proper detection of mips architecture
for soft float" uses AC_CANONICAL_TARGET to determine the platform
triplet. While AC_CANONICAL_TARGET exports i686 as target_cpu, gcc
is using i386 instead. We fall back here to i386, as it is conform
to the previous behavior.

Upstream Status: Submitted [https://github.com/python/cpython/pull/13196]

(From OE-Core rev: 6beab388e73b3ac6157650855a6c1fb1d71e8015)

Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 13:58:01 +01:00
Peter Kjellerstedt
6a947a90ad prservice.py: Use "with" to control file handle lifetime
(From OE-Core rev: e7f025c87d595d2e37f83b75f11bedf2bce7bcc0)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 13:58:01 +01:00
Oleksiy Obitotskyy
62d944d31e qemu: Add check for missing header
Header missing and configure script detect this.
Add check before include header (if_alg.h).

(From OE-Core rev: ab2cbfc902626d40897426bf734c7507e57ba629)

Signed-off-by: Oleksiy Obitotskyy <oobitots@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 13:58:01 +01:00
Chen Qi
05cb3a2f58 Revert "ifupdown: create file interfaces if not exist"
This reverts commit 4e692daf66d2c9d51d418706e20f4527505dc0bd.

The patch did not take into consideration of read-only rootfs, causing
the following regression.

  ERROR "The following packages could not be configured offline and rootfs is read-only: ['100-ifupdown']"

The original patch was added to resolve problem running `ifup eth1' on
a systemd based rootfs. However, when using systemd, we do not use ifup
to manage our network interfaces.

(From OE-Core rev: d687794d98f5956a205c049658f2a0f3c5bc0a3f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 13:58:01 +01:00
Alex Kiernan
7bb0e4efd3 systemd: Add sch-fq-codel to RRECOMMENDS
systemd sets net.core.default_qdisc = fq_codel, include
kernel-module-sch-fq-codel in RRECOMMENDS to satify this

(From OE-Core rev: 2544593dc53f9eca964817390577b3b04e87796f)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 13:58:01 +01:00
Alex Kiernan
e3037b54ea systemd: Reinstate systemd-hwdb-update.service
systemd supports a distribution hwdb.bin in /usr/lib/udev/hwdb.bin,
which is used if /etc/udev/hwdb.bin is not present. When generating the
install time hwdb, for systemd, ensure that we put it in /usr/lib/udev,
which then ensures that at boot time we do not regenerate it, unless the
system is marked for update.

This allows fragments dropped into /etc/udev/hwdb.d to be processed
correctly, but without requiring a first boot time build:

root@qemumips:~# systemctl status systemd-hwdb-update.service
* systemd-hwdb-update.service - Rebuild Hardware Database
     Loaded: loaded (/usr/lib/systemd/system/systemd-hwdb-update.service; static; vendor preset: disabled)
     Active: inactive (dead)
  Condition: start condition failed at Wed 2020-03-04 15:18:11 UTC; 44s ago
             |- ConditionPathExists=|!/usr/lib/udev/hwdb.bin was not met
             |- ConditionPathExists=|/etc/udev/hwdb.bin was not met
             `- ConditionDirectoryNotEmpty=|/etc/udev/hwdb.d was not met
       Docs: man:hwdb(7)
             man:systemd-hwdb(8)

(From OE-Core rev: 78ff610e571e4d739326520c391a37ee1f1290ae)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 13:58:01 +01:00
Alex Kiernan
06a02da2d2 systemd: Replace nonarch_base_libdir with rootlibexecdir
Use rootlibexecdir consistently rather than nonarch_base_libdir for udev
rules.

(From OE-Core rev: f9081994db3872af993d21db259a628cd834973f)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 13:58:00 +01:00
Alex Kiernan
e3cd4e5842 systemd: Package udev rules explicitly
udev is packaged before systemd so any wildcard inclusions in FILES will
override later specifics. List all udev rules explicitly so that the
systemd specific rules, packaged alongside systemd, appear in the
correct package.

(From OE-Core rev: bfff3d0c63026122b102c53a0261abd9f09124db)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 13:58:00 +01:00
Alex Kiernan
aee3dcb4ca systemd: Use PACKAGE_BEFORE_PN, not =+
By using PACKAGE_BEFORE_PN rather than =+ it's clearer how we expect the
package ordering to work. It also avoids the possibilty that dev/dbg/etc.
artefacts attempt to package as part of these packages.

(From OE-Core rev: fb64a50c3ab385d5bfd33dd669b6148e43b43770)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 13:58:00 +01:00
Mark Hatle
e3e60b7d53 mesa-gl: Allow mesa-gl to build without X11 enabled.
Trying to build mesa-gl without X11 enabled, results in numerous errors
about being incorrectly configured, such as:

  ERROR: Problem encountered: building dri drivers require at least one windowing system or classic osmesa

A rendering engine must be available, so per the error we enable osmesa
if X11 is not available.  Once 'osmesa' is enabled we also need to make
sure that swrast for DRI is also available.

(From OE-Core rev: cd6bab044288779a67b94353ff91935f59bfcb56)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-31 13:58:00 +01:00
Richard Purdie
5c323ef6e5 bitbake: fetch2: Fix urldata_cache key issues
Upon inspection its clear the way the keys for this cache were being handled
would break it and cause the cache to never be used. Fix this.

(Bitbake rev: 9a5dd1be63395c76d3fac2c3c7ba6557fe47b442)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-30 12:33:50 +01:00
rpjday@crashcourse.ca
8c576c31b6 file/elfutils: Adjust some appends to guarantee leading space
Add missing leading spaces or replace += usage with a leading space.

(From OE-Core rev: 91f464177ed7ed59a4405a39a366b387338ae923)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-30 12:33:30 +01:00
rpjday@crashcourse.ca
06aa1aa9fe core-image.bbclass: add mention of allow-root-login, stateless-rootfs
Add mention/description of missing IMAGE_FEATURES.

(From OE-Core rev: 9f126a97d61bed481b64351fdcf27beaf6365a52)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-30 12:33:29 +01:00
rpjday@crashcourse.ca
27b30835a4 yocto-check-layer: simple grammatical fixes
(From OE-Core rev: 15ad048ffa5a80e81b4e04bf98e14e8e23e409f9)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-30 12:33:29 +01:00
Khem Raj
10be0e446c binutils: Pregenerate autoconf files
libtool patch will result in configure file regeneration, instead of
doing that at build time, do it in patch itself, this avoids running
autoconf before configure step.

Since binutils needs specific version of autoconf ( which is 2.69 )
this will break on systems using newer or older verisons of autoconf
in current state.

(From OE-Core rev: 525d703d6f846e9706481a816910aef2ee70fb54)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-30 12:33:29 +01:00
Alex Kiernan
4b57b45b37 systemd: Enable acl based on DISTRO_FEATURES
(From OE-Core rev: bf0c228b5fd17d41f52baf0458c47ce6217387be)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-30 12:33:29 +01:00
Alex Kiernan
5e32ce176c systemd: Enable audit based on DISTRO_FEATURES
(From OE-Core rev: 1bf5e676912c2cdf63b576796117135ef314580f)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-30 12:33:29 +01:00
Alex Kiernan
b60ff67b4e systemd: Enable smack based on DISTRO_FEATURES
(From OE-Core rev: 15c3aa93eaa41f4dca326c37f0a1fd9bf6054c3c)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-30 12:33:29 +01:00
Alex Kiernan
ed8d13bf60 systemd: Remove X11 related files when disabled
When X11 isn't in DISTRO_FEATURES, remove X11 related files.

(From OE-Core rev: 5da06b1e2f751e065bc8569201705c1abd30c57c)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-30 12:33:29 +01:00
Alex Kiernan
8089cefed8 systemd: Add PACKAGECONFIG for sysvinit
Add sysvinit PACKAGECONFIG which disables all sysvinit handling in
systemd if it isn't present.

Consolidate sysvinit handling so that when it's disabled we exclude all
sysvinit features.

(From OE-Core rev: 39ece7b3e604c9dfa046841e099e2a47b713f62c)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-30 12:33:29 +01:00
Richard Purdie
8702b79a3b layer.conf: Drop zeus compatibility for dunfell release
(From OE-Core rev: 8930cd153084f58c2c1c8950dc0ddce786db548b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:04:10 +01:00
Pierre-Jean Texier
fa66d6bd1d ell: upgrade 0.28 -> 0.30
Since commit 5a0d5de68957ed11407694cf1acee1ab1cb4be79 ("build: Require at least version 0.29 when building with external ELL") in iwd [1]
ell version 0.29 is required.

Also, this is a bug fix release, see after:

ver 0.30:
	Fix issue with missing export of RTNL helper functions.

ver 0.29:
 	Fix issue with time overflow on 32-bit systems.
 	Add support for RTNL helper functionality.

[1] - https://git.kernel.org/pub/scm/network/wireless/iwd.git/commit/?id=5a0d5de68957ed11407694cf1acee1ab1cb4be79

(From OE-Core rev: 0c3bb2908f526b1195f1e7c6363c430c484d8670)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:04:10 +01:00
Matthew
2e7a995bbf avahi: add LICENSE for individual packages
Fixes [YOCTO #13609]

avahi_0.7.bb defines 9 PACKAGES. However, avahi.inc generically sets
LICENSE to "GPLv2+ & LGPLv2.1+". The library specific
packages should be LGPLv2.1+ only.

(From OE-Core rev: bd10fa54a94e9ae44defddae573ce67d33a11979)

Signed-off-by: Matthew Zeng <matthew.zeng@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:04:10 +01:00
Ovidiu Panait
46d0202e51 libpam: Add userdb packageconfig
Add userdb packageconfig to control the building of the pam_userdb.so module.
This depends on dbm support being compiled in for the berkley db package.

Also, remove "--with-db-uniquename=_pam" from EXTRA_OECONF. It makes the checks
for libdb fail because it searches for the wrong symbols in libdb (and libdb
was not configured with --with-uniquename=_pam option).

db.do_configure:
    checking if --with-uniquename=NAME option specified... no

libpam.do_configure:
    checking for db_create_pam... no
    checking for db_create... no
    checking for dbm_store_pam... no
    checking for dbm_store... no
    checking for dbm_store in -lndbm... no

(From OE-Core rev: 3130f43c51fb9b2aed9bb7805a820ea90e68276a)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:04:10 +01:00
Ovidiu Panait
c7e6a01374 db: Add dbm packageconfig
Add "dbm" packageconfig to enable legacy dbm support in libdb. This support is
needed to build libpam pam_userdb.so plugin.

(From OE-Core rev: 841573cea6d06dcba45227a8126153b0629b1b0c)

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:04:10 +01:00
He Zhe
2b8dd4ab6d runqemu: Change nfs to mount via TCP
Since kernel commit b24ee6c64ca7 ("NFS: allow deprecation of NFS UDP protocol"),
NFS UDP has been disabled by default due to the potential data corruption caused
by fragmentation during high loads. So now we cannot boot up with nfs mode and
default kernel.

We'd better turn to use TCP accordingly.

(From OE-Core rev: 73a54595d8ddf237d685ea9cb46df0cecac0280d)

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:04:10 +01:00
Lee Chee Yang
5cd9d19813 cve-update-db-native: clean DB if temporary file exist
when do_populate_cve_db forced stop at certain point, the
DB execution are stoped however the temporary database
file (DB-JOURNAL) are not removed. This db-journal file
indicates that DB is incomplete and set DB in readonly
mode. So when db-journal exist, remove both DB and the
db-journal and build the DB again from scratch.

[YOCTO #13682]

(From OE-Core rev: 70713df25b8ae27a21e53b0b9234567d7053800a)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:04:10 +01:00
Jeremy Puhlman
d349d7bb68 nativesdk-git: point to system gitconfig
On a system with selinux turned on, trying to access a directory
that is in a tree that doesn't exist returns the error permission
denined rather then no such file or directory, which causes git
to die.

git clone git://git.yoctoproject.org/poky
Cloning into 'poky'...
fatal: unable to access '/opt/poky/3.0+snapshot/sysroots/x86_64-pokysdk-linux/etc/gitconfig': Permission denied

Switch to using the system gitconfig of the host.

(From OE-Core rev: 5e44fb4dd106e3c4b9f072b25a93e54fa7bb1bce)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:04:10 +01:00
Catalin Enache
f7bde5f06a pulseaudio: fix for ARM thumb + frame pointers compilation error
When compiling for Thumb or Thumb2, frame pointers _must_ be disabled
since the Thumb frame pointer in r7 clashes with pulseaudio's use of inline
asm to make syscalls (where r7 is used for the syscall NR).

In most cases, frame pointers will be disabled automatically due to
the optimisation level, but appending an explicit -fomit-frame-pointer
to CFLAGS handles cases where optimisation is set to -O0 or frame
pointers have been enabled by -fno-omit-frame-pointer earlier in
CFLAGS, etc.

References:
https://www.openwall.com/lists/musl/2017/10/09/2

(From OE-Core rev: b199a9dbc3440d7c4fad8d8baeea931a6b7381c1)

Signed-off-by: Catalin Enache <catalin.enache@windriver.com>
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:04:10 +01:00
Paul Eggleton
abee806f11 bitbake: toaster: fix for import build directory with var refs in BBLAYERS
Update importing a build directory to support where bblayers.conf
sets BBLAYERS to a value that includes a variable reference e.g.:
  BBLAYERS = "${TOPDIR}/../meta \
              ${TOPDIR}/../meta-selftest"

[YOCTO #13707]

(Bitbake rev: 5bd29d448a31c132afd6fc0127029e246759b87b)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:02:36 +01:00
Reyna, David
4f959dff76 bitbake: toaster: FieldError loading Reverse runtime dependencies
When selecting reverse runtime dependencies, filter on simply 'depends_on'
instead of the obsolete 'depends_on__name' or 'depends_on__size'.

[YOCTO #13717]

(Bitbake rev: 085940c12619549be3fbd4ead9379ab0a97ac5bf)

Signed-off-by: Ahmed.Hossam <Ahmed.Hossam@opensynergy.com>
Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:02:36 +01:00
Reyna, David
063e0ced9a bitbake: toaster: support environment-safe manage commands
Directly support the various 'manage' commands from the Toaster
executable, so that users do not have to manually set up the required
environment and paths.

Examples:
  $ . toaster manage createsuperuser
  $ . toaster manage lsupdates

[YOCTO #13170]

(Bitbake rev: fd844e55bb885a51fe5ef8da1f625b34e646cf5f)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:02:36 +01:00
Reyna, David
3dc19bb3be bitbake: toaster: update to Dunfell
Toaster needs update to Dunfell

[YOCTO #13847]

(Bitbake rev: 387fcfb3ffe573715a1997d729237a49cc889e1b)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:02:36 +01:00
David Reyna
4dabdbe11d bitbake: toaster: migrate to Django-2.2
Toaster migration to Django-2.2. Django-1.x has been deprecated.

[YOCTO #13207]

(Bitbake rev: 9730f95686b2ac72cf1fa513c555f7c7787e2667)

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 20:02:36 +01:00
Alexander Kanavin
7e252ef310 gdk-pixbuf: remove a test that sporadically fails without reproducibility
The test is randomly modifying file data and some of these random
modifications cause OOM failures. There is no way to preserve and repeat
what was modified, so the test needs to re-engineered to do
proper fuzzing.

See here for details:
https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/146

(From OE-Core rev: 732a9c83e946580607af3478cdc765d6541e3f64)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Jeremy Puhlman
ab0dbfc034 apr: add option for disabling time dependant tests
[YOCTO #13839]

(From OE-Core rev: ff617d478cb3213deb23cf0124c04beab4d4ecc8)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Charles-Antoine Couret
ad366e7383 utils: fix gcc 10 version detection
Utils can not detect GCC 10 correctly due to wrong regex.
It generates this error "ERROR: Can't get compiler version from gcc  --version output"

Sub-version numbers should be 1 or more digits instead of 1 only.

(From OE-Core rev: 186fe4a3d390a52b87282c3e694ce3251e45ee78)

Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@mind.be>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Andre McCurdy
8ad0391f75 qemuarmv5.conf: drop stray comment including tune-arm1136jf-s.inc
An old comment which appears to have been checked in by accident as
part of an unrelated change:

  https://git.openembedded.org/openembedded-core/commit/?id=e9ebcc4c19a624f76051c0a25d9ecf6ac4afb257

(From OE-Core rev: 29a9a2edca220bd9562e7ab5ae7df1d0b58f4d07)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Andre McCurdy
07fa64eb96 tune-arm1176jz-s.inc: fix typo in PACKAGE_EXTRA_ARCHS_tune-arm1176jzs
(From OE-Core rev: 0481ef62fb9d3fae2e475aad7cbf3d3a29439a79)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Andre McCurdy
b3db860e99 tune-arm1136jf-s.inc: restore vfp to TUNE_FEATURES_tune-arm1136jfs
The change to TUNE_FEATURES_tune-arm1136jfs as part of:

  https://git.openembedded.org/openembedded-core/commit/?id=ac83d22eb5031f7fdd09d34a1a46d92fd3e39a3c

effectively removed both armv6 and vfp, when it should have removed
armv6 only. Add vfp back to TUNE_FEATURES_tune-arm1136jfs.

(From OE-Core rev: e0916a4e03d2ec101c4623b305f32607c0f566e2)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Andre McCurdy
5bc0593305 opkg-utils: remove python scripts etc for the class-target only
OE's packaging functions assume that the opkg-utils python scipts are
always provided by opkg-utils-native, so the scripts should be removed
for class-target only.

(From OE-Core rev: dc243da47e10cc11dce4e2d3b9d59b96e23a0ce2)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Andre McCurdy
4a3c1b0cf0 gcc-runtime: apply ARM specific workaround to big-endian ARM too
(From OE-Core rev: 633010f7c9f369565fd43465a857ad5680405e11)

Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Khem Raj
df41109105 glibc: Backport patch to fix ifuncs on risc-v and gcc10 builds
ifunc patch is needed to address a glibc ptests failure on riscv
long double double patch is backported to let 2.31 build with gcc10

(From OE-Core rev: 5ab732a1a1c57bc9f9a5e71230eccee217110ade)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Changqing Li
b4cd7ef48e vala.bbclass: add libdir to XDG_DATA_DIRS
Otherwise .gir files installed in the sysroot will not be found when
multilib is in use.

for vapigen, it need to find .vapi and .gir files under XDG_DATA_DIRS,
for gobject-introspection, multilib configurations use libdir rather
than datadir

(From OE-Core rev: b88f0590b4606d8adc8d728086a22325c1ae56b1)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Tim Orling
03d54a42a3 scripts/install-buildtools: add helper script to install buildtools
For distros such as CentOS-7 where the default buildtools are too
old we need to make it easy for users to install a pre-built SDK
with all of "build-essentials" included.

Other uses may include building older Yocto Project releases with
a distro where buildtools are too new.

For convenience, the standard buildtools installation is also
supported.

NOTE: extended buildtools is the default, e.g.
      --with-extended-buildtools is on by default

Example usage (extended buildtools from milestone):
  (1) using --url and --filename
      $ install-buildtools \
        --url http://downloads.yoctoproject.org/releases/yocto/milestones/yocto-3.1_M2/buildtools \
        --filename x86_64-buildtools-extended-nativesdk-standalone-3.0+snapshot-20200122.sh
  (2) using --base-url, --release, --installer-version and --build-date
      $ install-buildtools \
        --base-url http://downloads.yoctoproject.org/releases/yocto \
        --release yocto-3.1_M2 \
        --install-version 3.0+snapshot
        --build-date 202000122

Example usage (standard buildtools from release):
  (3) using --url and --filename
      $ install-buildtools --without-extended-buildtools \
        --url http://downloads.yoctoproject.org/releases/yocto/yocto-3.0.2/buildtools \
        --filename x86_64-buildtools-nativesdk-standalone-3.0.2.sh
  (4) using --base-url, --release and --installer-version
      $ install-buildtools --without-extended-buildtools \
        --base-url http://downloads.yoctoproject.org/releases/yocto \
        --release yocto-3.0.2 \
        --install-version 3.0.2

[YOCTO #13832]

(From OE-Core rev: 2d0aea6a73c427ce6aa17dc71e0783977a52bb2b)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Stefan Kral
80c1002c2e oeqa: default runtime json results for testexport
Set the json result output dir in the oeqe runtime context to create
testresults.json file by default for exported runtime test runs.

Use current datetime for the json result property name (not DATETIME
from build) to allow multiple result entries.

(From OE-Core rev: e6c73ed8d3c5d45f387cab619ca73c21e850582f)

Signed-off-by: Stefan Kral <sk@typedivision.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Alex Kiernan
ef0c086844 oeqa/runtime/cases: Disable and stop systemd-timesyncd
Stopping systemd-timesyncd doesn't prevent it being restarted by a
different transaction within systemd. Disable the service instead during
the date test to ensure it can't be restarted.

(From OE-Core rev: 3dd4e637c11abdd6341a3e0c6b67639d3d703862)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Alex Kiernan
ce987c6ae8 psplash: Set RemainAfterExit on systemd units
psplash is only expected to run during startup, but if any dependency is
pulled into a transaction and the unit is inactive, then it can be
restarted.

Set RemainAfterExit to ensure that the unit remains active and is not
gratuitously restarted.

Drop the nonexistent systemd-start.service from the unit.

(From OE-Core rev: 618bd9a10c27d13a4420638d82618ac41935cfda)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Richard Purdie
4bf1c0401a oe/recipeutils: Drop obsolete GITDIR reference
The fetcher GITDIR variable wase dropped a while back, drop the
obsolete reference to it (thanks Robert Day).

(From OE-Core rev: de035e687e26cef96e9b737c47bfc291bdfbea48)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Richard Purdie
39aab11141 documentation.conf: Drop obsolete variable docs
These fetcher *DIR variables were dropped a while back, drop the docs
that reference them (thanks Robert Day).

(From OE-Core rev: 609fcfe1f1490e9d9c35e40a0606a3b6b86bd78c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Peter Kjellerstedt
325b820dae buildstats-plot.sh: Show spaces and underscores correctly in titles/keys
Spaces were previously converted to dashes, and underscores caused the
next character in the title/key to be printed using subscript due to the
enhanced string support in gnuplot.

(From OE-Core rev: 1719f7062988889b7e24b871dc2f0e50c7bff07e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Wang Mingyu
d1b00626c3 mesa: upgrade 20.0.1 -> 20.0.2
(From OE-Core rev: ed500e9d2e7678290420bd0ee4d88eeba40bbb4a)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Wang Mingyu
5faec8ffa1 gsettings-desktop-schemas: upgrade 3.34.0 -> 3.36.0
(From OE-Core rev: 8438b02f4f5b043077ccc04b411b984a75013a4f)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Wang Mingyu
d9d16f9e9d gnupg: upgrade 2.2.19 -> 2.2.20
(From OE-Core rev: c787a48dc26a937df019e4fcb1e37b7b06824798)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Joshua Watt
a7f74a4a08 u-boot-tools: Split out inc file
Spilts out the inc file for u-boot-tools so that BSPs can include it for
their forked version of the tools, just like u-boot.inc.

As an example, this recipe [1] builds mkimage u-boot as part of the
u-boot recipe itself. This is incorrect because u-boot is a target
recipe, which means that the uninative loader transformations do not get
applied when the recipe is restored from sstate, breaking the mkimage
command breaks. The correct solution is to have a u-boot-tools-imx
recipe that pulls in their custom u-boot source; this inc file makes
that much easier to maintain.

[1]: aa27fc6209/recipes-bsp/u-boot/u-boot-imx_2019.04.bb

(From OE-Core rev: 2f3bd198d9b1e85f17f7a587b1690ab196ab0300)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Lee Chee Yang
117a6dac73 cve-update-db-native: prevent fatal error cause by network
prevent cve-check from fatal error cause by network issue.

[YOCTO #13680]

(From OE-Core rev: da358e415726f836e6b3e69ad7fbeffb50bd402d)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-29 12:05:31 +01:00
Bruce Ashfield
1bf1e1539f linux-yocto/5.4: configuration tweaks
Integrating the following configuration fixes:

   bee554e595e bsp/ti-am65x: remove duplicate config option CONFIG_NETDEVICES
   32405486b46 bsp/ti-am335x: drop PRUSS invalid cfg option
   d40bf6ad14a xilinx-zynqmp: add cpuidle support for zcu102
   533cfd5af00 bsp: delete obsolete kernel option CONFIG_MTD_M25P80

(From OE-Core rev: db80305e10d501900e1e371a6f9a4da5cf0b033e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-25 10:02:50 +00:00
Bruce Ashfield
659b3f59f7 linux-yocto/5.4: ARM: 8918/2: only build return_address() if needed
Integrating the following commit(s) to linux-yocto/5.4:

    03142acba06e ARM: 8918/2: only build return_address() if needed

(From OE-Core rev: 6639ad938f5db86d8d30b867a17a26c082cc05ca)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-25 10:02:50 +00:00
Bruce Ashfield
7d963a685b linux-yocto/5.4: KVM: LAPIC: Mark hrtimer for period or oneshot mode to expire in hard interrupt context
Integrating the following commits to linux-yocto/5.4:

    9065d188f874 KVM: LAPIC: Mark hrtimer for period or oneshot mode to expire in hard interrupt context

(From OE-Core rev: ac42114430c9cccb21c296c12f31f405ccb99329)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-25 10:02:50 +00:00
Bruce Ashfield
6fc36177ae linux-yocto/5.4: fix kernel selftests
Khem reported that kernel selftests are failing after some of the recent
-stable udpates, and identified the followig commits to solve the
issues:

    4cd12df48b83 selftest/bpf: Use CHECK macro instead of RET_IF
    84591c1cb409 Revert "selftests/bpf: Fix perf_buffer test on systems w/ offline CPUs"
    844b959f96bd Revert "selftests/bpf: Skip perf hw events test if the setup disabled it"

(From OE-Core rev: 8ee272e6fdbc65097a3aa3e2456598dd089793eb)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-25 10:02:49 +00:00
Bruce Ashfield
026440717d linux-yocto/5.4: Revert "platform/x86: wmi: Destroy on cleanup rather than unregister"
We had reverted this commit in v5.2, and it is still required in 5.4.

The following config commit is also included in this change:

  bsp/ti-am335x: drop some invalid cfg options

(From OE-Core rev: 43ec35f7cc4f222ad91efdd56f8eea901db52def)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-25 10:02:49 +00:00
Ross Burton
397a419e49 gtk+3: turn explicit disabling of colord to PACKAGECONFIG
(From OE-Core rev: 6a19a39e8415072389aa4f91317bb329b8a25d7e)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-25 10:02:49 +00:00
Ross Burton
8c68050321 gtk+3: add cloudprint PACKAGECONFIG
(From OE-Core rev: 29d228704acc92e5d20e5ee14399a0e07f2101f5)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-25 10:02:49 +00:00
Mark Hatle
0019f63da9 qemu.inc: Always disable compile time git updating
If the SRC_URI is switched to be git based, QEMU will automatically update
itself at compile time for select git submodules.  This by passes the
bitbake git fetcher.  These modules are always present in the release
tarballs, so only are problematic when used with git based SRC_URIs.

These switches will have no effect on a tarball based SRC_URI.

(From OE-Core rev: 53b38a89fc7ccbceefd1a3a79bd376d9f6419565)

Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-25 10:02:49 +00:00
Tom Hochstein
f17f89e2f4 security_flags.inc: fix flags missing from SDK toolchain
The security flags were missing from the SDK toolchain
because they were added specifically to class-target.
Add them to class-cross-canadian as well (since the SDK environment
file is created from cross-canadian target flags).

(From OE-Core rev: cd46e8f890069a40d1e9048cfa0f378dec1dc5e9)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Antoine Manache <a.manache@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-25 10:02:49 +00:00
akuster
a0a4f6bf89 yocto-docs: remove refrence to mpc8315e-rdb
(From yocto-docs rev: 8768196b4a313df794bf21937da4bf92de858463)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 22:49:31 +00:00
Khem Raj
12fc1c5637 bitbake: Revert "fetch2: Allow ${AUTOREV} to be used when BB_SRCREV_POLICY is "cache""
As per mailing list discussion, the cache policy was behaving correctly before
and wouldn't expect to update after the initial fetch even for AUTOREV.

This reverts commit ba093a38539960e645e994a66ed7872a604c00a9.

(Bitbake rev: 51f827911b7202de3e855e683fdbd732d7a84e09)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 22:01:24 +00:00
Richard Purdie
1f0d37436f oeqa/commands: Fix runqemu after tinfoil data connector changes
Poking changes into config_data and expecting them to appear in the recipe
is a bad idea, place the data in recipedata directly instead.

(From OE-Core rev: 191dd811900ace0e0af2e97221e10461fae0d9bd)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 22:01:03 +00:00
Richard Purdie
4e7d13232a oeqa/selftest/tinfoil: Drop test for functionality removed upstream
bitbake dropped support for this piece of functionality (the test was
the only user), drop the test too.

(From OE-Core rev: 9ba0708e34eb038dc3ea5a877a5837c534cf165f)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 22:01:03 +00:00
Richard Purdie
25f1f4644d bitbake: tinfoil: Add iterator support for DataStoreConnector
Some usages need to iterate the datastore. This is slow and not recommended
but support this.

(Bitbake rev: 38b4e330c6c2007e8ead878e1d9e9580d3b19c7b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 22:01:03 +00:00
Richard Purdie
d53958766e bitbake: tinfoil: Simplify remote datastore connections
The current approach to remote datastores used in tinfoil is breaking. For
example, adding a devupstream extension to a recipe with a git upstream,
making it the preferred version and then running "devtool modify" on it
causes get_srcrev() circular dependency issues. The problem is the override
handling in the datastore is broken.

This gets broken since remotedata:recieve_datastore() sets d.dict but doesn't
update d.overridedata (or d.inchistory or d.varhistory). We could play
whack-a-mole but the current implementation seems to be flawed to me. It
also doesn't cover, or only partially covers some datastore operations and
each needs new dedicated command API.

Instead, step back and reimplement the way the datastore connector works.

With this change, the datastore is either remote or local but the data is not
spread on two sides of the connection. All the API is proxied over the connection
by a single function for the datastore (and two to support variable history
and include history).

This code does not support using the datastore as a parameter to any data store
functions. We did have one case of that but its just bad code and can be
replaced.

The result is something which is much simpler and less invasive to the datastore
code itself, meaning its behaviour should be much more consistent. The existing
tests for the remote data no longer make any sense and are removed.

The one bug this code would have is if key/value pairs are returned over the IPC
and those values contained a DataSmart object since we don't recurse into return
values to find such things. Nothing appears to do that currently so lets worry
about it if its ever an issue. This change should simplfy a ton of other issues
and avoid a ton of other bugs so is a huge net gain.

Tested with bitbake's and OE's selftests.

(Bitbake rev: 85e03a64dd0a4ebe71009ec4bdf4192c04a9786e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 22:01:03 +00:00
Richard Purdie
89705a60f3 bitbake: data_smart: Don't pass unneeded datastore
The datastore is already available to this function internally so don't
also try and pass the datastore as a parameter. This is clearly broken
API when you look at the existing calls to it.

This then doesn't break the planned tinfoil data connector changes.

(Bitbake rev: af1654498ee5b47368a41dad2d2b7b6abc19ff15)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 22:01:03 +00:00
Richard Purdie
c0e79ee2e9 bitbake: tinfoil: Drop parse_recipe_file custom datastore support
This parameter is unused except for a single selftest and is problematic
with regard to fixing some other bugs. Remove it for now, if really needed
we could re-implement it in some other way in the future. Experience
tells us we likely don't want to support this kind of change to the metadata
anyway as its not as useful as it first sounds/appears.

(Bitbake rev: f2341dc46b6abfc08a4d01c7abdd3d4630577999)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 22:01:03 +00:00
rpjday@crashcourse.ca
d5db9d1264 archiver.py: fix typo of "ARCHIVER_MIRROR_EXCLUDE" in comment
(From OE-Core rev: 7bd0bb37ed98b7b8c2ce05f1434fe5ff12f8efc9)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Jeremy Puhlman
3fa3ce2ae0 glib-2.0: update ptest multilib fix
The updates to the tests are done in do_install instead of do_install_ptest,
so the changes need to consider ptest not being turned on.

(From OE-Core rev: 6baaf3a530d5e4d6015c1dc53a2849a20bafafe4)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Luis Martins
719c14c984 buildstats*.sh: fix spacing indentation in the files
Fix indentation in buildstats.sh and buildstats-plot.sh
to convert every line to 4 spaces indentation.

(From OE-Core rev: 3971572042ae9bc8226eb92892bb71010287e0a8)

Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Luis Martins
41b145b2b1 buildstats*.sh: add recipe parameter to scripts
Add option to filter the stats results for a single recipe, allowing
to easilly visuality the task resource consumption per recipe.
This is specially useful when debugging the performance of
the overall bitbake build system.

(From OE-Core rev: b4bf898d53af60f5d69b50ec5cdd7f9b3870f2dd)

Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Luis Martins
3bd3e23304 buildstats*.sh: add accumulate parameter to scripts
Add option to accumulate stats values per recipe, allowing
to sum related values such as memory (main process + childs).
This is specially useful when debugging the performance of
the overall bitbake build system.

(From OE-Core rev: e6f1aea6260343cb5194f7f8ab70213b705ab441)

Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Luis Martins
fe1e4a4771 buildstats-plot.sh: filter by task
Extend buildstats-plot.sh script to also accept the name
of the tasks as parameter.
This value will be passed directly to buildstats.sh is
already provides this option.

(From OE-Core rev: 495b6d3d85d2d14d54e324d8da43311a23fdfca6)

Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Luis Martins
5ea725cd5a buildstats-plot.sh: fix invoking buildstats.sh
Fix the internal call to buildstats.sh by also providing
the buildstats folder location in the system, which might
differ from the default location.

(From OE-Core rev: 9f4ee2ee8712528ac51ef4ecd17ccde737e8b21d)

Signed-off-by: Luis Martins <luis.martins@criticaltechworks.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Richard Purdie
3aba12edbb oeqa/qemurunner: Don't print a warning for harmless exception
Printing a warning for something which is harmless just causes the
people monitoring the autobuilder more work. Silently ignore this race.

(From OE-Core rev: 2246c8d2466d3876fd1b27fd1943aa4bbf28e14e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Yi Zhao
f29451282d nfs-utils: fix do_package error when enable PACKAGECONFIG[nfsv4]
Fixes:
ERROR: nfs-utils-2.4.3-r0 do_package: QA Issue: nfs-utils:
Files/directories were installed but not shipped in any package:
/usr/lib/libnfsidmap/nsswitch.so
/usr/lib/libnfsidmap/static.so
Please set FILES such that these items are packaged. Alternatively if
they are unneeded, avoid installing them or delete them within do_install.
nfs-utils: 2 installed and not shipped files. [installed-vs-shipped]

Add rdep on python3-core for PACKAGECONFIG[nfsv4] to fix:
ERROR: nfs-utils-2.4.3-r0 do_package_qa: QA Issue: /usr/sbin/clddb-tool
contained in package nfs-utils requires /usr/bin/python3, but no
providers found in RDEPENDS_nfs-utils? [file-rdeps]

Add rdep on libdevmapper for PACKAGECONFIG[nfsv41] to fix:
ERROR: nfs-utils-2.4.3-r0 do_package_qa: QA Issue: /usr/sbin/blkmapd
contained in package nfs-utils requires libdevmapper.so.1.02()(64bit),
but no providers found in RDEPENDS_nfs-utils? [file-rdeps]

(From OE-Core rev: 17b44d51eaf71ae6d04034454dcb68f508b85258)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Adrian Bunk
2e77b00ed3 openssl: Upgrade 1.1.1d -> 1.1.1e
Backported patch removed.

(From OE-Core rev: 710bc0f8544f54750c8fb7b8affa243932927a24)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Changqing Li
19c8e88cb4 sysklogd: fix one parallel build error
(From OE-Core rev: 8e61e5ec230c36dbe1f2517d17fc88494455a5d0)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Chee Yang Lee
e4b609e5c1 qemu/slirp: fix CVE-2020-7211
fix CVE-2020-7211 for qemu slirp submodule
see :
https://www.openwall.com/lists/oss-security/2020/01/17/2
14ec36e107

(From OE-Core rev: 31362d739834377ac4ab880029c3e3dda0cd7698)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Khem Raj
60f199d4a2 go: Update to 1.14.1 minor release
(From OE-Core rev: 7f79e3cb56774ac41423db41e634a74d522c8548)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Kai Kang
4cd5ed7307 ifupdown: create file interfaces if not exist
It fails to run ifup if /etc/network/interfaces doesn't exist:

| ifup: couldn't open interfaces file "/etc/network/interfaces": No such
|       file or directory

Create the config file if not exist.

(From OE-Core rev: 4e692daf66d2c9d51d418706e20f4527505dc0bd)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Alexander Kanavin
6c58c34a44 core-image-sato-ptest-fast: don't hard fail in ptests
Unfortunately, a couple of tests sporadically fail still;
bugs have been filed, but they will take time to resolve.

(From OE-Core rev: 6b408f40b6c214d05433c41f0cd6200c715cc615)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Chee Yang Lee
590555e3b8 wic/direct: reserve 2 sector for extended partition
extended partition should reserve at least 2 unallocated sectors
between the start of the extended partition and the start of a
logical partition.

[YOCTO #13658]

(From OE-Core rev: 884c8a0e50a49bdca5e048197a9dc0ff37cc8d1a)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Bruce Ashfield
5b077b8e0a linux-yocto-rt/5.4: update to -rt16
Updating the latest v5.4-rt release:

   2659f7a7212c v5.4.26-rt16
   60c22c68d486 v5.4.24-rt15
   efa03618228 mm: Warn on memory allocation in non-preemptible context on RT
   908775cdf21e v5.4.24-rt14
   b4edc32e2e46 v5.4.22-rt13
   49a5b8ead027 tracing: make preempt_lazy and migrate_disable counter smaller
   8f2ed8895c0c drm/vmwgfx: Drop preempt_disable() in vmw_fifo_ping_host()
   b558bcd37e5d bpf: Update the "bpf: Make BPF and PREEMPT_RT co-exist" series
   d197132b1dd5 v5.4.22-rt12

(From OE-Core rev: a8db5643bd14a5a2e8e60012dd1551f6d867acc2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Bruce Ashfield
81690662be linux-yocto/5.4: update to v5.4.27
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    585e0cc08069 Linux 5.4.27
    20ba40d262b0 ipv4: ensure rcu_read_lock() in cipso_v4_error()
    81e0dac3780a ARM: 8961/2: Fix Kbuild issue caused by per-task stack protector GCC plugin
    1dc67950e2d1 HID: add ALWAYS_POLL quirk to lenovo pixart mouse
    5d961582ea88 HID: google: add moonball USB id
    ae119b7e1247 mm: slub: add missing TID bump in kmem_cache_alloc_bulk()
    47b6d269dbbd ARM: 8958/1: rename missed uaccess .fixup section
    1a9e78628d44 ARM: 8957/1: VDSO: Match ARMv8 timer in cntvct_functional()
    881876bee657 net: qrtr: fix len of skb_put_padto in qrtr_node_enqueue
    235fb892d846 blk-mq: insert flush request to the front of dispatch queue
    dbce8292217a jbd2: fix data races at struct journal_head
    99746e92fa4c sfc: fix timestamp reconstruction at 16-bit rollover points
    e2b8b042c98b net: rmnet: fix packet forwarding in rmnet bridge mode
    34c550ebb219 net: rmnet: fix bridge mode bugs
    8eccc6d06ea1 net: rmnet: use upper/lower device infrastructure
    835bbd892683 net: rmnet: do not allow to change mux id if mux id is duplicated
    5ce5e95d72f1 net: rmnet: remove rcu_read_lock in rmnet_force_unassociate_device()
    002b4bd9b51d net: rmnet: fix suspicious RCU usage
    8a027eee62f7 net: rmnet: fix NULL pointer dereference in rmnet_changelink()
    006cd2426a05 net: rmnet: fix NULL pointer dereference in rmnet_newlink()
    cfc7f5fe5c61 hinic: fix a bug of rss configuration
    e6f52d5ce172 hinic: fix a bug of setting hw_ioctxt
    65340b196811 hinic: fix a irq affinity bug
    1c7dde0a9bfc net: phy: mscc: fix firmware paths
    4d6ee3123d65 slip: not call free_netdev before rtnl_unlock in slip_open
    d1984c92f072 signal: avoid double atomic counter increments for user accounting
    df8e98b00941 kbuild: add dt_binding_check to PHONY in a correct place
    fd1f29f2a824 kbuild: add dtbs_check to PHONY
    bbf3acbb8a77 drm/amdgpu: fix memory leak during TDR test(v2)
    74c77d6a4ea9 blk-mq: insert passthrough request into hctx->dispatch directly
    74886a6d9de8 net: ll_temac: Handle DMA halt condition caused by buffer underrun
    c2cffaea4fde net: ll_temac: Fix RX buffer descriptor handling on GFP_ATOMIC pressure
    6e3b69543b5e net: ll_temac: Add more error handling of dma_map_single() calls
    0c050d655475 net: ll_temac: Fix race condition causing TX hang
    a342bb7b9902 mac80211: rx: avoid RCU list traversal under mutex
    5d92d834aa27 net: ks8851-ml: Fix IRQ handling and locking
    d939f3389f9b net: usb: qmi_wwan: restore mtu min/max values after raw_ip switch
    6c663120ecdb scsi: libfc: free response frame from GPN_ID
    079e9ad79410 cfg80211: check reg_rule for NULL in handle_channel_custom()
    a6f7e69cfafd tracing: Fix number printing bug in print_synth_event()
    c35aa36fec91 selftests/rseq: Fix out-of-tree compilation
    dd0d2d6ab6a2 HID: hid-bigbenff: fix race condition for scheduled work during removal
    ccb747d805d3 HID: hid-bigbenff: call hid_hw_stop() in case of error
    1bc271dd397d HID: hid-bigbenff: fix general protection fault caused by double kfree
    190e929e6cba HID: i2c-hid: add Trekstor Surfbook E11B to descriptor override
    87bd74b77531 ACPI: watchdog: Set default timeout in probe
    65b44497414b HID: apple: Add support for recent firmware on Magic Keyboards
    20eed7692749 ACPI: watchdog: Allow disabling WDAT at boot
    f3c478104a9a drm/amdgpu: Fix TLB invalidation request when using semaphore
    f6fccb0a0e59 netfilter: xt_hashlimit: unregister proc file before releasing mutex
    536942bf70b5 netfilter: hashlimit: do not use indirect calls during gc
    257edc6db943 Linux 5.4.26
    881f9469cc9f net/smc: cancel event worker during device removal
    dbaba2a4db6e net/smc: check for valid ib_client_data
    aa38bea47fd2 ipv6: restrict IPV6_ADDRFORM operation
    62fd4e348df2 iommu/amd: Fix IOMMU AVIC not properly update the is_run bit in IRTE
    8753b0cad128 i2c: acpi: put device when verifying client fails
    03d524d70ecf iommu/vt-d: Ignore devices with out-of-spec domain number
    9493a6361d81 iommu/vt-d: Fix the wrong printing in RHSA parsing
    2d106e75da45 netfilter: nft_chain_nat: inet family is missing module ownership
    56e84ae47481 netfilter: nf_tables: dump NFTA_CHAIN_FLAGS attribute
    15ec06c6a894 netfilter: nft_tunnel: add missing attribute validation for tunnels
    e92dea63e278 netfilter: nft_payload: add missing attribute validation for payload csum flags
    896d11cdcab9 netfilter: cthelper: add missing attribute validation for cthelper
    c61868ef2795 perf bench futex-wake: Restore thread count default to online CPU count
    b57542934121 nl80211: add missing attribute validation for channel switch
    5bd0ee5727d2 nl80211: add missing attribute validation for beacon report scanning
    b0fd0b85c377 nl80211: add missing attribute validation for critical protocol indication
    c684f4f68c0a i2c: gpio: suppress error on probe defer
    4f60640723cf iommu/vt-d: Fix RCU-list bugs in intel_iommu_init()
    b8c3cbca80e8 driver code: clarify and fix platform device DMA mask allocation
    a9fef78caac0 drm/i915/gvt: Fix unnecessary schedule timer when no vGPU exits
    f5ace0987a69 pinctrl: core: Remove extra kref_get which blocks hogs being freed
    d2df67d7411e drm/i915/gvt: Fix dma-buf display blur issue on CFL
    a6ea1df94903 virtio_ring: Fix mem leak with vring_new_virtqueue()
    b758686cf05a pinctrl: imx: scu: Align imx sc msg structs to 4
    66ee6b9b91b1 pinctrl: meson-gxl: fix GPIOX sdio pins
    93b8be43c9df clk: imx8mn: Fix incorrect clock defines
    130bd50d009c batman-adv: Don't schedule OGM for disabled interface
    8159e369d1e6 iommu/vt-d: Fix a bug in intel_iommu_iova_to_phys() for huge page
    28ffabf65e42 iommu/vt-d: Fix RCU list debugging warnings
    798c1441bde8 iommu/vt-d: dmar: replace WARN_TAINT with pr_warn + add_taint
    77abae8657c5 iommu/dma: Fix MSI reservation allocation
    923f2b3ab352 x86/mce: Fix logic and comments around MSR_PPIN_CTL
    53644e59c1c5 perf/amd/uncore: Replace manual sampling check with CAP_NO_INTERRUPT flag
    02013734629b mt76: fix array overflow on receiving too many fragments for a packet
    1357bf0ca50f i2c: designware-pci: Fix BUG_ON during device removal
    849233b7421c efi: Add a sanity check to efivar_store_raw()
    594b38226f84 efi: Fix a race and a buffer overflow while reading efivars via sysfs
    680613f44162 x86/ioremap: Map EFI runtime services data as encrypted for SEV
    f19bbb24a108 macintosh: windfarm: fix MODINFO regression
    ea1299be02e1 fscrypt: don't evict dirty inodes after removing key
    b7e54dd751fa blk-iocost: fix incorrect vtime comparison in iocg_is_idle()
    0c47d02ad451 ipmi_si: Avoid spurious errors for optional IRQs
    fbbacd0dcbc3 s390/dasd: fix data corruption for thin provisioned devices
    63050b3dc02f fuse: fix stack use after return
    f2947aa48017 ARC: define __ALIGN_STR and __ALIGN symbols for ARC
    4873041d3723 KVM: nVMX: avoid NULL pointer dereference with incorrect EVMCS GPAs
    84c6ce00e29b KVM: x86: clear stale x86_emulate_ctxt->intercept value
    9719442f9e24 gfs2_atomic_open(): fix O_EXCL|O_CREAT handling on cold dcache
    918ba24a9bbf cifs_atomic_open(): fix double-put on late allocation failure
    3625e9dfd80a ktest: Add timeout for ssh sync testing
    a67ada0dcd9a pinctrl: falcon: fix syntax error
    1961b5bb6ac8 mmc: sdhci-pci-gli: Enable MSI interrupt for GL975x
    0e57e9f70247 drm/i915: Defer semaphore priority bumping to a workqueue
    105d663d8430 drm/i915: be more solid in checking the alignment
    40c4ad7f1b15 drm/amd/display: remove duplicated assignment to grph_obj_type
    22540ca3d00d workqueue: don't use wq_select_unbound_cpu() for bound works
    70612567f6ce netfilter: x_tables: xt_mttg_seq_next should increase position index
    bfacd2806769 netfilter: xt_recent: recent_seq_next should increase position index
    16c0ae0a0437 netfilter: synproxy: synproxy_cpu_seq_next should increase position index
    1c6e75702fd1 netfilter: nf_conntrack: ct_cpu_seq_next should increase position index
    3ca828bd0fcb iommu/vt-d: quirk_ioat_snb_local_iommu: replace WARN_TAINT with pr_warn + add_taint
    ad29b9fd6672 virtio-blk: fix hw_queue stopped on arbitrary error
    c656fc438758 iwlwifi: mvm: Do not require PHY_SKU NVM section for 3168 devices
    55c81e9b1b5c netfilter: nf_tables: fix infinite loop when expr is not available
    72655d842636 cgroup: Iterate tasks that did not finish do_exit()
    cb81ee946e15 cgroup: cgroup_procs_next should increase position index
    6b22fba4c15b net: phy: Avoid multiple suspends
    1375e2ca1f2d net: dsa: Don't instantiate phylink for CPU/DSA ports unless needed
    dd359b5a7bd4 selftests/net/fib_tests: update addr_metric_test for peer route testing
    8759b193d8f8 net/ipv6: remove the old peer route if change it to a new one
    2eaf298d121f net/ipv6: need update peer route when modify metric
    886345d9305a net: phy: fix MDIO bus PM PHY resuming
    4d365c7b4747 net: phy: avoid clearing PHY interrupts twice in irq handler
    7030138e3c6d nfc: add missing attribute validation for vendor subcommand
    c9f29e311fc2 nfc: add missing attribute validation for deactivate target
    4cba04a3272b nfc: add missing attribute validation for SE API
    4c16ef8ee16c tipc: add missing attribute validation for MTU property
    6049f6122a51 team: add missing attribute validation for array index
    cae05c2998ae team: add missing attribute validation for port ifindex
    e31cd96bce59 net: taprio: add missing attribute validation for txtime delay
    7b8f902c5130 net: fq: add missing attribute validation for orphan mask
    05b1a3781204 macsec: add missing attribute validation for port
    f77e588fb745 can: add missing attribute validation for termination
    e9438d517277 nl802154: add missing attribute validation for dev_type
    84eaa53dbea8 nl802154: add missing attribute validation
    e80e3f725244 fib: add missing attribute validation for tun_id
    dd4708377988 devlink: validate length of region addr/len
    4136c4ee4159 devlink: validate length of param values
    c0a7416a5403 net: memcg: fix lockdep splat in inet_csk_accept()
    4a1444818200 net: memcg: late association of sock to memcg
    01f4cb0005a7 cgroup: memcg: net: do not associate sock with unrelated cgroup
    4461ae0c15f6 bnxt_en: fix error handling when flashing from file
    97207f491014 bnxt_en: reinitialize IRQs when MTU is modified
    51925ac4c547 bonding/alb: make sure arp header is pulled before accessing it
    6c7247106941 taprio: Fix sending packets without dequeueing them
    ea5d05c59430 slip: make slhc_compress() more robust against malicious packets
    312a5fa6877e sfc: detach from cb_page in efx_copy_channel()
    d21ba36e4091 r8152: check disconnect status after long sleep
    6ea05d53b996 net: systemport: fix index check to avoid an array out of bounds access
    62a24fad9610 net: stmmac: dwmac1000: Disable ACS if enhanced descs are not used
    d0042bc982f1 net: phy: bcm63xx: fix OOPS due to missing driver name
    a200e439c08b net/packet: tpacket_rcv: do not increment ring index on drop
    5afc3791c83e net: nfc: fix bounds checking bugs on "pipe"
    f815f9a89536 net: macsec: update SCI upon MAC address change.
    04f430a90bf0 netlink: Use netlink header as base to calculate bad attribute offset
    608f54653eaf net/ipv6: use configured metric when add peer route
    8f4cd4bed97b net: hns3: fix a not link up issue when fibre port supports autoneg
    e9d416dba4cc net: fec: validate the new settings in fec_enet_set_coalesce()
    9739d3d1bbb1 net: dsa: mv88e6xxx: fix lockup on warm boot
    9dd6cb14dd01 net: dsa: fix phylink_start()/phylink_stop() calls
    7b5db04f24a2 macvlan: add cond_resched() during multicast processing
    f992458686b8 ipvlan: don't deref eth hdr before checking it's set
    1f72737eecd7 ipvlan: do not use cond_resched_rcu() in ipvlan_process_multicast()
    c46034cfa1d4 ipvlan: do not add hardware address of master to its unicast filter list
    e4d08bef04df ipvlan: add cond_resched_rcu() while processing muticast backlog
    1f905985fe19 ipv6/addrconf: call ipv6_mc_up() for non-Ethernet interface
    8be8c4555431 inet_diag: return classid for all socket types
    aece82f5de2a gre: fix uninit-value in __iptunnel_pull_header
    0a062dd0d460 cgroup, netclassid: periodically release file_lock on classid updating
    8d22f4147325 ALSA: hda/realtek - Fixed one of HP ALC671 platform Headset Mic supported
    986af74c63a8 ALSA: hda/realtek - Add Headset Mic supported for HP cPC
    effe2041c3bf ALSA: hda/realtek - More constifications
    8f310017aab2 virtio_balloon: Adjust label in virtballoon_probe
    18fe53f6dfbc Linux 5.4.25
    564f7c2b5691 drm/virtio: module_param_named() requires linux/moduleparam.h
    09a8dd779e47 csky: Implement copy_thread_tls
    e28c9b3caf6b block, bfq: remove ifdefs from around gets/puts of bfq groups
    92ed51e65167 block, bfq: get a ref to a group when adding it to a service tree
    e657b1f6b9f4 efi: READ_ONCE rng seed size before munmap
    cca130fc00cd efi/x86: Handle by-ref arguments covering multiple pages in mixed mode
    61a7f1e13b92 efi/x86: Align GUIDs to their size in the mixed mode runtime wrapper
    da44902fcfdd powerpc: fix hardware PMU exception bug on PowerVM compatibility mode systems
    90335d6681ea EDAC/synopsys: Do not print an error with back-to-back snprintf() calls
    956ba569cc60 bus: ti-sysc: Fix 1-wire reset quirk
    8937a74575e1 arm64: dts: meson: fix gxm-khadas-vim2 wifi
    5293e17978c4 dmaengine: coh901318: Fix a double lock bug in dma_tc_handle()
    08d67499d2d2 dma-buf: free dmabuf->name in dma_buf_release()
    709c6990aec7 hwmon: (adt7462) Fix an error return in ADT7462_REG_VOLT()
    61f64d9de25a ARM: dts: imx7-colibri: Fix frequency for sd/mmc
    1439f05ce981 ARM: dts: dra7xx-clocks: Fixup IPU1 mux clock parent source
    9113989a57c2 ARM: dts: am437x-idk-evm: Fix incorrect OPP node names
    dc06a0977754 ARM: imx: build v7_cpu_resume() unconditionally
    dc04fb60d718 IB/hfi1, qib: Ensure RCU is locked when accessing list
    3286ef3a1605 RMDA/cm: Fix missing ib_cm_destroy_id() in ib_cm_insert_listen()
    3d5d75f8c26e regulator: stm32-vrefbuf: fix a possible overshoot when re-enabling
    baec58de4ab5 RDMA/core: Fix protection fault in ib_mr_pool_destroy
    785823b3b2bc RDMA/iwcm: Fix iwcm work deallocation
    a793097d7c16 RDMA/siw: Fix failure handling during device creation
    10faa91ce493 RDMA/nldev: Fix crash when set a QP to a new counter but QPN is missing
    4a2acf74a816 RDMA/rw: Fix error flow during RDMA context initialization
    194f9e8e3d13 Revert "RDMA/cma: Simplify rdma_resolve_addr() error flow"
    80ccc2588f6a soc: imx-scu: Align imx sc msg structs to 4
    30eb1ea78a58 firmware: imx: Align imx_sc_msg_req_cpu_start to 4
    a3bede27ca04 firmware: imx: scu-pd: Align imx sc msg structs to 4
    1bebf41fb8c1 firmware: imx: misc: Align imx sc msg structs to 4
    67a6b0adb1ac arm64: dts: imx8qxp-mek: Remove unexisting Ethernet PHY
    14bd791e38c6 ARM: dts: imx6: phycore-som: fix emmc supply
    4115c053a35e phy: mapphone-mdm6600: Fix write timeouts with shorter GPIO toggle interval
    6cc80013ad37 phy: mapphone-mdm6600: Fix timeouts by adding wake-up handling
    362fbe8e9dd6 drm/i915/selftests: Fix return in assert_mmap_offset()
    2845fe63f751 drm/i915: Program MBUS with rmw during initialization
    609b392e8523 drm/sun4i: de2/de3: Remove unsupported VI layer formats
    a49ddfae6c1a drm/sun4i: Fix DE2 VI layer format support
    dfe25f9a1c26 drm/sun4i: Add separate DE3 VI layer formats
    d9163ba414d8 drm: kirin: Revert "Fix for hikey620 display offset problem"
    95e0c61d7f66 drm/panfrost: Don't try to map on error faults
    2ce46334cc87 spi: atmel-quadspi: fix possible MMIO window size overrun
    278025119968 ASoC: dapm: Correct DAPM handling of active widgets during shutdown
    a87fe1f24fe7 ASoC: Intel: Skylake: Fix available clock counter incrementation
    94c472e7b4e1 ASoC: pcm512x: Fix unbalanced regulator enable call in probe error path
    757ed44a19a3 ASoC: pcm: Fix possible buffer overflow in dpcm state sysfs output
    b408bfa79b5e powerpc/mm: Fix missing KUAP disable in flush_coherent_icache()
    42dac16dc4b0 powerpc: Convert flush_icache_range & friends to C
    ec21f6d52bd4 powerpc: define helpers to get L1 icache sizes
    bbc02b018d73 ASoC: intel: skl: Fix possible buffer overflow in debug outputs
    1dd4d68f19cf ASoC: intel: skl: Fix pin debug prints
    488c6c340df5 ASoC: SOF: Fix snd_sof_ipc_stream_posn()
    e259388d69f5 ASoC: topology: Fix memleak in soc_tplg_manifest_load()
    a6e3b2aedf8a ASoC: topology: Fix memleak in soc_tplg_link_elems_load()
    9998ebb5e73c drm/virtio: fix resource id creation race
    d41f6cfd9aa7 drm/virtio: make resource id workaround runtime switchable.
    ad7f9c865af7 spi: bcm63xx-hsspi: Really keep pll clk enabled
    12e7f2771650 ARM: dts: ls1021a: Restore MDIO compatible to gianfar
    422d098fe633 arm64: dts: meson-sm1-sei610: add missing interrupt-names
    2a767bab5ac0 dm: fix congested_fn for request-based device
    5c929bcb7af9 dm zoned: Fix reference counter initial value of chunk works
    7b753d805e1a dm writecache: verify watermark during resume
    86543852e43b dm: report suspended device during destroy
    e600edc7d835 dm cache: fix a crash due to incorrect work item cancelling
    a7ab1264e830 dm integrity: fix invalid table returned due to argument count mismatch
    f9d35915324c dm integrity: fix a deadlock due to offloading to an incorrect workqueue
    5b3f03f6e232 dm integrity: fix recalculation when moving from journal mode to bitmap mode
    ac5e2d2d5fc6 dmaengine: tegra-apb: Prevent race conditions of tasklet vs free list
    454ee4a82050 dmaengine: tegra-apb: Fix use-after-free
    1cdb96461185 dmaengine: imx-sdma: Fix the event id check to include RX event for UART6
    772e5f29c942 dmaengine: imx-sdma: fix context cache
    31c5755caf69 s390/mm: fix panic in gup_fast on large pud
    88fbd1d31291 s390/pci: Fix unexpected write combine on resource
    c8f3adc4069d x86/pkeys: Manually set X86_FEATURE_OSPKE to preserve existing changes
    83b2a8fe43bd spi: spidev: Fix CS polarity if GPIO descriptors are used
    fc73ded13f16 perf arm-spe: Fix endless record after being terminated
    8ae75e508894 perf cs-etm: Fix endless record after being terminated
    d15530fc9250 perf intel-bts: Fix endless record after being terminated
    7d3adab14857 perf intel-pt: Fix endless record after being terminated
    8fd458b647f5 media: v4l2-mem2mem.c: fix broken links
    cd48f84cf7ce media: vicodec: process all 4 components for RGB32 formats
    37c554b3fe98 media: mc-entity.c: use & to check pad flags, not ==
    9be09b4583f1 media: hantro: Fix broken media controller links
    9a9c13ad21a8 vt: selection, push sel_lock up
    119ee545581a vt: selection, push console lock down
    4387bfa60520 vt: selection, close sel_buffer race
    e64fbf0e9f2d serial: 8250_exar: add support for ACCES cards
    5932199be8ed tty: serial: fsl_lpuart: free IDs allocated by IDA
    143217fe63b1 tty:serial:mvebu-uart:fix a wrong return
    cdca61a19081 arm: dts: dra76x: Fix mmc3 max-frequency
    637627d832bd arm64: dts: socfpga: agilex: Fix gmac compatible
    0c8eccc28e69 btrfs: fix RAID direct I/O reads with alternate csums
    557693d1d3a7 fat: fix uninit-memory access for partial initialized inode
    d467fbc93cdb mm, hotplug: fix page online with DEBUG_PAGEALLOC compiled but not enabled
    c2043281943e mm: fix possible PMD dirty bit lost in set_pmd_migration_entry()
    4b62bbcc8618 mm, numa: fix bad pmd by atomically check for pmd_trans_huge when marking page tables prot_numa
    5d230547476e vgacon: Fix a UAF in vgacon_invert_region
    c8137e78b8c6 usb: core: port: do error out if usb_autopm_get_interface() fails
    739721ebbc26 usb: core: hub: do error out if usb_autopm_get_interface() fails
    dc96ee7948d7 usb: core: hub: fix unhandled return by employing a void function
    cb05b3e1b16a usb: cdns3: gadget: toggle cycle bit before reset endpoint
    39b57e6ab298 usb: cdns3: gadget: link trb should point to next request
    f1809fb28cab usb: dwc3: gadget: Update chain bit correctly when using sg list
    807569e0dc58 usb: quirks: add NO_LPM quirk for Logitech Screen Share
    c71ce693e4e7 usb: storage: Add quirk for Samsung Fit flash
    e76e39f7c65b cifs: fix rename() by ensuring source handle opened with DELETE bit
    98cc1bd575d2 cifs: don't leak -EAGAIN for stat() during reconnect
    6369c1e0b646 ALSA: hda/realtek - Enable the headset of ASUS B9450FA with ALC294
    332464f910a7 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master
    6cb8b8760b7b ALSA: hda/realtek - Add Headset Button supported for ThinkPad X1
    f35e259c5444 ALSA: hda/realtek - Add Headset Mic supported
    f30f3aa5c3b9 binder: prevent UAF for binderfs devices II
    a2d63e7734ed binder: prevent UAF for binderfs devices
    3227ecd0ef53 firmware: imx: scu: Ensure sequential TX
    0f121ace25f1 selftests: forwarding: vxlan_bridge_1d: use more proper tos value
    2ab5bd41c6d7 arch/csky: fix some Kconfig typos
    479466726bf1 csky: Fixup compile warning for three unimplemented syscalls
    3469dfd86e09 csky: Fixup ftrace modify panic
    c7ce725c525a csky/smp: Fixup boot failed when CONFIG_SMP
    eb2ac8c497cd csky: Set regs->usp to kernel sp, when the exception is from kernel
    6db7f3bdc153 csky/mm: Fixup export invalid_pte_table symbol
    229fa6c8d284 net: thunderx: workaround BGX TX Underflow issue
    a90f613e1b44 x86/xen: Distribute switch variables for initialization
    10b00764ed11 ice: Don't tell the OS that link is going down
    9b6be0d2f942 nvme: Fix uninitialized-variable warning
    b290fb0b7971 s390/qdio: fill SL with absolute addresses
    ad50dbbf5729 x86/boot/compressed: Don't declare __force_order in kaslr_64.c
    ccef9c5f646b nvme-pci: Use single IRQ vector for old Apple models
    e13797d5ec54 nvme/pci: Add sleep quirk for Samsung and Toshiba drives
    9b412c4aa34b iommu/amd: Disable IOMMU on Stoney Ridge systems
    236efa8971f8 net/mlx5: DR, Fix matching on vport gvmi
    4a1e1dda56e2 efi: Only print errors about failing to get certs if EFI vars are found
    4d459c82abec s390: make 'install' not depend on vmlinux
    25fb2908b9c4 s390/cio: cio_ignore_proc_seq_next should increase position index
    764fc2ea82d8 watchdog: da9062: do not ping the hw during stop()
    1b1939fedc86 net: ethernet: dm9000: Handle -EPROBE_DEFER in dm9000_parse_dt()
    05e26a842a47 net: ks8851-ml: Fix 16-bit IO operation
    63c064a83568 net: ks8851-ml: Fix 16-bit data access
    8e8396edb093 net: ks8851-ml: Remove 8-bit bus accessors
    30f5a66eebc9 net: atlantic: check rpc result and wait for rpc address
    58eecbf16e97 selftests: forwarding: vxlan_bridge_1d: fix tos value
    5c0f7f2097b8 selftests: forwarding: use proto icmp for {gretap, ip6gretap}_mac testing
    d04dd98b9b37 drm/msm/dsi/pll: call vco set rate explicitly
    b6e3a6be56bd drm/msm/dsi: save pll state before dsi host is powered off
    26bfd300f7fd scsi: megaraid_sas: silence a warning
    f7c069e31daa drm/modes: Allow DRM_MODE_ROTATE_0 when applying video mode parameters
    9a426889f435 drm/modes: Make sure to parse valid rotation value from cmdline
    85c17bb5bf0f drm: msm: Fix return type of dsi_mgr_connector_mode_valid for kCFI
    49c1c5f5fc62 drm/msm/mdp5: rate limit pp done timeout warnings
    68b73cd158d8 habanalabs: patched cb equals user cb in device memset
    83946b4c96ee habanalabs: do not halt CoreSight during hard reset
    4b183f6748ac habanalabs: halt the engines before hard-reset
    5d48ee321160 usb: gadget: serial: fix Tx stall after buffer overflow
    a3a7d31645e5 usb: gadget: ffs: ffs_aio_cancel(): Save/restore IRQ flags
    aae7167626ce usb: gadget: composite: Support more than 500mA MaxPower
    dbeec9bda6cf selftests: fix too long argument
    c2d5c4df27e0 serial: ar933x_uart: set UART_CS_{RX,TX}_READY_ORIDE
    1cb3c0cecc31 ALSA: hda: do not override bus codec_mask in link_get()
    82782235544f blktrace: fix dereference after null check
    4771b3f60633 kprobes: Fix optimize_kprobe()/unoptimize_kprobe() cancellation logic
    c2a5e97de44a kbuild: fix 'No such file or directory' warning when cleaning
    0769cdddb88d RDMA/core: Fix use of logical OR in get_new_pps
    f7ed42f10334 RDMA/core: Fix pkey and port assignment in get_new_pps
    9d729f5aa06f dm thin metadata: fix lockdep complaint
    95aeaec9e63d net: stmmac: fix notifier registration
    551132b2943f net: dsa: bcm_sf2: Forcibly configure IMP port for 1Gb/sec
    2f87f58ca901 ALSA: hda/realtek - Fix a regression for mute led on Lenovo Carbon X1
    63f42809f0f3 block, bfq: do not insert oom queue into position tree
    594fca1d04fb block, bfq: get extra ref to prevent a queue from being freed during a group move
    cff670b3eb68 Linux 5.4.24
    6f9cff84dde8 blktrace: Protect q->blk_trace with RCU
    cad53d5e2e23 kvm: nVMX: VMWRITE checks unsupported field before read-only field
    119b1e588a76 kvm: nVMX: VMWRITE checks VMCS-link pointer before VMCS field
    0bae7e7fac97 mm, thp: fix defrag setting if newline is not used
    0eb282cb1ff7 mm/huge_memory.c: use head to check huge zero page
    8cb5db61afa3 mm/gup: allow FOLL_FORCE for get_user_pages_fast()
    2bb9bfcde8b5 mm/debug.c: always print flags in dump_page()
    2482da809fd3 locking/lockdep: Fix lockdep_stats indentation problem
    0d70361dec88 xfs: clear kernel only flags in XFS_IOC_ATTRMULTI_BY_HANDLE
    7906e29efaf1 bus: tegra-aconnect: Remove PM_CLK dependency
    dd3fd6dec30c netfilter: nf_flowtable: fix documentation
    beffc17b843c netfilter: nft_tunnel: no need to call htons() when dumping ports
    860a70e2a6f6 thermal: brcmstb_thermal: Do not use DT coefficients
    c981ab6a1c08 thermal: db8500: Depromote debug print
    8e78726fb7e8 ubifs: Fix ino_t format warnings in orphan_delete()
    ef0dcab6d21c rcu: Allow only one expedited GP to run concurrently with wakeups
    2aa7abbdc297 KVM: x86: Remove spurious clearing of async #PF MSR
    64521f9b2ca9 KVM: x86: Remove spurious kvm_mmu_unload() from vcpu destruction path
    56671961b34d x86/resctrl: Check monitoring static key in the MBM overflow handler
    d847804f8f8a perf ui gtk: Add missing zalloc object
    27f7e492d8fe perf hists browser: Restore ESC as "Zoom out" of DSO/thread/etc
    f68b6a015a81 pwm: omap-dmtimer: put_device() after of_find_device_by_node()
    1fabae5c846f lib/vdso: Update coarse timekeeper unconditionally
    91ebef8618bf lib/vdso: Make __arch_update_vdso_data() logic understandable
    74c515e04911 kprobes: Set unoptimized flag after unoptimizing code
    e8807eb1e688 ima: ima/lsm policy rule loading logic bug fixes
    caadb4b91b41 drivers: net: xgene: Fix the order of the arguments of 'alloc_etherdev_mqs()'
    c2e2f561d27f RDMA/hns: Bugfix for posting a wqe with sge
    3065f57761bd RDMA/hns: Simplify the calculation and usage of wqe idx for post verbs
    7fd3329a4df0 f2fs: fix to add swap extent correctly
    a25ae553903d sched/fair: Optimize select_idle_cpu
    ea307804e4fc KVM: Check for a bad hva before dropping into the ghc slow path
    487113220d0b KVM: SVM: Override default MMIO mask if memory encryption is enabled
    4aa42ab64edd mwifiex: delete unused mwifiex_get_intf_num()
    6d807dd31955 mwifiex: drop most magic numbers from mwifiex_process_tdls_action_frame()
    8a7d7fa16150 namei: only return -ECHILD from follow_dotdot_rcu()
    c15a3d8f5ecc kbuild: make single target builds even faster
    2e54f93a3b9b kbuild: remove unneeded variable, single-all
    ecd77a3261ab kbuild: move headers_check rule to usr/include/Makefile
    ef134d8b493c kbuild: remove header compile test
    20e559d8f745 selftests: Install settings files to fix TIMEOUT failures
    483724e27eb5 net: ena: make ena rxfh support ETH_RSS_HASH_NO_CHANGE
    21709608638e net/smc: no peer ID in CLC decline for SMCD
    10e0190f0b96 net: atlantic: fix out of range usage of active_vlans array
    10b2668cb3db net: atlantic: fix potential error handling
    be96a355858a net: atlantic: fix use after free kasan warn
    5306d0c41979 net: netlink: cap max groups which will be considered in netlink_bind()
    5b04f396f002 s390/qeth: vnicc Fix EOPNOTSUPP precedence
    567b108c9425 nvme-pci: Hold cq_poll_lock while completing CQEs
    fbc28154dec9 usb: charger: assign specific number for enum value
    e65381111339 hv_netvsc: Fix unwanted wakeup in netvsc_attach()
    f5cfa47505ac kbuild: fix DT binding schema rule to detect command line changes
    f2688e753764 mac80211: Remove a redundant mutex unlock
    813757b78216 nl80211: fix potential leak in AP start
    8100d19dc0fb drm/i915/gvt: Separate display reset from ALL_ENGINES reset
    30b8a98a1ab3 drm/i915/gvt: Fix orphan vgpu dmabuf_objs' lifetime
    55105073e43c i2c: jz4780: silence log flood on txabrt
    bda7565d4e15 i2c: altera: Fix potential integer overflow
    7cf412def885 MIPS: VPE: Fix a double free and a memory leak in 'release_vpe()'
    d5684b0515fc HID: hiddev: Fix race in in hiddev_disconnect()
    e7c5c8fd532d HID: alps: Fix an error handling path in 'alps_input_configured()'
    782077bff3a6 netfilter: xt_hashlimit: reduce hashlimit_mutex scope for htable_put()
    6c717726f341 netfilter: ipset: Fix forceadd evaluation path
    f09fbb1175cf vhost: Check docket sk_family instead of call getname
    68c601f2a208 net/smc: transfer fasync_list in case of fallback
    5dd9488ae410 netfilter: ipset: Fix "INFO: rcu detected stall in hash_xxx" reports
    7eaf718b83ff io_uring: fix 32-bit compatability with sendmsg/recvmsg
    9629f47d7d1c cpufreq: Fix policy initialization for internal governor drivers
    386a71f635b4 amdgpu/gmc_v9: save/restore sdpif regs during S3
    8e7ddaf759c6 Revert "PM / devfreq: Modify the device name as devfreq(X) for sysfs"
    b20f83ef019a tracing: Disable trace_printk() on post poned tests
    176cacef0119 macintosh: therm_windtunnel: fix regression when instantiating devices
    73c8048e277e drm/radeon: Inline drm_get_pci_dev
    582ce26a7e24 drm/amdgpu: Drop DRIVER_USE_AGP
    d310188d4ef6 HID: core: increase HID report buffer size to 8KiB
    819f8ab78a31 HID: core: fix off-by-one memset in hid_report_raw_event()
    a30a85e74dcd HID: ite: Only bind to keyboard USB interface on Acer SW5-012 keyboard dock
    9154d430dcbd KVM: VMX: check descriptor table exits on instruction emulation
    07fec9a84c15 ACPI: watchdog: Fix gas->access_width usage
    6b077e6fa7e2 ACPICA: Introduce ACPI_ACCESS_BYTE_WIDTH() macro
    82a6cb7a8ade audit: always check the netlink payload length in audit_receive_msg()
    37f4c2775267 audit: fix error handling in audit_data_to_entry()
    1e74ccd38e19 ext4: potential crash on allocation error in ext4_alloc_flex_bg_array()
    36d7477fabed nvme/pci: move cqe check after device shutdown
    b1fd0e551eeb nvme: prevent warning triggered by nvme_stop_keep_alive
    d4d26a5069da nvme/tcp: fix bug on double requeue when send fails
    3b4cf3b98895 net: hns3: fix a copying IPv6 address error in hclge_fd_get_flow_tuples()
    87a5534a1ae4 net: hns3: add management table after IMP reset
    e98e13176e27 mac80211: fix wrong 160/80+80 MHz setting
    f0593f5b1b64 cfg80211: add missing policy for NL80211_ATTR_STATUS_CODE
    99b2040d1b6b cifs: Fix mode output in debugging statements
    7072ad3b1d6c ice: update Unit Load Status bitmask to check after reset
    b81cc04e2aef net: ena: ena-com.c: prevent NULL pointer dereference
    d737658c9a11 net: ena: ethtool: use correct value for crc32 hash
    b7f8a4e82a41 net: ena: fix corruption of dev_idx_to_host_tbl
    5408a8088d59 net: ena: fix incorrectly saving queue numbers when setting RSS indirection table
    fdc142e4c282 net: ena: rss: store hash function as values and not bits
    eb9b6ff1fd71 net: ena: rss: fix failure to get indirection table
    6ab7207ad11d net: ena: rss: do not allocate key when not supported
    d6f54019b964 net: ena: fix incorrect default RSS key
    6088f3f70186 net: ena: add missing ethtool TX timestamping indication
    1c27b8d64571 net: ena: fix uses of round_jiffies()
    5bc08766658f net: ena: fix potential crash when rxfh key is NULL
    c17f8a738f59 i40e: Fix the conditional for i40e_vc_validate_vqs_bitmaps
    136702882691 soc/tegra: fuse: Fix build with Tegra194 configuration
    3c4b25053248 amdgpu: Prevent build errors regarding soft/hard-float FP ABI tags
    cd32771da12c drm/amd/display: Add initialitions for PLL2 clock source
    147fcd07ceba drm/amd/display: Limit minimum DPPCLK to 100MHz.
    2e5154923c1f drm/amd/display: Check engine is not NULL before acquiring
    eb62f4c2eb9a RDMA/siw: Remove unwanted WARN_ON in siw_cm_llp_data_ready()
    083afcaccb58 drm/amd/display: Do not set optimized_require to false after plane disable
    3bf72abda2dc ARM: dts: sti: fixup sound frame-inversion for stihxxx-b2120.dtsi
    b520f78ba428 ceph: do not execute direct write in parallel if O_APPEND is specified
    3b0a0bd12963 perf/x86/msr: Add Tremont support
    d1fdeaf6e9fe perf/x86/cstate: Add Tremont support
    6b1ca90fa4d7 perf/x86/intel: Add Elkhart Lake support
    75061b865142 perf/smmuv3: Use platform_get_irq_optional() for wired interrupt
    862e4c3a4b00 NFSv4: Fix races between open and dentry revalidation
    6eceafad2fff qmi_wwan: unconditionally reject 2 ep interfaces
    f5fe94e8dcfe qmi_wwan: re-add DW5821e pre-production variant
    a1b2925e6bc8 s390/zcrypt: fix card and queue total counter wrap
    fd206c770d41 cfg80211: check wiphy driver existence for drvinfo report
    5d6df86cad5e mac80211: consider more elements in parsing CRC
    bb232821faf5 dax: pass NOWAIT flag to iomap_apply
    36b5fcc140a7 sched/fair: Prevent unlimited runtime on throttled group
    166d6008fa2a timers/nohz: Update NOHZ load in remote tick
    5a309e3bf1e8 sched/core: Don't skip remote tick for idle CPUs
    b855c6399c1f drm/msm: Set dma maximum segment size for mdss
    66bc95c1955a ipmi:ssif: Handle a possible NULL pointer reference
    8097108725c3 ipv6: Fix nlmsg_flags when splitting a multipath route
    5b3beff4e8f9 ipv6: Fix route replacement with dev-only route
    5a908830e69b bonding: fix lockdep warning in bond_get_stats()
    97e5c947ad35 net: export netdev_next_lower_dev_rcu()
    d59a701d4cae bonding: add missing netdev_update_lockdep_key()
    177489edbe24 bnxt_en: Issue PCIe FLR in kdump kernel to cleanup pending DMAs.
    7daf11d64b8a bnxt_en: Improve device shutdown method.
    c360e0530107 sctp: move the format error check out of __sctp_sf_do_9_1_abort
    e72258bf6a57 udp: rehash on disconnect
    63d5320a0c9b Revert "net: dev: introduce support for sch BYPASS for lockless qdisc"
    129a1e235cc9 qede: Fix race between rdma destroy workqueue and link change event
    45f0d4b40131 nfc: pn544: Fix occasional HW initialization failure
    f3844aed8e86 net/tls: Fix to avoid gettig invalid tls record
    50acd32ea7f6 net: sched: correct flower port blocking
    bd53844bc91e net: phy: restore mdio regs in the iproc mdio driver
    248b7751391f net: mscc: fix in frame extraction
    e99e2f59d9a2 net: macb: ensure interface is not suspended on at91rm9200
    9310357f6151 net: fib_rules: Correctly set table field when table number exceeds 8 bits
    59b5714c6779 net: dsa: b53: Ensure the default VID is untagged
    728afb955b57 EDAC: skx_common: downgrade message importance on missing PCI device
    cac68d12c531 io_uring: grab ->fs as part of async offload

(From OE-Core rev: 3c8c0c82d163a9ef8e6d71583d65587b9be70eae)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Bruce Ashfield
c48354780e linux-yocto-dev: update to v5.6+
Bumping the revision on linux-yocto-dev to reflect the updated state
of -dev.

The aufs/yaffs2 features are in place, but -rt is not yet available,
so the branches are placeholders for future updates.

This has been tested across all supported architectures and reference
qemu platforms, as well as with closely coupled userspace packages.

We tweak the LICENSE_CHECKSUM as well, since upstream has added an
informational note to the file, but the license is otherwise unchanged.

(From OE-Core rev: ca3d2db0e87168f3e1d6baa2e691ee0399db81d7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-24 16:39:40 +00:00
Peter Kjellerstedt
c2b67f880f archiver.bbclass: Correct a typo
Also add a missing space in a warning message.

(From OE-Core rev: 6d1d0dccafeaeb971ad18a8bb4ebdd2860d407d5)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-22 10:48:44 +00:00
Jeremy Puhlman
f6697e551e qemu-system-native: disable options not included in extended tarball
* Add PACKAGECONFIG option for xkbcommon
qemu-keymap.c:16:10: fatal error: xkbcommon/xkbcommon.h: No such file or directory

* Add PACKAGECONFIG option and patch for libudev
commands-posix.c:53:10: fatal error: libudev.h: No such file or directory

* Add PACKAGECONFIG option for libxml2
util/osdep.c:136: undefined reference to `fcntl64'

- Without specifying libxml2, configure searches the system and pulls in the system
  libxml2 if it is present. In the process it adds -L/usr/lib64 which causes the
  system libc to be linked instead of the one from the extended tarball.

None of the above libraries appear to be included in the depends for any of the qemu
builds, so if they are getting linked in, its probably not intentionally.

(From OE-Core rev: 3f1fd15cf0df4a4b12d49ac795b1c9e02de61429)

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-22 10:48:43 +00:00
Mike Looijmans
27ff81bfd8 classes/populate_sdk_base: Implement xz compression options
Building an SDK on a machine with 8GB RAM resulted in excessive swapping
due to the xz compressor using ~20GB of memory. This is because xz is
being called with "-T 0 -9".

To allow tuning the compression versus memory usage, introduce a variable
named SDK_XZ_OPTIONS that defaults to a more sane default:
SDK_XZ_OPTIONS ?= "${XZ_DEFAULTS} ${SDK_XZ_COMPRESSION_LEVEL}"
The use of XZ_DEFAULTS fixes the excessive memory usage.
The SDK_XZ_COMPRESSION_LEVEL variable allows overriding the speed vs
compression. In an office or development environment the extra time
spent on compressing a few percent more is just not worth it.

(From OE-Core rev: 25533a48a19e3e6eb9f96be51b1373830b5bb9f0)

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-22 10:48:43 +00:00
Jeremy Puhlman
2298791719 toolchain-shar-extract: check for available python
centos7 doesn't have python3 intalled by default, so running
the script errors in novel ways if it is not installed.

(From OE-Core rev: 1e6061a4d223dc104039728ba169dbe63e74f750)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
Khem Raj
d566448b3d gcc-target: Use --with-arch=native for target gcc
This should help gcc detect and use target ISA on x86_64 machines when
-march is not used on cmdline

[YOCTO #139]

(From OE-Core rev: f9e410521c92e2458ba7e2ca63d28434618b9f25)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
Khem Raj
0ea1ee305b bison: Reset load average settings if specified in environment
In some cases, we run into parallel build failures where BUILT_SOURCES
is skipped, as a result required header files are not generated and the
build fails with missing header errors like

../bison-3.5.2/lib/uniwidth/width.c:21:10: fatal error: uniwidth.h: No such file or directory
 #include "uniwidth.h"
          ^~~~~~~~~~~~
compilation terminated.

BUILT_SOURCES should be built automatically with `make all` [1] therefore
ensure that make is invoked with `all` target

bison-native parallel build fails when -l<n> is passed globally from
build environment, errors like below due to race starts to show up

Therefore removes a previous load limit if set

[1] https://www.gnu.org/software/automake/manual/html_node/Built-Sources-Example.html#Built-Sources-Example

(From OE-Core rev: 1b8451aa4ba2b42b1eb1dc938fa3397d3434839a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
Khem Raj
fcdb6774e9 bison: Update to 3.5.3
bugfix release [1]

[1] https://lists.gnu.org/archive/html/bison-announce/2020-03/msg00000.html

(From OE-Core rev: b073317d5ea71217443624e5dc3b55831bb56018)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
Richard Purdie
b6ec9e65cf lttng-ust: upgrade 2.11.0 -> 2.11.1
(From OE-Core rev: f0bf8052f18dafeece364204826bc0492c502708)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
Wang Mingyu
d9defa18fb libxcrypt: upgrade 4.4.14 -> 4.4.15
(From OE-Core rev: 67625db10cc8aab371d19994c550ea33b36e81f5)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
Wang Mingyu
0ec589907e icu: upgrade 65.1 ->66.1
-License-Update: Copyright year updated to 2020.

(From OE-Core rev: d8b928f60e1274edc3d97f14ebe60e81aa0057f1)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
Wang Mingyu
10121e7a3c glew: upgrade 2.1.0 -> 2.2.0
0001-Fixed-compilation-with-current-mesa-versions.patch
removed since it is included in 2.2.0

(From OE-Core rev: 39e59246cb8e3b5b65ad10935e08078f5053e350)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
Wang Mingyu
3e3b66ca1d fribidi: upgrade 1.0.8 -> 1.0.9
(From OE-Core rev: 571bf9faf5dc98144bfe991fae3ffcebd5e886f1)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
Wang Mingyu
1eac51ae30 bluez5: upgrade 5.53 -> 5.54
CVE-2020-0556-1.patch
CVE-2020-0556-2.patch
removed since they are included in 5.54

(From OE-Core rev: 5552caed72169d397ce0bdf436216ec320a29751)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
William A. Kennington III
37ebf92a90 meson: upgrade 0.53.1 -> 0.53.2
(From OE-Core rev: 8c3d3cb239c7f4cc499d7b5d082e1f9ef357a427)

Signed-off-by: William A. Kennington III <wak@google.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
Khem Raj
23c467ae7e musl: Add support for multilib
ldso is always stored in /lib regardless of multilib
add ld-musl-${MUSL_LDSO_ARCH}.path to aid ldso finding default library
loading paths, it helps when using multilib, where system libraries are
moved to lib32 or lib64 paths under / or /usr

[YOCTO #11971]

(From OE-Core rev: bfa1ea82bb2ec9d1ae6da0a442bed519a6464698)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:01 +00:00
Khem Raj
9b7daa6650 linuxloader: Add get_musl_loader_arch function
get_musl_loader_arch returns the arch part of ldso for musl, this is
used in get_musl_loader() as well as independently usable, which is
needed for multilib support in musl. Musl stores all ldso in /lib
be it multilib or not, therefore do not use base_libdir instead directly
use /lib

[YOCTO #11971]

(From OE-Core rev: 0b694592c417c1d21913905f5032d300c9635866)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:00 +00:00
Wang Mingyu
4bae34fa92 gtk+3: upgrade 3.24.13 -> 3.24.14
(From OE-Core rev: 47e99b1677ea02957607b31a10b4dbce27c5d0d7)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:00 +00:00
Wang Mingyu
9bfeac22a1 base-passwd: LICENSE changed to GPLv2
The source code such as update-passwd.c states the license to be under
GPL v2 only and does not contain the "or later" clause so correct the
recipe LICENSE field to match.

(From OE-Core rev: fd1bda7bf0b750ea8ee62c116bec6b9ed1ba963d)

Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:00 +00:00
Domarys Correa
1efe10076d cmake: Update 3.16.1 -> 3.16.5
(From OE-Core rev: cb1e9808f1606d2acfbf540631035f166f823324)

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:00 +00:00
Daniel Dragomir
ecfeb0875d lttng-modules: update to 2.11.2
Upgrade to version 2.11.2 in order to fix some build errors
with latest 5.4 kernel.

- conflicting types for 'trace_fast_page_fault'
Reproductible on kernel greater than v5.4.19, starting with commit
8a1cd01bee ("KVM: x86: Use gpa_t for cr2/gpa to fix TDP support on
32-bit KVM")

Error messages:
lttng-modules-2.11.1/probes/../probes/lttng-tracepoint-event-impl.h:130:6:
error:
  130 | void trace_##_name(_proto);
tmp/work-shared/axxiax86-64/kernel-source/include/linux/tracepoint.h:233:21:
note: previous definition of 'trace_fast_page_fault' was here
  233 |  static inline void trace_##name(proto)

- conflicting types for 'trace_rcu_dyntick'
Reproductible on kernel greater than v5.4.22, starting with commit
6cf539a87a ("rcu: Fix data-race due to atomic_t copy-by-value")

Error messages:
lttng-modules-2.11.1/probes/../probes/lttng-tracepoint-event-impl.h:130:6:
error: conflicting types for 'trace_rcu_dyntick'
  130 | void trace_##_name
tmp/work-shared/axxiax86-64/kernel-source/include/linux/tracepoint.h:233:21:
note: previous definition of 'trace_rcu_dyntick' was here
  233 |  static inline void trace_##name(proto)

(From OE-Core rev: 8fcc33aea08fc1e82818893feb7b01c7cc1e6416)

Signed-off-by: Daniel Dragomir <Daniel.Dragomir@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:00 +00:00
Yi Zhao
b52c45aa79 oeqa/manual/bsp-hw.json: fix syntax error
Remove the redundant comma to fix the json decode error:

$ resulttool manualexecution ../meta/lib/oeqa/manual/bsp-hw.json
Traceback (most recent call last):
[snip]
  File "/usr/lib/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 948 column 1 (char 39810)

(From OE-Core rev: 483c2d318c63fc2927680c1613d60864bb6287ab)

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:00 +00:00
Khem Raj
795bc23616 libucontext: Fix multilib build
libdir is hardcoded to /lib which is not going to work in multilib
scene, patch makefile to add a variable to override the libdir from env

(From OE-Core rev: 75b29a68f11f9c10a89ba413abd1023cfcf90982)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:00 +00:00
Adrian Freihofer
2f6a47c4d4 runqemu: support multiple NICs
Emulating more than one network interface with runqemu is a bit tricky,
but possible. For example, the following leads to an emulated device with
eth0 and eth1:

QB_NETWORK_DEVICE_prepend = " \
    -device virtio-net-device,mac=52:54:00:12:34:03 \
"

or

QB_NETWORK_DEVICE_append = " \
    -device virtio-net-pci,mac=52:54:00:12:34:03 \
"

When booting Qemu with two NICs, the kernel does not know which
interface the specified ip=192.168.7.... command line argument
should be applied. This delays the boot process for a very long
time and a guest wihtout IP configuration.

This add two new configuraton parameters to runqemu:
QB_CMDLINE_IP_SLIRP and QB_CMDLINE_IP_TAP to explicitely specify the ip=
kernel command line arguments for tap and slirp mode.

Note: Simply adding "::eth0" broke some builds on the Yocto autobuilder.

(From OE-Core rev: 59bfdc331c1494c05ab38804b281878a1f571f6d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:39:00 +00:00
Goran Cengic
8afdc80989 documentation: add rpcgen tool to required packages
On recent distros the following error appears without rpcgen host tool:
  ERROR: The following required tools (as specified by HOSTTOOLS)
  appear to be unavailable in PATH, please install them in order to
  proceed:
    rpcgen

(From yocto-docs rev: 66a491e77e1b97a831515d4ac8e0245540d7242a)

Signed-off-by: Goran Cengic <cengic@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-21 22:31:00 +00:00
Jacob Kroon
9c20e8de6f bitbake: bitbake-user-manual: immediate-variable-expansion: Correct description
References to undefined variables are preserved as is and do not
expand to nothing as in GNU Make.

(Bitbake rev: 4780df48d5998d619dc36b699400e344187fc134)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-19 11:28:31 +00:00
Jacob Kroon
db11b30cea bitbake: bitbake-user-manual: Fix order of end tags
Fixes commit e22565968828c86983162e67f52ebb106242ca76.

(Bitbake rev: a37189fbdba399437cb9fcb28aa963515679cc65)

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-19 11:28:31 +00:00
Richard Purdie
6f02caa399 build-appliance-image: Update to master head revision
(From OE-Core rev: 61d80b07bcfa4adf5f1feb2904fec0a8d09c89f6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-15 22:48:55 +00:00
Richard Purdie
1adc7478a0 layer.conf: Allow compatibility with zeus for now
(From OE-Core rev: 1970c5f7838ff10cd6243e1624553bdc46e89fad)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-15 22:48:49 +00:00
Richard Purdie
3ac7f95ecf build-appliance-image: Update to master head revision
(From OE-Core rev: ebe7767d8a1f2d41bad126e7bafe3a33a6165333)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-15 22:27:25 +00:00
Richard Purdie
4cf541859d layer.conf: Update to new dunfell release name
(From meta-yocto rev: a1ae7e14edd36007adf027e21711f016e0f25658)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-15 22:24:43 +00:00
Richard Purdie
a6092298c8 layer.conf: Update to LAYERSERIES_CORENAME to dunfell
Update the layer core name to the new release name.

(From OE-Core rev: 090bb3b44ba0cc01c29942c00d43e910d1ff735e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-15 22:23:19 +00:00
Richard Purdie
9194c6c249 scripts/pybootchartgui: Fix to work with python 3.8
time.clock() was removed in python 3.8, use one of its recommended replacements
to fix failures on python 3.8 systems.

(From OE-Core rev: f1d4ecce7d3968c5e08c268e3329041d4b647cf6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-15 22:23:19 +00:00
Jeremy Puhlman
0bd1b2aaf8 ltp: make multilib installable.
Many of ltp's tests are of syscalls and libc content. Enable installing
mulitpule abi's.

Use prefix consistently rather then hardcoded /opt/ltp everywhere.

(From OE-Core rev: 66809f9257d667a0a0814f5c6d804f93cd4ad6e1)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-15 22:23:19 +00:00
Jan Kaisrlik
670e85a4a0 musl: removes aliases for glibc provided libraries
Based on the recommendation in musl mailing list[1] All symlinks have
been removed from musl recipe.

Move stub libraries into -dev package
having them treated as normal .a which they are not, is not correct and
packages shoves them into static archives, which are not installed on
target usually unless asked for

this should help in linking with -lm, -lpthread etc. on target

[1]: https://www.openwall.com/lists/musl/2020/03/10/11

(From OE-Core rev: 8d068bd3adec64d451cf9cd4ae6b0803a7152463)

Signed-off-by: Jan Kaisrlik <ja.kaisrlik@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-15 22:23:19 +00:00
Anders Wallin
6a999ec1b5 babeltrace2: updated to 2.0.2
(From OE-Core rev: b1ae2178fa188b2864280f2c3a9ba443e042cae0)

Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 23:00:26 +00:00
Trevor Gamblin
1e647ab5a9 python: upgrade 3.8.1 -> 3.8.2
THE LICENSE checksum changed in this update due to copyright notice
added for 2020.

(From OE-Core rev: 3513721b5dd660c7e6a8038b89ca17f1b76f7f9b)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 23:00:26 +00:00
Stefan Eichenberger
cf2ea6cc27 initramfs-framework: fix boothang when console=null
If console=null systemd-udevd throws an assertion which prevents the
system from booting. This patch redirects stdin, stdout and stderr to
/dev/null in case that the console can't be opened so that udevd still
boots.

A systemd issue was reported here. However, they will not fix this
specific use-case:
https://github.com/systemd/systemd/issues/13332

(From OE-Core rev: dd6ee0b06cd8df6204cf600050516d15172302ea)

Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 23:00:26 +00:00
Anuj Mittal
b353a8069b binutils: fix CVE-2020-0551
(From OE-Core rev: 287123a9562e08cd97a4ebfd380508432654324b)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 23:00:26 +00:00
Anuj Mittal
bed169a07b bluez: fix CVE-2020-0556
It was discovered that BlueZ's HID and HOGP profiles implementations
don't specifically require bonding between the device and the host.

This creates an opportunity for an malicious device to connect to a
target host to either impersonate an existing HID device without
security or to cause an SDP or GATT service discovery to take place
which would allow HID reports to be injected to the input subsystem from
a non-bonded source.

(From OE-Core rev: d598f8eee0741148416e8660e10c716654205cb5)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 23:00:26 +00:00
Khem Raj
901a93885f gcc: Upgrade to 9.3 bugfix release
This brings ~157 bugfixes [1] to gcc-9 with no features
Drop backports which are already part of the release now

[1] https://gcc.gnu.org/bugzilla/buglist.cgi?bug_status=RESOLVED&list_id=260610&resolution=FIXED&target_milestone=9.3

(From OE-Core rev: caf80e4e245132bdc3bbe219b567013f2c5d2f46)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 13:35:16 +00:00
Khem Raj
350979b278 oeqa/qemuarm64: Ignore logind: failed to get session seat
When booting weston images this error is seen commonly, but Qemu boots
the image fine, session seat error is thrown by libweston perhaps using
--seat option or setting XDG_SEAT variable in weston.ini could fix it

[YOCTO #13828]

(From OE-Core rev: 1f9d36722132c93c19651ea59062b3d5be01bb72)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:32:10 +00:00
Andreas Müller
d5ebb8e7ec libsdl2: upgrade 2.0.10 -> 2.0.12
* checked all hunks: backported patches can go
* for machines with neon in TUNE_FEATURES enable new configure option
  --enable-arm-neon. If enabled, license must be extended to MIT
* license checksum changed by copyright year

(From OE-Core rev: aaa1c3ee0fe782fb08a58f100bc04686824de815)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:32:10 +00:00
Khem Raj
ce000c5270 weston-init: Launch weston with WESTON_DISABLE_ATOMIC on musl/x86
Since we enabled drm/kms backend for qemux86, it does not work with musl
fdbdev worked ok, we see this error

[18:58:45.628] launching '/usr/libexec/weston-desktop-shell'
[18:58:45.737] atomic: couldn't commit new state: Invalid argument
[18:58:45.737] repaint-flush failed: Invalid argument

There seems to be some problem with atomics in libdrm, until that gets
diagnosed, simple solution is to not use it on musl when drm backend is used
thats why WESTON_DISABLE_ATOMIC=Y is set in environment file for such
cases

(From OE-Core rev: e571ef707d76cf3aceb0d56fd588b37f9b5092ff)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:32:10 +00:00
jan
7e9fdd755d scritpts/tiny/ksize: Cleanup some python2 leftover in ksize.py
Although the script was running with Python3, almost no detailed
output was generated.

(From OE-Core rev: bd17a7e60264bb40df340fa38c425a7d7372516e)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:32:10 +00:00
Richard Purdie
ca5b3b4d1c bitbake: tinfoil: Update to match recent knotty console changes
This updates tinfoil to match recent changes to the logging code
in knotty.

(Bitbake rev: e67dfa4a4d0d63e4752655f25367582e5a95f1da)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
bf7d68c812 bitbake: knotty/msg: Use logging.shutdown() instead of bb.msg.cleanupLogging()
The logging module provides a shutdown() function that does the same
thing in a much better way

(Bitbake rev: 970cd2fc4f0bbc93069dee5a15a608dd76081c67)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
5ce50b3ce7 bitbake: knotty: Treat verbconsole as a console output
The BitBake.verbconsole needs to be treated like a console output logger
(meaning that the TerminalFilter attaches an InteractConsoleLogFilter to
it), even if it's not directly attached to the root 'BitBake' logger.
First, assign a special "is_console" property to the relevant handlers,
then look for the property in the handlers from the configuration object
return by bb.msg.setLoggingConfig(). Finally, pass the list of all
handlers to the TerminalFilter object; it doesn't care about the
difference between console and errconsole, so pass all the relevant
handlers as a list.

This fixes cases where the console output was corrupted when messages
were sent to the 'BitBake.verbconsole' handler.

(Bitbake rev: 2010be588c74a99256df7b565a309c84c2973546)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
0dd9e5a84d bitbake: msg: Return config object
Returns the configuration object from setLoggingConfig(). This object
has a config dictionary that contains all of the created handlers,
filters and loggers, which makes it much easier to pull out items with
specific names.

(Bitbake rev: 93c98a85cb10d3795b3cebc9cd97214d0f4748e5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
b2d55ec1eb bitbake: knotty: Update hash equivalence logging
Updates hash equivalence logging so that the interesting VERBOSE
messages are always logged to the consolelog file so that issues in
individual user builds can be diagnosed. The autobuilder logging config
then updates this so that they also are shown on stdout, since the
consolelog file is not capture there.

In order to facilitate this, 2 new logging handlers were added,
"BitBake.verbconsole" and "BitBake.verbconsolelog". Neither of these
handlers are attached to anything by default, but they will log any
messages that wouldn't otherwise be logged by the normal console or
consolelog handlers. Users can attach whatever loggers the desire to
this handler to get them to appear on the console or in the consolelog,
as demonstrated by the autobuilderlog.json file.

(Bitbake rev: 766587c0baaaeb5cda3e9454395edbb70e33f756)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
25944b8259 bitbake: contrib: Add autobuilder logging configuration
Adds a configuration file that the autobuilder can use to capture
interesting logging domains above the ones that show up for normal users
on stdout/stderr.

(Bitbake rev: 2259b5172b37442a4e0420a16a7bde9e21ffa086)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
5766cf50b0 bitbake: runqueue: Lower setscene complete logging level
Lowers the level of the log message when setscene tasks have completed.
This message can occur multiple times when hash equivalence is enabled,
since the runqueue switches between executing setscene tasks and normal
tasks. Since this is primarily of use when debugging hash equivalence,
use the hash equivalence logger at VERBOSE level.

[YOCTO #13813]

(Bitbake rev: 7dd5b3900622008ff34ec70d71c6e994f460a46f)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
361ea84d56 bitbake: msg: Add helper to merge logging configs
Adds a function that can be used by UI front ends to merge logging
configuration fragments.

(Bitbake rev: e860d93b76c142fdae90226bc68e4fe6e7b6a9db)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
c8b2694cd4 bitbake: knotty: Add logging cleanup
Adds code to close all loggers when bitbake exits. This prevents
unclosed file ResourceWarnings. A form of this closing existed
previously, but was removed in the new logging code.

(Bitbake rev: b3f3779adf63c0d970462a558a6205da1d30c0ed)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
03e35419af bitbake: bitbake-user-manual: Add documentation for BB_LOGCONFIG
Adds documentation describing how to use the BB_LOGCONFIG variable to
enable custom logging.

(Bitbake rev: e22565968828c86983162e67f52ebb106242ca76)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
622ec78f7e bitbake: runqueue/siggen: Lower hash equivalence logging
Lowers the level at which hash equivalence messages are logged so as to
not annoy the majority of users. The autobuilder can use a custom
logging configuration to log these to a file for debugging (see
contrib/autobuilderlog.json)

[YOCTO #13813]

(Bitbake rev: 2ddb649ea31afe052f08e3969e36abf6fb515bc2)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
554894287e bitbake: runqueue/siggen: Log hash equivalence with a different logger
Switches the hash equivalence logging to use a different logger so that
it can be easily filtered out with python's structured logging.

(Bitbake rev: 20bb29ef973e9c5483eb50a74550ea207637367b)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
64e7ee4376 bitbake: bitbake-worker: Remove unnecessary addDefaultLogFilter
Adding the default log filter here is unnecessary because there are no
defined logging domains when it is called, which means it does no actual
filtering.

(Bitbake rev: dcdb8f2c14f09ce34d0a1facc33a441570912c05)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
1c9874b9f3 bitbake: knotty: Setup logs with config helper
Sets up logging in knotty to use python's structured logging config and
the bb.msg.setLoggingConfig() helper to setup logging. This allows the
user to specify additional logging mechanism in a config file with
BB_LOGCONFIG

(Bitbake rev: 646a68a49364b50a42168b4b16308f7217eec0dc)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
300fd2a659 bitbake: knotty: Remove dependency on format variable
Passing around the log formatter variable was unnecessary since the log
levels of interest can be accesses as class members of
bb.msg.BBLogFormatter. Switching to do this will make using the
structured python logging much easier, since it can be difficult to
extract out the formatter for a specific handler.

(Bitbake rev: c1c867df24b4ef204027d485acac7c75c63f2bc0)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
6b9eacb404 bitbake: lib/bb/msg: Add helper to set logging config
Adds a helper function to setup the structure logging information in
bitbake. The helper function takes a default configuration and an
optional path to a user config file that can be merged into the default.

(Bitbake rev: 14c98d36b74c1599b4649078170b6e72df79ba2a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
143685de1b bitbake: lib/bb/msg: Remove unused filters
Now that the filter are described using the python logging structure,
these classes are no longer needed.

(Bitbake rev: 2cb16e0c61609f3fb8a86530ddedf8ad0e69428e)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
9030edf4af bitbake: lib/bb/msg: Add filter utilities
Adds generic filter utilities that can be used to filter when the log
level is greater than or equal to a defined value, or below a defined
value, as well as a generic function to translate a string to a logging
level (or bitbake logging level)

(Bitbake rev: 8ebe8a7662200fad9b88be8b08376262a61c85c4)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
ae6e0e0a51 bitbake: knotty: Add commented logging_tree code
Adds a comment section that can be easily uncommented to enable dumping
the logging tree. This module is extremely useful for debugging issued
with logging configuration

(Bitbake rev: 30461310915f911b80f92e03df694af7c1eb1f46)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
4bbd4dc6b5 bitbake: lib/bb/msg: Add repr for BBLogFormatter
Adds a __repr__ function for BBLogFormatter. This allows it to get a
human readable string when printed using the logging_tree module

(Bitbake rev: 5ff962dca71f4ef16a3aa11b41a23f2227fe8c21)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
4c9a412999 bitbake: lib/bb/msg: Use log level instead of debug count
Passes around the actual logging level as the default log level variable
instead of the debug count. This makes it easier to deal with logging
levels since the conversion from debug count and verbose flag only has
to occur once when logging is initialized and after that actual log
levels can be used

(Bitbake rev: 41bd155faf7f65cb0727fcce972715769b26ca89)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
77fbe09245 bitbake: knotty: Handle logging messages with specific logger
Handles the log messages from the bitbake server with the specific
logger that the event originated from. This allows hierarchical logging
configurations to work as expected.

(Bitbake rev: 9624d42133e024fd044d0d089c7017ed53eed874)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Joshua Watt
26473bfbea bitbake: lib/bb/msg: Convert default domains to a dictionary
Converts the default domain variable to a dictionary where the keys are
the logging domains and the values are the logging level (instead of the
debug count). This makes it easier to deal with the logging domains and
the awkward conversion from a list to a dictionary only needs to be done
once when logging is initialized. Finally, other code has been written
that already assumes this variable is a dictionary, see:

f04cd93109 ("bitbake: lib/bb: Optimise out debug messages from cooker")

(Bitbake rev: f32a8bc7ff7a0b0750b6934a96f5d48391b1383a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-13 11:29:23 +00:00
Richard Purdie
954b5258f1 coreutils: Add extra hint about DEPENDS changes affect on -dev dependencies
Add an extra comment about the implications of changing DEPENDS.

(From OE-Core rev: ce20c915019d350bf9663b2f27eccf3cef2e29fc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:53:40 +00:00
Richard Purdie
2150c6cb70 scripts/oe-buildenv-internal: Add BB_LOGCONFIG
We should allow the logging configurations to be specificed from the
environment, for example for autobuilder setups.

(From OE-Core rev: 66c9234b71791d2aab87068496aebdbd4eb1f5e2)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:53:40 +00:00
Changqing Li
43da61a83f qemu: fix CVE-2020-7039
(From OE-Core rev: 5ea3d9d83ed695827634e3216664c13fcff6d48a)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Mingli Yu
d24dd531e2 babeltrace2: initialize the other_entry pointer
When add below line to local.conf to enable debug build:

DEBUG_BUILD = "1"

There comes below failure when run "bitbake babeltrace2"
| ../../../../../git/src/plugins/ctf/fs-src/fs.c: In function 'ds_index_insert_ds_index_entry_sorted':
| ../../../../../git/src/plugins/ctf/fs-src/fs.c:702:5: error: 'other_entry' may be used uninitialized in this function [-Werror=maybe-uninitialized]
|   702 |    !ds_index_entries_equal(entry, other_entry)) {

So initialize the other_entry pointer to fix the above error.

(From OE-Core rev: 1b98db372a1fdaecf9bb897b0ee4b2e72af22f81)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Stefan Kral
b10131ea74 oeqa: enable testresults.json for testexport
Add the option --json-result-dir to oeqa core context to enable
testresults.json creation for test runs via testexport.

Eg. oe-test runtime --json-result-dir .

(From OE-Core rev: 9d8edf33d1f5d89b310923b0aa3cc967317c7c49)

Signed-off-by: Stefan Kral <sk@typedivision.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Domarys Correa
4719298e34 weston-init: Allow use of weston without input devices
Don't force users to have input device in your targets. As the default
option require-input is set to true, Weston only starts if we have a
device in /dev/input/event* and this not a requirement for all applications,
e.g. kiosk browser.

(From OE-Core rev: 43f40613ecedb8c3a9e3aaac0630464efc7525e3)

Signed-off-by: Domarys Correa <domarys.correa@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Jeremy Puhlman
95cf1a9a5d boost: fix reproducibilty issues
fix cmake file references of image dir path

(From OE-Core rev: e12caa834bef6b5d0cad7e96f79374a0dbf86aea)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Jeremy Puhlman
79870c4d75 dnf: fix reproducibilty issue
Script points to native python3

(From OE-Core rev: 132c7ecd13955b20141fa01241f47753af60cb77)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Jeremy Puhlman
10847a4030 gtk-doc: Fix reproducibity issues
path to pkg-config and python3 encoded in scripts

(From OE-Core rev: d5b051cb9226a3c6b75f1e72a946e5f4e920d9a5)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Jeremy Puhlman
9b341f229d ltp: fix reproducibilty issues
Man pages are copied in to the target filesystem from the configured
build, which leaks paths in to the work directory

(From OE-Core rev: c4f6b04450ef658d99c0d15f3ce9058c4a770152)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Jeremy Puhlman
163ee315a5 qemu: Fix reproducibilty issues
tests/qemu-iotests/common.env is generated from configure which
we pass ${HOSTTOOLS_DIR}/python3 as our python to use, which gets
copied into the ptests. Correct python3 path.

(From OE-Core rev: e8e5765cf2ad324a84634877eebc8289f1bc934f)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Jeremy Puhlman
3d46c2d10d strace: Fix reproducibility issues
gen_tests script encodes its full path to itself in each script

(From OE-Core rev: 9e2db0ab1d4cacedde59e8915dff9a091e1c2d2b)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Jeremy Puhlman
df97528d19 glib-2.0: Correct multilib conflict
(From OE-Core rev: c82076d68bc95b6f9e3f125bba44b4dbaee444bf)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Jeremy Puhlman
3fbc48a1d8 babletrace2: make manpages multilib identical
(From OE-Core rev: 67d38c62b4a02a1ee1b6d751fa0f2483dafa2fb1)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 22:49:28 +00:00
Pierre-Jean Texier
cfe7c719ad curl: upgrade 7.69.0 -> 7.69.1
Contains a number of fixes for issues discovered post-7.69.0.
For details, see full changelog:

https://curl.haxx.se/changes.html#7_69_1

(From OE-Core rev: d3af3cf801ab5b235bce427bc73d2e6b29083368)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 12:46:09 +00:00
Stefan Kral
5c8a1312fa oeqa/runtime/context.py: fix typo
(From OE-Core rev: bf959e6fd175d0841a1c042bf925c54200bea3d4)

Signed-off-by: Stefan Kral <sk@typedivision.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 12:46:09 +00:00
Kai Kang
4a315d597f glew/curl: specify exclusive package configs
Specify exclusive package configs for glew and curl to make sure that
conflict package configs will NOT set at same time.

(From OE-Core rev: 8579673bdb314dbc554f40fc4c4c1db3d0bb0d63)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 12:46:08 +00:00
Kai Kang
48f7290a8e base.bbclass: extend PACKAGECONFIG for conflict package configs
There are mutually exclusive PACKAGECONFIGs in recipes. Though it
declares that package configs are exclusive, it can't prevent users to
set them at same time. Extend PACKAGECONFIG to support specifying
conflicted package configs.

(From OE-Core rev: 734475b3f86d88a548bc9eb91d836bd1b9335e9f)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-12 12:46:08 +00:00
Paul Barker
3c0a53fe75 bitbake: tests: Add test for gitsm fetcher with shallow mirror tarballs
(Bitbake rev: 2e26e97129d4c54bf86cdea8f9791696a06a36b4)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:43:25 +00:00
Paul Barker
6932c9757c bitbake: fetch2/gitsm: Unpack shallow mirror tarballs
When a shallow mirror tarball is used to satisfy a gitsm URI it needs to
be unpacked temporarily so that the .gitmodules file can be examined.

(Bitbake rev: 3987db953e414255ce278bc25a5f6cec0f2a30c7)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:43:25 +00:00
Robert P. J. Day
4cae3324bd manuals: Update YP manual notes with pointer to docs ML
Update the "Manual Notes" section of numerous YP manuals with a
reference to the recently-introduced YP documentation mailing list.

(From yocto-docs rev: a10fe36c864b8f1a71c6a8eb7e1f6a4eef2f5171)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:41:44 +00:00
Robert P. J. Day
fa6818b821 dev-manual: phrase should read "inherit packagegroup"
(From yocto-docs rev: 446204632ac9e8de3ce0b22df6fa2bb7605b9bce)

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:41:44 +00:00
Khem Raj
1ca2992686 documentation: Remove python from UBUNTU_HOST_PACKAGES_ESSENTIAL
Ubuntu 20.04 doesn't have python package and therefore this list fails
to install, python3 is required anyway so removing python is perhaps ok

(From yocto-docs rev: a41567a4ee462c704a29ad5944a0c824d7eb840c)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:41:44 +00:00
Richard Purdie
c4bb662c58 dev-manual-common-tasks: Fix runall reference
[YOCTO #13715]

(From yocto-docs rev: 91fbf02ae126bcabfeb43525db620bbd36d5f583)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:41:44 +00:00
Mark Asselstine
cff8649018 manuals: Updates to reflect that MACHINE defaults to qemux86-64
meta-yocto commit 69ddecdb1516 [local.conf.sample: change default
MACHINE to qemux86-64] switched the default MACHINE from 'qemux86' to
'qemux86-64' but some documents which either explicitly mentioned the
default, or where this was implicit didn't receive an equivalent
update.

Where it made sense we continue this change in default to the docs. In
other places, such as the kernel-dev manual, we note the new default
and instruct the user how to switch back to 'qemux86'. Eventually we
should probably update the kernel-dev manual to use the default, but
for now the intention was to limit the impact of these changes.

Note that ext3 has also been replaced with ext4 for image generation,
so while we are modifying runqemu lines to qemux86-64 we also make the
change to reference ext4 such that the runqemu commands will function
properly.

(From yocto-docs rev: 8c1d8ab1170f47a2c2692beb903ab0b7c6835b7b)

Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:41:44 +00:00
Peter Kjellerstedt
0daf901b5b ref-manual: Add a tips on how to achieve whitelisting of licenses
It is sometimes more appropriate to define the licenses that are
allowed to be used rather than the ones that are not permitted. This
adds a tips on how this can be achieved by using AVAILABLE_LICENSES
and some Python set arithmetics.

(From yocto-docs rev: dd26d8a9f89402a9828bf02f2e65054d4c0f406f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:41:44 +00:00
Peter Kjellerstedt
cc26e90a79 ref-manual: Add a variable description for AVAILABLE_LICENSES
(From yocto-docs rev: 275ea2bb30693315ebea659a82065b75066e13b6)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:41:44 +00:00
Peter Kjellerstedt
a4cc2e0d44 ref-manual: Update the documentation for USERADD_ERROR_DYNAMIC
* Update USERADD_ERROR_DYNAMIC[doc] and the first paragraph to match
  the definition in meta/conf/documentation.conf.
* Add a note explaining the differences in behavior when setting
  USERADD_ERROR_DYNAMIC to "warn" and "error" respectively.

[YOCTO #12932]

(From yocto-docs rev: 28cd546f3fe1eadd73ba71f9fe9a558538e69b0f)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:41:44 +00:00
Peter Kjellerstedt
91241f2b12 ref-manual: Add missing/remove extraneous quotes
(From yocto-docs rev: 542e362bf06c2d71ee6e30f5728ad5476f035c6e)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:41:44 +00:00
Peter Kjellerstedt
999c39e0e6 ref-manual: The sanity_info file has moved from build/conf to build/cache
(From yocto-docs rev: 813dd1a2ce48df08b92d821700380d5d231e6760)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 14:41:44 +00:00
Adrian Bunk
331216ed42 nspr: Move to meta-oe
It was used only by nss.

(From OE-Core rev: baecda5b32b66d09dadccbcbe706c5ec0a270568)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 13:44:02 +00:00
Adrian Bunk
ace5ed0878 nss: Move to meta-oe
rpm was the last user in OE-core.

(From OE-Core rev: 15aa3bdf798b0e45a20f877e203f3750b623754f)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 13:44:02 +00:00
Ross Burton
f48d73995c gcc: strip line numbers from generated code in gcc-plugins on target
The line numbers are influenced by the gcc version on the host used to generate
the code. Remove these to ensure the shipped source code is the same.

(From OE-Core rev: 5c3d3440809e9d76377af653ac8c5307bc1a01b4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 13:44:02 +00:00
Ross Burton
2e2f1980e0 gcc: don't ship build host information in the target gcc-plugins package
The build host configuration isn't reproducible as it varies depending
on the gcc version of the build host. This information isn't useful on the
target anyway so remove it.

(From OE-Core rev: f9154b2c3eff8434914710ab453e13cf338597ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 13:44:02 +00:00
Richard Purdie
24585a3b8e coreutils: Fix -dev package dependencies
The new ptest dependencies present some challenges, in particular libmodule-build-perl
which effectively depends on gcc. In multilib images, this results in both
libXX-gcc-symlinks and libYY-gcc-symlinks being installed which conflict. This also
makes little sense.

The easiest way to fix this is to disable the automatic -dev package dependencies
and manually specify the correct ones.

(From OE-Core rev: 5463971d45b21512210cf20f3902baf95eacd4c6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:29 +00:00
Trevor Gamblin
071fa6a13d ptest-packagelists.inc: add coreutils to SLOW
(From OE-Core rev: 0c2c798164da283b79d396b1e50aedee9b6e70d6)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:29 +00:00
Trevor Gamblin
eda41c4342 coreutils: add ptest
coreutils has a large number of tests, including some added by the
Makefile flags RUN_EXPENSIVE_TESTS and RUN_VERY_EXPENSIVE_TESTS that
significantly increase runtime (and that have been disabled). Note
that the coreutils ptest directory is given blanket permissions at
runtime with chmod -R 777 to ensure that the user created for the
tests will be able to run the test scripts and create the necessary
files in the process.

There is still room to improve the results of this ptest without
the aforementioned additions. Of the tests marked SKIP, there are
30 tests that are currently counted as SKIP because they require
sudo permissions, and another 21 that require membership in
multiple user groups. It is important to know that coreutils has
tests for both root and non-root users. Testing showed that 42
tests are skipped when running as root versus 30 when running as a
non-root user, so the decision was made to run the suite as the
latter. Additionally, gdb, valgrind, and strace could be included
in the RDEPENDS list to increase pass rate, but their total
contribution is 13 tests, so they were omitted to reduce image size.

Finally, note that at least one ptest (misc/head-write-error.sh) is
prone to ERROR on builds of core-image-minimal if extra space is
not provided with IMAGE_ROOTFS_EXTRA_SPACE.

(From OE-Core rev: 9a703f8e05d9e7e609d0e04278be290d4051ec31)

Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:29 +00:00
Rich Persaud
b3ee2f9fc5 grub-efi-cfg: enable per-label APPEND override
For legacy bios boot configurations, syslinux supports multiple
labels with per-label APPEND definitions.  grub-efi-cfg supports
multiple labels, but only a single APPEND definition.

Enable optional per-label APPEND definitions for grub EFI, with
variable names prefixed by "grub_" to isolate grub definitions from
syslinux defintions.

Example use from an ISO image recipe that inherits grub-efi-cfg:

 LABELS_LIVE="foo bar"
 APPEND_grub_foo = "linuxcmdline"

No change in behavior for those using APPEND without overrides.

(From OE-Core rev: 20ad7705d1060300d53304c259b1f07d04b86eba)

Signed-off-by: Rich Persaud <rp@stacktrust.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:29 +00:00
Christopher Clark
59e64ae58c image-prelink: remove assumption of sysconfdir presence
If sysconfdir is not present in the image filesystem then the temporary
creation of a prelink.conf will fail. Fix this by creating sysconfdir
temporarily if needed beforehand and then remove any directories that
were created afterwards.

fixes: OpenXT OXT-1751

(From OE-Core rev: 6bf3e3db355643c4b2e20346230c09e45e519035)

Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:29 +00:00
Alexander Kanavin
cb659c2b1d libdnf: fix upstream version check
(From OE-Core rev: 206580e72336229f8044eb941ecb09d3f0d60d3e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:29 +00:00
Khem Raj
11702842f9 valgrind: Fix timerfd syscall test to be 64bit time_t safe
This helps compile the testcase with musl on 32bit arches

(From OE-Core rev: ac5a65cb5fdb315df2cb016d0cc5c3389c7971f0)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:28 +00:00
Khem Raj
9faf676068 ruby: Use arm32 for coroutines on 32bit-arm
in 2.7 [2] ruby enabled ucontext for coroutines on arm32 but it does not
work for musl since it uses glibc specific functions e.g.
getcontext/swapcontext/swapcontext also see [1]

This patch reverts back to using arm32 implementation for coroutines on
arm

[1] https://bugs.ruby-lang.org/issues/16455#change-83442
[2] 6c6bf9ffcb (diff-7fccec8474e2184cd2518046bf39d54cL10)

(From OE-Core rev: ea93afa4c1c40d74faf321baa78a29d0ad7d3223)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:28 +00:00
Richard Purdie
25dbd03713 buildtools-extended-tarball: Add locale command
The eSDK installation code checks installed locales with the locale command which is
from glibc-utils. Add this so that we find the correct locales from the buildtools.

(From OE-Core rev: 7d35e4bc6ff94a2d03c48827d7d60a6855c9029d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:28 +00:00
Richard Purdie
1a0fd5104f glibc: Update nativesdk locale relocation patch
The locale binary reported incorrect locale lists in relocated toolchains
as some path references were not relocated by this patch. Fix this missing
relocations so the locale binary correctly reports the locales.

(From OE-Core rev: f7a6a72880009380ae81bc7fc863921a26811c8c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:28 +00:00
Richard Purdie
6d78b84029 files/toolchain-shar-extract.sh: Rework PATH cleaning
Trying to create a clean PATH breaks cases where we install a buildtools tarball
on hosts to provide newer versions of gcc. Rework the fix for #8698 to clean up
directories in PATH which don't exist isntead. Do it with python as the shell
version was too fraught with corner cases.

(From OE-Core rev: 7674b63819aa7ca95ca5ca5477a5cce32e9691eb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:28 +00:00
Richard Purdie
f6bea5487e oeqa/testsdk: Use original PATH
We want to test the SDK with PATH from the original host, not with our own
tools injected via HOSTTOOLS. It even uses some tools which aren't in
HOSTTOOLS.

This is necessary after changing the SDK to not reset PATH to the system
default which is bad for other reasons and brings the testing into sync
with that change.

(From OE-Core rev: 87c9602fd0dedc7bcf75b822aaf5f6ebfc17737c)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-11 11:44:28 +00:00
Richard Purdie
f930e2cadb oeqa/selftest: Ensure buildtools in environment variables isn't replaced
This avoids the seeing broken replacements like:
oe-selftest-centos/build/build-st-926tools/sysroots/x86_64-pokysdk-linux/etc/ssl/certs/ca-certificates.crt
which understandably break builds.

(From OE-Core rev: 04ee0e8b95cd8ed890374e0007f976684206b630)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-10 23:20:34 +00:00
Zhixiong Chi
a67e91b1ba glibc: CVE-2020-10029
Backport the CVE patch from upstream:
[https://sourceware.org/git/gitweb.cgi?p=glibc.git;
a=patch;h=9333498794cde1d5cca518badf79533a24114b6f]

(From OE-Core rev: bc0b66c584116635940364fdc2740b8b6ce3d384)

Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-10 23:20:34 +00:00
Anuj Mittal
116e45ae33 e2fsprogs: backport upstream patch
Fixes a bug wherein a use after free could potentially be used to run
malicious code if a user can be tricked into running e2fsck on a
maliciously crafted file system.

Also see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948517

(From OE-Core rev: 23c1b157362609bd8d85c7d35e6c7f0f60c32c88)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-10 23:20:34 +00:00
Anuj Mittal
59a3d9b941 e2fsprogs: fix CVE-2019-5188
Also see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948508

(From OE-Core rev: 09bdcef183d885025da6aa87a7c2bf7e8268774e)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-10 23:20:34 +00:00
Anuj Mittal
0a9ce59fda sqlite3: fix CVE-2020-9327
(From OE-Core rev: 6acb9746744536019d5c04ce482a873916aac99f)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-10 23:20:33 +00:00
Christopher Clark
2ac00852cd kernel.bbclass: fix SOURCE_DATE_EPOCH for non-git kernel builds
The source directory is not always a git repository, so when querying
git for data to set SOURCE_DATE_EPOCH, specify ${S}/.git as the git
directory to prevent retrieving incorrect data from any parent directory.

Fixes the following errors with the prior logic when building a kernel
that is not obtained from a git repository:

1. With TMPDIR set to a directory outside any git repository on a
mounted filesystem, reproducible builds fail in do_compile with this git
error:

  fatal: not a git repository (or any parent up to mount point <abspath>)
  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

aborting before the error handling logic.

2. With TMPDIR located within a subdirectory of a git repository, the
SOURCE_DATE_EPOCH timestamp would be that of said repository rather than
that of the kernel.

(From OE-Core rev: 270ae94fe345b9ce98d822034cbfad7e24c5f393)

Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-10 23:20:33 +00:00
Chee Yang Lee
e753b71b39 cve-check: fix ValueError
fix below error for whitelisted recipe and recipe skip cve check.

Error:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_cve_check(d)
     0003:
File: '/poky-master/meta/classes/cve-check.bbclass', lineno: 59, function: do_cve_check
     0055:        try:
     0056:            patched_cves = get_patches_cves(d)
     0057:        except FileNotFoundError:
     0058:            bb.fatal("Failure in searching patches")
 *** 0059:        whitelisted, patched, unpatched = check_cves(d, patched_cves)
     0060:        if patched or unpatched:
     0061:            cve_data = get_cve_info(d, patched + unpatched)
     0062:            cve_write_data(d, patched, unpatched, whitelisted, cve_data)
     0063:    else:
Exception: ValueError: not enough values to unpack (expected 3, got 2)

(From OE-Core rev: 64a362bd2dd0b4f3165d5162adbc600826af66f8)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-10 23:20:33 +00:00
Codrin Ciubotariu
34870513d7 p11-kit: Add nativesdk variant
The nativesdk variant is needed by the buildtools-tarball, when
p11-kit feature is enabled for gnutls. The error message is:

Missing or unbuildable dependency chain was: ['buildtools-tarball', 'nativesdk-wget', 'nativesdk-gnutls', 'nativesdk-p11-kit']

(From OE-Core rev: 744f2472df627cd85dd11aa9da445a2a1af196ed)

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-10 23:20:33 +00:00
Paul Barker
3abf367f48 kernel-yocto.bbclass: Support config fragments with externalsrc
The merging of config fragments is performend in the do_kernel_configme
task and so config fragments will not be supported when this task is
removed from the dependency tree.

kernel-yocto adds additional tasks which may modify the source directory
to SRCTREECOVEREDTASKS so that they are removed when using externalsrc.
However, do_kernel_configme should be safe to use, the only modification
to the source tree is the potential creation of the '.kernel-meta'
directory and the '.metadir' file.

(From OE-Core rev: 44f04c039a4d61dd18666e42b9b9865cbc3ada9e)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-10 23:20:33 +00:00
Paul Barker
c82b02815b perf: Fix externalsrc support
When the externalsrc class is used the tasks listed in
SRCTREECOVEREDTASKS are deleted to prevent them being executed. If
externalsrc is used for the kernel then this will include
virtual/kernel:do_patch.

We can depend on do_shared_workdir instead as this will survive when
externalsrc is used.

(From OE-Core rev: eab605bab94552046ec4adae5debe026cc03bb4c)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-10 23:20:33 +00:00
Paul Barker
f5930bfb8f kernelsrc.bbclass: Fix externalsrc support
When the externalsrc class is used the tasks listed in
SRCTREECOVEREDTASKS are deleted to prevent them being executed. If
externalsrc is used for the kernel then this will include
virtual/kernel:do_patch.

We can depend on do_shared_workdir instead as this will survive when
externalsrc is used.

(From OE-Core rev: 2c17d35cc7b9c5e01fd5829858d2f0234e7ac8d6)

Signed-off-by: Paul Barker <pbarker@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-10 23:20:33 +00:00
Richard Purdie
995f7985f6 reproducibile_build: Fix SDE file generation when unpack reruns
Currently, if an existing TMPDIR is rebuilt, do_fetch/do_unpack can rerun
but SDE would remain unchanged. This leads to different results compared
to a fresh build. An example change which triggered this is:
http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=cb4e69e6346a9fbeebf83a5d5397cacbd41d48b5

Instead, delete any existing SDE and recalculate if we're reunning.
Also rename and drop the do_ prefix since these are for tasks,
not functions.

(From OE-Core rev: 5d579fc2fe71637fc6e071aa66542befa39ac8bb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-08 08:21:11 +00:00
Richard Purdie
568fb875bf glibc: Explicitly disable msgfmt
If configure is rerun it finds msgfmt from gettext-native which is installed
during package_write_ipk|deb and means builds are not determinisic.

Whether msgfmt is needed is debatable (libc.mo files aren't generated without
it), however, we should at least be consistent which this patch ensures.

(From OE-Core rev: 9ffd08cf7d472e6572ee8f04781f410c9d657188)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-08 08:21:11 +00:00
Jeremy Puhlman
1f41f11617 groff: Make manpages binary identical
(From OE-Core rev: b78a0cf49a4efb02cffc12e199de526e13391482)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-08 08:21:11 +00:00
Jeremy Puhlman
a41a9ad313 xinit: make manpages multilib identical
(From OE-Core rev: 282ca525c411e03391520c0c5950ed3418f6bc2e)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-08 08:21:11 +00:00
Jeremy Puhlman
326e8c6824 xserver-xorg: make manpage mutlilib identical
(From OE-Core rev: cf9759b27bca5bb1dfa99fc79b4651bfebe2da52)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-08 08:21:11 +00:00
Martin Jansa
1477b31a0d openssl: fix perl shebang in c_rehash
* passing PERL=perl breaks c_rehash calls from dash (works fine with bash)

  dash doesn't like
  #!perl
  shebang

  PERL="/usr/bin/env perl"
  unfortunately just passing PERL like this doesn't pass do_configure:
  Creating Makefile
  sh: 1: /usr/bin/env perl: not found
  WARNING: exit code 1 from a shell command.

  But passing it as:
  HASHBANGPERL="/usr/bin/env perl" PERL=perl
  seems to work.

(From OE-Core rev: 79350826396a882d115caafd88b0a49c91a4fa6c)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-08 08:21:11 +00:00
Khem Raj
09e1c01162 make: Fix build on arm/clang
clang defines __arm which is interpreted as non-posix by make build
system but thats not correct when using clang so patch addresses that

(From OE-Core rev: e225278a8a894389add56d14908398c14512f6c9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-08 08:21:11 +00:00
Denys Dmytriyenko
0bbf04fa3e openssl: recommend cryptodev-module for corresponding PACKAGECONFIG
(From OE-Core rev: 57fcf9b517fe95e871122946cb99fe7fa9fd2e26)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-08 08:21:11 +00:00
Khem Raj
fe948c3c95 qemuarm64: Add -machine gic-version=3 with kvm
qemuarm64 on aarch64 host errors out when using kvm

qemu-system-aarch64: PMU: KVM_SET_DEVICE_ATTR: Invalid argument
qemu-system-aarch64: failed to set irq for PMU
Aborted

machines with GICv3 that don’t support GICv2 guests you must have ‘-machine gic-version=3’ on the QEMU command line.

(From OE-Core rev: 17e93c6464184d137b9590f17bfa879ae79d0cfc)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Jon Mason <jdmason@kudzu.us>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-08 08:21:10 +00:00
Chris Laplante
517f511039 bitbake: build.py: augment TaskBase to capture PN and PV
PF is already captured, but it's a pain to try to parse out PN and PV,
which can be helpful to have available.

(Bitbake rev: 2885034f42a1dce7586e081a0461b8932a3593bf)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 16:07:00 +00:00
Chris Laplante
1d20618c55 bitbake: ui/teamcity: add a TeamCity service message frontend
Exposes build status via TeamCity service messages, see
https://www.jetbrains.com/help/teamcity/build-script-interaction-with-teamcity.html.

(Bitbake rev: 26ff7fa314d0f84f2557b183fb71fa873d914ee0)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 16:07:00 +00:00
Chris Laplante
8b190c3e13 bitbake: runqueue: teach runonly/runall to accept "do_task" as well as "task"
Previously --runonly=do_task would give a misleading error like:

  ERROR: Could not find any tasks with the tasknames ['do_task'] to run
  within the recipes of the taskgraphs of the targets...

The problem is that BitBake tried to find "do_do_task". So teach it to
only add the do_ prefix if it's not already there.

(Bitbake rev: 694904bde980606dc67c201da61f4fb685679b17)

Signed-off-by: Chris Laplante <chris.laplante@agilent.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 16:07:00 +00:00
Joshua Watt
cc1ab55c14 bitbake: bblayers: query: Add multiconfig option
Adds an option to the show-recipes subcommand that allows the user to
specify which multiconfig should be shown.

(Bitbake rev: 83256115c7b1fdf3fa5129cfba6b9e7cba2ae0da)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 16:07:00 +00:00
Joshua Watt
ecb1d9f317 bitbake: tinfoil: Add multiconfig support
Adds support for the Tinfoil cache adaptor to be bound to a specific
multiconfig and invoke the appropriate commands for that multiconfig
instead of the default. The cooker adapter now creates a cache adapter
for each multiconfig specified in BBMULTICONFIG so that each multiconfig
is present.

(Bitbake rev: d515481681dca4a0bc733c6ad8a8498a82e3d9b9)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 16:07:00 +00:00
Joshua Watt
e57d1d3906 bitbake: cooker: Respect multiconfig parameter
The cooker had a multiconfig parameter for the findProviders() and
findBestProviders() API, but it was being ignored.

(Bitbake rev: ea0b68ac2b77676ed1c63f0ee1ae5d300f2b4696)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 16:07:00 +00:00
Joshua Watt
86aa524667 bitbake: command: Add mc parameter to findProviders command
Adds a multiconfig selection parameter to the findProviders command.
This allows a client to find the providers for a specific multiconfig
instead of the base configuration.

(Bitbake rev: 95bb446137734865f3fe04fe97681d90250deb11)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 16:07:00 +00:00
Alexander Kanavin
f303c98fda gettext: fix ptest package reproducibilty
(From OE-Core rev: 15fe7de55b90293a588703700b3de72cf95ecd79)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 10:06:17 +00:00
Nathan Hartman
0e59abfb66 mesa: updated to mesa 20.0.1 release
Updated to 20.0.1 release: https://www.mesa3d.org/relnotes/20.0.1.html

(From OE-Core rev: ba61205eecf6b6712aa9168942155398929e16db)

Signed-off-by: Nathan Hartman <hnathan918@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 10:06:17 +00:00
Pierre-Jean Texier
ad437a1d25 curl: upgrade 7.68.0 -> 7.69.0
Bugfix release. For details, see full changelog

 - https://curl.haxx.se/changes.html#7_69_0

(From OE-Core rev: 2d6a9904a838c5e498c0e2a2e34169cd2877a785)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 10:06:17 +00:00
André Draszik
6cc2580810 linux-firmware: TI: fix wl18xx support
wl1271-nvs.bin belongs to the wl18xx driver (and respective
package created here), see kernel source.
Due to the way packages are assembled here it ends up in the
wrong package, though.

Fix by placing it in the -common package as it's merely a
symlink to wl127x-nvs.bin (which does belong to the wl12xx),
so that both drivers have access to it.

(From OE-Core rev: e0cc3cb406efedad8673ff48fae7c9288172fc6d)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 10:06:17 +00:00
André Draszik
df7501528f linux-firmware: drop remnants of pre-2.6.37 support (TI)
Now that this recipe uses make install, we don't manually
create symlinks for firmware files for older kernel in
do_install(). As such, the FILES statement can be updated
as well.

(From OE-Core rev: 4c60fa1d71eb40fb36fb336b55579979308be0a6)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 10:06:17 +00:00
Chee Yang Lee
932ac04cb8 cve-check: show whitelisted status
change whitelisted CVE status from "Patched" to "Whitelisted".

[Yocto #13687]

(From OE-Core rev: 181bdd670492525f9488d52c3ebb9a1b142e35ea)

Signed-off-by: Chee Yang Lee <chee.yang.lee@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 10:06:17 +00:00
Andrej Valek
75bebb3546 populate_sdk_ext: enable custom templateconf.cfg
Do not always override templateconf.cfg content. Add option to use
already existing file.

(From OE-Core rev: e524e49ef22fd69882d5d2d01cd84db790e9cb88)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 10:06:16 +00:00
Alex Kiernan
a1baa2b51e linux-firmware: Fix usrmerge builds
FIRMWAREDIR defaults to /lib, failing when usrmerge is enabled:

  ERROR: linux-firmware-1_20200122-r0 do_install: Execution of '/home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/temp/run.do_install.31218' failed with exit code 1:
  mkdir -p /home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/lib/firmware
  ./copy-firmware.sh /home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/lib/firmware
  cp: target '/home/akiernan/poky/build/tmp/work/core2-64-poky-linux/linux-firmware/1_20200122-r0/image/usr/lib/firmware/' is not a directory

(From OE-Core rev: e51b82b05678a2602afce0ad892d84125620cf73)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 10:06:16 +00:00
Mingli Yu
d03c12bb8f parselogs.py: ignore rdrand initialization failure
On the system whose cpu doesn't support rdrand,
there comes below message when start rngd service
 #systemctl status rngd
 [snip]
 Feb 25 05:08:14 qemux86-64 rngd[133]: [rdrand]: Initialization Failed
 [snip]

Actually the failed message doesn't matter as it
only indicates one entropy source as rdrand fails
to initialize and won't affect rngd function.

So add to ignore the failure message to fix below
error during do_testimage:
NOTE: ======================================================================
NOTE: FAIL: test_parselogs (parselogs.ParseLogsTest)
NOTE: ----------------------------------------------------------------------
NOTE: Traceback (most recent call last):
  File "/buildarea/layers/oe-core/meta/lib/oeqa/core/decorator/__init__.py", line 36, in wrapped_f
    return func(*args, **kwargs)
  File "/buildarea/layers/oe-core/meta/lib/oeqa/runtime/cases/parselogs.py", line 370, in test_parselogs
    self.assertEqual(errcount, 0, msg=self.msg)
AssertionError: 1 != 0 : Log: /buildarea/tmp/work/qemux86-64-wrs-linux/wrlinux-image-std/1.0-r5/target_logs/daemon.log
Central error: 2020-03-06T09:45:12.774286+00:00 qemux86-64 rngd[134]: [rdrand]: Initialization Failed

Reference: https://github.com/nhorman/rng-tools/pull/84

(From OE-Core rev: 09c4f9068858bf59eb60584a497f987bdd1e196e)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-07 10:06:16 +00:00
Richard Purdie
67511eda71 sstate: Drop obsolete check in hash validation
Now this function has a summary parameter we can drop this check.

It could well be why the mysterious "locked sigs" selftest fails
intermittently if this function were called with a single hash
to check.

[YOCTO #13605] (with luck)

(From OE-Core rev: 02aabe0e59f73bf206d9bada1e7089832ceed254)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 17:14:04 +00:00
Bruce Ashfield
f3cce6ad51 yocto-bsps: drop 5.2 bbappend
The 5.2 recipes have been dropped from oe-core, so we drop the
5.2 bbappends to match.

(From meta-yocto rev: 1da347d7c9b50974648bf216b766bcb958159fa0)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 13:15:27 +00:00
Bruce Ashfield
8ba6e7f068 yocto-bsps/5.2: backport perf build fix for latest binutils
[
   Author: Changbin Du <changbin.du@gmail.com>
   Date:   Tue Jan 28 23:29:38 2020 +0800

       perf: Make perf able to build with latest libbfd

       libbfd has changed the bfd_section_* macros to inline functions
       bfd_section_<field> since 2019-09-18. See below two commits:
	 o http://www.sourceware.org/ml/gdb-cvs/2019-09/msg00064.html
	 o https://www.sourceware.org/ml/gdb-cvs/2019-09/msg00072.html

       This fix make perf able to build with both old and new libbfd.

       Signed-off-by: Changbin Du <changbin.du@gmail.com>
       Acked-by: Jiri Olsa <jolsa@redhat.com>
       Cc: Peter Zijlstra <peterz@infradead.org>
       Link: http://lore.kernel.org/lkml/20200128152938.31413-1-changbin.du@gmail.com
       Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
       Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From meta-yocto rev: 207feb95be473359785e67df340e07942a376c54)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 13:15:27 +00:00
Joe Slater
6e3e269f91 libdnf: fix deprecation warning
Backport from libdnf.  Fix is in version 0.35.2.

(From OE-Core rev: bc9402d77a982ff71bd919837b4736f586aa04cf)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Khem Raj
1f71b9edcb pulseaudio: Fix inline assembly syntax for arm
Ensures that gcc can use right operand constraints

(From OE-Core rev: 03e6d0f787cbd62156a163bfbcaed68bfcd379e8)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Stefan Kral
56bbdd33d8 oeqa-runtime: add missing import os to ptest case
Add missing import os statement to the oeqa runtime ptest.py

(From OE-Core rev: e41c92c60694052c8292c1ea6b3d0b427aafafd7)

Signed-off-by: Stefan Kral <sk@typedivision.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Mingli Yu
81be419357 netbase: Upgrade to 6.1
(From OE-Core rev: 983733fa2e84db81c4a1e9bb8e3e22c43d2f8a5e)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Zheng Ruoqin
b4f7011841 xkbcomp: upgrade 1.4.2 -> 1.4.3
(From OE-Core rev: cfe8461a2b161d277906458186294c21f2827f70)

Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Ruslan Bilovol
6c9c919fd6 openssl: pass PERL=perl environment variable to configurator
In our build environment we use wrapper script
for perl in non-standard configuration with
extra variables set (provided by custom
buildtools-tarball).

In this case openssl fails to build because
by default it's Configure script detects and uses
perl executable directly (with absolute path)
obviously missing extra settings from wrapper
script.

Pass PERL=perl environment variable to Configure,
so it won't try to use perl executable directly
but will use what is provided from environment.

(From OE-Core rev: 2b087fef6820da8a6d86ca763bd7730dcac30849)

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Nathan Hartman
21240081c0 mesa: updated to 20.0 release
Updated mesa and mesa-gl recipes to 20.0 release.

The license checksum difference is due to a small change in the license
formatting. The asterisk for footnotes was changed to a '[1]'
See: 199572b65b

glxgears runs successfully at 60 fps on a rpi4.

(From OE-Core rev: 0ee03e11bc2ae3faa6a2fcfdfae2ea35f7ba70ba)

Signed-off-by: Nathan Hartman <hnathan918@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Anders Wallin
12eac40aa6 babeltrace2: added first version, 2.0.1
Babeltrace 1 vs. Babeltrace 2

The Babeltrace project exists since 2010. In 2020, Babeltrace 2 was released.
Babeltrace 2 is a complete rewrite of the library, Python bindings, and CLI. It
is plugin based and offers much more features and potential than Babeltrace 1.

Because Babeltrace 2 is still a young released project, some distributions still
provide packages for the Babeltrace 1 project. Both projects can coexist on the
same system as there are no common installed files.

(From OE-Core rev: be52889ba5e5a2cf02f50b3f3acee8ca72ec494d)

Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Christopher Clark
d21783d68a qemu: update Xen packages names for the xen-tools recipe
The Xen recipe has been divided into separate recipes for the hypervisor
and tools in meta-virtualization commit 545461ba, so the package name
references in the qemu recipe need to be updated to the new xen-tools
packages. This change allows the temporary bbappend applied to qemu in
meta-virtualization in that change to be retired.

(From OE-Core rev: e7a7ce0999de3c562e7288538641087cf6d55d1f)

Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Joe Slater
ed32052e06 dnf: fix python3 syntax warning
Backport from dnf version 4.2.7.

(From OE-Core rev: 0870009f3e87d181178b3f26374862797f342d3f)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Changqing Li
e06997e8bf python-numpy: convert shebang from python to python3
(From OE-Core rev: dc1e84d343a47d67b5aed28542031b173828cc71)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Jeremy A. Puhlman
d1be223100 gdbm: Disable readlind
Turns off readline for both native and target.
Also corrected a typo with enable-libgdbm-compat

(From OE-Core rev: 5a9f81f73e9397b90e4d6d0eed859e53915cdb46)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Bruce Ashfield
8efa405ee0 linux-yocto: drop 5.2 recipes
linux-yocto 5.4 will serve as the versioned reference kernel in
the upcoming release, and -dev will serve as the "newer" kernel.

As such, we drop v5.2 from master, but will continue to update
and support it in released branches.

(From OE-Core rev: e71cda699189d3762d8af88d3ccdc0b0430b973c)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Bruce Ashfield
5d8866cbf0 linux-yocto/5.4: update to v5.4.23
Updating linux-yocto/5.4 to the latest korg -stable release that comprises
the following commits:

    bfe3046ecafd Linux 5.4.23
    bb7ffcbec227 ASoC: SOF: Intel: hda: Add iDisp4 DAI
    fb81480206ae bpf: Selftests build error in sockmap_basic.c
    19be2b3eea34 s390/mm: Explicitly compare PAGE_DEFAULT_KEY against zero in storage_key_init_range
    148c8531b69c s390/kaslr: Fix casts in get_random
    e26be2667399 net/mlx5e: Fix crash in recovery flow without devlink reporter
    fca1cdd3417e net/mlx5: Fix sleep while atomic in mlx5_eswitch_get_vepa
    06320052ee69 net/mlx5e: Reset RQ doorbell counter before moving RQ state from RST to RDY
    773dfd2223e3 xen: Enable interrupts when calling _cond_resched()
    9724b3f28dab ata: ahci: Add shutdown to freeze hardware resources of ahci
    8eb92c122840 io_uring: prevent sq_thread from spinning when it should stop
    b0f5f25c5541 rxrpc: Fix call RCU cleanup using non-bh-safe locks
    829e0a0ae2dc netfilter: xt_hashlimit: limit the max size of hashtable
    86502c68b81e ALSA: seq: Fix concurrent access to queue current tick/time
    2b550d1c7ac6 ALSA: seq: Avoid concurrent access to queue flags
    84e041a5df79 ALSA: rawmidi: Avoid bit fields for state flags
    c7deb9612e35 io_uring: fix __io_iopoll_check deadlock in io_sq_thread
    d562fdad84dd arm64: lse: Fix LSE atomics with LLVM
    8132323eb397 bpf, offload: Replace bitwise AND by logical AND in bpf_prog_offload_info_fill
    2463a30f6678 genirq/proc: Reject invalid affinity masks (again)
    c23074e20989 crypto: rename sm3-256 to sm3 in hash_algo_name
    8278f34f6ca8 iommu/vt-d: Fix compile warning from intel-svm.h
    cfde4697ea4d ecryptfs: replace BUG_ON with error handling code
    4c585d1e98d9 ASoC: fsl_sai: Fix exiting path on probing failure
    59c723344aec ASoC: atmel: fix atmel_ssc_set_audio link failure
    125b4a5345e2 staging: greybus: use after free in gb_audio_manager_remove_all()
    2ca19dfafc04 staging: rtl8723bs: fix copy of overlapping memory
    e6535a8c5d98 usb: dwc2: Fix in ISOC request length checking
    ceb1997a2ec3 usb: gadget: composite: Fix bMaxPower for SuperSpeedPlus
    826a43b22ce6 scsi: Revert "target: iscsi: Wait for all commands to finish before freeing a session"
    d92e714a463d scsi: Revert "RDMA/isert: Fix a recently introduced regression related to logout"
    42b4f3c8ec0b drm/msm/dpu: fix BGR565 vs RGB565 confusion
    337cbf3ea855 drm/i915/gt: Protect defer_request() from new waiters
    93805d430c53 drm/bridge: tc358767: fix poll timeouts
    7de50906e772 drm/i915/gvt: more locking for ppgtt mm LRU list
    19f8fb273193 drm/i915/execlists: Always force a context reload when rewinding RING_TAIL
    1e0175a15474 drm/i915/gt: Detect if we miss WaIdleLiteRestore
    341c8e03a90a Revert "dmaengine: imx-sdma: Fix memory leak"
    9ad7f8df34d2 Btrfs: fix deadlock during fast fsync when logging prealloc extents beyond eof
    73e1f2663273 btrfs: don't set path->leave_spinning for truncate
    d3d0fb9d42d3 Btrfs: fix race between shrinking truncate and fiemap
    c383f8ad2a12 Btrfs: fix btrfs_wait_ordered_range() so that it waits for all ordered extents
    9af8e258895f btrfs: do not check delayed items are empty for single transaction cleanup
    6065ca5d013d btrfs: reset fs_root to NULL on error in open_ctree
    37a2e704807a btrfs: fix bytes_may_use underflow in prealloc error condtition
    40ea30638d20 btrfs: destroy qgroup extent records on transaction abort
    7e946e30a46d KVM: apic: avoid calculating pending eoi from an uninitialized val
    dc5537061baf KVM: nVMX: handle nested posted interrupts when apicv is disabled for L1
    16f8553f75b5 KVM: nVMX: clear PIN_BASED_POSTED_INTR from nested pinbased_ctls only when apicv is globally disabled
    0f042f5e98f1 KVM: nVMX: Check IO instruction VM-exit conditions
    c4064f14f744 KVM: nVMX: Refactor IO bitmap checks into helper function
    e5d25003d059 ext4: fix race between writepages and enabling EXT4_EXTENTS_FL
    5195dc6e9365 ext4: rename s_journal_flag_rwsem to s_writepages_rwsem
    6ccdd6616a1c ext4: fix mount failure with quota configured as module
    eac2bb1042b2 ext4: fix potential race between s_flex_groups online resizing and access
    58631f8cbc24 ext4: fix potential race between s_group_info online resizing and access
    bb43897de9b3 ext4: fix potential race between online resizing and write operations
    ded8c21ac49c ext4: add cond_resched() to __ext4_find_entry()
    1673674ccd86 ext4: fix a data race in EXT4_I(inode)->i_disksize
    56b3949a2b5f KVM: x86: don't notify userspace IOAPIC on edge-triggered interrupt EOI
    24dfae91a23a KVM: nVMX: Don't emulate instructions in guest mode
    e61c236dcf34 sched/psi: Fix OOB write when writing 0 bytes to PSI files
    26ae0493c181 drm/i915: Update drm/i915 bug filing URL
    2104c4905a08 drm/i915: Wean off drm_pci_alloc/drm_pci_free
    3e740fa80cc8 drm/nouveau/kms/gv100-: Re-set LUT after clearing for modesets
    5e7dda6ddad1 drm/amdgpu/gfx10: disable gfxoff when reading rlc clock
    7e482baf6d70 drm/amdgpu/gfx9: disable gfxoff when reading rlc clock
    f141fac489ee drm/amdgpu/soc15: fix xclk for raven
    95236ae76bf8 mm: Avoid creating virtual address aliases in brk()/mmap()/mremap()
    9bb971b33565 lib/stackdepot.c: fix global out-of-bounds in stack_slabs
    ef32399bf729 mm/sparsemem: pfn_to_page is not valid yet on SPARSEMEM
    198f5aa0f73e mm/vmscan.c: don't round up scan size for online memory cgroup
    8735a5b6e1fb genirq/irqdomain: Make sure all irq domain flags are distinct
    6e304262e393 nvme-multipath: Fix memory leak with ana_log_buf
    e078c8d8971b mm/memcontrol.c: lost css_put in memcg_expand_shrinker_maps()
    aa4f749f8136 Revert "ipc,sem: remove uneeded sem_undo_list lock usage in exit_sem()"
    7b77e5a08224 ACPI: PM: s2idle: Check fixed wakeup events in acpi_s2idle_wake()
    f18121a59b5a MAINTAINERS: Update drm/i915 bug filing URL
    cf3c30a7112c serdev: ttyport: restore client ops on deregistration
    80990c30b776 tty: serial: qcom_geni_serial: Fix RX cancel command failure
    5b0af5e58368 tty: serial: imx: setup the correct sg entry for tx dma
    671ea19c3214 tty/serial: atmel: manage shutdown in case of RS485 or ISO7816 mode
    5ae6e5683755 serial: 8250: Check UPF_IRQ_SHARED in advance
    e0253c422024 x86/cpu/amd: Enable the fixed Instructions Retired counter IRPERF
    88e4901d3ebd x86/mce/amd: Fix kobject lifetime
    de2cce5ae563 x86/mce/amd: Publish the bank pointer only after setup has succeeded
    6df12de90e74 x86/ima: use correct identifier for SetupMode variable
    453692eb5a38 jbd2: fix ocfs2 corrupt when clearing block group bits
    98583fb54c2b arm64: memory: Add missing brackets to untagged_addr() macro
    9b9374cf1ea7 powerpc/hugetlb: Fix 8M hugepages on 8xx
    723a44f2288e powerpc/hugetlb: Fix 512k hugepages on 8xx with 16k page size
    2ffeef3db358 powerpc/entry: Fix an #if which should be an #ifdef in entry_32.S
    04e3f1d1e135 powerpc/tm: Fix clearing MSR[TS] in current when reclaiming on signal delivery
    a03b3cea86fd powerpc/eeh: Fix deadlock handling dead PHB
    9e1fab44502c powerpc/8xx: Fix clearing of bits 20-23 in ITLB miss
    2558e71bbfc5 drm/panfrost: perfcnt: Reserve/use the AS attached to the perfcnt MMU context
    3b8edaada13e staging: rtl8723bs: Fix potential overuse of kernel memory
    4113e08e75d3 staging: rtl8723bs: Fix potential security hole
    de63cd8b5521 staging: rtl8188eu: Fix potential overuse of kernel memory
    ddedb84fcdc8 staging: rtl8188eu: Fix potential security hole
    91aa9e475827 scsi: Revert "target/core: Inline transport_lun_remove_cmd()"
    24aeb16934e8 usb: dwc3: debug: fix string position formatting mixup with ret and len
    6dbf3ea0f566 usb: dwc3: gadget: Check for IOC/LST bit in TRB->ctrl fields
    256cc85f6f86 usb: dwc2: Fix SET/CLEAR_FEATURE and GET_STATUS flows
    c2f07cb7e317 USB: hub: Fix the broken detection of USB3 device in SMSC hub
    e5d078af8e5f USB: hub: Don't record a connect-change event during reset-resume
    5af8add0167c USB: Fix novation SourceControl XL after suspend
    b3c64c8b2fab usb: uas: fix a plug & unplug racing
    e805982b13e3 USB: quirks: blacklist duplicate ep on Sound Devices USBPre2
    4c02497e8f65 USB: core: add endpoint-blacklist quirk
    f9965af8e493 usb: host: xhci: update event ring dequeue pointer on purpose
    5d0faf16f960 xhci: Fix memory leak when caching protocol extended capability PSI tables - take 2
    ef69cf19bda8 xhci: apply XHCI_PME_STUCK_QUIRK to Intel Comet Lake platforms
    02e326360053 xhci: fix runtime pm enabling for quirky Intel hosts
    512dae7753cd xhci: Force Maximum Packet size for Full-speed bulk devices to valid range.
    22ff13ac65cb staging: vt6656: fix sign of rx_dbm to bb_pre_ed_rssi.
    41a53f5b68ec staging: android: ashmem: Disallow ashmem memory from being remapped
    897d5aaf3397 vt: vt_ioctl: fix race in VT_RESIZEX
    21275a431289 vt: selection, handle pending signals in paste_selection
    a2c3858faf3a vt: fix scrollback flushing on background consoles
    1eb78bc92c84 floppy: check FDC index for errors before assigning it
    c5455e3fab20 e1000e: Use rtnl_lock to prevent race conditions between net and pci/pm
    47a7a44650c1 USB: misc: iowarrior: add support for the 100 device
    9b5e87086fa9 USB: misc: iowarrior: add support for the 28 and 28L devices
    c8e28d325c97 USB: misc: iowarrior: add support for 2 OEMed devices
    cfda8551dd59 thunderbolt: Prevent crash if non-active NVMem file is read
    802a8369d21f btrfs: handle logged extent failure properly
    3c4ef8ac8f4b ecryptfs: fix a memory leak bug in ecryptfs_init_messaging()
    7e1dbc6656ff ecryptfs: fix a memory leak bug in parse_tag_1_packet()
    909149bf61da tpm: Initialize crypto_id of allocated_banks to HASH_ALGO__LAST
    9f83363875be ASoC: sun8i-codec: Fix setting DAI data format
    3de0bbe21312 ASoC: codec2codec: avoid invalid/double-free of pcm runtime
    c45877ca9f62 ALSA: hda/realtek - Apply quirk for yet another MSI laptop
    9dc3b7a5833a ALSA: hda/realtek - Apply quirk for MSI GP63, too
    80c1e9c4c484 ALSA: hda: Use scnprintf() for printing texts for sysfs/procfs
    b76e00b67dc6 iommu/qcom: Fix bogus detach logic
    f22dcb31727e Linux 5.4.22
    105542cea2ea rtc: Kconfig: select REGMAP_I2C when necessary
    cea9007ebb95 bcache: properly initialize 'path' and 'err' in register_bcache()
    7967c3299e3f drm/amdgpu/display: handle multiple numbers of fclks in dcn_calcs.c (v2)
    51c9c98a7bbe s390/pci: Recover handle in clp_set_pci_fn()
    332c8b5bc358 mlxsw: spectrum_dpipe: Add missing error path
    399ca7ee9130 fuse: don't overflow LLONG_MAX with end offset
    77912b69a989 virtio_balloon: prevent pfn array overflow
    9c80ae965082 cifs: log warning message (once) if out of disk space
    3f14879fd6ce i40e: Relax i40e_xsk_wakeup's return value when PF is busy
    6fa2bb0d06ca help_next should increase position index
    6b851823ceaa NFS: Fix memory leaks
    0562d37d143a drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_voltage
    c3e3d17d0c5b drm/amdgpu/smu10: fix smu10_get_clock_by_type_with_latency
    17bddc85f980 brd: check and limit max_part par
    7291351c00e1 microblaze: Prevent the overflow of the start
    7ceb32672b1e asm-generic/tlb: add missing CONFIG symbol
    7a48064a42e0 iwlwifi: mvm: Check the sta is not NULL in iwl_mvm_cfg_he_sta()
    1656781d15c0 iwlwifi: mvm: Fix thermal zone registration
    0448387729d9 nvme-pci: remove nvmeq->tags
    1d0fbf3e2687 nvmet: Pass lockdep expression to RCU lists
    d5461fdd9645 irqchip/gic-v3-its: Reference to its_invall_cmd descriptor when building INVALL
    793137b0511c bcache: fix incorrect data type usage in btree_flush_write()
    57a180a630d8 bcache: explicity type cast in bset_bkey_last()
    374eec821858 bcache: fix memory corruption in bch_cache_accounting_clear()
    dc8c75f35374 reiserfs: prevent NULL pointer dereference in reiserfs_insert_item()
    23b88b51de5c lib/scatterlist.c: adjust indentation in __sg_alloc_table
    5a553bd43f59 ocfs2: fix a NULL pointer dereference when call ocfs2_update_inode_fsync_trans()
    799c4c1e389f ocfs2: make local header paths relative to C files
    7a97311de48d btrfs: do not do delalloc reservation under page lock
    a531e6ba85a0 powerpc: Do not consider weak unresolved symbol relocations as bad
    528c36e14b17 radeon: insert 10ms sleep in dce5_crtc_load_lut
    224c0751dfb7 trigger_next should increase position index
    e349287276c2 ftrace: fpid_next() should increase position index
    8a7bfa3d97dc char: hpet: Fix out-of-bounds read bug
    427f39e23326 drm/nouveau/disp/nv50-: prevent oops when no channel method map provided
    39c6932240c5 irqchip/gic-v3: Only provision redistributors that are enabled in ACPI
    074c4c43fce2 drm/amd/display: do not allocate display_mode_lib unnecessarily
    1687b204ae83 rbd: work around -Wuninitialized warning
    bd4e1894166b ceph: check availability of mds cluster on mount after wait timeout
    7288d5338c85 powerpc/mm: Don't log user reads to 0xffffffff
    3ce3df5d00d0 bpf: map_seq_next should always increase position index
    9a178494d05b cifs: fix NULL dereference in match_prepath
    9c5ede115a6e cifs: Fix mount options set in automount
    1d8e40cf86e4 cifs: fix unitialized variable poential problem with network I/O cache lock patch
    a2763f62baa4 iwlegacy: ensure loop counter addr does not wrap and cause an infinite loop
    034c5f26d2bf rtw88: fix potential NULL skb access in TX ISR
    e7e4d0eaa639 hostap: Adjust indentation in prism2_hostapd_add_sta
    32662df2d0bc ALSA: usb-audio: add quirks for Line6 Helix devices fw>=2.82
    2ccaac382af0 ARM: 8951/1: Fix Kexec compilation issue.
    16ec28640dc6 selftests/eeh: Bump EEH wait time to 60s
    93df1b23b157 powerpc/pseries/lparcfg: Fix display of Maximum Memory
    411327180703 jbd2: make sure ESHUTDOWN to be recorded in the journal superblock
    314e25f4b0cf jbd2: switch to use jbd2_journal_abort() when failed to submit the commit record
    b911c5e8686a selftests: bpf: Reset global state between reuseport test runs
    251c53a92b54 alarmtimer: Make alarmtimer platform device child of RTC device
    777baa1baf63 iommu/vt-d: Remove unnecessary WARN_ON_ONCE()
    b5f6bf0fdd71 bcache: fix use-after-free in register_bcache()
    393b8509be33 bcache: rework error unwinding in register_bcache
    f7d8ebf26d23 bcache: cached_dev_free needs to put the sb page
    714cd4a5127a btrfs: Fix split-brain handling when changing FSID to metadata uuid
    dc22bc8a8626 btrfs: separate definition of assertion failure handlers
    3420f1b304b3 media: uvcvideo: Add a quirk to force GEO GC6500 Camera bits-per-pixel value
    3f6c8de753ed powerpc/sriov: Remove VF eeh_dev state when disabling SR-IOV
    9d5fc7f14ef2 drm/nouveau/mmu: fix comptag memory leak
    707518c16ba4 sunrpc: Fix potential leaks in sunrpc_cache_unhash()
    46503858e275 ALSA: hda - Add docking station support for Lenovo Thinkpad T420s
    ea038a5270b5 bpf, btf: Always output invariant hit in pahole DWARF to BTF transform
    f11aefc9961d driver core: platform: fix u32 greater or equal to zero comparison
    843eb0a8cf53 s390/ftrace: generate traced function stack frame
    68c3cc414e08 s390: adjust -mpacked-stack support check for clang 10
    838bddc295a0 x86/decoder: Add TEST opcode to Group3-2
    a4f6948e57f0 objtool: Fix ARCH=x86_64 build error
    59e2355bdfc5 kbuild: use -S instead of -E for precise cc-option test in Kconfig
    ba6ad897c3dc spi: spi-fsl-qspi: Ensure width is respected in spi-mem operations
    dbdc1c12966e ALSA: hda/hdmi - add retry logic to parse_intel_hdmi()
    fa7d320dbbbe irqchip/mbigen: Set driver .suppress_bind_attrs to avoid remove problems
    27f3dc35fd59 regulator: core: Fix exported symbols to the exported GPL version
    18eca3cb5dd9 remoteproc: Initialize rproc_class before use
    496d6c021828 module: avoid setting info->name early in case we can fall back to info->mod->name
    7303a0b0a537 btrfs: device stats, log when stats are zeroed
    f9ab58f9a2ab btrfs: safely advance counter when looking up bio csums
    ebf8e5411888 btrfs: fix possible NULL-pointer dereference in integrity checks
    50b93369668b pwm: Remove set but not set variable 'pwm'
    adf4ab6d8312 ide: serverworks: potential overflow in svwks_set_pio_mode()
    e5c8d3abd927 cmd64x: potential buffer overflow in cmd64x_program_timings()
    419035d75dbe pwm: omap-dmtimer: Remove PWM chip in .remove before making it unfunctional
    e7e6b53fea10 x86/mm: Fix NX bit clearing issue in kernel_map_pages_in_pgd
    225a5b5bee00 f2fs: fix memleak of kobject
    337c7b95e16e regulator: vctrl-regulator: Avoid deadlock getting and setting the voltage
    bf754c88865d ASoC: SOF: Intel: hda: Fix SKL dai count
    84255fe86d07 debugobjects: Fix various data races
    0b2ecef39d8e watchdog/softlockup: Enforce that timestamp is valid on boot
    d8a6a443ff0a perf/x86/amd: Constrain Large Increment per Cycle events
    f2323c374e49 sched/topology: Assert non-NUMA topology masks don't (partially) overlap
    5d13f62b9ef6 sched/core: Fix size of rq::uclamp initialization
    8da6ae7dcb16 arm64: dts: ti: k3-j721e-main: Add missing power-domains for smmu
    88cf251d3c0d KVM: PPC: Remove set but not used variable 'ra', 'rs', 'rt'
    d4870a4343f3 EDAC/sifive: Fix return value check in ecc_register()
    0a8f90d5654d drm/amd/display: fixup DML dependencies
    304982d21e2b arm64: fix alternatives with LLVM's integrated assembler
    f68668292496 arm64: lse: fix LSE atomics with LLVM's integrated assembler
    b04235f1e11d RDMA/mlx5: Don't fake udata for kernel path
    da2d50868e59 ALSA: usb-audio: add implicit fb quirk for MOTU M Series
    5a6f5b327fce crypto: essiv - fix AEAD capitalization and preposition use in help text
    817faa4ed433 scsi: iscsi: Don't destroy session if there are outstanding connections
    12b685be50c7 scsi: ufs-mediatek: add apply_dev_quirks variant operation
    4fa2dd4eebfd scsi: ufs: pass device information to apply_dev_quirks
    0016939be0ee f2fs: free sysfs kobject
    06c34c604b13 f2fs: set I_LINKABLE early to avoid wrong access by vfs
    f51caa62dea1 ALSA: usb-audio: unlock on error in probe
    480494e28a51 iommu/arm-smmu-v3: Use WRITE_ONCE() when changing validity of an STE
    23d3f191a576 kbuild: remove *.tmp file when filechk fails
    1fc9746acbb2 usb: musb: omap2430: Get rid of musb .set_vbus for omap2430 glue
    9112d1ef5a1b perf/imx_ddr: Fix cpu hotplug state cleanup
    994b203b619d drm/vmwgfx: prevent memory leak in vmw_cmdbuf_res_add
    13d368cd1e13 gpiolib: Set lockdep class for hierarchical irq domains
    7f0d9ac2621e dm thin: don't allow changing data device during thin-pool reload
    74f42a77318e drm/nouveau/fault/gv100-: fix memory leak on module unload
    18792937b064 drm/nouveau/drm/ttm: Remove set but not used variable 'mem'
    a94c84c5c4bc drm/nouveau: Fix copy-paste error in nouveau_fence_wait_uevent_handler
    93672fa5b9b3 drm/nouveau/gr/gk20a,gm200-: add terminators to method lists read from fw
    63e00e2c80e5 drm/nouveau/secboot/gm20b: initialize pointer in gm20b_secboot_new()
    760baae7ab35 vme: bridges: reduce stack usage
    76fac0e735c7 bpf: Return -EBADRQC for invalid map type in __bpf_tx_xdp_map
    be1113b4b415 ASoC: SOF: Intel: hda-dai: fix compilation warning in pcm_prepare
    a8b37e32415e driver core: Print device when resources present in really_probe()
    3f6af05d1d1b driver core: platform: Prevent resouce overflow from causing infinite loops
    11c759264c32 visorbus: fix uninitialized variable access
    83f964dd14a7 misc: xilinx_sdfec: fix xsdfec_poll()'s return type
    9087af8639c2 tty: synclink_gt: Adjust indentation in several functions
    71faeca11055 tty: synclinkmp: Adjust indentation in several functions
    a922fa72a860 raid6/test: fix a compilation warning
    6cfe307b5be7 ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m
    5bff3c470f84 ALSA: usb-audio: Add boot quirk for MOTU M Series
    d691d1e5836d ARM: dts: rockchip: add reg property to brcmf sub node for rk3188-bqedison2qc
    7c32c479b1e0 arm64: dts: rockchip: add reg property to brcmf sub-nodes
    f9de6fb6e679 arm64: dts: rockchip: fix dwmmc clock name for px30
    989a495ed9a3 clocksource: davinci: only enable clockevents once tim34 is initialized
    48be6f9d2f7e wan: ixp4xx_hss: fix compile-testing on 64-bit
    73f48c1004d4 x86/nmi: Remove irq_work from the long duration NMI handler
    b075c29e816c bnxt: Detach page from page pool before sending up the stack
    1e703d621b9c Input: edt-ft5x06 - work around first register access error
    2b1fd461067f rcu: Use WRITE_ONCE() for assignments to ->pprev for hlist_nulls
    5f0a4eba2a88 efi/x86: Don't panic or BUG() on non-critical error conditions
    5cf01eacd5c2 soc/tegra: fuse: Correct straps' address for older Tegra124 device trees
    75d916c3b393 IB/hfi1: Add RcvShortLengthErrCnt to hfi1stats
    9cfe6c21ff17 IB/hfi1: Add software counter for ctxt0 seq drop
    8689967be56d staging: rtl8188: avoid excessive stack usage
    bfe29951e250 drm/mediatek: Add gamma property according to hardware capability
    6ceef50235d1 udf: Fix free space reporting for metadata and virtual partitions
    03560e4a19fe usbip: Fix unsafe unaligned pointer usage
    e653e1c05423 ARM: dts: stm32: Add power-supply for DSI panel on stm32f469-disco
    6e86c4ce5d3a usb: dwc3: use proper initializers for property entries
    ab7edf7fa651 drm: remove the newline for CRC source name.
    9d89ff3d27e0 RDMA/hns: Avoid printing address of mtt page
    5a2a529974e1 mlx5: work around high stack usage with gcc
    010cdc1be053 drm/amdkfd: Fix permissions of hang_hws
    960671ac5065 iommu/vt-d: Avoid sending invalid page response
    2aab9e9d1f3d iommu/vt-d: Match CPU and IOMMU paging mode
    4ffdfc414d81 ACPI: button: Add DMI quirk for Razer Blade Stealth 13 late 2019 lid switch
    e9e24f2ca9a6 ASoC: Intel: sof_rt5682: Ignore the speaker amp when there isn't one.
    d00a15040454 vfio/spapr/nvlink2: Skip unpinning pages on error exit
    e44b48f5bb64 tools lib api fs: Fix gcc9 stringop-truncation compilation error
    3e32b1282b11 net: phy: fixed_phy: fix use-after-free when checking link GPIO
    4070a491bfcf ALSA: sh: Fix compile warning wrt const
    cf24ed82438c ALSA: hda/realtek - Apply mic mute LED quirk for Dell E7xx laptops, too
    2417ea1d07a5 clk: uniphier: Add SCSSI clock gate for each channel
    6447bfe82922 clk: Use parent node pointer during registration if necessary
    6c7984312d35 ALSA: sh: Fix unused variable warnings
    9f87fff25159 clk: sunxi-ng: add mux and pll notifiers for A64 CPU clock
    d1d92e97260f RDMA/rxe: Fix error type of mmap_offset
    c87c4d442b9f fbdev: fix numbering of fbcon options
    67ca691658f5 ASoC: soc-topology: fix endianness issues
    04361b8961d6 reset: uniphier: Add SCSSI reset control for each channel
    e39aac0e65f1 pinctrl: sh-pfc: sh7269: Fix CAN function GPIOs
    9ed73297980b drm/fbdev: Fallback to non tiled mode if all tiles not present
    d3db7b78e7d6 PM / devfreq: rk3399_dmc: Add COMPILE_TEST and HAVE_ARM_SMCCC dependency
    704582e6a714 PM / devfreq: exynos-ppmu: Fix excessive stack usage
    bc866376d7cd x86/vdso: Provide missing include file
    b5fe09b676de crypto: chtls - Fixed memory leak
    a739564c4c53 net: phy: realtek: add logging for the RGMII TX delay configuration
    4783bf08f8d2 bpf: Print error message for bpftool cgroup show
    8a7aa4feeaea dmaengine: imx-sdma: Fix memory leak
    f99958a96c7f dmaengine: Store module owner in dma_device struct
    93a3eff6fab3 clk: actually call the clock init before any other callback of the clock
    fa0150ba88fa iommu/iova: Silence warnings under memory pressure
    8c358435459b iommu/amd: Only support x2APIC with IVHD type 11h/40h
    b1b7add9d2de iommu/amd: Check feature support bit before accessing MSI capability registers
    0c09d9dc8440 arm64: dts: qcom: db845c: Enable ath10k 8bit host-cap quirk
    ce591c921944 scsi: lpfc: Fix: Rework setting of fdmi symbolic node name registration
    111749fba968 selinux: ensure we cleanup the internal AVC counters on error in avc_update()
    069d2385f381 ARM: dts: r8a7779: Add device node for ARM global timer
    f9b42cb09d8b clk: renesas: rcar-gen3: Allow changing the RPC[D2] clocks
    d80f9dfe47ce drm/mediatek: handle events when enabling/disabling crtc
    57cd234da28c crypto: inside-secure - add unspecified HAS_IOMEM dependency
    df0f4455a12f scsi: aic7xxx: Adjust indentation in ahc_find_syncrate
    f6ebbf46c3a8 scsi: ufs: Complete pending requests in host reset and restore path
    8728001e1e41 nfsd: Clone should commit src file metadata too
    d67d31cb0e92 ACPICA: Disassembler: create buffer fields in ACPI_PARSE_LOAD_PASS1
    3fa5ba7b1912 clk: qcom: smd: Add missing bimc clock
    43ef7ad610dc drm/amdgpu: fix KIQ ring test fail in TDR of SRIOV
    75423fdad259 orinoco: avoid assertion in case of NULL pointer
    5a14db967b72 rtlwifi: rtl_pci: Fix -Wcast-function-type
    f20bc906af52 iwlegacy: Fix -Wcast-function-type
    3acea3092a33 ipw2x00: Fix -Wcast-function-type
    bc8746721cdf b43legacy: Fix -Wcast-function-type
    90053ff023da PCI: Add DMA alias quirk for PLX PEX NTB
    27a35f09367f PCI: Add nr_devfns parameter to pci_add_dma_alias()
    dd77f77004b6 ALSA: usx2y: Adjust indentation in snd_usX2Y_hwdep_dsp_status
    b6c857e5e500 netfilter: nft_tunnel: add the missing ERSPAN_VERSION nla_policy
    1e2b6e5f32aa fore200e: Fix incorrect checks of NULL pointer dereference
    58bc57b373e0 r8169: check that Realtek PHY driver module is loaded
    cdd5b09bcbc0 samples/bpf: Set -fno-stack-protector when building BPF programs
    af77e76625be reiserfs: Fix spurious unlock in reiserfs_fill_super() error handling
    6107a895e383 media: v4l2-device.h: Explicitly compare grp{id,mask} to zero in v4l2_device macros
    cf03458ab2cf selftests/net: make so_txtime more robust to timer variance
    687ef9c269b6 gpu/drm: ingenic: Avoid null pointer deference in plane atomic update
    e07c107a2483 Revert "nfp: abm: fix memory leak in nfp_abm_u32_knode_replace"
    6a05af0b718a PCI: Increase D3 delay for AMD Ryzen5/7 XHCI controllers
    5700b8073f03 PCI: Add generic quirk for increasing D3hot delay
    1e7b1684de37 media: cx23885: Add support for AVerMedia CE310B
    a3a7f90936d7 PCI: iproc: Apply quirk_paxc_bridge() for module as well as built-in
    76ce0e269b4a bus: ti-sysc: Implement quirk handling for CLKDM_NOAUTO
    2fc336213605 ARM: dts: imx6: rdu2: Limit USBH1 to Full Speed
    f3e63a4ddf19 ARM: dts: imx6: rdu2: Disable WP for USDHC2 and USDHC3
    dbe3806c7191 ARM: exynos_defconfig: Bring back explicitly wanted options
    4ece124849a2 clk: imx: Add correct failure handling for clk based helpers
    0685dfa0a2ff padata: validate cpumask without removed CPU during offline
    c3a007435359 arm64: dts: qcom: msm8996: Disable USB2 PHY suspend by core
    0e44cd879ba1 selinux: ensure we cleanup the internal AVC counters on error in avc_insert()
    5fed8c513adb opp: Free static OPPs on errors while adding them
    ef6b35dfe142 arm: dts: allwinner: H3: Add PMU node
    5a241d7bf1e6 arm64: dts: allwinner: H5: Add PMU node
    02dfae36b03f arm64: dts: allwinner: H6: Add PMU mode
    5f0a50b0a37d NFC: port100: Convert cpu_to_le16(le16_to_cpu(E1) + E2) to use le16_add_cpu().
    53d9b08dc80d net/wan/fsl_ucc_hdlc: reject muram offsets above 64K
    12ba455b1d28 regulator: rk808: Lower log level on optional GPIOs being not available
    bae02d239a38 ASoC: intel: sof_rt5682: Add support for tgl-max98357a-rt5682
    fa54ae038c95 ASoC: intel: sof_rt5682: Add quirk for number of HDMI DAI's
    4c50665fc968 modules: lockdep: Suppress suspicious RCU usage warning
    fa0316aaf094 arm64: dts: rockchip: Fix NanoPC-T4 cooling maps
    3a28e0701264 drm/panel: simple: Add Logic PD Type 28 display support
    c3c3f3449b8c drm/amdgpu: Ensure ret is always initialized when using SOC15_WAIT_ON_RREG
    ddbdf757a7ef ath10k: correct the tlv len of ath10k_wmi_tlv_op_gen_config_pno_start
    69c12b79e9e2 drm/amdgpu: remove 4 set but not used variable in amdgpu_atombios_get_connector_info_from_object_table
    ad9728b377a6 bpf, sockhash: Synchronize_rcu before free'ing map
    25c85d8574d8 drm/amdkfd: Fix a bug in SDMA RLC queue counting under HWS mode
    dff5d0fc77a5 clk: qcom: rcg2: Don't crash if our parent can't be found; return an error
    8d122cd0d266 clk: qcom: Don't overwrite 'cfg' in clk_rcg2_dfs_populate_freq()
    8ba34cdadba3 kconfig: fix broken dependency in randconfig-generated .config
    39a708219509 block, bfq: do not plug I/O for bfq_queues with no proc refs
    b0d5c881d36e drivers/block/zram/zram_drv.c: fix error return codes not being returned in writeback_store
    53aaa9f1a638 Btrfs: keep pages dirty when using btrfs_writepage_fixup_worker
    3aa694d0e112 KVM: s390: ENOTSUPP -> EOPNOTSUPP fixups
    25cbba5d4e14 nbd: add a flush_workqueue in nbd_start_device
    201fdd62bb23 tracing: Simplify assignment parsing for hist triggers
    7bc84d854017 drm/amd/display: Retrain dongles when SINK_COUNT becomes non-zero
    806f57ec2b52 rtc: i2c/spi: Avoid inclusion of REGMAP support when not needed
    b752d473b1fb selftests: settings: tests can be in subsubdirs
    6f65dd66ea6f brcmfmac: sdio: Fix OOB interrupt initialization on brcm43362
    abf8d588e3b1 rtw88: fix rate mask for 1SS chip
    3eee03d0ffb8 ath10k: Correct the DMA direction for management tx buffers
    494c30b80550 ext4, jbd2: ensure panic when aborting with zero errno
    8343f165f3d4 ARM: 8952/1: Disable kmemleak on XIP kernels
    8c72748e9f6a tracing: Fix very unlikely race of registering two stat tracers
    75225eee8715 tracing: Fix tracing_stat return values in error handling paths
    8be3ac46ef80 powerpc/iov: Move VF pdev fixup into pcibios_fixup_iov()
    256e52a1a915 s390/pci: Fix possible deadlock in recover_store()
    37ea6d15b197 wan/hdlc_x25: fix skb handling
    77b131f652d4 dmaengine: fsl-qdma: fix duplicated argument to &&
    d30a4882e630 udf: Allow writing to 'Rewritable' partitions
    a3536e5589c7 pwm: omap-dmtimer: Simplify error handling
    971579fae1b4 x86/sysfb: Fix check for bad VRAM size
    7828a927b850 clk: ti: dra7: fix parent for gmac_clkctrl
    2d7fa7564bc4 ext4: fix deadlock allocating bio_post_read_ctx from mempool
    c982320078dd jbd2: clear JBD2_ABORT flag before journal_reset to update log tail info when load journal
    56953ccd7f00 kselftest: Minimise dependency of get_size on C library interfaces
    6aa96ec9c196 drm/amd/display: Clear state after exiting fixed active VRR state
    c7fc72092134 clocksource/drivers/bcm2835_timer: Fix memory leak of timer
    9f0414eed212 usb: dwc2: Fix IN FIFO allocation
    2cea5895b69d usb: gadget: udc: fix possible sleep-in-atomic-context bugs in gr_probe()
    531d0ac5fbbd drm/nouveau/nouveau: fix incorrect sizeof on args.src an args.dst
    d34ecf4949de spi: fsl-lpspi: fix only one cs-gpio working
    9f3a2e147f0e drm/amdgpu/sriov: workaround on rev_id for Navi12 under sriov
    750a95d63746 uio: fix a sleep-in-atomic-context bug in uio_dmem_genirq_irqcontrol()
    b2f28d11f2a1 raid6/test: fix a compilation error
    448563605d98 net: ethernet: ixp4xx: Standard module init
    b5d649f14470 sparc: Add .exit.data section.
    c09d0bd924ac MIPS: Loongson: Fix potential NULL dereference in loongson3_platform_init()
    ed140997f80c efi/x86: Map the entire EFI vendor string before copying it
    04a5bebd7789 pinctrl: baytrail: Do not clear IRQ flags on direct-irq enabled pins
    9ad79d4fa032 IB/core: Let IB core distribute cache update events
    f606721660a6 kernel/module: Fix memleak in module_add_modinfo_attrs()
    fc3c0fc85d69 media: sti: bdisp: fix a possible sleep-in-atomic-context bug in bdisp_device_run()
    bc4730880281 char/random: silence a lockdep splat with printk()
    0b455673e7c4 x86/fpu: Deactivate FPU state after failure during state load
    9b743915bd00 iommu/vt-d: Fix off-by-one in PASID allocation
    739abce96dd0 gpio: gpio-grgpio: fix possible sleep-in-atomic-context bugs in grgpio_irq_map/unmap()
    e715aa99c502 clk: meson: meson8b: make the CCF use the glitch-free mali mux
    271b18405eb0 powerpc/powernv/iov: Ensure the pdn for VFs always contains a valid PE number
    2f812301bacf clk: at91: sam9x60: fix programmable clock prescaler
    e1e1cdbc646f media: sun4i-csi: Fix [HV]sync polarity handling
    65fbde986aef media: sun4i-csi: Fix data sampling polarity handling
    f5076ea1bc9d media: sun4i-csi: Deal with DRAM offset
    cb514c01f6e4 media: i2c: mt9v032: fix enum mbus codes and frame sizes
    ecb8ea6f93e5 media: ov5640: Fix check for PLL1 exceeding max allowed rate
    9c76a7b28edc pxa168fb: Fix the function used to release some memory in an error handling path
    4a8bb7ce9f0b drm/msm/adreno: fix zap vs no-zap handling
    4aa148666a70 drm/mipi_dbi: Fix off-by-one bugs in mipi_dbi_blank()
    d21cc4ea7a82 printk: fix exclusive_console replaying
    f46afae807aa pinctrl: sh-pfc: sh7264: Fix CAN function GPIOs
    fcc0000109b0 gianfar: Fix TX timestamping with a stacked DSA driver
    c324effa6d9d ALSA: ctl: allow TLV read operation for callback type of element in locked case
    4125714ce1d6 ext4: fix ext4_dax_read/write inode locking sequence for IOCB_NOWAIT
    348a7ccdb9f0 leds: pca963x: Fix open-drain initialization
    4e2d5e3eb865 drm/amd/display: Map ODM memory correctly when doing ODM combine
    b3224bf30709 PCI: Fix pci_add_dma_alias() bitmask size
    071963d37143 brcmfmac: Fix use after free in brcmf_sdio_readframes()
    55195593a8c6 brcmfmac: Fix memory leak in brcmf_p2p_create_p2pdev()
    c4d0a90b5029 cpu/hotplug, stop_machine: Fix stop_machine vs hotplug order
    4d7f8ca608b2 clk: meson: pll: Fix by 0 division in __pll_params_to_rate()
    343fc9a26887 media: meson: add missing allocation failure check on new_buf
    85275286d118 f2fs: call f2fs_balance_fs outside of locked page
    678b25bfd983 f2fs: preallocate DIO blocks when forcing buffered_io
    255edefeb0b8 rcu: Fix data-race due to atomic_t copy-by-value
    b7725deb9d61 rcu: Fix missed wakeup of exp_wq waiters
    3ece067c12e1 rcu/nocb: Fix dump_tree hierarchy print always active
    2339f7a55c84 drm/qxl: Complete exception handling in qxl_device_init()
    3deb6e993ec4 wil6210: fix break that is never reached because of zero'ing of a retry counter
    281ebbcdee49 ath10k: Fix qmi init error handling
    726196728c2c drm/gma500: Fixup fbdev stolen size usage evaluation
    60e055d59d0e net/sched: flower: add missing validation of TCA_FLOWER_FLAGS
    58cd462bc5b1 net/sched: matchall: add missing validation of TCA_MATCHALL_FLAGS
    d9bc012b4a47 net: dsa: tag_qca: Make sure there is headroom for tag
    42dd56266b9f net/smc: fix leak of kernel memory to user space
    f1f2eea30d19 enic: prevent waking up stopped tx queues over watchdog reset
    8f22873582a7 core: Don't skip generic XDP program execution for cloned SKBs
    2d636a1263be Linux 5.4.21
    c10cfc131c0b mmc: core: Rework wp-gpio handling
    b0ad23142a2a gpio: add gpiod_toggle_active_low()
    2cbbe28c734b KVM: x86/mmu: Fix struct guest_walker arrays for 5-level paging
    ac3aea49cc35 ext4: choose hardlimit when softlimit is larger than hardlimit in ext4_statfs_project()
    9275ae515385 jbd2: do not clear the BH_Mapped flag when forgetting a metadata buffer
    f09998f7a11f jbd2: move the clearing of b_modified flag to the journal_unmap_buffer()
    0e365eafbcaa Revert "drm/sun4i: drv: Allow framebuffer modifiers in mode config"
    590d35beddcc NFSv4.1 make cachethis=no for writes
    7bee7eabf0ed perf stat: Don't report a null stalled cycles per insn metric
    1164c3380958 KVM: x86: Mask off reserved bit from #DB exception payload
    ec86856b4672 arm64: dts: fast models: Fix FVP PCI interrupt-map property
    51a610a5c88d cifs: fix mount option display for sec=krb5i
    db5a68ffad2a mac80211: fix quiet mode activation in action frames
    671338889e8f hwmon: (pmbus/ltc2978) Fix PMBus polling of MFR_COMMON definitions.
    98509dfe6f25 perf/x86/intel: Fix inaccurate period in context switch for auto-reload
    1d2a31baf6b6 spmi: pmic-arb: Set lockdep class for hierarchical irq domains
    9f6f61c61a84 sched/uclamp: Reject negative values in cpu_uclamp_write()
    115402ee80ce s390/time: Fix clk type in get_tod_clock
    ae88de70c254 RDMA/core: Fix protection fault in get_pkey_idx_qp_list
    2c753af06f23 RDMA/rxe: Fix soft lockup problem due to using tasklets in softirq
    8662e612ae4c RDMA/hfi1: Fix memory leak in _dev_comp_vect_mappings_create
    b860a4524217 RDMA/iw_cxgb4: initiate CLOSE when entering TERM
    c60c4b4b6bf2 RDMA/core: Fix invalid memory access in spec_filter_size
    8a14f01c4d0f IB/umad: Fix kernel crash while unloading ib_umad
    6603342a6060 IB/rdmavt: Reset all QPs when the device is shut down
    b16dfda32ca5 IB/hfi1: Close window for pq and request coliding
    327f33e54c7f IB/hfi1: Acquire lock to release TID entries when user file is closed
    e30e30c042fe IB/mlx5: Return failure when rts2rts_qp_counters_set_id is not supported
    cf0ea974b6a2 drivers: ipmi: fix off-by-one bounds check that leads to a out-of-bounds write
    5e9f573dc8e7 nvme: fix the parameter order for nvme_get_log in nvme_get_fw_slot_info
    fa3c053b8313 bus: moxtet: fix potential stack buffer overflow
    279c15b917ec drm/panfrost: Make sure the shrinker does not reclaim referenced BOs
    3ea7f138cec1 drm/vgem: Close use-after-free race in vgem_gem_create
    9ea66515918e s390/uv: Fix handling of length extensions
    9e6874da9446 s390/pkey: fix missing length of protected key on return
    ebc3ddc1a255 perf/x86/amd: Add missing L2 misses event spec to AMD Family 17h's event map
    db6f68908bce KVM: nVMX: Use correct root level for nested EPT shadow page tables
    ce8b9b8032bd EDAC/mc: Fix use-after-free and memleaks during device removal
    b2e977a9731f EDAC/sysfs: Remove csrow objects on errors
    03f6c2bf9562 cifs: make sure we do not overflow the max EA buffer size
    ff04f342f8c4 xprtrdma: Fix DMA scatter-gather list mapping imbalance
    22f15745c4e7 arm64: ssbs: Fix context-switch when SSBS is present on all CPUs
    4267ba3bac6d gpio: xilinx: Fix bug where the wrong GPIO register is written to
    8791bb8f8471 ARM: npcm: Bring back GPIOLIB support
    cafaf6bcce60 btrfs: log message when rw remount is attempted with unclean tree-log
    2655c88c03e8 btrfs: print message when tree-log replay starts
    f3cdf024ed19 btrfs: ref-verify: fix memory leaks
    bf4a9715a914 Btrfs: fix race between using extent maps and merging them
    c43f560acc85 ext4: improve explanation of a mount failure caused by a misconfigured kernel
    94f0fe04da78 ext4: add cond_resched() to ext4_protect_reserved_inode
    5b0a26514d6c ext4: fix checksum errors with indexed dirs
    449e607322d7 ext4: fix support for inode sizes > 1024 bytes
    f080204b677d ext4: don't assume that mmp_nodename/bdevname have NUL
    86c30da1b684 ALSA: usb-audio: Add clock validity quirk for Denon MC7000/MCX8000
    67d49871f8e4 ALSA: usb-audio: sound: usb: usb true/false for bool return type
    c3b35c87e5b6 ACPI: PM: s2idle: Prevent spurious SCIs from waking up the system
    303740645567 ACPICA: Introduce acpi_any_gpe_status_set()
    0671627a5faa ACPI: PM: s2idle: Avoid possible race related to the EC GPE
    b9f78af90d92 ACPI: EC: Fix flushing of pending work
    25487999ca3a ALSA: usb-audio: Apply sample rate quirk for Audioengine D1
    2b7e7004970a ALSA: hda/realtek - Fix silent output on MSI-GL73
    1e73c5eae8c6 ALSA: hda/realtek - Add more codec supported Headset Button
    c28273b42c95 ALSA: usb-audio: Fix UAC2/3 effect unit parsing
    2323beb68436 Input: synaptics - remove the LEN0049 dmi id from topbuttonpad list
    efca0d73501a Input: synaptics - enable SMBus on ThinkPad L470
    c6426ba5731b Input: synaptics - switch T470s to RMI4 by default

(From OE-Core rev: aef943886969fb4c411eb4dc2fd6fb5063ce0064)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Bruce Ashfield
033589ac71 linux-yocto: common-pc-drivers.cfg: add CONFIG_INPUT_UINPUT
Integrating the following configuration tweak:

[

   Author: Alexander Kanavin <alex.kanavin@gmail.com>
   Date:   Mon Feb 24 10:34:00 2020 +0100

       common-pc-drivers.cfg: add CONFIG_INPUT_UINPUT

       This will allow testing libinput in particular:
       https://www.kernel.org/doc/html/latest/input/uinput.html
       https://wayland.freedesktop.org/libinput/doc/latest/test-suite.html

       Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
       Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: add2cd52e4bc638f1d8f5f669cbf9bcb83e39397)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Bruce Ashfield
8de46476f5 linux-yocto/5.2: backport perf build fix for latest binutils
[
   Author: Changbin Du <changbin.du@gmail.com>
   Date:   Tue Jan 28 23:29:38 2020 +0800

       perf: Make perf able to build with latest libbfd

       libbfd has changed the bfd_section_* macros to inline functions
       bfd_section_<field> since 2019-09-18. See below two commits:
	 o http://www.sourceware.org/ml/gdb-cvs/2019-09/msg00064.html
	 o https://www.sourceware.org/ml/gdb-cvs/2019-09/msg00072.html

       This fix make perf able to build with both old and new libbfd.

       Signed-off-by: Changbin Du <changbin.du@gmail.com>
       Acked-by: Jiri Olsa <jolsa@redhat.com>
       Cc: Peter Zijlstra <peterz@infradead.org>
       Link: http://lore.kernel.org/lkml/20200128152938.31413-1-changbin.du@gmail.com
       Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
       Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 14a338dbbe2da5a022a916081b3aab9c7472c3ce)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Jeremy Puhlman
400743867d python3-native: Should not search the system for headers/libraries.
The specific issue here is rpc/rpc.h, but its likely more general.
/usr/include is searched for rpc/rpc.h and if it exists on the
system, it changes behavior. If you are using the extended buildtools
tarball on a machine that has /usr/include/rpc/rpc.h, it will decide
that is good enough and not continue to search. nis fails to build
because /usr/include and /usr/lib are not part of the include/link
paths for the buildtools tarball compiler(nor should they be).

This makes it so python3-native will not build if you are using the
extended buildtools tarball, but from a larger issue perspective it
is building in likely different ways depending on what machine it
is building on.

libtirpc is already a depend so we shouldn't need the hosts rpc/rcp.h.

(From OE-Core rev: f37dfc7907ae7bac08d40468ddde2e5b8bba030c)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
André Draszik
b4b09ea33b linux-firmware: install / package all license files again
This doesn't happen with make install, hence all the -license packages
are missing, since they'd otherwise be empty.

(From OE-Core rev: 456a1431dd7d8472830b8716e80e64a888617354)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Alexander Kanavin
2b43efced7 linux-firmware: use 'make install' for installation
Copying the source tree over was missing important symlinks
that since recent updates can only be created with make install.

(From OE-Core rev: 8764cc85f3ef570f1c220c3c200d6e02d3e7a260)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Ming Liu
c412d3440c kernel-yocto.bbclass: fix a wrong inter-task dependency
do_kernel_checkout and do_symlink_kernsrc are both modifying ${S}, they
could conflict with eacher other, move do_kernel_checkout after
do_symlink_kernsrc does fix that.

(From OE-Core rev: 965090f42bc0576e938a0575b7938a1ff60b0018)

Signed-off-by: Ming Liu <liu.ming@toradex.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Jeremy Puhlman
06972e2d4d buildtools-extended-tarball: add nativesdk-libxcrypt-dev
virtual/crypt-native is assume provided in bitbake.conf, so
buildtools-extended-tarball shoud provide crypt since it doesn't
use the host's headers/libraries.

[YOCTO #13714]

(From OE-Core rev: da948b25d5ef452fb35275d108e18d2a2829f4fb)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Joshua Watt
fea1d99036 classes/kernel.bbclass: Fix parsing errors
legitimize_package_name wants the actual value of KERNEL_REVISION, so
use d.getVar() to fetch it as is done elsewhere in the file. Failing to
do so can result it weird errors at parsing time.

(From OE-Core rev: 9bff4d14693c1890fc181ec68c9f883dc4e4accf)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Alexander Kanavin
177c9b49b8 libmodule-build-perl: make it reproducible
Particularly, delete html docs as they have sysroot
paths in them, and adjust build configuration to not
refer to host paths either.

(From OE-Core rev: 7f58aed9d7b07d9f86717fc0c45b31b1887eb36a)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
Joe Slater
ebc39a1856 blktrace: modify two scripts for python3
Backport from git.kernel.dk.  Changed shebangs to use python3.

(From OE-Core rev: 2c0ca4632f6c2ce645412ca975a70b3088c27916)

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
André Draszik
dec4e3f813 bitbake.conf: omit XZ threads and RAM from sstate signatures
The number of threads used, and the amount of memory allowed
to be used, should not affect sstate signatures, as they
don't affect the outcome of the compression if xz operates
in multi-threaded mode [1].

Otherwise, it becomes impossible to re-use sstate from
automated builders on developer's machines (as the former
might execute bitbake with certain constraints different
compared to developer's machines).

This is in particular a problem with the opkg package writing
backend, as the OPKGBUILDCMD depends on XZ_DEFAULTS. Without
the vardepexclude, there is no re-use possible of the
package_write_ipk sstate.

Whitelist the maximum number of threads and the memory limit
given assumptions outlined in [2] below.

(From OE-Core rev: 7927d5f6eaab48578b23db9a4c38e2f87f011353)

Signed-off-by: André Draszik <git@andred.net>

[1] When starting out in multi-threaded mode, the output is always
deterministic, as even if xz scales down to single-threaded later,
the archives are still split into blocks and size information is
still added, thus keeping them compatible with multi-threaded mode.
Also, when starting out in multi-threaded mode, xz never scales
down the compression level to accomodate memory usage restrictions,
it just scales down the number of threads and errors out if it
can not accomodate the memory limit.

[2] Assumptions
* We only support multi-threaded mode (threads >= 2), builds
  should not try to use xz in single-threaded mode
* The thread limit should be set via XZ_THREADS, not via
  modifying XZ_DEFAULTS or XZ_OPTS, or any other way
* The thread limit should not be set to xz's magic value
  zero (0), as that will lead to single-threaded mode on
  single-core systems.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
André Draszik
e16134e3bb bitbake.conf: more deterministic xz compression (threads)
xz archives can be non-deterministic / non-reproducible:
    a) archives are created differently in single- vs
       multi-threaded modes
    b) xz will scale down the compression level so as to
       be try to work within any memory limit given to
       it when operating in single-threaded mode

This means that due to bitbake's default of using as many
threads as there are cores in the system, files compressed
with xz will be different if built on a multi-core system
compared to single-core systems. They will also potentially
be different if built on single-core systems with different
amounts of physical memory, due to bitbake's default of
limiting xz's memory consumption.

Force multi-threaded operation by default, even on single-core
systems, so as to ensure archives are created in the same
way in all cases.

(From OE-Core rev: d96aa8594c8d7531da34645cadbac4f7549d8ae6)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:18 +00:00
André Draszik
0d7f24ce89 lib/oe/utils: allow to set a lower bound on returned cpu_count()
This will be needed for making xz compression more deterministic,
as xz archives are created differently in single- vs multi-threaded
modes.

This means that due to bitbake's default of using as many threads
as there are cores in the system, files compressed with xz
will be different if built on a multi-core system compared to
single-core systems.

Allowing cpu_count() here to return a lower bound, will allow
forcing xz to always use multi-threaded operation.

(From OE-Core rev: c6dda204e15c5b27559f7617b18a7b3ce604e2f8)

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:17 +00:00
Anders Wallin
193f56f8b8 babeltrace: only check latest git tag version for 1.x.x
version 2.x.x will be added with a new babeltrace2 recipe

(From OE-Core rev: 0616a5dbc61561fefcd1822ce263837437466df2)

Signed-off-by: Anders Wallin <wallinux@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-06 08:19:17 +00:00
Richard Purdie
92e172b5b4 systemd: Fix service file for race issues
It seems this service needs both Requires: and After: according to the definitions
in the systemd docs, else we see boot race failures.

(From OE-Core rev: d6b1809e8cd7ca78c5b442177393d4299a96ec65)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-03 13:06:29 +00:00
Ruslan Bilovol
fa4945100a kernel-devsrc: support 4.4+ ARM/ARM64 kernels
Linux Kernel 4.4 is an LTS kernel so people may still
build it with OE.

Thus make copying of some files optional:
 - arm64 module.lds file first appeared with kernel v4.6 commit
   fd045f6cd98e arm64: add support for module PLTs"
 - arm32 *.tbl files first appeared in kernel v4.10 in
   commit 96a8fae0fe09 "ARM: convert to generated
   system call tables"

(From OE-Core rev: 3329dd6ea914c5fadbf63ecbfde9c66472df19ee)

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-03 13:06:29 +00:00
Scott Murray
bd5635d7ae psplash: update to latest git revision and clean up
Update SRCREV to pick up:

c359546 Fix psplash-systemd failures
3c0a4f3 Remove generated psplash-poky-img.h

Also:
* set the unit type in psplash-start.service to "notify" to
  complete the psplash-systemd race fix
* remove the rest of the now unnecessary has_png logic bits
* change the generated image header destination to B instead of S
  since that now works after the recent makefile changes, and will
  avoid unnecessarily polluting the source tree

(From OE-Core rev: 6f31da5632220a09ac65b8f361cdc9c64e64ce35)

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-03 13:06:28 +00:00
Adrian Bunk
57f15632d7 make: Use gziped sources
Building lzip-native just for being able to build make is not
worth saving 1 MB download, especially since this creates a
bottleneck for the whole build.

(From OE-Core rev: 136314ffd107654b7673d937acafb7f4a81ac5a9)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-03 13:06:28 +00:00
Matt Ranostay
2673d8005c freetype: add pixmap to PACKAGECONFIG
Add pixmap to PACKAGECONFIG defaults to allow consumers to
render color emojis without distro changes.

(From OE-Core rev: 01d404302238b0ad570192118617083440d1d50a)

Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-02 21:00:54 +00:00
Armin Kuster
26525f2f4f wic/engine: lets display an error not a traceback
If the requested partition does not exist in this request "wic ls {path}:pnum"
display a nice message not a trackback

Also fix displaying the pnum and not "%s"

(From OE-Core rev: 15d1722950a22649905cf8a5789d3cfe48a2a892)

Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-02 21:00:54 +00:00
Anuj Mittal
9165187275 stress-ng: upgrade 0.11.00 -> 0.11.01
(From OE-Core rev: 713837a0a2d51b3a9aaf3d5aa053f9503f9c362d)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-02 21:00:54 +00:00
Anuj Mittal
94195b7bd0 libsoup-2.4: upgrade 2.68.3 -> 2.68.4
(From OE-Core rev: fc2479d488974c4af154f215f9de7e0e5b3b3c71)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-02 21:00:53 +00:00
Anuj Mittal
6a5daf4b2e enchant2: upgrade 2.2.7 -> 2.2.8
(From OE-Core rev: d9d386122f70b6692f614e526fe3168d674533bf)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-02 21:00:53 +00:00
Denys Dmytriyenko
b9cd01e95a wayland-protocols: upgrade 1.18 -> 1.20
wayland-protocols 1.20 is now available.

This release is a brown paper bag release adding the missing README.md,
GOVERNANCE.md and MEMBERS.md files to the tarball. Distributions that
distribute one or more of these files should ignore the 1.19 release and
move directly to 1.20.
https://lists.freedesktop.org/archives/wayland-devel/2020-February/041269.html

(From OE-Core rev: 7bd664600cce0fba4e256c690078ef69e39be299)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-02 21:00:53 +00:00
Pierre-Jean Texier
5fb445614e sysklogd: upgrade 2.0.3 -> 2.1.1
License-Update: Relicensed under the BSD-3-Clause license since v2.1

Remove patches applied upstream.

Since version v2.1, klogd was removed from the sysklogd project since
syslogd performs logging of kernel messages.

So, this patch remove klogd support.

(From OE-Core rev: c28457322eb6a141d0e8c66fc1c7eee681c0fe88)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-02 21:00:53 +00:00
Petr Vorel
2af240a7d4 ltp: Remove mips related open_posix_testsuite patch
Upstream just disagree on this patch
https://patchwork.ozlabs.org/comment/2012045/

(From OE-Core rev: 2497b28b14bd70c0a4c94fc22a74ea62c527b410)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-02 16:16:27 +00:00
Petr Vorel
a37dba3063 ltp: Update to 20200120
Removed ffsb copying file and associated runtest file fs_ext4
(both removed in this release).

Added LIBS=-lfts for MUSL.

Removed patches (accepted upstream)
* 0001-mkswap01.sh-Add-udevadm-trigger-before-swap-verifica.patch
* 0001-testcases-fix-an-absent-format-string-issue.patch
* 0001-nm01-Remove-prefix-zeros-of-the-addresses-output-by-.patch

Merged patches
* 0006-rt_tgsigqueueinfo-disable-test-on-musl.patch
(into 0001-build-Add-option-to-select-libc-implementation.patch as they
touch the same files)

Refreshed patches (some tests have been fixed for musl)
* 0001-Add-more-musl-exclusions.patch
* 0001-build-Add-option-to-select-libc-implementation.patch
* 0002-kernel-controllers-Link-with-libfts-explicitly-on-mu.patch
IMHO this one shouldn't be needed not, but CI still fails without it

Updated status
* 0008-testcases-network-nfsv4-acl-acl1.c-Security-fix-on-s.patch
* 0001-syscalls-Check-for-time64-unsafe-syscalls-before-usi.patch

(From OE-Core rev: 62e2063698477a13c55ae370451e52a2f1e18e45)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-02 16:16:27 +00:00
Richard Purdie
fecd65625e bitbake: cooker: Reset parse status unpon clientComplete
If for example a tinfoil connection edits the datastore, a subsequent
connection can be "corrupted" by those changes. By setting the parse
status of the caches as False at exit, the behaviour becomes the same
as a newly setup server as a new data store is setup.

This avoids problems in tests when BB_SERVER_TIMEOUT is set as the
server is properly reset between connections.

[YOCTO #13812]

(Bitbake rev: e66759106e21da2b34a6cdec7aa681ad2204da54)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-02 16:16:27 +00:00
Richard Purdie
bed52fbf3c bitbake: fetch2: Limit shown checksums to sha256
Currently bitbake will list many checksums for a recipe when none are
present, encouraging users to add them all to a recipe. We don't
need/want them all.

We used to show md5 and sha256 but given the concerns about md5,
switch to showing just sha256 going forward which seems like the
sensible one to standardise upon.

There will be no change to existing recipe functionality.

(Bitbake rev: 47f0c849ed13ba554d9523b926d92405e8251702)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-02 16:16:27 +00:00
Andreas Müller
5e1f0d593e mime-xdg.bbclass: Fix typo in comment
(From OE-Core rev: d6fc0081f53ebc5b12ffff917cf3c04c270a69f1)

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-01 17:50:30 +00:00
Pierre-Jean Texier
0c8892fa1d wic/engine: dump the partition table in JSON format only
since commit 03154d2cf25c1d5ce908da9e72d324004b8d5722 ("sfdisk: add -J between mutually exclusive options")
in util-linux [1], the '-J' can't be used with the '-d' option anymore.

So, since we're using json format output, drop the '-d' option.

Fixes:

ERROR: _exec_cmd: <snip>/usr/sbin/sfdisk -dJ <snip>/core-image-minimal-qemux86-64.wic returned '1' instead of 0
output: sfdisk: mutually exclusive arguments: --list-free --json --dump

[1] - 03154d2cf2 (diff-31d5cc325380dbdafe64d0e019846f12)

(From OE-Core rev: 49e7f3e8e3a775510d8b0e2826a06d000934706b)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-01 10:40:11 +00:00
Pierre-Jean Texier
5a8d7be90a util-linux: upgrade 2.34 -> 2.35.1
License-Update: add GPLv3 text in README.licensing

Also:
 - Drop upstreamed patch
 - Backport an upstream patch to fix an issue with 'sfdisk'
 - Use 'disable-hwclock-gplv3' explicitly.

Since commit 7a3000f7ba548cf7d74ac77cc63fe8de228a669e ("hwclock: use parse_date function") hwclock is linked
with parse_date.y from gnullib. This gnulib code is distributed with GPLv3.
So, we have to use '--disable-hwclock-gplv3' to exclude this code.

See full changelog https://lore.kernel.org/util-linux/20200131095846.ogjtqrs7ai774tka@ws.net.home/T/#u

(From OE-Core rev: 324f33ba5a77d498cfff81c6857c78ad13b27125)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-01 10:40:11 +00:00
Pierre-Jean Texier
e1b4a438cb libarchive: support mbedtls in PACKAGECONFIG
The version 3.4.2 of libarchive add support for mbed TLS [1].

So, add PACKAGECONFIG for mbedtls.

[1] - https://github.com/libarchive/libarchive/releases/tag/v3.4.2

(From OE-Core rev: 19ef429ffb7ccd7277da82c5487f3ab1ae2af994)

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-01 10:40:11 +00:00
Richard Purdie
6479de2ae6 make: Drop mips glibc workaround
This is no longer needed with the upgraded glibc version.

(From OE-Core rev: 2d51abf53e063ce6328290de728b5870530aa86a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-01 10:40:11 +00:00
Khem Raj
6184143ae4 tcmode-default: Add wildcard to GLIBCVERSION
glibc version has moved on to 2.31.x

(From OE-Core rev: ef681222a918030d726a79cf04111fb5d0b66355)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-01 10:40:11 +00:00
Khem Raj
9f7a38cbbe glibc: Syscall fixes for mips/risc-v/mucroblaze
Should fix the mips make 4.3 issue on target

Changes in this delta

* 71f2b249a2 malloc/tst-mallocfork2: Kill lingering process for unexpected failures
* 5d31b083e4 riscv: Avoid clobbering register parameters in syscall
* f4f8843515 microblaze: Avoid clobbering register parameters in syscall
* aa638b86b2 mips: Fix argument passing for inlined syscalls on Linux [BZ #25523]
* ae1b6b13d4 mips: Use 'long int' and 'long long int' in linux syscall code

(From OE-Core rev: 79b23077288dd557842f987e558262d7d8522e25)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-03-01 10:40:11 +00:00
Richard Purdie
03453aa3e0 python3-scons: Fix license file collision
Downloading a file called "LICENSE" into DL_DIR is 'problematic' and collides with the
file from other versions of the recipe at best.

Rename it to something more specific to avoid collision problems.

(From OE-Core rev: 3ef237f2cd1836f4c9f584837fb25762fe4d4332)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 21:47:30 +00:00
Khem Raj
cde372bde3 systemd: Add missing leading space for CFLAGS append
(From OE-Core rev: 9141ff8dc4e75e42606f3c364718f7e813003863)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 21:47:30 +00:00
Adrian Bunk
21e6e7ae08 ncurses: Comment out version parsing that broke CVE checking
This will be needed again when using patchlevel versions again.
Also make it more generic.

(From OE-Core rev: 7939288700ad35ed43e5988371e16d5afc594a57)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 21:47:30 +00:00
Richard Purdie
0a229e7045 psplash: Update to latest git revision
Image files are always generated now so make the gdk-pixbuf dependency
required.

(From OE-Core rev: f273684f75c050ce3c7c4d93d73a27c973f84df5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 21:47:30 +00:00
Tim Orling
070c0d27a8 at-spi2-atk: upgrade 2.32.0 -> 2.34.1
Add patch to fix missing sys/time.h include in tests/atk_test_util.h

Release notes:
043b793de2/NEWS

License-Update: Changed to LGPL-2.1+

(From OE-Core rev: dd78eeef75cb94f14dda8ae50c0a0bee1fcfca07)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:49 +00:00
Tim Orling
748ba1dc59 at-spi2-core: upgrade 2.32.1 -> 2.34.0
Release notes:
6da122f1e8/NEWS

License-Update: Changed to LPGL-2.1+

(From OE-Core rev: 3956af4bf8a55ae0a64363c591c74c38d8468c58)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:49 +00:00
Tim Orling
b1515d967e atk: upgrade 2.32.0 -> 2.34.1
Patch no longer applies (nor is needed) upstream.

Release notes:
633bde11f9/NEWS

(From OE-Core rev: eaf19af52d166295494863379049868375498c0a)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:49 +00:00
Victor Kamensky
1ae1fb6f14 make: disable use of posix_spawn on mips
After make-4.3 migration child_execute_job function started
using posix_spawn function, which happens to be broken on mips.

It manifests itself as when make executed by root, it switches
real user id to wrong value because of some issues with direct
setresuid system call done in glibc __spawni_child function
through inline assemble and/or gcc compiling it produces wrong
code. I.e instead of passing -1 posix_spawn function incorrectly
passes 127 as ruid. Subsequently job started by make can fail
with permission issue because they run under wrong user.

For now workaround is used by explicitly disabling posix_spawn
call use by make on mips through configure variable.

(From OE-Core rev: de5572deff36ecf7dd209600a94b3b7fb991cdc1)

Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:49 +00:00
Jens Rehsack
1735b8ae62 make: 4.2.1 -> 4.3
Announcement: https://lists.gnu.org/archive/html/bug-make/2020-01/msg00057.html

1) Remove upstream provided patches 0001-glob-Do-not-assume-glibc-glob-internals.patch
   and 0002-glob-Do-not-assume-glibc-glob-internals.patch.

2) License has been changed to GPLv3 only

3) Important bug-fix is
   * https://lists.gnu.org/archive/html/bug-make/2018-09/msg00006.html

4) Backward-incompatibilities:
   * Number signs (#) appearing inside a macro reference or function invocation
     no longer introduce comments and should not be escaped with backslashes
   * Previously appending using '+=' to an empty variable would result in a value
     starting with a space.  Now the initial space is only added if the variable
     already contains some value.  Similarly, appending an empty string does not
     add a trailing space.

Fix incompatibility issues between gnulib bundled with updated make fix issues
in w32 compat sources.

(From OE-Core rev: 4a5d4cf0cc8a4a6af76f23dd8a29627042230f98)

Signed-off-by: Jens Rehsack <sno@netbsd.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:49 +00:00
Michael Halstead
58cbf48376 yocto-uninative.inc: version 2.8 updates glibc to 2.31
Allow sstate use in Tumbleweed and other distros as they update glibc.

(From OE-Core rev: ccb374c279b260b1fd3460f6bfd1567240816055)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:49 +00:00
Tim Orling
838d91d459 libmodule-build-perl: upgrade 0.4229 -> 0.4231
Upstream release notes:
"
0.4231 - Wed Jan 29 08:47:56 CET 2020

  - Released 0.42_30 without code changes

0.42_30 - Wed Jul 31 13:15:39 CEST 2019

  - Add dependency on ExtUtils::PL2Bat
"

Add ptest RDEPENDS:
  - ExtUtils::Command::MM for t/compat.t
  - gcc, make didn't seem like enough for ptest, replace with
    packagegroup-core-buildessential which definitely works
  - perl-dev for EXTERN.h in t/xs.t

Add INSANE_SKIP dev-deps for the -ptest package because of perl-dev

Five tests from t/help.t are skipped because they are TODO

t/par.t is skipped because PAR::Dist (0.17+) is not present

t/ppm.t is skipped because "HTML support not installed"

All other tests pass.

(From OE-Core rev: 7c22dc2e34af2530a73f3af2876f0f5f5b65c7c8)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:49 +00:00
Jeremy Puhlman
fc77128b73 xorgproto: move pc files to libdir
We fixed this two years go:
http://lists.openembedded.org/pipermail/openembedded-core/2018-June/151922.html

However xorgproto moved to meson and uses pkgconfig module to generate the .pc
which does not provide a method of omitting the libdir, which now means any
pc generated from meson using the module will always be mulitlib incompatible.

(From OE-Core rev: fceed19bf1ab26adaea54edcc8af7f767a872269)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:48 +00:00
Jeremy Puhlman
579e59a6b5 binutils: fix multilib header difference
bfd_stdint.h encodes the name of the compiler in the header
which is different between mutlilibs. Remvoe target prefix to
make the headers match.

(From OE-Core rev: 62cd67ac4ca39edac3c57f648669f1427b6fe7dd)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:48 +00:00
Jeremy Puhlman
8f796d8e8e cups: make cups-config a multilib script
cups-config encodes the library dir in the script.

(From OE-Core rev: 0e19b25fbf1d760c06dd6a2cb8e291c7482330c4)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:48 +00:00
Jeremy Puhlman
4c745fb712 apr-util: add multilib script for apu-1-config
apu-1-config encodes library path in to script
27c27
< libdir="/usr/lib64"

(From OE-Core rev: 3682d0ca3ffeb84fd2f935a9c9b253e015c9e137)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:48 +00:00
Jeremy Puhlman
0101968aa8 apr: add mulitlib scripts apr-1-config, apr_rules.mk
apr_rules.mk encodes build options in to file
35c35
< CC=x86_64-montavista-linux-gcc  -m64 -march=nehalem -mtune=generic -mfpmath=sse -msse4.2 --sysroot=

(From OE-Core rev: 9cdfafe487fc5e7fecdc56a8fa5c3ea70829fb99)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:48 +00:00
Jeremy Puhlman
c897b60bca mesa: add fix for arm6
We have had similar problems with missing atomics on arm6 that arm5
has.

(From OE-Core rev: 3971b6278f88b7f780f6d03847c2fed6bfd98d8c)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:48 +00:00
Jeremy A. Puhlman
f4dd739113 libxcrypt: add native to BBCLASSEXTEND
buildtools-extended does not provide libcrypt, and some native
applications require it, like clang. While it would likely make sense to
include nativesdk-libxcrypt in the buildtools it would also likely make
sense to remove the dependancy on the host libcrypt for those
applications that need it.

(From OE-Core rev: 4fa12fac6d320723d08fa7ab1635f63fbe01ad4d)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:48 +00:00
Bruce Ashfield
018bf09f3f linux-yocto/5.2: update to v5.2.32
Updating linux-yocto/5.2 to the latest korg -stable release that comprises
the following commits:

    ef3886a722c8 Linux 5.2.32
    ce5a5accc87e dm thin: fix use-after-free in metadata_pre_commit_callback
    9aafc6574336 cifs: Fix memory allocation in __smb2_handle_cancelled_cmd()
    e177f6d8471e drm/amd/display: add default clocks if not able to fetch them
    dba8b53f1ef4 drm/dp_mst: Correct the bug in drm_dp_update_payload_part1()
    bd427585578d drm/radeon: fix r1xx/r2xx register checker for POT textures
    b56603ead990 drm/i915/fbc: Disable fbc by default on all glk+
    5ce9d8bdf796 drm/nouveau/kms/nv50-: Limit MST BPC to 8
    86bdcc48feb0 drm/nouveau/kms/nv50-: Store the bpc we're using in nv50_head_atom
    b039a9b6d8f4 drm/nouveau/kms/nv50-: Call outp_atomic_check_view() before handling PBN
    03e122dbc136 scsi: qla2xxx: Fix incorrect SFUB length used for Secure Flash Update MB Cmd
    8bf5409573de scsi: qla2xxx: Correctly retrieve and interpret active flash region
    7af719a2ca84 scsi: qla2xxx: Change discovery state before PLOGI
    1fea09aa4b42 scsi: qla2xxx: Added support for MPI and PEP regions for ISP28XX
    30205f999d12 scsi: qla2xxx: Initialize free_work before flushing it
    39ec6bc75116 scsi: qla2xxx: Ignore NULL pointer in tcm_qla2xxx_free_mcmd
    1f08dd5fa5c5 scsi: iscsi: Fix a potential deadlock in the timeout handler
    42a2fbbc708f dm thin: Flush data device before committing metadata
    56d35c21552b dm thin metadata: Add support for a pre-commit callback
    d658f6349a2f dm btree: increase rebalance threshold in __rebalance2()
    3aca6fce0d4e dm mpath: remove harmful bio-based optimization
    2363f92cde9c drm: meson: venc: cvbs: fix CVBS mode matching
    2878bba5052a dma-buf: Fix memory leak in sync_file_merge()
    b10d7f86b5ca vfio/pci: call irq_bypass_unregister_producer() before freeing irq
    099085c85deb ARM: tegra: Fix FLOW_CTLR_HALT register clobbering by tegra_resume()
    674f30df2798 ARM: dts: s3c64xx: Fix init order of clock providers
    7fe7993bd757 cifs: Fix retrieval of DFS referrals in cifs_mount()
    6fef05311f57 CIFS: Fix NULL pointer dereference in mid callback
    42d37a87a332 CIFS: Do not miss cancelled OPEN responses
    ca8deb792b01 CIFS: Close open handle after interrupted close
    df192003fb6b CIFS: Respect O_SYNC and O_DIRECT flags during reconnect
    40ae22555ce3 cifs: Don't display RDMA transport on reconnect
    969925ff652b cifs: smbd: Return -ECONNABORTED when trasnport is not in connected state
    82fe0b779a89 cifs: smbd: Return -EINVAL when the number of iovs exceeds SMBDIRECT_MAX_SGE
    d88fc76297a7 cifs: smbd: Add messages on RDMA session destroy and reconnection
    f1bede222a44 cifs: smbd: Only queue work for error recovery on memory registration
    118c2599caf3 cifs: smbd: Return -EAGAIN when transport is reconnecting
    2c3c6e2691ff rpmsg: glink: Free pending deferred work on remove
    7286d52aa88c rpmsg: glink: Don't send pending rx_done during remove
    eed61c8c6667 rpmsg: glink: Fix rpmsg_register_device err handling
    00b748a63488 rpmsg: glink: Put an extra reference during cleanup
    ebb78ad8b431 rpmsg: glink: Fix use after free in open_ack TIMEOUT case
    b3f09043fc81 rpmsg: glink: Fix reuse intents memory leak issue
    5bfb2ef7a181 rpmsg: glink: Set tail pointer to 0 at end of FIFO
    63045fa07fba xtensa: fix syscall_set_return_value
    9247f95643ef xtensa: fix TLB sanity checker
    c848ea0969ce gfs2: fix glock reference problem in gfs2_trans_remove_revoke
    eb30a9e18f47 xtensa: use MEMBLOCK_ALLOC_ANYWHERE for KASAN shadow map
    adff286a3be5 PCI: Apply Cavium ACS quirk to ThunderX2 and ThunderX3
    f28f30c5255c PCI: rcar: Fix missing MACCTLR register setting in initialization sequence
    cb5cb799bf0b PCI: Do not use bus number zero from EA capability
    d291c94f8e57 PCI/MSI: Fix incorrect MSI-X masking on resume
    eb24be2871ad PCI: Fix Intel ACS quirk UPDCR register address
    06ad330304d2 PCI: pciehp: Avoid returning prematurely from sysfs requests
    5d558c8b1439 PCI/PM: Always return devices to D0 when thawing
    84dfe86a3851 PCI/switchtec: Read all 64 bits of part_event_bitmap
    0db244d3995f mmc: block: Add CMD13 polling for MMC IOCTLS with R1B response
    845b2cbece34 mmc: block: Make card_busy_detect() a bit more generic
    5db0e71cbee1 libertas: make lbs_ibss_join_existing() return error code on rates overflow
    36e460a8c861 libertas: don't exit from lbs_ibss_join_existing() with RCU read lock held
    2aabb3fcd7fe libertas: Fix two buffer overflows at parsing bss descriptor
    8866a53c5e7a Linux 5.2.31
    33a9ecf23bdb hsr: fix a NULL pointer dereference in hsr_dev_xmit()
    c5eba532e308 gre: refetch erspan header from skb->data after pskb_may_pull()
    8477c46262fa tcp: Protect accesses to .ts_recent_stamp with {READ,WRITE}_ONCE()
    d46e87f84fd4 tcp: tighten acceptance of ACKs not matching a child socket
    06b27e9e4496 tcp: fix rejected syncookies due to stale timestamps
    d3ce127be5c7 net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup
    31ecfe259fba net: ipv6: add net argument to ip6_dst_lookup_flow
    1a45655b78c5 net/mlx5e: Query global pause state before setting prio2buffer
    10ac0045c8a7 tipc: fix ordering of tipc module init and exit routine
    f8089e38f286 tcp: md5: fix potential overestimation of TCP option space
    c9b8428b8b42 openvswitch: support asymmetric conntrack
    ab45bc5d7c6f net/tls: Fix return values to avoid ENOTSUPP
    aaa20d4352a1 net: thunderx: start phy before starting autonegotiation
    aebf8e234674 net: sched: fix dump qlen for sch_mq/sch_mqprio with NOLOCK subqueues
    876e02c6b8de net: ethernet: ti: cpsw: fix extra rx interrupt
    75b099157e3b net: dsa: fix flow dissection on Tx path
    b8c2a07d7fc9 net: bridge: deny dev_set_mac_address() when unregistering
    ef141fca118c mqprio: Fix out-of-bounds access in mqprio_dump
    a0484dba9932 inet: protect against too small mtu values.
    7d923144ef6e net_sched: validate TCA_KIND attribute in tc_chain_tmplt_add()
    c0f777b6c28d SUNRPC: Fix another issue with MIC buffer space
    cce35a47eb7c raid5: need to set STRIPE_HANDLE for batch head
    2b15565d1a62 workqueue: Fix missing kfree(rescuer) in destroy_workqueue()
    2fb67c1da0c0 blk-mq: make sure that line break can be printed
    588d5a85b106 ext4: fix a bug in ext4_wait_for_tail_page_commit
    87b234005394 splice: only read in as much information as there is pipe buffer space
    de86c841c81b rtc: disable uie before setting time and enable after
    d4e7102cc326 mm/shmem.c: cast the type of unmap_start to u64
    922a48c3e94d s390/kaslr: store KASLR offset for early dumps
    3b7d69248f06 s390/smp,vdso: fix ASCE handling
    546e9a689d3e firmware: qcom: scm: Ensure 'a0' status code is treated as signed
    a9b6310e93a4 ext4: work around deleting a file with i_nlink == 0 safely
    609a4e56145d mm: memcg/slab: wait for !root kmem_cache refcnt killing on root kmem_cache destruction
    3d5c91034234 mfd: rk808: Fix RK818 ID template
    fbac2f7aa1c3 mm, memfd: fix COW issue on MAP_PRIVATE and F_SEAL_FUTURE_WRITE mappings
    118197756683 powerpc: Fix vDSO clock_getres()
    9ba5c6dcb3b7 powerpc: Avoid clang warnings around setjmp and longjmp
    7c36247732a2 omap: pdata-quirks: remove openpandora quirks for mmc3 and wl1251
    1eff30510478 omap: pdata-quirks: revert pandora specific gpiod additions
    5dbe853560e4 iio: ad7949: fix channels mixups
    7df6007288fd iio: ad7949: kill pointless "readback"-handling code
    109dbc91c5a8 iio: imu: st_lsm6dsx: fix ODR check in st_lsm6dsx_write_raw
    6305866e630c iio: imu: st_lsm6dsx: move odr_table in st_lsm6dsx_sensor_settings
    9073b0be6589 scsi: lpfc: Fix bad ndlp ptr in xri aborted handling
    13f83b3a2688 reiserfs: fix extended attributes on the root directory
    e026fc523a75 ext4: Fix credit estimate for final inode freeing
    b09b4d152aa2 quota: fix livelock in dquot_writeback_dquots
    513bcf5ee8e0 seccomp: avoid overflow in implicit constant conversion
    ae57738ec38a ext2: check err when partial != NULL
    b7c24d8c06b8 quota: Check that quota is not dirty before release
    42e495b46f80 video/hdmi: Fix AVI bar unpack
    6739872abdfd powerpc/xive: Skip ioremap() of ESB pages for LSI interrupts
    7d55c5e73263 powerpc: Allow flush_icache_range to work across ranges >4GB
    be0cd7e9b258 powerpc/xive: Prevent page fault issues in the machine crash handler
    99d2164e4865 powerpc: Allow 64bit VDSO __kernel_sync_dicache to work across ranges >4GB
    f0f08beb3fa0 stm class: Lose the protocol driver when dropping its reference
    c0919315b735 ppdev: fix PPGETTIME/PPSETTIME ioctls
    86de25118e9c RDMA/core: Fix ib_dma_max_seg_size()
    f5aae41d4eac ARM: dts: omap3-tao3530: Fix incorrect MMC card detection GPIO polarity
    5cc72ba36683 mmc: host: omap_hsmmc: add code for special init of wl1251 to get rid of pandora_wl1251_init_card
    f15fa36b9c6b pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init
    da352a4b5493 pinctrl: samsung: Fix device node refcount leaks in init code
    738e8de6b8d2 pinctrl: samsung: Fix device node refcount leaks in S3C64xx wakeup controller init
    53149343fc98 pinctrl: samsung: Fix device node refcount leaks in Exynos wakeup controller init
    43cb61f4878b pinctrl: samsung: Add of_node_put() before return in error path
    72f6c3180468 pinctrl: armada-37xx: Fix irq mask access in armada_37xx_irq_set_type()
    e264e3ae1165 pinctrl: rza2: Fix gpio name typos
    61a4f44dc075 ACPI: PM: Avoid attaching ACPI PM domain to certain devices
    0a041ba2564a ACPI: bus: Fix NULL pointer check in acpi_bus_get_private_data()
    b56eca6bf2e4 ACPI: OSL: only free map once in osl.c
    2ba38c34447d ACPI / hotplug / PCI: Allocate resources directly under the non-hotplug bridge
    0a4cab60dde2 ACPI: LPSS: Add dmi quirk for skipping _DEP check for some device-links
    487afadea2fd ACPI: LPSS: Add LNXVIDEO -> BYT I2C1 to lpss_device_links
    9af85668040a ACPI: LPSS: Add LNXVIDEO -> BYT I2C7 to lpss_device_links
    e055c1890429 ACPI / utils: Move acpi_dev_get_first_match_dev() under CONFIG_ACPI
    5eac1d4c2450 ALSA: oxfw: fix return value in error path of isochronous resources reservation
    33e6efad9334 cpufreq: powernv: fix stack bloat and hard limit on number of CPUs
    7240e6e25891 PM / devfreq: Lock devfreq in trans_stat_show
    92741be9a736 intel_th: pci: Add Tiger Lake CPU support
    69d1163cd0f4 intel_th: pci: Add Ice Lake CPU support
    5ac267cabcd9 intel_th: Fix a double put_device() in error path
    a3784ad079c6 powerpc/perf: Disable trace_imc pmu
    08ded9339d52 cpuidle: teo: Fix "early hits" handling for disabled idle states
    30b23caa5deb cpuidle: teo: Consider hits and misses metrics of disabled states
    0df48241b6ab cpuidle: teo: Rename local variable in teo_select()
    db302e3bb162 cpuidle: teo: Ignore disabled idle states that are too deep
    ade564919a0c cpuidle: Do not unset the driver if it is there already
    f2a7f16026f9 media: cec.h: CEC_OP_REC_FLAG_ values were swapped
    342c964a9895 media: radio: wl1273: fix interrupt masking on release
    780fe9f19c38 media: bdisp: fix memleak on release
    348cecf72f8e s390/mm: properly clear _PAGE_NOEXEC bit when it is not supported
    9ec8636ef00a ar5523: check NULL before memcpy() in ar5523_cmd()
    6fc971f1d831 wil6210: check len before memcpy() calls
    ba29035eb4bc cgroup: pids: use atomic64_t for pids->limit
    873f0623fcbe blk-mq: avoid sysfs buffer overflow with too many CPU cores
    758af427f60f md: improve handling of bio with REQ_PREFLUSH in md_flush_request()
    3882ad8fadb0 ASoC: fsl_audmix: Add spin lock to protect tdms
    141bba39e422 ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report
    a99f0045c434 ASoC: rt5645: Fixed typo for buddy jack support.
    1ecdb55a6de6 ASoC: rt5645: Fixed buddy jack support.
    d78e1588f356 workqueue: Fix pwq ref leak in rescuer_thread()
    86226c42d8f7 workqueue: Fix spurious sanity check failures in destroy_workqueue()
    7b79872cb160 dm zoned: reduce overhead of backing device checks
    b7c4feffa872 dm writecache: handle REQ_FUA
    fa700de0abd2 hwrng: omap - Fix RNG wait loop timeout
    903867fe506a ovl: relax WARN_ON() on rename to self
    8b2e7fec9f26 ovl: fix corner case of non-unique st_dev;st_ino
    c73fe5396edf ovl: fix lookup failure on multi lower squashfs
    15fe8b7f7962 lib: raid6: fix awk build warnings
    b8f32a0e26fb rtlwifi: rtl8192de: Fix missing enable interrupt flag
    0917a96e2d3a rtlwifi: rtl8192de: Fix missing callback that tests for hw release of buffer
    32c6c1de1c05 rtlwifi: rtl8192de: Fix missing code to retrieve RX buffer address
    f1da748f078d btrfs: record all roots for rename exchange on a subvol
    017f00a09704 Btrfs: send, skip backreference walking for extents with many references
    f08e9d661548 btrfs: Remove btrfs_bio::flags member
    f01ca4344ffe btrfs: Avoid getting stuck during cyclic writebacks
    07383f0fced7 Btrfs: fix negative subv_writers counter and data space leak after buffered write
    69608bab8b1b Btrfs: fix metadata space leak on fixup worker failure to set range as delalloc
    6bab2f18b421 btrfs: use refcount_inc_not_zero in kill_all_nodes
    b703482bc2ec btrfs: check page->mapping when loading free space cache
    11b102bc593e iwlwifi: pcie: fix support for transmitting SKBs with fraglist
    7a569d85c92b usb: typec: fix use after free in typec_register_port()
    254d37011ab2 phy: renesas: rcar-gen3-usb2: Fix sysfs interface of "role"
    26593100f6a1 usb: dwc3: ep0: Clear started flag on completion
    d2e949f9d6c5 usb: dwc3: gadget: Clear started flag for non-IOC
    077399428186 usb: dwc3: gadget: Fix logical condition
    545da1614800 usb: dwc3: pci: add ID for the Intel Comet Lake -H variant
    393edc8f15ca virtio-balloon: fix managed page counts when migrating pages between zones
    15c579c3d104 virt_wifi: fix use-after-free in virt_wifi_newlink()
    3891c22e7b74 mtd: rawnand: Change calculating of position page containing BBM
    175a15f4c288 mtd: spear_smi: Fix Write Burst mode
    5738119a60ed brcmfmac: disable PCIe interrupts before bus reset
    ab35b8b9a235 EDAC/altera: Use fast register IO for S10 IRQs
    deda3f6b06dc tpm: add check after commands attribs tab allocation
    ebb7dae402e3 usb: mon: Fix a deadlock in usbmon between mmap and read
    650d955bc548 usb: core: urb: fix URB structure initialization function
    d54daa869ed5 USB: adutux: fix interface sanity check
    3e4a4cb54c04 usb: roles: fix a potential use after free
    14fa9bcb6a07 USB: serial: io_edgeport: fix epic endpoint lookup
    174f3783b4f0 USB: idmouse: fix interface sanity checks
    6facde75d1c8 USB: atm: ueagle-atm: add missing endpoint check
    b4972eba6831 iio: adc: ad7124: Enable internal reference
    b609ee0b3024 iio: adc: ad7606: fix reading unnecessary data from device
    bc27d17532dd iio: imu: inv_mpu6050: fix temperature reporting using bad unit
    edfeae1a5a70 iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting
    76a78a37799d iio: adis16480: Fix scales factors
    a8f0c5837cca iio: adis16480: Add debugfs_reg_access entry
    a02348d262b3 ARM: dts: pandora-common: define wl1251 as child node of mmc3
    43a05d85e421 interconnect: qcom: sdm845: Walk the list safely on node removal
    3ea35e60e8c8 xhci: make sure interrupts are restored to correct state
    0df691c29da9 xhci: handle some XHCI_TRUST_TX_LENGTH quirks cases as default behaviour.
    d10974513d17 xhci: Increase STS_HALT timeout in xhci_suspend()
    40ccc7fb3125 xhci: fix USB3 device initiated resume race with roothub autosuspend
    8f015d20b7d5 xhci: Fix memory leak in xhci_add_in_port()
    de53955ea0d3 usb: xhci: only set D3hot for pci device
    13d723a6c22c staging: gigaset: add endpoint-type sanity check
    ed9145e7d4a4 staging: gigaset: fix illegal free on probe errors
    a193faef6209 staging: gigaset: fix general protection fault on probe
    a48994561cab staging: vchiq: call unregister_chrdev_region() when driver registration fails
    38beaaec130c staging: rtl8712: fix interface sanity check
    238af85b081b staging: rtl8188eu: fix interface sanity check
    9517a9f133fd binder: fix incorrect calculation for num_valid
    a65c5b1d8762 usb: host: xhci-tegra: Correct phy enable sequence
    0da1ca92c578 usb: Allow USB device to be warm reset in suspended state
    fa74b02fa20f USB: documentation: flags on usb-storage versus UAS
    46f840a92233 USB: uas: heed CAPACITY_HEURISTICS
    9cc58d6fb42e USB: uas: honor flag to avoid CAPACITY16
    19ccc7083566 media: venus: remove invalid compat_ioctl32 handler
    6f4b7b312148 scsi: zfcp: trace channel log even for FCP command responses
    6975c6beb5f0 usb: gadget: pch_udc: fix use after free
    6f10fa4a113c rpmsg: char: release allocated memory
    f01eedaf4e09 mac80211: Do not send Layer 2 Update frame before authorization
    38b2d9bb7b57 libertas: fix a potential NULL pointer dereference
    2789290efc0b mwifiex: Fix heap overflow in mmwifiex_process_tdls_action_frame()
    fd820abb0696 Linux 5.2.30
    10f017c26642 spi: dw: Correct handling of native chipselect
    9e79f5ae512f spi: cadence: Correct handling of native chipselect
    db91ee312ada drm/sun4i: tcon: Set RGB DCLK min. divider based on hardware model
    9eeb986b4809 clk: samsung: exynos5420: Keep top G3D clocks enabled
    99232a68c619 block: fix "check bi_size overflow before merge"
    f54449c00a10 EDAC/ghes: Do not warn when incrementing refcount on 0
    4f18ed319605 ALSA: hda: Fix regression by strip mask fix
    a550c8d05657 io_uring: ensure req->submit is copied when req is deferred
    7b57a96cf3b7 Input: Fix memory leak in psxpad_spi_probe
    a006a5ae6b91 ALSA: hda: hdmi - fix pin setup on Tigerlake
    85435506e9e0 EDAC/ghes: Fix locking and memory barrier issues
    81a005d25b01 watchdog: aspeed: Fix clock behaviour for ast2600
    c3f6c163ac89 md/raid0: Fix an error message in raid0_make_request()
    e90488c1856c ALSA: hda - Fix pending unsol events at shutdown
    ac5a40962daf KVM: x86: fix out-of-bounds write in KVM_GET_EMULATED_CPUID (CVE-2019-19332)
    949540e93943 binder: Handle start==NULL in binder_update_page_range()
    75a11437a803 binder: Prevent repeated use of ->mmap() via NULL mapping
    e0a0299acecb binder: Fix race between mmap() and binder_alloc_print_pages()
    ba5d71130445 thermal: Fix deadlock in thermal thermal_zone_device_check
    cf162b1f1d6f iomap: Fix pipe page leakage during splicing
    1ede48d1d47e RDMA/qib: Validate ->show()/store() callbacks before calling them
    6df074625c15 can: ucan: fix non-atomic allocation in completion handler
    1233eadb99a9 spi: Fix NULL pointer when setting SPI_CS_HIGH for GPIO CS
    cad0ca361138 spi: Fix SPI_CS_HIGH setting when using native and GPIO CS
    25ac2d29646a spi: atmel: Fix CS high support
    efd56e6b1fbd spi: stm32-qspi: Fix kernel oops when unbinding driver
    dfbd2a22d8b1 spi: spi-fsl-qspi: Clear TDH bits in FLSHCR register
    d7e9115f21e0 spi: spi-fsl-qspi: change i.MX7D RX FIFO size
    76cde0d7ff39 crypto: ecdh - fix big endian bug in ECC library
    36759ce37925 crypto: ccp - fix uninitialized list head
    8ba8fa9fc2db crypto: geode-aes - switch to skcipher for cbc(aes) fallback
    86a44e8938be crypto: af_alg - cast ki_complete ternary op to int
    9ff009403999 crypto: atmel-aes - Fix IV handling when req->nbytes < ivsize
    2cbf74169383 crypto: crypto4xx - fix double-free in crypto4xx_destroy_sdr
    f6981b364dae KVM: x86: Grab KVM's srcu lock when setting nested state
    c08ddad72e7b KVM: x86: Remove a spurious export of a static function
    317fd0a0c93d KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES
    7f70f6380882 KVM: x86: do not modify masked bits of shared MSRs
    6384ad0ab29b KVM: arm/arm64: vgic: Don't rely on the wrong pending table
    bdcecb6dd8e8 KVM: nVMX: Always write vmcs02.GUEST_CR3 during nested VM-Enter
    3600a4189d12 KVM: PPC: Book3S HV: XIVE: Set kvm->arch.xive when VPs are allocated
    34e8d4a0ef05 KVM: PPC: Book3S HV: XIVE: Fix potential page leak on error path
    4ebdbf4ff503 KVM: PPC: Book3S HV: XIVE: Free previous EQ page when setting up a new one
    cc73381579f9 arm64: dts: exynos: Revert "Remove unneeded address space mapping for soc node"
    1d19cc75f715 drm/i810: Prevent underflow in ioctl
    16f54bf33fce drm: damage_helper: Fix race checking plane->state->fb
    20a0047cdca4 drm/msm: fix memleak on release
    6c34f27046e3 jbd2: Fix possible overflow in jbd2_log_space_left()
    5b1ab9f1a2c0 kernfs: fix ino wrap-around detection
    910116ce4349 nfsd: restore NFSv3 ACL support
    6589961e5ec7 nfsd: Ensure CLONE persists data and metadata changes to the target file
    574498a02845 tty: vt: keyboard: reject invalid keycodes
    c75342d33dd5 CIFS: Fix SMB2 oplock break processing
    c8c867906145 CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks
    2199093ff906 x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect
    4d34c238f6ee x86/mm/32: Sync only to VMALLOC_END in vmalloc_sync_all()
    64a582385b92 media: rc: mark input device as pointing stick
    70fd4e1972e8 coresight: etm4x: Fix input validation for sysfs.
    55c0be64071e Input: goodix - add upside-down quirk for Teclast X89 tablet
    2405495a00f8 Input: synaptics-rmi4 - don't increment rmiaddr for SMBus transfers
    868c29a7efd0 Input: synaptics-rmi4 - re-enable IRQs in f34v7_do_reflash
    0e606e3626e6 Input: synaptics - switch another X1 Carbon 6 to RMI/SMbus
    94adc53b2c47 ALSA: hda: Modify stream stripe mask only when needed
    a527c3df9f54 ALSA: hda - Add mute led support for HP ProBook 645 G4
    accc2add3da3 ALSA: pcm: oss: Avoid potential buffer overflows
    55f6418b7ae3 ALSA: hda/realtek - Dell headphone has noise on unmute for ALC236
    bbad17075fe3 ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop
    fcfb4bce22aa ALSA: hda/realtek - Enable internal speaker of ASUS UX431FLC
    83753976cfae fuse: verify attributes
    a6f6439eb10f fuse: verify nlink
    31aa652b9a69 i2c: core: fix use after free in of_i2c_notify
    92084c0b356d net: ep93xx_eth: fix mismatch of request_mem_region in remove
    f75cb980f0ab afs: Fix race in commit bulk status fetch
    26167b5cf5df net: hns3: fix ETS bandwidth validation bug
    037e0cbe8863 net: hns3: reallocate SSU' buffer size when pfc_en changes
    423f97775629 ravb: implement MTU change while device is up
    ba49aa6bccbb rsxx: add missed destroy_workqueue calls in remove
    6dbf3b9cc169 selftests: kvm: fix build with glibc >= 2.30
    334204bdbd89 drm/sun4i: tcon: Set min division of TCON0_DCLK to 1.
    d2001cf2e8d3 x86/resctrl: Fix potential lockdep warning
    7bf14c3c120b ALSA: pcm: Fix stream lock usage in snd_pcm_period_elapsed()
    57dbe72b9638 perf/core: Consistently fail fork on allocation failures
    24a8ce6100ab sched/pelt: Fix update of blocked PELT ordering
    cadf46055b6f sched/core: Avoid spurious lock dependencies
    b8a654dde72b Input: cyttsp4_core - fix use after free bug
    9bcb8316e536 block: check bi_size overflow before merge
    f05d37196a77 xfrm: release device reference for invalid state
    e630f0eab8b3 NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error
    14f8f24bfcbc ALSA: hda: Add Cometlake-S PCI ID
    85deda956139 ecryptfs: fix unlink and rmdir in face of underlying fs modifications
    7a7b13483234 audit_get_nd(): don't unlock parent too early
    6f26d186c431 exportfs_decode_fh(): negative pinned may become positive without the parent locked
    d5a9bd7dc9c2 cgroup: don't put ERR_PTR() into fc->root
    5490ae827b29 iwlwifi: pcie: don't consider IV len in A-MSDU
    5bc1282dfb21 RDMA/hns: Correct the value of srq_desc_size
    9b0df7c7e42c RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN
    bf7d03571100 MIPS: SGI-IP27: fix exception handler replication
    b578c711e5e7 autofs: fix a leak in autofs_expire_indirect()
    81559b396efa aio: Fix io_pgetevents() struct __compat_aio_sigset layout
    03bd68a92f82 signal: simplify set_user_sigmask/restore_user_sigmask
    88300b370dbc serial: ifx6x60: add missed pm_runtime_disable
    06eb5d963912 serial: serial_core: Perform NULL checks for break_ctl ops
    c811b133b3e7 serial: pl011: Fix DMA ->flush_buffer()
    d451358ffe85 tty: serial: msm_serial: Fix flow control
    5b10978724e0 tty: serial: fsl_lpuart: use the sg count from dma_map_sg
    c38c3a52315f usb: gadget: u_serial: add missing port entry locking
    b30c295d649b time: Zero the upper 32-bits in __kernel_timespec on 32-bit
    9f06fb5da07e lp: fix sparc64 LPSETTIMEOUT ioctl
    068341cb7952 sparc64: implement ioremap_uc
    932b771c65b6 arm64: tegra: Fix 'active-low' warning for Jetson TX1 regulator
    edc3ff235784 net: fec: fix clock count mis-match
    ed9b79600a5d platform/x86: hp-wmi: Fix ACPI errors caused by passing 0 as input size
    952328f5193b platform/x86: hp-wmi: Fix ACPI errors caused by too small buffer
    da62cf911005 HID: core: check whether Usage Page item is after Usage ID items
    fb85a234fc39 tipc: fix link name length check
    0867e153690e selftests: bpf: test_sockmap: handle file creation failures gracefully
    cd73a77a2288 net/tls: use sg_next() to walk sg entries
    55c1ea6758d8 net/tls: remove the dead inplace_crypto code
    c824b8c9957b net: skmsg: fix TLS 1.3 crash with full sk_msg
    45c795cbee84 net: sockmap: use bitmap for copy info
    c1c89460bda2 net/tls: free the record on encryption error
    1468022cc8f2 net/tls: take into account that bpf_exec_tx_verdict() may free the record
    a3157970686f openvswitch: remove another BUG_ON()
    bacb11535532 openvswitch: drop unneeded BUG_ON() in ovs_flow_cmd_build_info()
    744916544dba sctp: cache netns in sctp_ep_common
    f4312b9ba27c sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcook
    8d442143ccd4 openvswitch: fix flow command message size
    b834278b4d0a net: sched: fix `tc -s class show` no bstats on class with nolock subqueues
    2f47935914f8 net: psample: fix skb_over_panic
    8fc3ccb35fba net: macb: add missed tasklet_kill
    9243823cd73a net: dsa: sja1105: fix sja1105_parse_rgmii_delays()
    1e7ff496e195 mdio_bus: don't use managed reset-controller
    f458119c914d macvlan: schedule bc_work even if error
    442b4bac7514 xfrm: Fix memleak on xfrm state destroy
    d06561a292bf thunderbolt: Power cycle the router if NVM authentication fails
    97a4d0528c98 mei: me: add comet point V device id
    aa6a4bfabb1a mei: bus: prefix device names on bus with the bus name
    fb94cd58ee14 USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P
    33c6adbab912 staging: rtl8723bs: Add 024c:0525 to the list of SDIO device-ids
    34820fb849a8 staging: rtl8723bs: Drop ACPI device ids
    18ff3bb126fe staging: rtl8192e: fix potential use after free
    955068eb7918 staging: wilc1000: fix illegal memory access in wilc_parse_join_bss_param()
    afe6f4526509 usb: dwc2: use a longer core rest timeout in dwc2_core_reset()
    4b15bd43d8ed clk: at91: fix update bit maps on CFG_MOR write
    6ed6cd2d7f8a i40e: Fix for ethtool -m issue on X722 NIC
    ddcdd3cc96f1 i40e: Fix for missing "link modes" info in ethtool
    ae4d08f3a69b iavf: initialize ITRN registers with correct values
    12c0db2518f8 ice: fix potential infinite loop because loop counter being too small
    c105a4b2019d pwm: bcm-iproc: Prevent unloading the driver module while in use
    66f3f3c4da1e block: drbd: remove a stray unlock in __drbd_send_protocol()
    11748bed1eeb mac80211: fix station inactive_time shortly after boot
    2df48b15a9ca net/fq_impl: Switch to kvmalloc() for memory allocation
    1332a34432a5 ceph: return -EINVAL if given fsc mount option on kernel w/o support
    218333cf3e5b net: stmmac: xgmac: Disable Flow Control when 1 or more queues are in AV
    e8fec331b7e3 net: stmmac: xgmac: Fix TSA selection
    f7e0994188b2 net: stmmac: gmac4: bitrev32 returns u32
    d99d2e2d5c7d drm/amdgpu: add warning for GRBM 1-cycle delay issue in gfx9
    3db9d787fbbe net: mscc: ocelot: fix __ocelot_rmw_ix prototype
    23d1a942d638 net/mlx5e: Fix eswitch debug print of max fdb flow
    c26064b7eda5 drm/amdgpu: dont schedule jobs while in reset
    d61b5d11db4b net: bcmgenet: reapply manual settings to the PHY
    303f8e7b7d18 net: bcmgenet: use RGMII loopback for MAC reset
    82077751014a scripts/gdb: fix debugging modules compiled with hot/cold partitioning
    7b20840690f5 mm/gup_benchmark: fix MAP_HUGETLB case
    c7816d20058f ASoC: SOF: topology: Fix bytes control size checks
    1b3afeddab4a ARM: dts: stm32: Fix CAN RAM mapping on stm32mp157c
    4de26c8cbe50 ALSA: hda: hdmi - add Tigerlake support
    f43786eb3acb ASoC: stm32: sai: add restriction on mmap support
    36fa7d5299c2 watchdog: bd70528: Add MODULE_ALIAS to allow module auto loading
    f023dd202f6b watchdog: meson: Fix the wrong value of left time
    9054f01030f8 watchdog: pm8916_wdt: fix pretimeout registration flow
    2c25aa88640f nvme-multipath: fix crash in nvme_mpath_clear_ctrl_paths
    6fdb636145b0 nvme-rdma: fix a segmentation fault during module unload
    43bd0bf71860 can: mcp251x: mcp251x_restart_work_handler(): Fix potential force_quit race condition
    7091bcbccb6b perf scripting engines: Iterate on tep event arrays directly
    7371326920db x86/tsc: Respect tsc command line paraemeter for clocksource_tsc_early
    8efe12d76d7e can: flexcan: increase error counters if skb enqueueing via can_rx_offload_queue_sorted() fails
    4a3333ea25b1 can: rx-offload: can_rx_offload_irq_offload_fifo(): continue on error
    a26a27d53b40 can: rx-offload: can_rx_offload_irq_offload_timestamp(): continue on error
    39b89fc6625f can: rx-offload: can_rx_offload_offload_one(): use ERR_PTR() to propagate error value in case of errors
    f6b5da01db2f can: rx-offload: can_rx_offload_offload_one(): increment rx_fifo_errors on queue overflow or OOM
    acb9095493be can: rx-offload: can_rx_offload_offload_one(): do not increase the skb_queue beyond skb_queue_len_max
    189c1239632b can: rx-offload: can_rx_offload_queue_tail(): fix error handling, avoid skb mem leak
    7ac97e4ef4d9 can: c_can: D_CAN: c_can_chip_config(): perform a sofware reset on open
    1ac0d4885a34 can: peak_usb: report bus recovery as well
    b542266496fa stacktrace: Don't skip first entry on noncurrent tasks
    afe7ff5be406 bridge: ebtables: don't crash when using dnat target in output chains
    a19d86990335 netfilter: ipset: Fix nla_policies to fully support NL_VALIDATE_STRICT
    17db97a8e7d5 netfilter: ipset: Fix the last missing check of nla_parse_deprecated()
    5f4ada6390b6 net: fec: add missed clk_disable_unprepare in remove
    0b283b59a62f clk: ti: clkctrl: Fix failed to enable error with double udelay timeout
    b70eae1c4480 clk: ti: dra7-atl-clock: Remove ti_clk_add_alias call
    aab6b68e53eb ASoC: hdac_hda: fix race in device removal
    b23f8d6ca25f fbdev: c2p: Fix link failure on non-inlining
    51c019bf2c42 arm64: dts: zii-ultra: fix ARM regulator GPIO handle
    819ee4651182 x86/resctrl: Prevent NULL pointer dereference when reading mondata
    4d71464d5830 idr: Fix idr_alloc_u32 on 32-bit systems
    9956dbb774e4 idr: Fix integer overflow in idr_for_each_entry
    a530ec599a8a idr: Fix idr_get_next_ul race with idr_remove
    6909ddf4276c powerpc/bpf: Fix tail call implementation
    957928006316 samples/bpf: fix build by setting HAVE_ATTR_TEST to zero
    d3a556320b11 bpf: Allow narrow loads of bpf_sysctl fields with offset > 0
    4fd976da64d7 ARM: dts: sun8i-a83t-tbs-a711: Fix WiFi resume from suspend
    1d6d86b21245 clk: sunxi-ng: a80: fix the zero'ing of bits 16 and 18
    440f439c1041 clk: sunxi: Fix operator precedence in sunxi_divs_clk_setup
    b4c8fc7dcab9 clk: at91: avoid sleeping early
    c42ce4122e86 ASoC: ti: sdma-pcm: Add back the flags parameter for non standard dma names
    32ea5f2ae3b6 arm64: dts: imx8mm: fix compatible string for sdma
    4071d8976ac5 reset: fix reset_control_ops kerneldoc comment
    b178a6e8f8f3 soc: imx: gpc: fix initialiser format
    0a751a005ded ARM: dts: imx6qdl-sabreauto: Fix storm of accelerometer interrupts
    946654641741 pinctrl: cherryview: Allocate IRQ chip dynamic
    66c7b484cae0 clk: samsung: exynos5420: Preserve PLL configuration during suspend/resume
    30c758e0a731 arm64: dts: ls1028a: fix a compatible issue
    ba3e13683df7 ASoC: kirkwood: fix device remove ordering
    d7ee3bbc1085 ASoC: kirkwood: fix external clock probe defer
    7a754f5e5751 clk: samsung: exynos542x: Move G3D subsystem clocks to its sub-CMU
    2361cffc9775 clk: samsung: exynos5433: Fix error paths
    e1fc074e8178 reset: Fix memory leak in reset_control_array_put()
    b01838b0ca64 ASoC: compress: fix unsigned integer overflow check
    41360b33fec2 ASoC: msm8916-wcd-analog: Fix RX1 selection in RDAC2 MUX
    e7fc8cc79377 soundwire: intel: fix intel_register_dai PDI offsets and numbers
    82b111a092b1 clocksource/drivers/mediatek: Fix error handling
    85c26d3b879d thunderbolt: Fix lockdep circular locking depedency warning
    a41faef2aef6 thunderbolt: Read DP IN adapter first two dwords in one go
    0b4d76ea32e5 clk: at91: sam9x60: fix programmable clock
    3ac5085a98ba clk: meson: gxbb: let sar_adc_clk_div set the parent clock rate
    922eddf892e2 XArray: Fix xas_next() with a single entry at 0

(From OE-Core rev: 34278c33bf1f2f3a7810946ca07765014f228c9d)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:48 +00:00
Alexander Kanavin
5ec5a0edd8 libgpg-error: upgrade 1.36 -> 1.37
(From OE-Core rev: 1038aaee556f32516129a536772850e5a401a331)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-02-29 13:04:48 +00:00
3280 changed files with 181577 additions and 195973 deletions

4
.gitignore vendored
View File

@@ -8,6 +8,7 @@ pstage/
scripts/oe-git-proxy-socks
sources/
meta-*/
buildtools/
!meta-skeleton
!meta-selftest
hob-image-*.bb
@@ -29,4 +30,5 @@ hob-image-*.bb
pull-*/
bitbake/lib/toaster/contrib/tts/backlog.txt
bitbake/lib/toaster/contrib/tts/log/*
bitbake/lib/toaster/contrib/tts/.cache/*
bitbake/lib/toaster/contrib/tts/.cache/*
bitbake/lib/bb/tests/runqueue-tests/bitbake-cookerdaemon.log

35
Makefile Normal file
View File

@@ -0,0 +1,35 @@
# Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
DESTDIR = final
ifeq ($(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then echo 1; else echo 0; fi),0)
$(error "The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed")
endif
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile.sphinx clean publish
publish: Makefile.sphinx html singlehtml
rm -rf $(BUILDDIR)/$(DESTDIR)/
mkdir -p $(BUILDDIR)/$(DESTDIR)/
cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/
cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html
sed -i -e 's@index.html#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html
clean:
@rm -rf $(BUILDDIR)
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile.sphinx
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

View File

@@ -11,7 +11,7 @@ For information about Bitbake, see the OpenEmbedded website:
Bitbake plain documentation can be found under the doc directory or its integrated
html version at the Yocto Project website:
http://yoctoproject.org/documentation
https://docs.yoctoproject.org
Contributing
------------

View File

@@ -26,7 +26,7 @@ from bb.main import bitbake_main, BitBakeConfigParameters, BBMainException
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
__version__ = "1.44.0"
__version__ = "1.51.0"
if __name__ == "__main__":
if __version__ != bb.__version__:

48
bitbake/bin/bitbake-getvar Executable file
View File

@@ -0,0 +1,48 @@
#! /usr/bin/env python3
#
# Copyright (C) 2021 Richard Purdie
#
# SPDX-License-Identifier: GPL-2.0-only
#
import argparse
import io
import os
import sys
bindir = os.path.dirname(__file__)
topdir = os.path.dirname(bindir)
sys.path[0:0] = [os.path.join(topdir, 'lib')]
import bb.tinfoil
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Bitbake Query Variable")
parser.add_argument("variable", help="variable name to query")
parser.add_argument("-r", "--recipe", help="Recipe name to query", default=None, required=False)
parser.add_argument('-u', '--unexpand', help='Do not expand the value (with --value)', action="store_true")
parser.add_argument('-f', '--flag', help='Specify a variable flag to query (with --value)', default=None)
parser.add_argument('--value', help='Only report the value, no history and no variable name', action="store_true")
args = parser.parse_args()
if args.unexpand and not args.value:
print("--unexpand only makes sense with --value")
sys.exit(1)
if args.flag and not args.value:
print("--flag only makes sense with --value")
sys.exit(1)
with bb.tinfoil.Tinfoil(tracking=True) as tinfoil:
if args.recipe:
tinfoil.prepare(quiet=2)
d = tinfoil.parse_recipe(args.recipe)
else:
tinfoil.prepare(quiet=2, config_only=True)
d = tinfoil.config_data
if args.flag:
print(str(d.getVarFlag(args.variable, args.flag, expand=(not args.unexpand))))
elif args.value:
print(str(d.getVar(args.variable, expand=(not args.unexpand))))
else:
bb.data.emit_var(args.variable, d=d, all=True)

View File

@@ -151,9 +151,6 @@ def main():
func = getattr(args, 'func', None)
if func:
client = hashserv.create_client(args.address)
# Try to establish a connection to the server now to detect failures
# early
client.connect()
return func(args, client)

View File

@@ -30,9 +30,11 @@ def main():
"--bind [::1]:8686"'''
)
parser.add_argument('--bind', default=DEFAULT_BIND, help='Bind address (default "%(default)s")')
parser.add_argument('--database', default='./hashserv.db', help='Database file (default "%(default)s")')
parser.add_argument('--log', default='WARNING', help='Set logging level')
parser.add_argument('-b', '--bind', default=DEFAULT_BIND, help='Bind address (default "%(default)s")')
parser.add_argument('-d', '--database', default='./hashserv.db', help='Database file (default "%(default)s")')
parser.add_argument('-l', '--log', default='WARNING', help='Set logging level')
parser.add_argument('-u', '--upstream', help='Upstream hashserv to pull hashes from')
parser.add_argument('-r', '--read-only', action='store_true', help='Disallow write operations from clients')
args = parser.parse_args()
@@ -47,7 +49,7 @@ def main():
console.setLevel(level)
logger.addHandler(console)
server = hashserv.create_server(args.bind, args.database)
server = hashserv.create_server(args.bind, args.database, upstream=args.upstream, read_only=args.read_only)
server.serve_forever()
return 0

View File

@@ -14,7 +14,6 @@ import logging
import os
import sys
import argparse
import signal
bindir = os.path.dirname(__file__)
topdir = os.path.dirname(bindir)
@@ -26,7 +25,6 @@ import bb.msg
logger = bb.msg.logger_create('bitbake-layers', sys.stdout)
def main():
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
parser = argparse.ArgumentParser(
description="BitBake layers utility",
epilog="Use %(prog)s <subcommand> --help to get help on a specific command",

View File

@@ -18,6 +18,7 @@ except RuntimeError as exc:
sys.exit(str(exc))
tests = ["bb.tests.codeparser",
"bb.tests.color",
"bb.tests.cooker",
"bb.tests.cow",
"bb.tests.data",
@@ -26,6 +27,7 @@ tests = ["bb.tests.codeparser",
"bb.tests.parse",
"bb.tests.persist_data",
"bb.tests.runqueue",
"bb.tests.siggen",
"bb.tests.utils",
"hashserv.tests",
"layerindexlib.tests.layerindexobj",

52
bitbake/bin/bitbake-server Executable file
View File

@@ -0,0 +1,52 @@
#!/usr/bin/env python3
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright (C) 2020 Richard Purdie
#
import os
import sys
import warnings
import logging
sys.path.insert(0, os.path.join(os.path.dirname(os.path.dirname(sys.argv[0])), 'lib'))
if sys.getfilesystemencoding() != "utf-8":
sys.exit("Please use a locale setting which supports UTF-8 (such as LANG=en_US.UTF-8).\nPython can't change the filesystem locale after loading so we need a UTF-8 when Python starts or things won't work.")
# Users shouldn't be running this code directly
if len(sys.argv) != 10 or not sys.argv[1].startswith("decafbad"):
print("bitbake-server is meant for internal execution by bitbake itself, please don't use it standalone.")
sys.exit(1)
import bb.server.process
lockfd = int(sys.argv[2])
readypipeinfd = int(sys.argv[3])
logfile = sys.argv[4]
lockname = sys.argv[5]
sockname = sys.argv[6]
timeout = float(sys.argv[7])
xmlrpcinterface = (sys.argv[8], int(sys.argv[9]))
if xmlrpcinterface[0] == "None":
xmlrpcinterface = (None, xmlrpcinterface[1])
# Replace standard fds with our own
with open('/dev/null', 'r') as si:
os.dup2(si.fileno(), sys.stdin.fileno())
so = open(logfile, 'a+')
os.dup2(so.fileno(), sys.stdout.fileno())
os.dup2(so.fileno(), sys.stderr.fileno())
# Have stdout and stderr be the same so log output matches chronologically
# and there aren't two seperate buffers
sys.stderr = sys.stdout
logger = logging.getLogger("BitBake")
# Ensure logging messages get sent to the UI as events
handler = bb.event.LogHandler()
logger.addHandler(handler)
bb.server.process.execServer(lockfd, readypipeinfd, lockname, sockname, timeout, xmlrpcinterface)

View File

@@ -65,7 +65,6 @@ if 0:
format_str = "%(levelname)s: %(message)s"
conlogformat = bb.msg.BBLogFormatter(format_str)
consolelog = logging.FileHandler(logfilename)
bb.msg.addDefaultlogFilter(consolelog)
consolelog.setFormatter(conlogformat)
logger.addHandler(consolelog)
@@ -119,7 +118,9 @@ def worker_child_fire(event, d):
data = b"<event>" + pickle.dumps(event) + b"</event>"
try:
worker_pipe_lock.acquire()
worker_pipe.write(data)
while(len(data)):
written = worker_pipe.write(data)
data = data[written:]
worker_pipe_lock.release()
except IOError:
sigterm_handler(None, None)
@@ -149,11 +150,15 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
taskdep = workerdata["taskdeps"][fn]
if 'umask' in taskdep and taskname in taskdep['umask']:
umask = taskdep['umask'][taskname]
elif workerdata["umask"]:
umask = workerdata["umask"]
if umask:
# umask might come in as a number or text string..
try:
umask = int(taskdep['umask'][taskname],8)
umask = int(umask, 8)
except TypeError:
umask = taskdep['umask'][taskname]
pass
dry_run = cfg.dry_run or dry_run_exec
@@ -168,7 +173,7 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
fakedirs = (workerdata["fakerootdirs"][fn] or "").split()
for p in fakedirs:
bb.utils.mkdirhier(p)
logger.debug(2, 'Running %s:%s under fakeroot, fakedirs: %s' %
logger.debug2('Running %s:%s under fakeroot, fakedirs: %s' %
(fn, taskname, ', '.join(fakedirs)))
else:
envvars = (workerdata["fakerootnoenv"][fn] or "").split()
@@ -322,7 +327,9 @@ class runQueueWorkerPipe():
end = len(self.queue)
index = self.queue.find(b"</event>")
while index != -1:
worker_fire_prepickled(self.queue[:index+8])
msg = self.queue[:index+8]
assert msg.startswith(b"<event>") and msg.count(b"<event>") == 1
worker_fire_prepickled(msg)
self.queue = self.queue[index+8:]
index = self.queue.find(b"</event>")
return (end > start)
@@ -414,9 +421,9 @@ class BitbakeWorker(object):
def handle_workerdata(self, data):
self.workerdata = pickle.loads(data)
bb.msg.loggerDefaultDebugLevel = self.workerdata["logdefaultdebug"]
bb.msg.loggerDefaultVerbose = self.workerdata["logdefaultverbose"]
bb.msg.loggerVerboseLogs = self.workerdata["logdefaultverboselogs"]
bb.build.verboseShellLogging = self.workerdata["build_verbose_shell"]
bb.build.verboseStdoutLogging = self.workerdata["build_verbose_stdout"]
bb.msg.loggerDefaultLogLevel = self.workerdata["logdefaultlevel"]
bb.msg.loggerDefaultDomains = self.workerdata["logdefaultdomain"]
for mc in self.databuilder.mcdata:
self.databuilder.mcdata[mc].setVar("PRSERV_HOST", self.workerdata["prhost"])

View File

@@ -1,519 +0,0 @@
#!/usr/bin/env python3
#
# Copyright (C) 2005 Holger Hans Peter Freyther
#
# SPDX-License-Identifier: GPL-2.0-only
#
import optparse, os, sys
# bitbake
sys.path.append(os.path.join(os.path.dirname(os.path.dirname(__file__), 'lib'))
import bb
import bb.parse
from string import split, join
__version__ = "0.0.2"
class HTMLFormatter:
"""
Simple class to help to generate some sort of HTML files. It is
quite inferior solution compared to docbook, gtkdoc, doxygen but it
should work for now.
We've a global introduction site (index.html) and then one site for
the list of keys (alphabetical sorted) and one for the list of groups,
one site for each key with links to the relations and groups.
index.html
all_keys.html
all_groups.html
groupNAME.html
keyNAME.html
"""
def replace(self, text, *pairs):
"""
From pydoc... almost identical at least
"""
while pairs:
(a, b) = pairs[0]
text = join(split(text, a), b)
pairs = pairs[1:]
return text
def escape(self, text):
"""
Escape string to be conform HTML
"""
return self.replace(text,
('&', '&amp;'),
('<', '&lt;' ),
('>', '&gt;' ) )
def createNavigator(self):
"""
Create the navgiator
"""
return """<table class="navigation" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="g" href="index.html">Home</a></td>
<td><a accesskey="n" href="all_groups.html">Groups</a></td>
<td><a accesskey="u" href="all_keys.html">Keys</a></td>
</tr></table>
"""
def relatedKeys(self, item):
"""
Create HTML to link to foreign keys
"""
if len(item.related()) == 0:
return ""
txt = "<p><b>See also:</b><br>"
txts = []
for it in item.related():
txts.append("""<a href="key%(it)s.html">%(it)s</a>""" % vars() )
return txt + ",".join(txts)
def groups(self, item):
"""
Create HTML to link to related groups
"""
if len(item.groups()) == 0:
return ""
txt = "<p><b>See also:</b><br>"
txts = []
for group in item.groups():
txts.append( """<a href="group%s.html">%s</a> """ % (group, group) )
return txt + ",".join(txts)
def createKeySite(self, item):
"""
Create a site for a key. It contains the header/navigator, a heading,
the description, links to related keys and to the groups.
"""
return """<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Key %s</title></head>
<link rel="stylesheet" href="style.css" type="text/css">
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
%s
<h2><span class="refentrytitle">%s</span></h2>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<p>
%s
</p>
</div>
<div class="refsynopsisdiv">
<h2>Related Keys</h2>
<p>
%s
</p>
</div>
<div class="refsynopsisdiv">
<h2>Groups</h2>
<p>
%s
</p>
</div>
</body>
""" % (item.name(), self.createNavigator(), item.name(),
self.escape(item.description()), self.relatedKeys(item), self.groups(item))
def createGroupsSite(self, doc):
"""
Create the Group Overview site
"""
groups = ""
sorted_groups = sorted(doc.groups())
for group in sorted_groups:
groups += """<a href="group%s.html">%s</a><br>""" % (group, group)
return """<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Group overview</title></head>
<link rel="stylesheet" href="style.css" type="text/css">
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
%s
<h2>Available Groups</h2>
%s
</body>
""" % (self.createNavigator(), groups)
def createIndex(self):
"""
Create the index file
"""
return """<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Bitbake Documentation</title></head>
<link rel="stylesheet" href="style.css" type="text/css">
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
%s
<h2>Documentation Entrance</h2>
<a href="all_groups.html">All available groups</a><br>
<a href="all_keys.html">All available keys</a><br>
</body>
""" % self.createNavigator()
def createKeysSite(self, doc):
"""
Create Overview of all avilable keys
"""
keys = ""
sorted_keys = sorted(doc.doc_keys())
for key in sorted_keys:
keys += """<a href="key%s.html">%s</a><br>""" % (key, key)
return """<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Key overview</title></head>
<link rel="stylesheet" href="style.css" type="text/css">
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
%s
<h2>Available Keys</h2>
%s
</body>
""" % (self.createNavigator(), keys)
def createGroupSite(self, gr, items, _description = None):
"""
Create a site for a group:
Group the name of the group, items contain the name of the keys
inside this group
"""
groups = ""
description = ""
# create a section with the group descriptions
if _description:
description += "<h2 Description of Grozp %s</h2>" % gr
description += _description
items.sort(lambda x, y:cmp(x.name(), y.name()))
for group in items:
groups += """<a href="key%s.html">%s</a><br>""" % (group.name(), group.name())
return """<!doctype html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Group %s</title></head>
<link rel="stylesheet" href="style.css" type="text/css">
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
%s
%s
<div class="refsynopsisdiv">
<h2>Keys in Group %s</h2>
<pre class="synopsis">
%s
</pre>
</div>
</body>
""" % (gr, self.createNavigator(), description, gr, groups)
def createCSS(self):
"""
Create the CSS file
"""
return """.synopsis, .classsynopsis
{
background: #eeeeee;
border: solid 1px #aaaaaa;
padding: 0.5em;
}
.programlisting
{
background: #eeeeff;
border: solid 1px #aaaaff;
padding: 0.5em;
}
.variablelist
{
padding: 4px;
margin-left: 3em;
}
.variablelist td:first-child
{
vertical-align: top;
}
table.navigation
{
background: #ffeeee;
border: solid 1px #ffaaaa;
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.navigation a
{
color: #770000;
}
.navigation a:visited
{
color: #550000;
}
.navigation .title
{
font-size: 200%;
}
div.refnamediv
{
margin-top: 2em;
}
div.gallery-float
{
float: left;
padding: 10px;
}
div.gallery-float img
{
border-style: none;
}
div.gallery-spacer
{
clear: both;
}
a
{
text-decoration: none;
}
a:hover
{
text-decoration: underline;
color: #FF0000;
}
"""
class DocumentationItem:
"""
A class to hold information about a configuration
item. It contains the key name, description, a list of related names,
and the group this item is contained in.
"""
def __init__(self):
self._groups = []
self._related = []
self._name = ""
self._desc = ""
def groups(self):
return self._groups
def name(self):
return self._name
def description(self):
return self._desc
def related(self):
return self._related
def setName(self, name):
self._name = name
def setDescription(self, desc):
self._desc = desc
def addGroup(self, group):
self._groups.append(group)
def addRelation(self, relation):
self._related.append(relation)
def sort(self):
self._related.sort()
self._groups.sort()
class Documentation:
"""
Holds the documentation... with mappings from key to items...
"""
def __init__(self):
self.__keys = {}
self.__groups = {}
def insert_doc_item(self, item):
"""
Insert the Doc Item into the internal list
of representation
"""
item.sort()
self.__keys[item.name()] = item
for group in item.groups():
if not group in self.__groups:
self.__groups[group] = []
self.__groups[group].append(item)
self.__groups[group].sort()
def doc_item(self, key):
"""
Return the DocumentationInstance describing the key
"""
try:
return self.__keys[key]
except KeyError:
return None
def doc_keys(self):
"""
Return the documented KEYS (names)
"""
return self.__keys.keys()
def groups(self):
"""
Return the names of available groups
"""
return self.__groups.keys()
def group_content(self, group_name):
"""
Return a list of keys/names that are in a specefic
group or the empty list
"""
try:
return self.__groups[group_name]
except KeyError:
return []
def parse_cmdline(args):
"""
Parse the CMD line and return the result as a n-tuple
"""
parser = optparse.OptionParser( version = "Bitbake Documentation Tool Core version %s, %%prog version %s" % (bb.__version__, __version__))
usage = """%prog [options]
Create a set of html pages (documentation) for a bitbake.conf....
"""
# Add the needed options
parser.add_option( "-c", "--config", help = "Use the specified configuration file as source",
action = "store", dest = "config", default = os.path.join("conf", "documentation.conf") )
parser.add_option( "-o", "--output", help = "Output directory for html files",
action = "store", dest = "output", default = "html/" )
parser.add_option( "-D", "--debug", help = "Increase the debug level",
action = "count", dest = "debug", default = 0 )
parser.add_option( "-v", "--verbose", help = "output more chit-char to the terminal",
action = "store_true", dest = "verbose", default = False )
options, args = parser.parse_args( sys.argv )
bb.msg.init_msgconfig(options.verbose, options.debug)
return options.config, options.output
def main():
"""
The main Method
"""
(config_file, output_dir) = parse_cmdline( sys.argv )
# right to let us load the file now
try:
documentation = bb.parse.handle( config_file, bb.data.init() )
except IOError:
bb.fatal( "Unable to open %s" % config_file )
except bb.parse.ParseError:
bb.fatal( "Unable to parse %s" % config_file )
if isinstance(documentation, dict):
documentation = documentation[""]
# Assuming we've the file loaded now, we will initialize the 'tree'
doc = Documentation()
# defined states
state_begin = 0
state_see = 1
state_group = 2
for key in bb.data.keys(documentation):
data = documentation.getVarFlag(key, "doc", False)
if not data:
continue
# The Documentation now starts
doc_ins = DocumentationItem()
doc_ins.setName(key)
tokens = data.split(' ')
state = state_begin
string= ""
for token in tokens:
token = token.strip(',')
if not state == state_see and token == "@see":
state = state_see
continue
elif not state == state_group and token == "@group":
state = state_group
continue
if state == state_begin:
string += " %s" % token
elif state == state_see:
doc_ins.addRelation(token)
elif state == state_group:
doc_ins.addGroup(token)
# set the description
doc_ins.setDescription(string)
doc.insert_doc_item(doc_ins)
# let us create the HTML now
bb.utils.mkdirhier(output_dir)
os.chdir(output_dir)
# Let us create the sites now. We do it in the following order
# Start with the index.html. It will point to sites explaining all
# keys and groups
html_slave = HTMLFormatter()
f = file('style.css', 'w')
print >> f, html_slave.createCSS()
f = file('index.html', 'w')
print >> f, html_slave.createIndex()
f = file('all_groups.html', 'w')
print >> f, html_slave.createGroupsSite(doc)
f = file('all_keys.html', 'w')
print >> f, html_slave.createKeysSite(doc)
# now for each group create the site
for group in doc.groups():
f = file('group%s.html' % group, 'w')
print >> f, html_slave.createGroupSite(group, doc.group_content(group))
# now for the keys
for key in doc.doc_keys():
f = file('key%s.html' % doc.doc_item(key).name(), 'w')
print >> f, html_slave.createKeySite(doc.doc_item(key))
if __name__ == "__main__":
main()

View File

@@ -8,12 +8,13 @@
#
HELP="
Usage: source toaster start|stop [webport=<address:port>] [noweb] [nobuild] [toasterdir]
Usage 1: source toaster start|stop [webport=<address:port>] [noweb] [nobuild] [toasterdir]
Optional arguments:
[nobuild] Setup the environment for capturing builds with toaster but disable managed builds
[noweb] Setup the environment for capturing builds with toaster but don't start the web server
[webport] Set the development server (default: localhost:8000)
[toasterdir] Set absolute path to be used as TOASTER_DIR (default: BUILDDIR/../)
Usage 2: source toaster manage [createsuperuser|lsupdates|migrate|makemigrations|checksettings|collectstatic|...]
"
custom_extention()
@@ -208,13 +209,21 @@ for param in $*; do
toasterdir=*)
TOASTERDIR="${param#*=}"
;;
manage )
CMD=$param
manage_cmd=""
;;
--help)
echo "$HELP"
return 0
;;
*)
echo "$HELP"
return 1
if [ "manage" == "$CMD" ] ; then
manage_cmd="$manage_cmd $param"
else
echo "$HELP"
exit 1
fi
;;
esac
@@ -306,6 +315,10 @@ case $CMD in
stop_system
echo "Successful ${CMD}."
;;
manage )
cd $BBBASEDIR/lib/toaster
$MANAGE $manage_cmd
;;
esac
custom_extention toaster_postpend $CMD $ADDR_PORT

View File

@@ -0,0 +1,13 @@
{
"version": 1,
"loggers": {
"BitBake.SigGen.HashEquiv": {
"level": "VERBOSE",
"handlers": ["BitBake.verbconsole"]
},
"BitBake.RunQueue.HashEquiv": {
"level": "VERBOSE",
"handlers": ["BitBake.verbconsole"]
}
}
}

View File

@@ -0,0 +1,89 @@
#! /usr/bin/env python3
#
# Copyright (C) 2020 Joshua Watt <JPEWhacker@gmail.com>
#
# SPDX-License-Identifier: MIT
import argparse
import os
import random
import shutil
import signal
import subprocess
import sys
import time
def try_unlink(path):
try:
os.unlink(path)
except:
pass
def main():
def cleanup():
shutil.rmtree("tmp/cache", ignore_errors=True)
try_unlink("bitbake-cookerdaemon.log")
try_unlink("bitbake.sock")
try_unlink("bitbake.lock")
parser = argparse.ArgumentParser(
description="Bitbake parser torture test",
epilog="""
A torture test for bitbake's parser. Repeatedly interrupts parsing until
bitbake decides to deadlock.
""",
)
args = parser.parse_args()
if not "BUILDDIR" in os.environ:
print(
"'BUILDDIR' not found in the environment. Did you initialize the build environment?"
)
return 1
os.chdir(os.environ["BUILDDIR"])
run_num = 0
while True:
if run_num % 100 == 0:
print("Calibrating wait time...")
cleanup()
start_time = time.monotonic()
r = subprocess.run(["bitbake", "-p"])
max_wait_time = time.monotonic() - start_time
if r.returncode != 0:
print("Calibration run exited with %d" % r.returncode)
return 1
print("Maximum wait time is %f seconds" % max_wait_time)
run_num += 1
wait_time = random.random() * max_wait_time
print("Run #%d" % run_num)
print("Will sleep for %f seconds" % wait_time)
cleanup()
with subprocess.Popen(["bitbake", "-p"]) as proc:
time.sleep(wait_time)
proc.send_signal(signal.SIGINT)
try:
proc.wait(45)
except subprocess.TimeoutExpired:
print("Run #%d: Waited too long. Possible deadlock!" % run_num)
proc.wait()
return 1
if proc.returncode == 0:
print("Exited successfully. Timeout too long?")
else:
print("Exited with %d" % proc.returncode)
if __name__ == "__main__":
sys.exit(main())

View File

@@ -0,0 +1,19 @@
# SPDX-License-Identifier: MIT
#
# Copyright (c) 2021 Joshua Watt <JPEWhacker@gmail.com>
#
# Dockerfile to build a bitbake hash equivalence server container
#
# From the root of the bitbake repository, run:
#
# docker build -f contrib/hashserv/Dockerfile .
#
FROM alpine:3.13.1
RUN apk add --no-cache python3
COPY bin/bitbake-hashserv /opt/bbhashserv/bin/
COPY lib/hashserv /opt/bbhashserv/lib/hashserv/
ENTRYPOINT ["/opt/bbhashserv/bin/bitbake-hashserv"]

View File

@@ -0,0 +1,18 @@
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@@ -6,12 +6,12 @@
"
" This sets up the syntax highlighting for BitBake files, like .bb, .bbclass and .inc
if &compatible || version < 600
if &compatible || version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
" .bb, .bbappend and .bbclass
au BufNewFile,BufRead *.{bb,bbappend,bbclass} set filetype=bitbake
au BufNewFile,BufRead *.{bb,bbappend,bbclass} set filetype=bitbake
" .inc
au BufNewFile,BufRead *.inc set filetype=bitbake

View File

@@ -1,2 +1,13 @@
set sts=4 sw=4 et
set cms=#%s
" Only do this when not done yet for this buffer
if exists("b:did_ftplugin")
finish
endif
" Don't load another plugin for this buffer
let b:did_ftplugin = 1
let b:undo_ftplugin = "setl cms< sts< sw< et< sua<"
setlocal commentstring=#\ %s
setlocal softtabstop=4 shiftwidth=4 expandtab
setlocal suffixesadd+=.bb,.bbclass

14
bitbake/contrib/vim/plugin/newbb.vim Executable file → Normal file
View File

@@ -10,7 +10,7 @@
"
" Will try to use git to find the user name and email
if &compatible || v:version < 600
if &compatible || v:version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
@@ -25,7 +25,7 @@ endfun
fun! <SID>GetUserEmail()
let l:user_email = system("git config --get user.email")
if v:shell_error
return "unknow@user.org"
return "unknown@user.org"
else
return substitute(l:user_email, "\n", "", "")
endfun
@@ -41,6 +41,10 @@ fun! BBHeader()
endfun
fun! NewBBTemplate()
if line2byte(line('$') + 1) != -1
return
endif
let l:paste = &paste
set nopaste
@@ -48,7 +52,7 @@ fun! NewBBTemplate()
call BBHeader()
" New the bb template
put ='DESCRIPTION = \"\"'
put ='SUMMARY = \"\"'
put ='HOMEPAGE = \"\"'
put ='LICENSE = \"\"'
put ='SECTION = \"\"'
@@ -58,7 +62,7 @@ fun! NewBBTemplate()
" Go to the first place to edit
0
/^DESCRIPTION =/
/^SUMMARY =/
exec "normal 2f\""
if paste == 1
@@ -76,7 +80,7 @@ if v:progname =~ "vimdiff"
endif
augroup NewBB
au BufNewFile *.bb
au BufNewFile,BufReadPost *.bb
\ if g:bb_create_on_empty |
\ call NewBBTemplate() |
\ endif

View File

@@ -0,0 +1,46 @@
" Vim plugin file
" Purpose: Create a template for new bbappend file
" Author: Joshua Watt <JPEWhacker@gmail.com>
" Copyright: Copyright (C) 2017 Joshua Watt <JPEWhacker@gmail.com>
"
" This file is licensed under the MIT license, see COPYING.MIT in
" this source distribution for the terms.
"
if &compatible || v:version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
fun! NewBBAppendTemplate()
if line2byte(line('$') + 1) != -1
return
endif
let l:paste = &paste
set nopaste
" New bbappend template
0 put ='FILESEXTRAPATHS_prepend := \"${THISDIR}/${PN}:\"'
2
if paste == 1
set paste
endif
endfun
if !exists("g:bb_create_on_empty")
let g:bb_create_on_empty = 1
endif
" disable in case of vimdiff
if v:progname =~ "vimdiff"
let g:bb_create_on_empty = 0
endif
augroup NewBBAppend
au BufNewFile,BufReadPost *.bbappend
\ if g:bb_create_on_empty |
\ call NewBBAppendTemplate() |
\ endif
augroup END

View File

@@ -12,7 +12,7 @@
"
" It's an entirely new type, just has specific syntax in shell and python code
if &compatible || v:version < 600
if &compatible || v:version < 600 || exists("b:loaded_bitbake_plugin")
finish
endif
if exists("b:current_syntax")
@@ -58,8 +58,8 @@ syn match bbVarValue ".*$" contained contains=bbString,bbVarDeref,bbV
syn region bbVarPyValue start=+${@+ skip=+\\$+ end=+}+ contained contains=@python
" Vars metadata flags
syn match bbVarFlagDef "^\([a-zA-Z0-9\-_\.]\+\)\(\[[a-zA-Z0-9\-_\.]\+\]\)\@=" contains=bbIdentifier nextgroup=bbVarFlagFlag
syn region bbVarFlagFlag matchgroup=bbArrayBrackets start="\[" end="\]\s*\(=\|+=\|=+\|?=\)\@=" contained contains=bbIdentifier nextgroup=bbVarEq
syn match bbVarFlagDef "^\([a-zA-Z0-9\-_\.]\+\)\(\[[a-zA-Z0-9\-_\.+]\+\]\)\@=" contains=bbIdentifier nextgroup=bbVarFlagFlag
syn region bbVarFlagFlag matchgroup=bbArrayBrackets start="\[" end="\]\s*\(:=\|=\|.=\|=.|+=\|=+\|?=\)\@=" contained contains=bbIdentifier nextgroup=bbVarEq
" Includes and requires
syn keyword bbInclude inherit include require contained
@@ -67,15 +67,15 @@ syn match bbIncludeRest ".*$" contained contains=bbString,bbVarDeref
syn match bbIncludeLine "^\(inherit\|include\|require\)\s\+" contains=bbInclude nextgroup=bbIncludeRest
" Add taks and similar
syn keyword bbStatement addtask addhandler after before EXPORT_FUNCTIONS contained
syn keyword bbStatement addtask deltask addhandler after before EXPORT_FUNCTIONS contained
syn match bbStatementRest ".*$" skipwhite contained contains=bbStatement
syn match bbStatementLine "^\(addtask\|addhandler\|after\|before\|EXPORT_FUNCTIONS\)\s\+" contains=bbStatement nextgroup=bbStatementRest
syn match bbStatementLine "^\(addtask\|deltask\|addhandler\|after\|before\|EXPORT_FUNCTIONS\)\s\+" contains=bbStatement nextgroup=bbStatementRest
" OE Important Functions
syn keyword bbOEFunctions do_fetch do_unpack do_patch do_configure do_compile do_stage do_install do_package contained
" Generic Functions
syn match bbFunction "\h[0-9A-Za-z_-]*" display contained contains=bbOEFunctions
syn match bbFunction "\h[0-9A-Za-z_\-\.]*" display contained contains=bbOEFunctions
" BitBake shell metadata
syn include @shell syntax/sh.vim
@@ -83,7 +83,7 @@ if exists("b:current_syntax")
unlet b:current_syntax
endif
syn keyword bbShFakeRootFlag fakeroot contained
syn match bbShFuncDef "^\(fakeroot\s*\)\?\([0-9A-Za-z_${}-]\+\)\(python\)\@<!\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbFunction,bbVarDeref,bbDelimiter nextgroup=bbShFuncRegion skipwhite
syn match bbShFuncDef "^\(fakeroot\s*\)\?\([\.0-9A-Za-z_${}\-\.]\+\)\(python\)\@<!\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbFunction,bbVarDeref,bbDelimiter nextgroup=bbShFuncRegion skipwhite
syn region bbShFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" contained contains=@shell
" Python value inside shell functions
@@ -91,7 +91,7 @@ syn region shDeref start=+${@+ skip=+\\$+ excludenl end=+}+ contained co
" BitBake python metadata
syn keyword bbPyFlag python contained
syn match bbPyFuncDef "^\(python\s\+\)\([0-9A-Za-z_${}-]\+\)\?\(\s*()\s*\)\({\)\@=" contains=bbPyFlag,bbFunction,bbVarDeref,bbDelimiter nextgroup=bbPyFuncRegion skipwhite
syn match bbPyFuncDef "^\(fakeroot\s*\)\?\(python\)\(\s\+[0-9A-Za-z_${}\-\.]\+\)\?\(\s*()\s*\)\({\)\@=" contains=bbShFakeRootFlag,bbPyFlag,bbFunction,bbVarDeref,bbDelimiter nextgroup=bbPyFuncRegion skipwhite
syn region bbPyFuncRegion matchgroup=bbDelimiter start="{\s*$" end="^}\s*$" contained contains=@python
" BitBake 'def'd python functions

1
bitbake/doc/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
_build/

View File

@@ -1,91 +1,35 @@
# This is a single Makefile to handle all generated BitBake documents.
# The Makefile needs to live in the documentation directory and all figures used
# in any manuals must be .PNG files and live in the individual book's figures
# directory.
#
# The Makefile has these targets:
#
# pdf: generates a PDF version of a manual.
# html: generates an HTML version of a manual.
# tarball: creates a tarball for the doc files.
# validate: validates
# clean: removes files
#
# The Makefile generates an HTML version of every document. The
# variable DOC indicates the folder name for a given manual.
#
# To build a manual, you must invoke 'make' with the DOC argument.
#
# Examples:
#
# make DOC=bitbake-user-manual
# make pdf DOC=bitbake-user-manual
#
# The first example generates the HTML version of the User Manual.
# The second example generates the PDF version of the User Manual.
# Minimal makefile for Sphinx documentation
#
ifeq ($(DOC),bitbake-user-manual)
XSLTOPTS = --stringparam html.stylesheet bitbake-user-manual-style.css \
--stringparam chapter.autolabel 1 \
--stringparam section.autolabel 1 \
--stringparam section.label.includes.component.label 1 \
--xinclude
ALLPREQ = html tarball
TARFILES = bitbake-user-manual-style.css bitbake-user-manual.html figures/bitbake-title.png
MANUALS = $(DOC)/$(DOC).html
FIGURES = figures
STYLESHEET = $(DOC)/*.css
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -j auto
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build
DESTDIR = final
ifeq ($(shell if which $(SPHINXBUILD) >/dev/null 2>&1; then echo 1; else echo 0; fi),0)
$(error "The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed")
endif
##
# These URI should be rewritten by your distribution's xml catalog to
# match your localy installed XSL stylesheets.
XSL_BASE_URI = http://docbook.sourceforge.net/release/xsl/current
XSL_XHTML_URI = $(XSL_BASE_URI)/xhtml/docbook.xsl
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
all: $(ALLPREQ)
.PHONY: help Makefile clean publish
pdf:
ifeq ($(DOC),bitbake-user-manual)
@echo " "
@echo "********** Building."$(DOC)
@echo " "
cd $(DOC); ../tools/docbook-to-pdf $(DOC).xml ../template; cd ..
endif
html:
ifeq ($(DOC),bitbake-user-manual)
# See http://www.sagehill.net/docbookxsl/HtmlOutput.html
@echo " "
@echo "******** Building "$(DOC)
@echo " "
cd $(DOC); xsltproc $(XSLTOPTS) -o $(DOC).html $(DOC)-customization.xsl $(DOC).xml; cd ..
endif
tarball: html
@echo " "
@echo "******** Creating Tarball of document files"
@echo " "
cd $(DOC); tar -cvzf $(DOC).tgz $(TARFILES); cd ..
validate:
cd $(DOC); xmllint --postvalid --xinclude --noout $(DOC).xml; cd ..
publish:
@if test -f $(DOC)/$(DOC).html; \
then \
echo " "; \
echo "******** Publishing "$(DOC)".html"; \
echo " "; \
scp -r $(MANUALS) $(STYLESHEET) docs.yp:/var/www/www.yoctoproject.org-docs/$(VER)/$(DOC); \
cd $(DOC); scp -r $(FIGURES) docs.yp:/var/www/www.yoctoproject.org-docs/$(VER)/$(DOC); \
else \
echo " "; \
echo $(DOC)".html missing. Generate the file first then try again."; \
echo " "; \
fi
publish: Makefile html singlehtml
rm -rf $(BUILDDIR)/$(DESTDIR)/
mkdir -p $(BUILDDIR)/$(DESTDIR)/
cp -r $(BUILDDIR)/html/* $(BUILDDIR)/$(DESTDIR)/
cp $(BUILDDIR)/singlehtml/index.html $(BUILDDIR)/$(DESTDIR)/singleindex.html
sed -i -e 's@index.html#@singleindex.html#@g' $(BUILDDIR)/$(DESTDIR)/singleindex.html
clean:
rm -rf $(MANUALS); rm $(DOC)/$(DOC).tgz;
@rm -rf $(BUILDDIR)
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

View File

@@ -15,25 +15,41 @@ Each folder is self-contained regarding content and figures.
If you want to find HTML versions of the BitBake manuals on the web,
go to http://www.openembedded.org/wiki/Documentation.
Makefile
========
Sphinx
======
The Makefile processes manual directories to create HTML, PDF,
tarballs, etc. Details on how the Makefile work are documented
inside the Makefile. See that file for more information.
The BitBake documentation was migrated from the original DocBook
format to Sphinx based documentation for the Yocto Project 3.2
release.
To build a manual, you run the make command and pass it the name
of the folder containing the manual's contents.
For example, the following command run from the documentation directory
creates an HTML and a PDF version of the BitBake User Manual.
The DOC variable specifies the manual you are making:
Additional information related to the Sphinx migration, and guidelines
for developers willing to contribute to the BitBake documentation can
be found in the Yocto Project Documentation README file:
$ make DOC=bitbake-user-manual
https://git.yoctoproject.org/cgit/cgit.cgi/yocto-docs/tree/documentation/README
template
========
Contains various templates, fonts, and some old PNG files.
How to build the Yocto Project documentation
============================================
tools
=====
Contains a tool to convert the DocBook files to PDF format.
Sphinx is written in Python. While it might work with Python2, for
obvious reasons, we will only support building the BitBake
documentation with Python3.
Sphinx might be available in your Linux distro packages repositories,
however it is not recommend using distro packages, as they might be
old versions, especially if you are using an LTS version of your
distro. The recommended method to install Sphinx and all required
dependencies is to use the Python Package Index (pip).
To install all required packages run:
$ pip3 install sphinx sphinx_rtd_theme pyyaml
To build the documentation locally, run:
$ cd documentation
$ make -f Makefile.sphinx html
The resulting HTML index page will be _build/html/index.html, and you
can browse your own copy of the locally generated documentation with
your browser.

14
bitbake/doc/_templates/breadcrumbs.html vendored Normal file
View File

@@ -0,0 +1,14 @@
{% extends "!breadcrumbs.html" %}
{% block breadcrumbs %}
<li>
<span class="doctype_switcher_placeholder">{{ doctype or 'single' }}</span>
<span class="version_switcher_placeholder">{{ release }}</span>
</li>
<li> &raquo;</li>
{% for doc in parents %}
<li><a href="{{ doc.link|e }}">{{ doc.title }}</a> &raquo;</li>
{% endfor %}
<li>{{ title }}</li>
{% endblock %}

7
bitbake/doc/_templates/layout.html vendored Normal file
View File

@@ -0,0 +1,7 @@
{% extends "!layout.html" %}
{% block extrabody %}
<div id="outdated-warning" style="text-align: center; background-color: #FFBABA; color: #6A0E0E;">
</div>
{% endblock %}

View File

@@ -1,29 +0,0 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
<xsl:import href="http://downloads.yoctoproject.org/mirror/docbook-mirror/docbook-xsl-1.76.1/xhtml/docbook.xsl" />
<!--
<xsl:import href="../template/1.76.1/docbook-xsl-1.76.1/xhtml/docbook.xsl" />
<xsl:import href="http://docbook.sourceforge.net/release/xsl/1.76.1/xhtml/docbook.xsl" />
-->
<xsl:include href="../template/permalinks.xsl"/>
<xsl:include href="../template/section.title.xsl"/>
<xsl:include href="../template/component.title.xsl"/>
<xsl:include href="../template/division.title.xsl"/>
<xsl:include href="../template/formal.object.heading.xsl"/>
<xsl:include href="../template/gloss-permalinks.xsl"/>
<xsl:param name="html.stylesheet" select="'user-manual-style.css'" />
<xsl:param name="chapter.autolabel" select="1" />
<xsl:param name="section.autolabel" select="1" />
<xsl:param name="section.label.includes.component.label" select="1" />
<xsl:param name="appendix.autolabel">A</xsl:param>
<!-- <xsl:param name="generate.toc" select="'article nop'"></xsl:param> -->
</xsl:stylesheet>

View File

@@ -0,0 +1,734 @@
.. SPDX-License-Identifier: CC-BY-2.5
=========
Execution
=========
|
The primary purpose for running BitBake is to produce some kind of
output such as a single installable package, a kernel, a software
development kit, or even a full, board-specific bootable Linux image,
complete with bootloader, kernel, and root filesystem. Of course, you
can execute the ``bitbake`` command with options that cause it to
execute single tasks, compile single recipe files, capture or clear
data, or simply return information about the execution environment.
This chapter describes BitBake's execution process from start to finish
when you use it to create an image. The execution process is launched
using the following command form::
$ bitbake target
For information on
the BitBake command and its options, see ":ref:`The BitBake Command
<bitbake-user-manual-command>`" section.
.. note::
Prior to executing BitBake, you should take advantage of available
parallel thread execution on your build host by setting the
:term:`BB_NUMBER_THREADS` variable in
your project's ``local.conf`` configuration file.
A common method to determine this value for your build host is to run
the following::
$ grep processor /proc/cpuinfo
This command returns
the number of processors, which takes into account hyper-threading.
Thus, a quad-core build host with hyper-threading most likely shows
eight processors, which is the value you would then assign to
``BB_NUMBER_THREADS``.
A possibly simpler solution is that some Linux distributions (e.g.
Debian and Ubuntu) provide the ``ncpus`` command.
Parsing the Base Configuration Metadata
=======================================
The first thing BitBake does is parse base configuration metadata. Base
configuration metadata consists of your project's ``bblayers.conf`` file
to determine what layers BitBake needs to recognize, all necessary
``layer.conf`` files (one from each layer), and ``bitbake.conf``. The
data itself is of various types:
- **Recipes:** Details about particular pieces of software.
- **Class Data:** An abstraction of common build information (e.g. how to
build a Linux kernel).
- **Configuration Data:** Machine-specific settings, policy decisions,
and so forth. Configuration data acts as the glue to bind everything
together.
The ``layer.conf`` files are used to construct key variables such as
:term:`BBPATH` and :term:`BBFILES`.
``BBPATH`` is used to search for configuration and class files under the
``conf`` and ``classes`` directories, respectively. ``BBFILES`` is used
to locate both recipe and recipe append files (``.bb`` and
``.bbappend``). If there is no ``bblayers.conf`` file, it is assumed the
user has set the ``BBPATH`` and ``BBFILES`` directly in the environment.
Next, the ``bitbake.conf`` file is located using the ``BBPATH`` variable
that was just constructed. The ``bitbake.conf`` file may also include
other configuration files using the ``include`` or ``require``
directives.
Prior to parsing configuration files, BitBake looks at certain
variables, including:
- :term:`BB_ENV_WHITELIST`
- :term:`BB_ENV_EXTRAWHITE`
- :term:`BB_PRESERVE_ENV`
- :term:`BB_ORIGENV`
- :term:`BITBAKE_UI`
The first four variables in this list relate to how BitBake treats shell
environment variables during task execution. By default, BitBake cleans
the environment variables and provides tight control over the shell
execution environment. However, through the use of these first four
variables, you can apply your control regarding the environment
variables allowed to be used by BitBake in the shell during execution of
tasks. See the
":ref:`bitbake-user-manual/bitbake-user-manual-metadata:Passing Information Into the Build Task Environment`"
section and the information about these variables in the variable
glossary for more information on how they work and on how to use them.
The base configuration metadata is global and therefore affects all
recipes and tasks that are executed.
BitBake first searches the current working directory for an optional
``conf/bblayers.conf`` configuration file. This file is expected to
contain a :term:`BBLAYERS` variable that is a
space-delimited list of 'layer' directories. Recall that if BitBake
cannot find a ``bblayers.conf`` file, then it is assumed the user has
set the ``BBPATH`` and ``BBFILES`` variables directly in the
environment.
For each directory (layer) in this list, a ``conf/layer.conf`` file is
located and parsed with the :term:`LAYERDIR` variable
being set to the directory where the layer was found. The idea is these
files automatically set up :term:`BBPATH` and other
variables correctly for a given build directory.
BitBake then expects to find the ``conf/bitbake.conf`` file somewhere in
the user-specified ``BBPATH``. That configuration file generally has
include directives to pull in any other metadata such as files specific
to the architecture, the machine, the local environment, and so forth.
Only variable definitions and include directives are allowed in BitBake
``.conf`` files. Some variables directly influence BitBake's behavior.
These variables might have been set from the environment depending on
the environment variables previously mentioned or set in the
configuration files. The ":ref:`bitbake-user-manual/bitbake-user-manual-ref-variables:Variables Glossary`"
chapter presents a full list of
variables.
After parsing configuration files, BitBake uses its rudimentary
inheritance mechanism, which is through class files, to inherit some
standard classes. BitBake parses a class when the inherit directive
responsible for getting that class is encountered.
The ``base.bbclass`` file is always included. Other classes that are
specified in the configuration using the
:term:`INHERIT` variable are also included. BitBake
searches for class files in a ``classes`` subdirectory under the paths
in ``BBPATH`` in the same way as configuration files.
A good way to get an idea of the configuration files and the class files
used in your execution environment is to run the following BitBake
command::
$ bitbake -e > mybb.log
Examining the top of the ``mybb.log``
shows you the many configuration files and class files used in your
execution environment.
.. note::
You need to be aware of how BitBake parses curly braces. If a recipe
uses a closing curly brace within the function and the character has
no leading spaces, BitBake produces a parsing error. If you use a
pair of curly braces in a shell function, the closing curly brace
must not be located at the start of the line without leading spaces.
Here is an example that causes BitBake to produce a parsing error::
fakeroot create_shar() {
cat << "EOF" > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
usage()
{
echo "test"
###### The following "}" at the start of the line causes a parsing error ######
}
EOF
}
Writing the recipe this way avoids the error:
fakeroot create_shar() {
cat << "EOF" > ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
usage()
{
echo "test"
###### The following "}" with a leading space at the start of the line avoids the error ######
}
EOF
}
Locating and Parsing Recipes
============================
During the configuration phase, BitBake will have set
:term:`BBFILES`. BitBake now uses it to construct a
list of recipes to parse, along with any append files (``.bbappend``) to
apply. ``BBFILES`` is a space-separated list of available files and
supports wildcards. An example would be::
BBFILES = "/path/to/bbfiles/*.bb /path/to/appends/*.bbappend"
BitBake parses each
recipe and append file located with ``BBFILES`` and stores the values of
various variables into the datastore.
.. note::
Append files are applied in the order they are encountered in BBFILES.
For each file, a fresh copy of the base configuration is made, then the
recipe is parsed line by line. Any inherit statements cause BitBake to
find and then parse class files (``.bbclass``) using
:term:`BBPATH` as the search path. Finally, BitBake
parses in order any append files found in ``BBFILES``.
One common convention is to use the recipe filename to define pieces of
metadata. For example, in ``bitbake.conf`` the recipe name and version
are used to set the variables :term:`PN` and
:term:`PV`::
PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
In this example, a recipe called "something_1.2.3.bb" would set
``PN`` to "something" and ``PV`` to "1.2.3".
By the time parsing is complete for a recipe, BitBake has a list of
tasks that the recipe defines and a set of data consisting of keys and
values as well as dependency information about the tasks.
BitBake does not need all of this information. It only needs a small
subset of the information to make decisions about the recipe.
Consequently, BitBake caches the values in which it is interested and
does not store the rest of the information. Experience has shown it is
faster to re-parse the metadata than to try and write it out to the disk
and then reload it.
Where possible, subsequent BitBake commands reuse this cache of recipe
information. The validity of this cache is determined by first computing
a checksum of the base configuration data (see
:term:`BB_HASHCONFIG_WHITELIST`) and
then checking if the checksum matches. If that checksum matches what is
in the cache and the recipe and class files have not changed, BitBake is
able to use the cache. BitBake then reloads the cached information about
the recipe instead of reparsing it from scratch.
Recipe file collections exist to allow the user to have multiple
repositories of ``.bb`` files that contain the same exact package. For
example, one could easily use them to make one's own local copy of an
upstream repository, but with custom modifications that one does not
want upstream. Here is an example::
BBFILES = "/stuff/openembedded/*/*.bb /stuff/openembedded.modified/*/*.bb"
BBFILE_COLLECTIONS = "upstream local"
BBFILE_PATTERN_upstream = "^/stuff/openembedded/"
BBFILE_PATTERN_local = "^/stuff/openembedded.modified/"
BBFILE_PRIORITY_upstream = "5"
BBFILE_PRIORITY_local = "10"
.. note::
The layers mechanism is now the preferred method of collecting code.
While the collections code remains, its main use is to set layer
priorities and to deal with overlap (conflicts) between layers.
.. _bb-bitbake-providers:
Providers
=========
Assuming BitBake has been instructed to execute a target and that all
the recipe files have been parsed, BitBake starts to figure out how to
build the target. BitBake looks through the ``PROVIDES`` list for each
of the recipes. A ``PROVIDES`` list is the list of names by which the
recipe can be known. Each recipe's ``PROVIDES`` list is created
implicitly through the recipe's :term:`PN` variable and
explicitly through the recipe's :term:`PROVIDES`
variable, which is optional.
When a recipe uses ``PROVIDES``, that recipe's functionality can be
found under an alternative name or names other than the implicit ``PN``
name. As an example, suppose a recipe named ``keyboard_1.0.bb``
contained the following::
PROVIDES += "fullkeyboard"
The ``PROVIDES``
list for this recipe becomes "keyboard", which is implicit, and
"fullkeyboard", which is explicit. Consequently, the functionality found
in ``keyboard_1.0.bb`` can be found under two different names.
.. _bb-bitbake-preferences:
Preferences
===========
The ``PROVIDES`` list is only part of the solution for figuring out a
target's recipes. Because targets might have multiple providers, BitBake
needs to prioritize providers by determining provider preferences.
A common example in which a target has multiple providers is
"virtual/kernel", which is on the ``PROVIDES`` list for each kernel
recipe. Each machine often selects the best kernel provider by using a
line similar to the following in the machine configuration file::
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
The default :term:`PREFERRED_PROVIDER` is the provider
with the same name as the target. BitBake iterates through each target
it needs to build and resolves them and their dependencies using this
process.
Understanding how providers are chosen is made complicated by the fact
that multiple versions might exist for a given provider. BitBake
defaults to the highest version of a provider. Version comparisons are
made using the same method as Debian. You can use the
:term:`PREFERRED_VERSION` variable to
specify a particular version. You can influence the order by using the
:term:`DEFAULT_PREFERENCE` variable.
By default, files have a preference of "0". Setting
``DEFAULT_PREFERENCE`` to "-1" makes the recipe unlikely to be used
unless it is explicitly referenced. Setting ``DEFAULT_PREFERENCE`` to
"1" makes it likely the recipe is used. ``PREFERRED_VERSION`` overrides
any ``DEFAULT_PREFERENCE`` setting. ``DEFAULT_PREFERENCE`` is often used
to mark newer and more experimental recipe versions until they have
undergone sufficient testing to be considered stable.
When there are multiple "versions" of a given recipe, BitBake defaults
to selecting the most recent version, unless otherwise specified. If the
recipe in question has a
:term:`DEFAULT_PREFERENCE` set lower than
the other recipes (default is 0), then it will not be selected. This
allows the person or persons maintaining the repository of recipe files
to specify their preference for the default selected version.
Additionally, the user can specify their preferred version.
If the first recipe is named ``a_1.1.bb``, then the
:term:`PN` variable will be set to "a", and the
:term:`PV` variable will be set to 1.1.
Thus, if a recipe named ``a_1.2.bb`` exists, BitBake will choose 1.2 by
default. However, if you define the following variable in a ``.conf``
file that BitBake parses, you can change that preference::
PREFERRED_VERSION_a = "1.1"
.. note::
It is common for a recipe to provide two versions -- a stable,
numbered (and preferred) version, and a version that is automatically
checked out from a source code repository that is considered more
"bleeding edge" but can be selected only explicitly.
For example, in the OpenEmbedded codebase, there is a standard,
versioned recipe file for BusyBox, ``busybox_1.22.1.bb``, but there
is also a Git-based version, ``busybox_git.bb``, which explicitly
contains the line ::
DEFAULT_PREFERENCE = "-1"
to ensure that the
numbered, stable version is always preferred unless the developer
selects otherwise.
.. _bb-bitbake-dependencies:
Dependencies
============
Each target BitBake builds consists of multiple tasks such as ``fetch``,
``unpack``, ``patch``, ``configure``, and ``compile``. For best
performance on multi-core systems, BitBake considers each task as an
independent entity with its own set of dependencies.
Dependencies are defined through several variables. You can find
information about variables BitBake uses in the
:doc:`bitbake-user-manual-ref-variables` near the end of this manual. At a
basic level, it is sufficient to know that BitBake uses the
:term:`DEPENDS` and
:term:`RDEPENDS` variables when calculating
dependencies.
For more information on how BitBake handles dependencies, see the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:Dependencies`
section.
.. _ref-bitbake-tasklist:
The Task List
=============
Based on the generated list of providers and the dependency information,
BitBake can now calculate exactly what tasks it needs to run and in what
order it needs to run them. The
:ref:`bitbake-user-manual/bitbake-user-manual-execution:executing tasks`
section has more information on how BitBake chooses which task to
execute next.
The build now starts with BitBake forking off threads up to the limit
set in the :term:`BB_NUMBER_THREADS`
variable. BitBake continues to fork threads as long as there are tasks
ready to run, those tasks have all their dependencies met, and the
thread threshold has not been exceeded.
It is worth noting that you can greatly speed up the build time by
properly setting the ``BB_NUMBER_THREADS`` variable.
As each task completes, a timestamp is written to the directory
specified by the :term:`STAMP` variable. On subsequent
runs, BitBake looks in the build directory within ``tmp/stamps`` and
does not rerun tasks that are already completed unless a timestamp is
found to be invalid. Currently, invalid timestamps are only considered
on a per recipe file basis. So, for example, if the configure stamp has
a timestamp greater than the compile timestamp for a given target, then
the compile task would rerun. Running the compile task again, however,
has no effect on other providers that depend on that target.
The exact format of the stamps is partly configurable. In modern
versions of BitBake, a hash is appended to the stamp so that if the
configuration changes, the stamp becomes invalid and the task is
automatically rerun. This hash, or signature used, is governed by the
signature policy that is configured (see the
:ref:`bitbake-user-manual/bitbake-user-manual-execution:checksums (signatures)`
section for information). It is also
possible to append extra metadata to the stamp using the
``[stamp-extra-info]`` task flag. For example, OpenEmbedded uses this
flag to make some tasks machine-specific.
.. note::
Some tasks are marked as "nostamp" tasks. No timestamp file is
created when these tasks are run. Consequently, "nostamp" tasks are
always rerun.
For more information on tasks, see the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:tasks` section.
Executing Tasks
===============
Tasks can be either a shell task or a Python task. For shell tasks,
BitBake writes a shell script to
``${``\ :term:`T`\ ``}/run.do_taskname.pid`` and then
executes the script. The generated shell script contains all the
exported variables, and the shell functions with all variables expanded.
Output from the shell script goes to the file
``${T}/log.do_taskname.pid``. Looking at the expanded shell functions in
the run file and the output in the log files is a useful debugging
technique.
For Python tasks, BitBake executes the task internally and logs
information to the controlling terminal. Future versions of BitBake will
write the functions to files similar to the way shell tasks are handled.
Logging will be handled in a way similar to shell tasks as well.
The order in which BitBake runs the tasks is controlled by its task
scheduler. It is possible to configure the scheduler and define custom
implementations for specific use cases. For more information, see these
variables that control the behavior:
- :term:`BB_SCHEDULER`
- :term:`BB_SCHEDULERS`
It is possible to have functions run before and after a task's main
function. This is done using the ``[prefuncs]`` and ``[postfuncs]``
flags of the task that lists the functions to run.
.. _checksums:
Checksums (Signatures)
======================
A checksum is a unique signature of a task's inputs. The signature of a
task can be used to determine if a task needs to be run. Because it is a
change in a task's inputs that triggers running the task, BitBake needs
to detect all the inputs to a given task. For shell tasks, this turns
out to be fairly easy because BitBake generates a "run" shell script for
each task and it is possible to create a checksum that gives you a good
idea of when the task's data changes.
To complicate the problem, some things should not be included in the
checksum. First, there is the actual specific build path of a given task
- the working directory. It does not matter if the working directory
changes because it should not affect the output for target packages. The
simplistic approach for excluding the working directory is to set it to
some fixed value and create the checksum for the "run" script. BitBake
goes one step better and uses the
:term:`BB_HASHBASE_WHITELIST` variable
to define a list of variables that should never be included when
generating the signatures.
Another problem results from the "run" scripts containing functions that
might or might not get called. The incremental build solution contains
code that figures out dependencies between shell functions. This code is
used to prune the "run" scripts down to the minimum set, thereby
alleviating this problem and making the "run" scripts much more readable
as a bonus.
So far we have solutions for shell scripts. What about Python tasks? The
same approach applies even though these tasks are more difficult. The
process needs to figure out what variables a Python function accesses
and what functions it calls. Again, the incremental build solution
contains code that first figures out the variable and function
dependencies, and then creates a checksum for the data used as the input
to the task.
Like the working directory case, situations exist where dependencies
should be ignored. For these cases, you can instruct the build process
to ignore a dependency by using a line like the following::
PACKAGE_ARCHS[vardepsexclude] = "MACHINE"
This example ensures that the
``PACKAGE_ARCHS`` variable does not depend on the value of ``MACHINE``,
even if it does reference it.
Equally, there are cases where we need to add dependencies BitBake is
not able to find. You can accomplish this by using a line like the
following::
PACKAGE_ARCHS[vardeps] = "MACHINE"
This example explicitly
adds the ``MACHINE`` variable as a dependency for ``PACKAGE_ARCHS``.
Consider a case with in-line Python, for example, where BitBake is not
able to figure out dependencies. When running in debug mode (i.e. using
``-DDD``), BitBake produces output when it discovers something for which
it cannot figure out dependencies.
Thus far, this section has limited discussion to the direct inputs into
a task. Information based on direct inputs is referred to as the
"basehash" in the code. However, there is still the question of a task's
indirect inputs - the things that were already built and present in the
build directory. The checksum (or signature) for a particular task needs
to add the hashes of all the tasks on which the particular task depends.
Choosing which dependencies to add is a policy decision. However, the
effect is to generate a master checksum that combines the basehash and
the hashes of the task's dependencies.
At the code level, there are a variety of ways both the basehash and the
dependent task hashes can be influenced. Within the BitBake
configuration file, we can give BitBake some extra information to help
it construct the basehash. The following statement effectively results
in a list of global variable dependency excludes - variables never
included in any checksum. This example uses variables from OpenEmbedded
to help illustrate the concept::
BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR \
SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL \
USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST \
PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE \
CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE CCACHE_DISABLE LICENSE_PATH SDKPKGSUFFIX"
The previous example excludes the work directory, which is part of
``TMPDIR``.
The rules for deciding which hashes of dependent tasks to include
through dependency chains are more complex and are generally
accomplished with a Python function. The code in
``meta/lib/oe/sstatesig.py`` shows two examples of this and also
illustrates how you can insert your own policy into the system if so
desired. This file defines the two basic signature generators
OpenEmbedded-Core uses: "OEBasic" and "OEBasicHash". By default, there
is a dummy "noop" signature handler enabled in BitBake. This means that
behavior is unchanged from previous versions. ``OE-Core`` uses the
"OEBasicHash" signature handler by default through this setting in the
``bitbake.conf`` file::
BB_SIGNATURE_HANDLER ?= "OEBasicHash"
The "OEBasicHash" ``BB_SIGNATURE_HANDLER`` is the same as the "OEBasic"
version but adds the task hash to the stamp files. This results in any
metadata change that changes the task hash, automatically causing the
task to be run again. This removes the need to bump
:term:`PR` values, and changes to metadata automatically
ripple across the build.
It is also worth noting that the end result of these signature
generators is to make some dependency and hash information available to
the build. This information includes:
- ``BB_BASEHASH_task-``\ *taskname*: The base hashes for each task in the
recipe.
- ``BB_BASEHASH_``\ *filename:taskname*: The base hashes for each
dependent task.
- ``BBHASHDEPS_``\ *filename:taskname*: The task dependencies for
each task.
- ``BB_TASKHASH``: The hash of the currently running task.
It is worth noting that BitBake's "-S" option lets you debug BitBake's
processing of signatures. The options passed to -S allow different
debugging modes to be used, either using BitBake's own debug functions
or possibly those defined in the metadata/signature handler itself. The
simplest parameter to pass is "none", which causes a set of signature
information to be written out into ``STAMPS_DIR`` corresponding to the
targets specified. The other currently available parameter is
"printdiff", which causes BitBake to try to establish the closest
signature match it can (e.g. in the sstate cache) and then run
``bitbake-diffsigs`` over the matches to determine the stamps and delta
where these two stamp trees diverge.
.. note::
It is likely that future versions of BitBake will provide other
signature handlers triggered through additional "-S" parameters.
You can find more information on checksum metadata in the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:task checksums and setscene`
section.
Setscene
========
The setscene process enables BitBake to handle "pre-built" artifacts.
The ability to handle and reuse these artifacts allows BitBake the
luxury of not having to build something from scratch every time.
Instead, BitBake can use, when possible, existing build artifacts.
BitBake needs to have reliable data indicating whether or not an
artifact is compatible. Signatures, described in the previous section,
provide an ideal way of representing whether an artifact is compatible.
If a signature is the same, an object can be reused.
If an object can be reused, the problem then becomes how to replace a
given task or set of tasks with the pre-built artifact. BitBake solves
the problem with the "setscene" process.
When BitBake is asked to build a given target, before building anything,
it first asks whether cached information is available for any of the
targets it's building, or any of the intermediate targets. If cached
information is available, BitBake uses this information instead of
running the main tasks.
BitBake first calls the function defined by the
:term:`BB_HASHCHECK_FUNCTION` variable
with a list of tasks and corresponding hashes it wants to build. This
function is designed to be fast and returns a list of the tasks for
which it believes in can obtain artifacts.
Next, for each of the tasks that were returned as possibilities, BitBake
executes a setscene version of the task that the possible artifact
covers. Setscene versions of a task have the string "_setscene" appended
to the task name. So, for example, the task with the name ``xxx`` has a
setscene task named ``xxx_setscene``. The setscene version of the task
executes and provides the necessary artifacts returning either success
or failure.
As previously mentioned, an artifact can cover more than one task. For
example, it is pointless to obtain a compiler if you already have the
compiled binary. To handle this, BitBake calls the
:term:`BB_SETSCENE_DEPVALID` function for
each successful setscene task to know whether or not it needs to obtain
the dependencies of that task.
Finally, after all the setscene tasks have executed, BitBake calls the
function listed in
:term:`BB_SETSCENE_VERIFY_FUNCTION2`
with the list of tasks BitBake thinks has been "covered". The metadata
can then ensure that this list is correct and can inform BitBake that it
wants specific tasks to be run regardless of the setscene result.
You can find more information on setscene metadata in the
:ref:`bitbake-user-manual/bitbake-user-manual-metadata:task checksums and setscene`
section.
Logging
=======
In addition to the standard command line option to control how verbose
builds are when execute, bitbake also supports user defined
configuration of the `Python
logging <https://docs.python.org/3/library/logging.html>`__ facilities
through the :term:`BB_LOGCONFIG` variable. This
variable defines a json or yaml `logging
configuration <https://docs.python.org/3/library/logging.config.html>`__
that will be intelligently merged into the default configuration. The
logging configuration is merged using the following rules:
- The user defined configuration will completely replace the default
configuration if top level key ``bitbake_merge`` is set to the value
``False``. In this case, all other rules are ignored.
- The user configuration must have a top level ``version`` which must
match the value of the default configuration.
- Any keys defined in the ``handlers``, ``formatters``, or ``filters``,
will be merged into the same section in the default configuration,
with the user specified keys taking replacing a default one if there
is a conflict. In practice, this means that if both the default
configuration and user configuration specify a handler named
``myhandler``, the user defined one will replace the default. To
prevent the user from inadvertently replacing a default handler,
formatter, or filter, all of the default ones are named with a prefix
of "``BitBake.``"
- If a logger is defined by the user with the key ``bitbake_merge`` set
to ``False``, that logger will be completely replaced by user
configuration. In this case, no other rules will apply to that
logger.
- All user defined ``filter`` and ``handlers`` properties for a given
logger will be merged with corresponding properties from the default
logger. For example, if the user configuration adds a filter called
``myFilter`` to the ``BitBake.SigGen``, and the default configuration
adds a filter called ``BitBake.defaultFilter``, both filters will be
applied to the logger
As an example, consider the following user logging configuration file
which logs all Hash Equivalence related messages of VERBOSE or higher to
a file called ``hashequiv.log`` ::
{
"version": 1,
"handlers": {
"autobuilderlog": {
"class": "logging.FileHandler",
"formatter": "logfileFormatter",
"level": "DEBUG",
"filename": "hashequiv.log",
"mode": "w"
}
},
"formatters": {
"logfileFormatter": {
"format": "%(name)s: %(levelname)s: %(message)s"
}
},
"loggers": {
"BitBake.SigGen.HashEquiv": {
"level": "VERBOSE",
"handlers": ["autobuilderlog"]
},
"BitBake.RunQueue.HashEquiv": {
"level": "VERBOSE",
"handlers": ["autobuilderlog"]
}
}
}

View File

@@ -1,932 +0,0 @@
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<chapter id="bitbake-user-manual-execution">
<title>Execution</title>
<para>
The primary purpose for running BitBake is to produce some kind
of output such as a single installable package, a kernel, a software
development kit, or even a full, board-specific bootable Linux image,
complete with bootloader, kernel, and root filesystem.
Of course, you can execute the <filename>bitbake</filename>
command with options that cause it to execute single tasks,
compile single recipe files, capture or clear data, or simply
return information about the execution environment.
</para>
<para>
This chapter describes BitBake's execution process from start
to finish when you use it to create an image.
The execution process is launched using the following command
form:
<literallayout class='monospaced'>
$ bitbake <replaceable>target</replaceable>
</literallayout>
For information on the BitBake command and its options,
see
"<link linkend='bitbake-user-manual-command'>The BitBake Command</link>"
section.
<note>
<para>
Prior to executing BitBake, you should take advantage of available
parallel thread execution on your build host by setting the
<link linkend='var-bb-BB_NUMBER_THREADS'><filename>BB_NUMBER_THREADS</filename></link>
variable in your project's <filename>local.conf</filename>
configuration file.
</para>
<para>
A common method to determine this value for your build host is to run
the following:
<literallayout class='monospaced'>
$ grep processor /proc/cpuinfo
</literallayout>
This command returns the number of processors, which takes into
account hyper-threading.
Thus, a quad-core build host with hyper-threading most likely
shows eight processors, which is the value you would then assign to
<filename>BB_NUMBER_THREADS</filename>.
</para>
<para>
A possibly simpler solution is that some Linux distributions
(e.g. Debian and Ubuntu) provide the <filename>ncpus</filename> command.
</para>
</note>
</para>
<section id='parsing-the-base-configuration-metadata'>
<title>Parsing the Base Configuration Metadata</title>
<para>
The first thing BitBake does is parse base configuration
metadata.
Base configuration metadata consists of your project's
<filename>bblayers.conf</filename> file to determine what
layers BitBake needs to recognize, all necessary
<filename>layer.conf</filename> files (one from each layer),
and <filename>bitbake.conf</filename>.
The data itself is of various types:
<itemizedlist>
<listitem><para><emphasis>Recipes:</emphasis>
Details about particular pieces of software.
</para></listitem>
<listitem><para><emphasis>Class Data:</emphasis>
An abstraction of common build information
(e.g. how to build a Linux kernel).
</para></listitem>
<listitem><para><emphasis>Configuration Data:</emphasis>
Machine-specific settings, policy decisions,
and so forth.
Configuration data acts as the glue to bind everything
together.</para></listitem>
</itemizedlist>
</para>
<para>
The <filename>layer.conf</filename> files are used to
construct key variables such as
<link linkend='var-bb-BBPATH'><filename>BBPATH</filename></link>
and
<link linkend='var-bb-BBFILES'><filename>BBFILES</filename></link>.
<filename>BBPATH</filename> is used to search for
configuration and class files under the
<filename>conf</filename> and <filename>classes</filename>
directories, respectively.
<filename>BBFILES</filename> is used to locate both recipe
and recipe append files
(<filename>.bb</filename> and <filename>.bbappend</filename>).
If there is no <filename>bblayers.conf</filename> file,
it is assumed the user has set the <filename>BBPATH</filename>
and <filename>BBFILES</filename> directly in the environment.
</para>
<para>
Next, the <filename>bitbake.conf</filename> file is located
using the <filename>BBPATH</filename> variable that was
just constructed.
The <filename>bitbake.conf</filename> file may also include other
configuration files using the
<filename>include</filename> or
<filename>require</filename> directives.
</para>
<para>
Prior to parsing configuration files, BitBake looks
at certain variables, including:
<itemizedlist>
<listitem><para>
<link linkend='var-bb-BB_ENV_WHITELIST'><filename>BB_ENV_WHITELIST</filename></link>
</para></listitem>
<listitem><para>
<link linkend='var-bb-BB_ENV_EXTRAWHITE'><filename>BB_ENV_EXTRAWHITE</filename></link>
</para></listitem>
<listitem><para>
<link linkend='var-bb-BB_PRESERVE_ENV'><filename>BB_PRESERVE_ENV</filename></link>
</para></listitem>
<listitem><para>
<link linkend='var-bb-BB_ORIGENV'><filename>BB_ORIGENV</filename></link>
</para></listitem>
<listitem><para>
<link linkend='var-bb-BITBAKE_UI'><filename>BITBAKE_UI</filename></link>
</para></listitem>
</itemizedlist>
The first four variables in this list relate to how BitBake treats shell
environment variables during task execution.
By default, BitBake cleans the environment variables and provides tight
control over the shell execution environment.
However, through the use of these first four variables, you can
apply your control regarding the
environment variables allowed to be used by BitBake in the shell
during execution of tasks.
See the
"<link linkend='passing-information-into-the-build-task-environment'>Passing Information Into the Build Task Environment</link>"
section and the information about these variables in the
variable glossary for more information on how they work and
on how to use them.
</para>
<para>
The base configuration metadata is global
and therefore affects all recipes and tasks that are executed.
</para>
<para>
BitBake first searches the current working directory for an
optional <filename>conf/bblayers.conf</filename> configuration file.
This file is expected to contain a
<link linkend='var-bb-BBLAYERS'><filename>BBLAYERS</filename></link>
variable that is a space-delimited list of 'layer' directories.
Recall that if BitBake cannot find a <filename>bblayers.conf</filename>
file, then it is assumed the user has set the <filename>BBPATH</filename>
and <filename>BBFILES</filename> variables directly in the environment.
</para>
<para>
For each directory (layer) in this list, a <filename>conf/layer.conf</filename>
file is located and parsed with the
<link linkend='var-bb-LAYERDIR'><filename>LAYERDIR</filename></link>
variable being set to the directory where the layer was found.
The idea is these files automatically set up
<link linkend='var-bb-BBPATH'><filename>BBPATH</filename></link>
and other variables correctly for a given build directory.
</para>
<para>
BitBake then expects to find the <filename>conf/bitbake.conf</filename>
file somewhere in the user-specified <filename>BBPATH</filename>.
That configuration file generally has include directives to pull
in any other metadata such as files specific to the architecture,
the machine, the local environment, and so forth.
</para>
<para>
Only variable definitions and include directives are allowed
in BitBake <filename>.conf</filename> files.
Some variables directly influence BitBake's behavior.
These variables might have been set from the environment
depending on the environment variables previously
mentioned or set in the configuration files.
The
"<link linkend='ref-bb-variables-glos'>Variables Glossary</link>"
chapter presents a full list of variables.
</para>
<para>
After parsing configuration files, BitBake uses its rudimentary
inheritance mechanism, which is through class files, to inherit
some standard classes.
BitBake parses a class when the inherit directive responsible
for getting that class is encountered.
</para>
<para>
The <filename>base.bbclass</filename> file is always included.
Other classes that are specified in the configuration using the
<link linkend='var-bb-INHERIT'><filename>INHERIT</filename></link>
variable are also included.
BitBake searches for class files in a
<filename>classes</filename> subdirectory under
the paths in <filename>BBPATH</filename> in the same way as
configuration files.
</para>
<para>
A good way to get an idea of the configuration files and
the class files used in your execution environment is to
run the following BitBake command:
<literallayout class='monospaced'>
$ bitbake -e > mybb.log
</literallayout>
Examining the top of the <filename>mybb.log</filename>
shows you the many configuration files and class files
used in your execution environment.
</para>
<note>
<para>
You need to be aware of how BitBake parses curly braces.
If a recipe uses a closing curly brace within the function and
the character has no leading spaces, BitBake produces a parsing
error.
If you use a pair of curly braces in a shell function, the
closing curly brace must not be located at the start of the line
without leading spaces.
</para>
<para>
Here is an example that causes BitBake to produce a parsing
error:
<literallayout class='monospaced'>
fakeroot create_shar() {
cat &lt;&lt; "EOF" &gt; ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
usage()
{
echo "test"
###### The following "}" at the start of the line causes a parsing error ######
}
EOF
}
</literallayout>
Writing the recipe this way avoids the error:
<literallayout class='monospaced'>
fakeroot create_shar() {
cat &lt;&lt; "EOF" &gt; ${SDK_DEPLOY}/${TOOLCHAIN_OUTPUTNAME}.sh
usage()
{
echo "test"
######The following "}" with a leading space at the start of the line avoids the error ######
}
EOF
}
</literallayout>
</para>
</note>
</section>
<section id='locating-and-parsing-recipes'>
<title>Locating and Parsing Recipes</title>
<para>
During the configuration phase, BitBake will have set
<link linkend='var-bb-BBFILES'><filename>BBFILES</filename></link>.
BitBake now uses it to construct a list of recipes to parse,
along with any append files (<filename>.bbappend</filename>)
to apply.
<filename>BBFILES</filename> is a space-separated list of
available files and supports wildcards.
An example would be:
<literallayout class='monospaced'>
BBFILES = "/path/to/bbfiles/*.bb /path/to/appends/*.bbappend"
</literallayout>
BitBake parses each recipe and append file located
with <filename>BBFILES</filename> and stores the values of
various variables into the datastore.
<note>
Append files are applied in the order they are encountered in
<filename>BBFILES</filename>.
</note>
For each file, a fresh copy of the base configuration is
made, then the recipe is parsed line by line.
Any inherit statements cause BitBake to find and
then parse class files (<filename>.bbclass</filename>)
using
<link linkend='var-bb-BBPATH'><filename>BBPATH</filename></link>
as the search path.
Finally, BitBake parses in order any append files found in
<filename>BBFILES</filename>.
</para>
<para>
One common convention is to use the recipe filename to define
pieces of metadata.
For example, in <filename>bitbake.conf</filename> the recipe
name and version are used to set the variables
<link linkend='var-bb-PN'><filename>PN</filename></link> and
<link linkend='var-bb-PV'><filename>PV</filename></link>:
<literallayout class='monospaced'>
PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
PV = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[1] or '1.0'}"
</literallayout>
In this example, a recipe called "something_1.2.3.bb" would set
<filename>PN</filename> to "something" and
<filename>PV</filename> to "1.2.3".
</para>
<para>
By the time parsing is complete for a recipe, BitBake
has a list of tasks that the recipe defines and a set of
data consisting of keys and values as well as
dependency information about the tasks.
</para>
<para>
BitBake does not need all of this information.
It only needs a small subset of the information to make
decisions about the recipe.
Consequently, BitBake caches the values in which it is
interested and does not store the rest of the information.
Experience has shown it is faster to re-parse the metadata than to
try and write it out to the disk and then reload it.
</para>
<para>
Where possible, subsequent BitBake commands reuse this cache of
recipe information.
The validity of this cache is determined by first computing a
checksum of the base configuration data (see
<link linkend='var-bb-BB_HASHCONFIG_WHITELIST'><filename>BB_HASHCONFIG_WHITELIST</filename></link>)
and then checking if the checksum matches.
If that checksum matches what is in the cache and the recipe
and class files have not changed, BitBake is able to use
the cache.
BitBake then reloads the cached information about the recipe
instead of reparsing it from scratch.
</para>
<para>
Recipe file collections exist to allow the user to
have multiple repositories of
<filename>.bb</filename> files that contain the same
exact package.
For example, one could easily use them to make one's
own local copy of an upstream repository, but with
custom modifications that one does not want upstream.
Here is an example:
<literallayout class='monospaced'>
BBFILES = "/stuff/openembedded/*/*.bb /stuff/openembedded.modified/*/*.bb"
BBFILE_COLLECTIONS = "upstream local"
BBFILE_PATTERN_upstream = "^/stuff/openembedded/"
BBFILE_PATTERN_local = "^/stuff/openembedded.modified/"
BBFILE_PRIORITY_upstream = "5"
BBFILE_PRIORITY_local = "10"
</literallayout>
<note>
The layers mechanism is now the preferred method of collecting
code.
While the collections code remains, its main use is to set layer
priorities and to deal with overlap (conflicts) between layers.
</note>
</para>
</section>
<section id='bb-bitbake-providers'>
<title>Providers</title>
<para>
Assuming BitBake has been instructed to execute a target
and that all the recipe files have been parsed, BitBake
starts to figure out how to build the target.
BitBake looks through the <filename>PROVIDES</filename> list
for each of the recipes.
A <filename>PROVIDES</filename> list is the list of names by which
the recipe can be known.
Each recipe's <filename>PROVIDES</filename> list is created
implicitly through the recipe's
<link linkend='var-bb-PN'><filename>PN</filename></link> variable
and explicitly through the recipe's
<link linkend='var-bb-PROVIDES'><filename>PROVIDES</filename></link>
variable, which is optional.
</para>
<para>
When a recipe uses <filename>PROVIDES</filename>, that recipe's
functionality can be found under an alternative name or names other
than the implicit <filename>PN</filename> name.
As an example, suppose a recipe named <filename>keyboard_1.0.bb</filename>
contained the following:
<literallayout class='monospaced'>
PROVIDES += "fullkeyboard"
</literallayout>
The <filename>PROVIDES</filename> list for this recipe becomes
"keyboard", which is implicit, and "fullkeyboard", which is explicit.
Consequently, the functionality found in
<filename>keyboard_1.0.bb</filename> can be found under two
different names.
</para>
</section>
<section id='bb-bitbake-preferences'>
<title>Preferences</title>
<para>
The <filename>PROVIDES</filename> list is only part of the solution
for figuring out a target's recipes.
Because targets might have multiple providers, BitBake needs
to prioritize providers by determining provider preferences.
</para>
<para>
A common example in which a target has multiple providers
is "virtual/kernel", which is on the
<filename>PROVIDES</filename> list for each kernel recipe.
Each machine often selects the best kernel provider by using a
line similar to the following in the machine configuration file:
<literallayout class='monospaced'>
PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"
</literallayout>
The default
<link linkend='var-bb-PREFERRED_PROVIDER'><filename>PREFERRED_PROVIDER</filename></link>
is the provider with the same name as the target.
BitBake iterates through each target it needs to build and
resolves them and their dependencies using this process.
</para>
<para>
Understanding how providers are chosen is made complicated by the fact
that multiple versions might exist for a given provider.
BitBake defaults to the highest version of a provider.
Version comparisons are made using the same method as Debian.
You can use the
<link linkend='var-bb-PREFERRED_VERSION'><filename>PREFERRED_VERSION</filename></link>
variable to specify a particular version.
You can influence the order by using the
<link linkend='var-bb-DEFAULT_PREFERENCE'><filename>DEFAULT_PREFERENCE</filename></link>
variable.
</para>
<para>
By default, files have a preference of "0".
Setting <filename>DEFAULT_PREFERENCE</filename> to "-1" makes the
recipe unlikely to be used unless it is explicitly referenced.
Setting <filename>DEFAULT_PREFERENCE</filename> to "1" makes it
likely the recipe is used.
<filename>PREFERRED_VERSION</filename> overrides any
<filename>DEFAULT_PREFERENCE</filename> setting.
<filename>DEFAULT_PREFERENCE</filename> is often used to mark newer
and more experimental recipe versions until they have undergone
sufficient testing to be considered stable.
</para>
<para>
When there are multiple “versions” of a given recipe,
BitBake defaults to selecting the most recent
version, unless otherwise specified.
If the recipe in question has a
<link linkend='var-bb-DEFAULT_PREFERENCE'><filename>DEFAULT_PREFERENCE</filename></link>
set lower than the other recipes (default is 0), then
it will not be selected.
This allows the person or persons maintaining
the repository of recipe files to specify
their preference for the default selected version.
Additionally, the user can specify their preferred version.
</para>
<para>
If the first recipe is named <filename>a_1.1.bb</filename>, then the
<link linkend='var-bb-PN'><filename>PN</filename></link> variable
will be set to “a”, and the
<link linkend='var-bb-PV'><filename>PV</filename></link>
variable will be set to 1.1.
</para>
<para>
Thus, if a recipe named <filename>a_1.2.bb</filename> exists, BitBake
will choose 1.2 by default.
However, if you define the following variable in a
<filename>.conf</filename> file that BitBake parses, you
can change that preference:
<literallayout class='monospaced'>
PREFERRED_VERSION_a = "1.1"
</literallayout>
</para>
<note>
<para>
It is common for a recipe to provide two versions -- a stable,
numbered (and preferred) version, and a version that is
automatically checked out from a source code repository that
is considered more "bleeding edge" but can be selected only
explicitly.
</para>
<para>
For example, in the OpenEmbedded codebase, there is a standard,
versioned recipe file for BusyBox,
<filename>busybox_1.22.1.bb</filename>,
but there is also a Git-based version,
<filename>busybox_git.bb</filename>, which explicitly contains the line
<literallayout class='monospaced'>
DEFAULT_PREFERENCE = "-1"
</literallayout>
to ensure that the numbered, stable version is always preferred
unless the developer selects otherwise.
</para>
</note>
</section>
<section id='bb-bitbake-dependencies'>
<title>Dependencies</title>
<para>
Each target BitBake builds consists of multiple tasks such as
<filename>fetch</filename>, <filename>unpack</filename>,
<filename>patch</filename>, <filename>configure</filename>,
and <filename>compile</filename>.
For best performance on multi-core systems, BitBake considers each
task as an independent
entity with its own set of dependencies.
</para>
<para>
Dependencies are defined through several variables.
You can find information about variables BitBake uses in
the <link linkend='ref-bb-variables-glos'>Variables Glossary</link>
near the end of this manual.
At a basic level, it is sufficient to know that BitBake uses the
<link linkend='var-bb-DEPENDS'><filename>DEPENDS</filename></link> and
<link linkend='var-bb-RDEPENDS'><filename>RDEPENDS</filename></link> variables when
calculating dependencies.
</para>
<para>
For more information on how BitBake handles dependencies, see the
"<link linkend='dependencies'>Dependencies</link>" section.
</para>
</section>
<section id='ref-bitbake-tasklist'>
<title>The Task List</title>
<para>
Based on the generated list of providers and the dependency information,
BitBake can now calculate exactly what tasks it needs to run and in what
order it needs to run them.
The
"<link linkend='executing-tasks'>Executing Tasks</link>" section has more
information on how BitBake chooses which task to execute next.
</para>
<para>
The build now starts with BitBake forking off threads up to the limit set in the
<link linkend='var-bb-BB_NUMBER_THREADS'><filename>BB_NUMBER_THREADS</filename></link>
variable.
BitBake continues to fork threads as long as there are tasks ready to run,
those tasks have all their dependencies met, and the thread threshold has not been
exceeded.
</para>
<para>
It is worth noting that you can greatly speed up the build time by properly setting
the <filename>BB_NUMBER_THREADS</filename> variable.
</para>
<para>
As each task completes, a timestamp is written to the directory specified by the
<link linkend='var-bb-STAMP'><filename>STAMP</filename></link> variable.
On subsequent runs, BitBake looks in the build directory within
<filename>tmp/stamps</filename> and does not rerun
tasks that are already completed unless a timestamp is found to be invalid.
Currently, invalid timestamps are only considered on a per
recipe file basis.
So, for example, if the configure stamp has a timestamp greater than the
compile timestamp for a given target, then the compile task would rerun.
Running the compile task again, however, has no effect on other providers
that depend on that target.
</para>
<para>
The exact format of the stamps is partly configurable.
In modern versions of BitBake, a hash is appended to the
stamp so that if the configuration changes, the stamp becomes
invalid and the task is automatically rerun.
This hash, or signature used, is governed by the signature policy
that is configured (see the
"<link linkend='checksums'>Checksums (Signatures)</link>"
section for information).
It is also possible to append extra metadata to the stamp using
the <filename>[stamp-extra-info]</filename> task flag.
For example, OpenEmbedded uses this flag to make some tasks machine-specific.
</para>
<note>
Some tasks are marked as "nostamp" tasks.
No timestamp file is created when these tasks are run.
Consequently, "nostamp" tasks are always rerun.
</note>
<para>
For more information on tasks, see the
"<link linkend='tasks'>Tasks</link>" section.
</para>
</section>
<section id='executing-tasks'>
<title>Executing Tasks</title>
<para>
Tasks can be either a shell task or a Python task.
For shell tasks, BitBake writes a shell script to
<filename>${</filename><link linkend='var-bb-T'><filename>T</filename></link><filename>}/run.do_taskname.pid</filename>
and then executes the script.
The generated shell script contains all the exported variables,
and the shell functions with all variables expanded.
Output from the shell script goes to the file
<filename>${T}/log.do_taskname.pid</filename>.
Looking at the expanded shell functions in the run file and
the output in the log files is a useful debugging technique.
</para>
<para>
For Python tasks, BitBake executes the task internally and logs
information to the controlling terminal.
Future versions of BitBake will write the functions to files
similar to the way shell tasks are handled.
Logging will be handled in a way similar to shell tasks as well.
</para>
<para>
The order in which BitBake runs the tasks is controlled by its
task scheduler.
It is possible to configure the scheduler and define custom
implementations for specific use cases.
For more information, see these variables that control the
behavior:
<itemizedlist>
<listitem><para>
<link linkend='var-bb-BB_SCHEDULER'><filename>BB_SCHEDULER</filename></link>
</para></listitem>
<listitem><para>
<link linkend='var-bb-BB_SCHEDULERS'><filename>BB_SCHEDULERS</filename></link>
</para></listitem>
</itemizedlist>
It is possible to have functions run before and after a task's main
function.
This is done using the <filename>[prefuncs]</filename>
and <filename>[postfuncs]</filename> flags of the task
that lists the functions to run.
</para>
</section>
<section id='checksums'>
<title>Checksums (Signatures)</title>
<para>
A checksum is a unique signature of a task's inputs.
The signature of a task can be used to determine if a task
needs to be run.
Because it is a change in a task's inputs that triggers running
the task, BitBake needs to detect all the inputs to a given task.
For shell tasks, this turns out to be fairly easy because
BitBake generates a "run" shell script for each task and
it is possible to create a checksum that gives you a good idea of when
the task's data changes.
</para>
<para>
To complicate the problem, some things should not be included in
the checksum.
First, there is the actual specific build path of a given task -
the working directory.
It does not matter if the working directory changes because it should not
affect the output for target packages.
The simplistic approach for excluding the working directory is to set
it to some fixed value and create the checksum for the "run" script.
BitBake goes one step better and uses the
<link linkend='var-bb-BB_HASHBASE_WHITELIST'><filename>BB_HASHBASE_WHITELIST</filename></link>
variable to define a list of variables that should never be included
when generating the signatures.
</para>
<para>
Another problem results from the "run" scripts containing functions that
might or might not get called.
The incremental build solution contains code that figures out dependencies
between shell functions.
This code is used to prune the "run" scripts down to the minimum set,
thereby alleviating this problem and making the "run" scripts much more
readable as a bonus.
</para>
<para>
So far we have solutions for shell scripts.
What about Python tasks?
The same approach applies even though these tasks are more difficult.
The process needs to figure out what variables a Python function accesses
and what functions it calls.
Again, the incremental build solution contains code that first figures out
the variable and function dependencies, and then creates a checksum for the data
used as the input to the task.
</para>
<para>
Like the working directory case, situations exist where dependencies
should be ignored.
For these cases, you can instruct the build process to ignore a dependency
by using a line like the following:
<literallayout class='monospaced'>
PACKAGE_ARCHS[vardepsexclude] = "MACHINE"
</literallayout>
This example ensures that the <filename>PACKAGE_ARCHS</filename> variable does not
depend on the value of <filename>MACHINE</filename>, even if it does reference it.
</para>
<para>
Equally, there are cases where we need to add dependencies BitBake
is not able to find.
You can accomplish this by using a line like the following:
<literallayout class='monospaced'>
PACKAGE_ARCHS[vardeps] = "MACHINE"
</literallayout>
This example explicitly adds the <filename>MACHINE</filename> variable as a
dependency for <filename>PACKAGE_ARCHS</filename>.
</para>
<para>
Consider a case with in-line Python, for example, where BitBake is not
able to figure out dependencies.
When running in debug mode (i.e. using <filename>-DDD</filename>), BitBake
produces output when it discovers something for which it cannot figure out
dependencies.
</para>
<para>
Thus far, this section has limited discussion to the direct inputs into a task.
Information based on direct inputs is referred to as the "basehash" in the
code.
However, there is still the question of a task's indirect inputs - the
things that were already built and present in the build directory.
The checksum (or signature) for a particular task needs to add the hashes
of all the tasks on which the particular task depends.
Choosing which dependencies to add is a policy decision.
However, the effect is to generate a master checksum that combines the basehash
and the hashes of the task's dependencies.
</para>
<para>
At the code level, there are a variety of ways both the basehash and the
dependent task hashes can be influenced.
Within the BitBake configuration file, we can give BitBake some extra information
to help it construct the basehash.
The following statement effectively results in a list of global variable
dependency excludes - variables never included in any checksum.
This example uses variables from OpenEmbedded to help illustrate
the concept:
<literallayout class='monospaced'>
BB_HASHBASE_WHITELIST ?= "TMPDIR FILE PATH PWD BB_TASKHASH BBPATH DL_DIR \
SSTATE_DIR THISDIR FILESEXTRAPATHS FILE_DIRNAME HOME LOGNAME SHELL TERM \
USER FILESPATH STAGING_DIR_HOST STAGING_DIR_TARGET COREBASE PRSERV_HOST \
PRSERV_DUMPDIR PRSERV_DUMPFILE PRSERV_LOCKDOWN PARALLEL_MAKE \
CCACHE_DIR EXTERNAL_TOOLCHAIN CCACHE CCACHE_DISABLE LICENSE_PATH SDKPKGSUFFIX"
</literallayout>
The previous example excludes the work directory, which is part of
<filename>TMPDIR</filename>.
</para>
<para>
The rules for deciding which hashes of dependent tasks to include through
dependency chains are more complex and are generally accomplished with a
Python function.
The code in <filename>meta/lib/oe/sstatesig.py</filename> shows two examples
of this and also illustrates how you can insert your own policy into the system
if so desired.
This file defines the two basic signature generators OpenEmbedded-Core
uses: "OEBasic" and "OEBasicHash".
By default, there is a dummy "noop" signature handler enabled in BitBake.
This means that behavior is unchanged from previous versions.
<filename>OE-Core</filename> uses the "OEBasicHash" signature handler by default
through this setting in the <filename>bitbake.conf</filename> file:
<literallayout class='monospaced'>
BB_SIGNATURE_HANDLER ?= "OEBasicHash"
</literallayout>
The "OEBasicHash" <filename>BB_SIGNATURE_HANDLER</filename> is the same as the
"OEBasic" version but adds the task hash to the stamp files.
This results in any metadata change that changes the task hash, automatically
causing the task to be run again.
This removes the need to bump
<link linkend='var-bb-PR'><filename>PR</filename></link>
values, and changes to metadata automatically ripple across the build.
</para>
<para>
It is also worth noting that the end result of these signature generators is to
make some dependency and hash information available to the build.
This information includes:
<itemizedlist>
<listitem><para><filename>BB_BASEHASH_task-</filename><replaceable>taskname</replaceable>:
The base hashes for each task in the recipe.
</para></listitem>
<listitem><para><filename>BB_BASEHASH_</filename><replaceable>filename</replaceable><filename>:</filename><replaceable>taskname</replaceable>:
The base hashes for each dependent task.
</para></listitem>
<listitem><para><filename>BBHASHDEPS_</filename><replaceable>filename</replaceable><filename>:</filename><replaceable>taskname</replaceable>:
The task dependencies for each task.
</para></listitem>
<listitem><para><filename>BB_TASKHASH</filename>:
The hash of the currently running task.
</para></listitem>
</itemizedlist>
</para>
<para>
It is worth noting that BitBake's "-S" option lets you
debug BitBake's processing of signatures.
The options passed to -S allow different debugging modes
to be used, either using BitBake's own debug functions
or possibly those defined in the metadata/signature handler
itself.
The simplest parameter to pass is "none", which causes a
set of signature information to be written out into
<filename>STAMPS_DIR</filename>
corresponding to the targets specified.
The other currently available parameter is "printdiff",
which causes BitBake to try to establish the closest
signature match it can (e.g. in the sstate cache) and then
run <filename>bitbake-diffsigs</filename> over the matches
to determine the stamps and delta where these two
stamp trees diverge.
<note>
It is likely that future versions of BitBake will
provide other signature handlers triggered through
additional "-S" parameters.
</note>
</para>
<para>
You can find more information on checksum metadata in the
"<link linkend='task-checksums-and-setscene'>Task Checksums and Setscene</link>"
section.
</para>
</section>
<section id='setscene'>
<title>Setscene</title>
<para>
The setscene process enables BitBake to handle "pre-built" artifacts.
The ability to handle and reuse these artifacts allows BitBake
the luxury of not having to build something from scratch every time.
Instead, BitBake can use, when possible, existing build artifacts.
</para>
<para>
BitBake needs to have reliable data indicating whether or not an
artifact is compatible.
Signatures, described in the previous section, provide an ideal
way of representing whether an artifact is compatible.
If a signature is the same, an object can be reused.
</para>
<para>
If an object can be reused, the problem then becomes how to
replace a given task or set of tasks with the pre-built artifact.
BitBake solves the problem with the "setscene" process.
</para>
<para>
When BitBake is asked to build a given target, before building anything,
it first asks whether cached information is available for any of the
targets it's building, or any of the intermediate targets.
If cached information is available, BitBake uses this information instead of
running the main tasks.
</para>
<para>
BitBake first calls the function defined by the
<link linkend='var-bb-BB_HASHCHECK_FUNCTION'><filename>BB_HASHCHECK_FUNCTION</filename></link>
variable with a list of tasks and corresponding
hashes it wants to build.
This function is designed to be fast and returns a list
of the tasks for which it believes in can obtain artifacts.
</para>
<para>
Next, for each of the tasks that were returned as possibilities,
BitBake executes a setscene version of the task that the possible
artifact covers.
Setscene versions of a task have the string "_setscene" appended to the
task name.
So, for example, the task with the name <filename>xxx</filename> has
a setscene task named <filename>xxx_setscene</filename>.
The setscene version of the task executes and provides the necessary
artifacts returning either success or failure.
</para>
<para>
As previously mentioned, an artifact can cover more than one task.
For example, it is pointless to obtain a compiler if you
already have the compiled binary.
To handle this, BitBake calls the
<link linkend='var-bb-BB_SETSCENE_DEPVALID'><filename>BB_SETSCENE_DEPVALID</filename></link>
function for each successful setscene task to know whether or not it needs
to obtain the dependencies of that task.
</para>
<para>
Finally, after all the setscene tasks have executed, BitBake calls the
function listed in
<link linkend='var-bb-BB_SETSCENE_VERIFY_FUNCTION2'><filename>BB_SETSCENE_VERIFY_FUNCTION2</filename></link>
with the list of tasks BitBake thinks has been "covered".
The metadata can then ensure that this list is correct and can
inform BitBake that it wants specific tasks to be run regardless
of the setscene result.
</para>
<para>
You can find more information on setscene metadata in the
"<link linkend='task-checksums-and-setscene'>Task Checksums and Setscene</link>"
section.
</para>
</section>
</chapter>

View File

@@ -0,0 +1,683 @@
.. SPDX-License-Identifier: CC-BY-2.5
=====================
File Download Support
=====================
|
BitBake's fetch module is a standalone piece of library code that deals
with the intricacies of downloading source code and files from remote
systems. Fetching source code is one of the cornerstones of building
software. As such, this module forms an important part of BitBake.
The current fetch module is called "fetch2" and refers to the fact that
it is the second major version of the API. The original version is
obsolete and has been removed from the codebase. Thus, in all cases,
"fetch" refers to "fetch2" in this manual.
The Download (Fetch)
====================
BitBake takes several steps when fetching source code or files. The
fetcher codebase deals with two distinct processes in order: obtaining
the files from somewhere (cached or otherwise) and then unpacking those
files into a specific location and perhaps in a specific way. Getting
and unpacking the files is often optionally followed by patching.
Patching, however, is not covered by this module.
The code to execute the first part of this process, a fetch, looks
something like the following::
src_uri = (d.getVar('SRC_URI') or "").split()
fetcher = bb.fetch2.Fetch(src_uri, d)
fetcher.download()
This code sets up an instance of the fetch class. The instance uses a
space-separated list of URLs from the :term:`SRC_URI`
variable and then calls the ``download`` method to download the files.
The instantiation of the fetch class is usually followed by::
rootdir = l.getVar('WORKDIR')
fetcher.unpack(rootdir)
This code unpacks the downloaded files to the specified by ``WORKDIR``.
.. note::
For convenience, the naming in these examples matches the variables
used by OpenEmbedded. If you want to see the above code in action,
examine the OpenEmbedded class file ``base.bbclass``
.
The ``SRC_URI`` and ``WORKDIR`` variables are not hardcoded into the
fetcher, since those fetcher methods can be (and are) called with
different variable names. In OpenEmbedded for example, the shared state
(sstate) code uses the fetch module to fetch the sstate files.
When the ``download()`` method is called, BitBake tries to resolve the
URLs by looking for source files in a specific search order:
- *Pre-mirror Sites:* BitBake first uses pre-mirrors to try and find
source files. These locations are defined using the
:term:`PREMIRRORS` variable.
- *Source URI:* If pre-mirrors fail, BitBake uses the original URL (e.g
from ``SRC_URI``).
- *Mirror Sites:* If fetch failures occur, BitBake next uses mirror
locations as defined by the :term:`MIRRORS` variable.
For each URL passed to the fetcher, the fetcher calls the submodule that
handles that particular URL type. This behavior can be the source of
some confusion when you are providing URLs for the ``SRC_URI`` variable.
Consider the following two URLs::
http://git.yoctoproject.org/git/poky;protocol=git
git://git.yoctoproject.org/git/poky;protocol=http
In the former case, the URL is passed to the ``wget`` fetcher, which does not
understand "git". Therefore, the latter case is the correct form since the Git
fetcher does know how to use HTTP as a transport.
Here are some examples that show commonly used mirror definitions::
PREMIRRORS ?= "\
bzr://.*/.\* http://somemirror.org/sources/ \\n \
cvs://.*/.\* http://somemirror.org/sources/ \\n \
git://.*/.\* http://somemirror.org/sources/ \\n \
hg://.*/.\* http://somemirror.org/sources/ \\n \
osc://.*/.\* http://somemirror.org/sources/ \\n \
p4://.*/.\* http://somemirror.org/sources/ \\n \
svn://.*/.\* http://somemirror.org/sources/ \\n"
MIRRORS =+ "\
ftp://.*/.\* http://somemirror.org/sources/ \\n \
http://.*/.\* http://somemirror.org/sources/ \\n \
https://.*/.\* http://somemirror.org/sources/ \\n"
It is useful to note that BitBake
supports cross-URLs. It is possible to mirror a Git repository on an
HTTP server as a tarball. This is what the ``git://`` mapping in the
previous example does.
Since network accesses are slow, BitBake maintains a cache of files
downloaded from the network. Any source files that are not local (i.e.
downloaded from the Internet) are placed into the download directory,
which is specified by the :term:`DL_DIR` variable.
File integrity is of key importance for reproducing builds. For
non-local archive downloads, the fetcher code can verify SHA-256 and MD5
checksums to ensure the archives have been downloaded correctly. You can
specify these checksums by using the ``SRC_URI`` variable with the
appropriate varflags as follows::
SRC_URI[md5sum] = "value"
SRC_URI[sha256sum] = "value"
You can also specify the checksums as
parameters on the ``SRC_URI`` as shown below::
SRC_URI = "http://example.com/foobar.tar.bz2;md5sum=4a8e0f237e961fd7785d19d07fdb994d"
If multiple URIs exist, you can specify the checksums either directly as
in the previous example, or you can name the URLs. The following syntax
shows how you name the URIs::
SRC_URI = "http://example.com/foobar.tar.bz2;name=foo"
SRC_URI[foo.md5sum] = 4a8e0f237e961fd7785d19d07fdb994d
After a file has been downloaded and
has had its checksum checked, a ".done" stamp is placed in ``DL_DIR``.
BitBake uses this stamp during subsequent builds to avoid downloading or
comparing a checksum for the file again.
.. note::
It is assumed that local storage is safe from data corruption. If
this were not the case, there would be bigger issues to worry about.
If :term:`BB_STRICT_CHECKSUM` is set, any
download without a checksum triggers an error message. The
:term:`BB_NO_NETWORK` variable can be used to
make any attempted network access a fatal error, which is useful for
checking that mirrors are complete as well as other things.
.. _bb-the-unpack:
The Unpack
==========
The unpack process usually immediately follows the download. For all
URLs except Git URLs, BitBake uses the common ``unpack`` method.
A number of parameters exist that you can specify within the URL to
govern the behavior of the unpack stage:
- *unpack:* Controls whether the URL components are unpacked. If set to
"1", which is the default, the components are unpacked. If set to
"0", the unpack stage leaves the file alone. This parameter is useful
when you want an archive to be copied in and not be unpacked.
- *dos:* Applies to ``.zip`` and ``.jar`` files and specifies whether
to use DOS line ending conversion on text files.
- *subdir:* Unpacks the specific URL to the specified subdirectory
within the root directory.
The unpack call automatically decompresses and extracts files with ".Z",
".z", ".gz", ".xz", ".zip", ".jar", ".ipk", ".rpm". ".srpm", ".deb" and
".bz2" extensions as well as various combinations of tarball extensions.
As mentioned, the Git fetcher has its own unpack method that is
optimized to work with Git trees. Basically, this method works by
cloning the tree into the final directory. The process is completed
using references so that there is only one central copy of the Git
metadata needed.
.. _bb-fetchers:
Fetchers
========
As mentioned earlier, the URL prefix determines which fetcher submodule
BitBake uses. Each submodule can support different URL parameters, which
are described in the following sections.
.. _local-file-fetcher:
Local file fetcher (``file://``)
--------------------------------
This submodule handles URLs that begin with ``file://``. The filename
you specify within the URL can be either an absolute or relative path to
a file. If the filename is relative, the contents of the
:term:`FILESPATH` variable is used in the same way
``PATH`` is used to find executables. If the file cannot be found, it is
assumed that it is available in :term:`DL_DIR` by the
time the ``download()`` method is called.
If you specify a directory, the entire directory is unpacked.
Here are a couple of example URLs, the first relative and the second
absolute::
SRC_URI = "file://relativefile.patch"
SRC_URI = "file:///Users/ich/very_important_software"
.. _http-ftp-fetcher:
HTTP/FTP wget fetcher (``http://``, ``ftp://``, ``https://``)
-------------------------------------------------------------
This fetcher obtains files from web and FTP servers. Internally, the
fetcher uses the wget utility.
The executable and parameters used are specified by the
``FETCHCMD_wget`` variable, which defaults to sensible values. The
fetcher supports a parameter "downloadfilename" that allows the name of
the downloaded file to be specified. Specifying the name of the
downloaded file is useful for avoiding collisions in
:term:`DL_DIR` when dealing with multiple files that
have the same name.
Some example URLs are as follows::
SRC_URI = "http://oe.handhelds.org/not_there.aac"
SRC_URI = "ftp://oe.handhelds.org/not_there_as_well.aac"
SRC_URI = "ftp://you@oe.handhelds.org/home/you/secret.plan"
.. note::
Because URL parameters are delimited by semi-colons, this can
introduce ambiguity when parsing URLs that also contain semi-colons,
for example::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git;a=snapshot;h=a5dd47"
Such URLs should should be modified by replacing semi-colons with '&'
characters::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47"
In most cases this should work. Treating semi-colons and '&' in
queries identically is recommended by the World Wide Web Consortium
(W3C). Note that due to the nature of the URL, you may have to
specify the name of the downloaded file as well::
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&a=snapshot&h=a5dd47;downloadfilename=myfile.bz2"
.. _cvs-fetcher:
CVS fetcher (``(cvs://``)
-------------------------
This submodule handles checking out files from the CVS version control
system. You can configure it using a number of different variables:
- :term:`FETCHCMD_cvs <FETCHCMD>`: The name of the executable to use when running
the ``cvs`` command. This name is usually "cvs".
- :term:`SRCDATE`: The date to use when fetching the CVS source code. A
special value of "now" causes the checkout to be updated on every
build.
- :term:`CVSDIR`: Specifies where a temporary
checkout is saved. The location is often ``DL_DIR/cvs``.
- CVS_PROXY_HOST: The name to use as a "proxy=" parameter to the
``cvs`` command.
- CVS_PROXY_PORT: The port number to use as a "proxyport="
parameter to the ``cvs`` command.
As well as the standard username and password URL syntax, you can also
configure the fetcher with various URL parameters:
The supported parameters are as follows:
- *"method":* The protocol over which to communicate with the CVS
server. By default, this protocol is "pserver". If "method" is set to
"ext", BitBake examines the "rsh" parameter and sets ``CVS_RSH``. You
can use "dir" for local directories.
- *"module":* Specifies the module to check out. You must supply this
parameter.
- *"tag":* Describes which CVS TAG should be used for the checkout. By
default, the TAG is empty.
- *"date":* Specifies a date. If no "date" is specified, the
:term:`SRCDATE` of the configuration is used to
checkout a specific date. The special value of "now" causes the
checkout to be updated on every build.
- *"localdir":* Used to rename the module. Effectively, you are
renaming the output directory to which the module is unpacked. You
are forcing the module into a special directory relative to
:term:`CVSDIR`.
- *"rsh":* Used in conjunction with the "method" parameter.
- *"scmdata":* Causes the CVS metadata to be maintained in the tarball
the fetcher creates when set to "keep". The tarball is expanded into
the work directory. By default, the CVS metadata is removed.
- *"fullpath":* Controls whether the resulting checkout is at the
module level, which is the default, or is at deeper paths.
- *"norecurse":* Causes the fetcher to only checkout the specified
directory with no recurse into any subdirectories.
- *"port":* The port to which the CVS server connects.
Some example URLs are as follows::
SRC_URI = "cvs://CVSROOT;module=mymodule;tag=some-version;method=ext"
SRC_URI = "cvs://CVSROOT;module=mymodule;date=20060126;localdir=usethat"
.. _svn-fetcher:
Subversion (SVN) Fetcher (``svn://``)
-------------------------------------
This fetcher submodule fetches code from the Subversion source control
system. The executable used is specified by ``FETCHCMD_svn``, which
defaults to "svn". The fetcher's temporary working directory is set by
:term:`SVNDIR`, which is usually ``DL_DIR/svn``.
The supported parameters are as follows:
- *"module":* The name of the svn module to checkout. You must provide
this parameter. You can think of this parameter as the top-level
directory of the repository data you want.
- *"path_spec":* A specific directory in which to checkout the
specified svn module.
- *"protocol":* The protocol to use, which defaults to "svn". If
"protocol" is set to "svn+ssh", the "ssh" parameter is also used.
- *"rev":* The revision of the source code to checkout.
- *"scmdata":* Causes the ".svn" directories to be available during
compile-time when set to "keep". By default, these directories are
removed.
- *"ssh":* An optional parameter used when "protocol" is set to
"svn+ssh". You can use this parameter to specify the ssh program used
by svn.
- *"transportuser":* When required, sets the username for the
transport. By default, this parameter is empty. The transport
username is different than the username used in the main URL, which
is passed to the subversion command.
Following are three examples using svn::
SRC_URI = "svn://myrepos/proj1;module=vip;protocol=http;rev=667"
SRC_URI = "svn://myrepos/proj1;module=opie;protocol=svn+ssh"
SRC_URI = "svn://myrepos/proj1;module=trunk;protocol=http;path_spec=${MY_DIR}/proj1"
.. _git-fetcher:
Git Fetcher (``git://``)
------------------------
This fetcher submodule fetches code from the Git source control system.
The fetcher works by creating a bare clone of the remote into
:term:`GITDIR`, which is usually ``DL_DIR/git2``. This
bare clone is then cloned into the work directory during the unpack
stage when a specific tree is checked out. This is done using alternates
and by reference to minimize the amount of duplicate data on the disk
and make the unpack process fast. The executable used can be set with
``FETCHCMD_git``.
This fetcher supports the following parameters:
- *"protocol":* The protocol used to fetch the files. The default is
"git" when a hostname is set. If a hostname is not set, the Git
protocol is "file". You can also use "http", "https", "ssh" and
"rsync".
- *"nocheckout":* Tells the fetcher to not checkout source code when
unpacking when set to "1". Set this option for the URL where there is
a custom routine to checkout code. The default is "0".
- *"rebaseable":* Indicates that the upstream Git repository can be
rebased. You should set this parameter to "1" if revisions can become
detached from branches. In this case, the source mirror tarball is
done per revision, which has a loss of efficiency. Rebasing the
upstream Git repository could cause the current revision to disappear
from the upstream repository. This option reminds the fetcher to
preserve the local cache carefully for future use. The default value
for this parameter is "0".
- *"nobranch":* Tells the fetcher to not check the SHA validation for
the branch when set to "1". The default is "0". Set this option for
the recipe that refers to the commit that is valid for a tag instead
of the branch.
- *"bareclone":* Tells the fetcher to clone a bare clone into the
destination directory without checking out a working tree. Only the
raw Git metadata is provided. This parameter implies the "nocheckout"
parameter as well.
- *"branch":* The branch(es) of the Git tree to clone. If unset, this
is assumed to be "master". The number of branch parameters much match
the number of name parameters.
- *"rev":* The revision to use for the checkout. The default is
"master".
- *"tag":* Specifies a tag to use for the checkout. To correctly
resolve tags, BitBake must access the network. For that reason, tags
are often not used. As far as Git is concerned, the "tag" parameter
behaves effectively the same as the "rev" parameter.
- *"subpath":* Limits the checkout to a specific subpath of the tree.
By default, the whole tree is checked out.
- *"destsuffix":* The name of the path in which to place the checkout.
By default, the path is ``git/``.
- *"usehead":* Enables local ``git://`` URLs to use the current branch
HEAD as the revision for use with ``AUTOREV``. The "usehead"
parameter implies no branch and only works when the transfer protocol
is ``file://``.
Here are some example URLs::
SRC_URI = "git://git.oe.handhelds.org/git/vip.git;tag=version-1"
SRC_URI = "git://git.oe.handhelds.org/git/vip.git;protocol=http"
.. note::
Specifying passwords directly in ``git://`` urls is not supported.
There are several reasons: ``SRC_URI`` is often written out to logs and
other places, and that could easily leak passwords; it is also all too
easy to share metadata without removing passwords. SSH keys, ``~/.netrc``
and ``~/.ssh/config`` files can be used as alternatives.
.. _gitsm-fetcher:
Git Submodule Fetcher (``gitsm://``)
------------------------------------
This fetcher submodule inherits from the :ref:`Git
fetcher<bitbake-user-manual/bitbake-user-manual-fetching:git fetcher
(\`\`git://\`\`)>` and extends that fetcher's behavior by fetching a
repository's submodules. :term:`SRC_URI` is passed to the Git fetcher as
described in the :ref:`bitbake-user-manual/bitbake-user-manual-fetching:git
fetcher (\`\`git://\`\`)` section.
.. note::
You must clean a recipe when switching between '``git://``' and
'``gitsm://``' URLs.
The Git Submodules fetcher is not a complete fetcher implementation.
The fetcher has known issues where it does not use the normal source
mirroring infrastructure properly. Further, the submodule sources it
fetches are not visible to the licensing and source archiving
infrastructures.
.. _clearcase-fetcher:
ClearCase Fetcher (``ccrc://``)
-------------------------------
This fetcher submodule fetches code from a
`ClearCase <http://en.wikipedia.org/wiki/Rational_ClearCase>`__
repository.
To use this fetcher, make sure your recipe has proper
:term:`SRC_URI`, :term:`SRCREV`, and
:term:`PV` settings. Here is an example::
SRC_URI = "ccrc://cc.example.org/ccrc;vob=/example_vob;module=/example_module"
SRCREV = "EXAMPLE_CLEARCASE_TAG"
PV = "${@d.getVar("SRCREV", False).replace("/", "+")}"
The fetcher uses the ``rcleartool`` or
``cleartool`` remote client, depending on which one is available.
Following are options for the ``SRC_URI`` statement:
- *vob*: The name, which must include the prepending "/" character,
of the ClearCase VOB. This option is required.
- *module*: The module, which must include the prepending "/"
character, in the selected VOB.
.. note::
The module and vob options are combined to create the load rule in the
view config spec. As an example, consider the vob and module values from
the SRC_URI statement at the start of this section. Combining those values
results in the following::
load /example_vob/example_module
- *proto*: The protocol, which can be either ``http`` or ``https``.
By default, the fetcher creates a configuration specification. If you
want this specification written to an area other than the default, use
the ``CCASE_CUSTOM_CONFIG_SPEC`` variable in your recipe to define where
the specification is written.
.. note::
the SRCREV loses its functionality if you specify this variable. However,
SRCREV is still used to label the archive after a fetch even though it does
not define what is fetched.
Here are a couple of other behaviors worth mentioning:
- When using ``cleartool``, the login of ``cleartool`` is handled by
the system. The login require no special steps.
- In order to use ``rcleartool`` with authenticated users, an
"rcleartool login" is necessary before using the fetcher.
.. _perforce-fetcher:
Perforce Fetcher (``p4://``)
----------------------------
This fetcher submodule fetches code from the
`Perforce <https://www.perforce.com/>`__ source control system. The
executable used is specified by ``FETCHCMD_p4``, which defaults to "p4".
The fetcher's temporary working directory is set by
:term:`P4DIR`, which defaults to "DL_DIR/p4".
The fetcher does not make use of a perforce client, instead it
relies on ``p4 files`` to retrieve a list of
files and ``p4 print`` to transfer the content
of those files locally.
To use this fetcher, make sure your recipe has proper
:term:`SRC_URI`, :term:`SRCREV`, and
:term:`PV` values. The p4 executable is able to use the
config file defined by your system's ``P4CONFIG`` environment variable
in order to define the Perforce server URL and port, username, and
password if you do not wish to keep those values in a recipe itself. If
you choose not to use ``P4CONFIG``, or to explicitly set variables that
``P4CONFIG`` can contain, you can specify the ``P4PORT`` value, which is
the server's URL and port number, and you can specify a username and
password directly in your recipe within ``SRC_URI``.
Here is an example that relies on ``P4CONFIG`` to specify the server URL
and port, username, and password, and fetches the Head Revision::
SRC_URI = "p4://example-depot/main/source/..."
SRCREV = "${AUTOREV}"
PV = "p4-${SRCPV}"
S = "${WORKDIR}/p4"
Here is an example that specifies the server URL and port, username, and
password, and fetches a Revision based on a Label::
P4PORT = "tcp:p4server.example.net:1666"
SRC_URI = "p4://user:passwd@example-depot/main/source/..."
SRCREV = "release-1.0"
PV = "p4-${SRCPV}"
S = "${WORKDIR}/p4"
.. note::
You should always set S to "${WORKDIR}/p4" in your recipe.
By default, the fetcher strips the depot location from the local file paths. In
the above example, the content of ``example-depot/main/source/`` will be placed
in ``${WORKDIR}/p4``. For situations where preserving parts of the remote depot
paths locally is desirable, the fetcher supports two parameters:
- *"module":*
The top-level depot location or directory to fetch. The value of this
parameter can also point to a single file within the depot, in which case
the local file path will include the module path.
- *"remotepath":*
When used with the value "``keep``", the fetcher will mirror the full depot
paths locally for the specified location, even in combination with the
``module`` parameter.
Here is an example use of the the ``module`` parameter::
SRC_URI = "p4://user:passwd@example-depot/main;module=source/..."
In this case, the content of the top-level directory ``source/`` will be fetched
to ``${P4DIR}``, including the directory itself. The top-level directory will
be accesible at ``${P4DIR}/source/``.
Here is an example use of the the ``remotepath`` parameter::
SRC_URI = "p4://user:passwd@example-depot/main;module=source/...;remotepath=keep"
In this case, the content of the top-level directory ``source/`` will be fetched
to ``${P4DIR}``, but the complete depot paths will be mirrored locally. The
top-level directory will be accessible at
``${P4DIR}/example-depot/main/source/``.
.. _repo-fetcher:
Repo Fetcher (``repo://``)
--------------------------
This fetcher submodule fetches code from ``google-repo`` source control
system. The fetcher works by initiating and syncing sources of the
repository into :term:`REPODIR`, which is usually
``${DL_DIR}/repo``.
This fetcher supports the following parameters:
- *"protocol":* Protocol to fetch the repository manifest (default:
git).
- *"branch":* Branch or tag of repository to get (default: master).
- *"manifest":* Name of the manifest file (default: ``default.xml``).
Here are some example URLs::
SRC_URI = "repo://REPOROOT;protocol=git;branch=some_branch;manifest=my_manifest.xml"
SRC_URI = "repo://REPOROOT;protocol=file;branch=some_branch;manifest=my_manifest.xml"
.. _az-fetcher:
Az Fetcher (``az://``)
--------------------------
This submodule fetches data from an
`Azure Storage account <https://docs.microsoft.com/en-us/azure/storage/>`__ ,
it inherits its functionality from the HTTP wget fetcher, but modifies its
behavior to accomodate the usage of a
`Shared Access Signature (SAS) <https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview>`__
for non-public data.
Such functionality is set by the variable:
- :term:`AZ_SAS`: The Azure Storage Shared Access Signature provides secure
delegate access to resources, if this variable is set, the Az Fetcher will
use it when fetching artifacts from the cloud.
You can specify the AZ_SAS variable as shown below::
AZ_SAS = "se=2021-01-01&sp=r&sv=2018-11-09&sr=c&skoid=<skoid>&sig=<signature>"
Here is an example URL::
SRC_URI = "az://<azure-storage-account>.blob.core.windows.net/<foo_container>/<bar_file>"
It can also be used when setting mirrors definitions using the :term:`PREMIRRORS` variable.
Other Fetchers
--------------
Fetch submodules also exist for the following:
- Bazaar (``bzr://``)
- Mercurial (``hg://``)
- npm (``npm://``)
- OSC (``osc://``)
- Secure FTP (``sftp://``)
- Secure Shell (``ssh://``)
- Trees using Git Annex (``gitannex://``)
No documentation currently exists for these lesser used fetcher
submodules. However, you might find the code helpful and readable.
Auto Revisions
==============
We need to document ``AUTOREV`` and ``SRCREV_FORMAT`` here.

View File

@@ -1,868 +0,0 @@
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<chapter>
<title>File Download Support</title>
<para>
BitBake's fetch module is a standalone piece of library code
that deals with the intricacies of downloading source code
and files from remote systems.
Fetching source code is one of the cornerstones of building software.
As such, this module forms an important part of BitBake.
</para>
<para>
The current fetch module is called "fetch2" and refers to the
fact that it is the second major version of the API.
The original version is obsolete and has been removed from the codebase.
Thus, in all cases, "fetch" refers to "fetch2" in this
manual.
</para>
<section id='the-download-fetch'>
<title>The Download (Fetch)</title>
<para>
BitBake takes several steps when fetching source code or files.
The fetcher codebase deals with two distinct processes in order:
obtaining the files from somewhere (cached or otherwise)
and then unpacking those files into a specific location and
perhaps in a specific way.
Getting and unpacking the files is often optionally followed
by patching.
Patching, however, is not covered by this module.
</para>
<para>
The code to execute the first part of this process, a fetch,
looks something like the following:
<literallayout class='monospaced'>
src_uri = (d.getVar('SRC_URI') or "").split()
fetcher = bb.fetch2.Fetch(src_uri, d)
fetcher.download()
</literallayout>
This code sets up an instance of the fetch class.
The instance uses a space-separated list of URLs from the
<link linkend='var-bb-SRC_URI'><filename>SRC_URI</filename></link>
variable and then calls the <filename>download</filename>
method to download the files.
</para>
<para>
The instantiation of the fetch class is usually followed by:
<literallayout class='monospaced'>
rootdir = l.getVar('WORKDIR')
fetcher.unpack(rootdir)
</literallayout>
This code unpacks the downloaded files to the
specified by <filename>WORKDIR</filename>.
<note>
For convenience, the naming in these examples matches
the variables used by OpenEmbedded.
If you want to see the above code in action, examine
the OpenEmbedded class file <filename>base.bbclass</filename>.
</note>
The <filename>SRC_URI</filename> and <filename>WORKDIR</filename>
variables are not hardcoded into the fetcher, since those fetcher
methods can be (and are) called with different variable names.
In OpenEmbedded for example, the shared state (sstate) code uses
the fetch module to fetch the sstate files.
</para>
<para>
When the <filename>download()</filename> method is called,
BitBake tries to resolve the URLs by looking for source files
in a specific search order:
<itemizedlist>
<listitem><para><emphasis>Pre-mirror Sites:</emphasis>
BitBake first uses pre-mirrors to try and find source files.
These locations are defined using the
<link linkend='var-bb-PREMIRRORS'><filename>PREMIRRORS</filename></link>
variable.
</para></listitem>
<listitem><para><emphasis>Source URI:</emphasis>
If pre-mirrors fail, BitBake uses the original URL (e.g from
<filename>SRC_URI</filename>).
</para></listitem>
<listitem><para><emphasis>Mirror Sites:</emphasis>
If fetch failures occur, BitBake next uses mirror locations as
defined by the
<link linkend='var-bb-MIRRORS'><filename>MIRRORS</filename></link>
variable.
</para></listitem>
</itemizedlist>
</para>
<para>
For each URL passed to the fetcher, the fetcher
calls the submodule that handles that particular URL type.
This behavior can be the source of some confusion when you
are providing URLs for the <filename>SRC_URI</filename>
variable.
Consider the following two URLs:
<literallayout class='monospaced'>
http://git.yoctoproject.org/git/poky;protocol=git
git://git.yoctoproject.org/git/poky;protocol=http
</literallayout>
In the former case, the URL is passed to the
<filename>wget</filename> fetcher, which does not
understand "git".
Therefore, the latter case is the correct form since the
Git fetcher does know how to use HTTP as a transport.
</para>
<para>
Here are some examples that show commonly used mirror
definitions:
<literallayout class='monospaced'>
PREMIRRORS ?= "\
bzr://.*/.* http://somemirror.org/sources/ \n \
cvs://.*/.* http://somemirror.org/sources/ \n \
git://.*/.* http://somemirror.org/sources/ \n \
hg://.*/.* http://somemirror.org/sources/ \n \
osc://.*/.* http://somemirror.org/sources/ \n \
p4://.*/.* http://somemirror.org/sources/ \n \
svn://.*/.* http://somemirror.org/sources/ \n"
MIRRORS =+ "\
ftp://.*/.* http://somemirror.org/sources/ \n \
http://.*/.* http://somemirror.org/sources/ \n \
https://.*/.* http://somemirror.org/sources/ \n"
</literallayout>
It is useful to note that BitBake supports
cross-URLs.
It is possible to mirror a Git repository on an HTTP
server as a tarball.
This is what the <filename>git://</filename> mapping in
the previous example does.
</para>
<para>
Since network accesses are slow, BitBake maintains a
cache of files downloaded from the network.
Any source files that are not local (i.e.
downloaded from the Internet) are placed into the download
directory, which is specified by the
<link linkend='var-bb-DL_DIR'><filename>DL_DIR</filename></link>
variable.
</para>
<para>
File integrity is of key importance for reproducing builds.
For non-local archive downloads, the fetcher code can verify
SHA-256 and MD5 checksums to ensure the archives have been
downloaded correctly.
You can specify these checksums by using the
<filename>SRC_URI</filename> variable with the appropriate
varflags as follows:
<literallayout class='monospaced'>
SRC_URI[md5sum] = "<replaceable>value</replaceable>"
SRC_URI[sha256sum] = "<replaceable>value</replaceable>"
</literallayout>
You can also specify the checksums as parameters on the
<filename>SRC_URI</filename> as shown below:
<literallayout class='monospaced'>
SRC_URI = "http://example.com/foobar.tar.bz2;md5sum=4a8e0f237e961fd7785d19d07fdb994d"
</literallayout>
If multiple URIs exist, you can specify the checksums either
directly as in the previous example, or you can name the URLs.
The following syntax shows how you name the URIs:
<literallayout class='monospaced'>
SRC_URI = "http://example.com/foobar.tar.bz2;name=foo"
SRC_URI[foo.md5sum] = 4a8e0f237e961fd7785d19d07fdb994d
</literallayout>
After a file has been downloaded and has had its checksum checked,
a ".done" stamp is placed in <filename>DL_DIR</filename>.
BitBake uses this stamp during subsequent builds to avoid
downloading or comparing a checksum for the file again.
<note>
It is assumed that local storage is safe from data corruption.
If this were not the case, there would be bigger issues to worry about.
</note>
</para>
<para>
If
<link linkend='var-bb-BB_STRICT_CHECKSUM'><filename>BB_STRICT_CHECKSUM</filename></link>
is set, any download without a checksum triggers an
error message.
The
<link linkend='var-bb-BB_NO_NETWORK'><filename>BB_NO_NETWORK</filename></link>
variable can be used to make any attempted network access a fatal
error, which is useful for checking that mirrors are complete
as well as other things.
</para>
</section>
<section id='bb-the-unpack'>
<title>The Unpack</title>
<para>
The unpack process usually immediately follows the download.
For all URLs except Git URLs, BitBake uses the common
<filename>unpack</filename> method.
</para>
<para>
A number of parameters exist that you can specify within the
URL to govern the behavior of the unpack stage:
<itemizedlist>
<listitem><para><emphasis>unpack:</emphasis>
Controls whether the URL components are unpacked.
If set to "1", which is the default, the components
are unpacked.
If set to "0", the unpack stage leaves the file alone.
This parameter is useful when you want an archive to be
copied in and not be unpacked.
</para></listitem>
<listitem><para><emphasis>dos:</emphasis>
Applies to <filename>.zip</filename> and
<filename>.jar</filename> files and specifies whether to
use DOS line ending conversion on text files.
</para></listitem>
<listitem><para><emphasis>basepath:</emphasis>
Instructs the unpack stage to strip the specified
directories from the source path when unpacking.
</para></listitem>
<listitem><para><emphasis>subdir:</emphasis>
Unpacks the specific URL to the specified subdirectory
within the root directory.
</para></listitem>
</itemizedlist>
The unpack call automatically decompresses and extracts files
with ".Z", ".z", ".gz", ".xz", ".zip", ".jar", ".ipk", ".rpm".
".srpm", ".deb" and ".bz2" extensions as well as various combinations
of tarball extensions.
</para>
<para>
As mentioned, the Git fetcher has its own unpack method that
is optimized to work with Git trees.
Basically, this method works by cloning the tree into the final
directory.
The process is completed using references so that there is
only one central copy of the Git metadata needed.
</para>
</section>
<section id='bb-fetchers'>
<title>Fetchers</title>
<para>
As mentioned earlier, the URL prefix determines which
fetcher submodule BitBake uses.
Each submodule can support different URL parameters,
which are described in the following sections.
</para>
<section id='local-file-fetcher'>
<title>Local file fetcher (<filename>file://</filename>)</title>
<para>
This submodule handles URLs that begin with
<filename>file://</filename>.
The filename you specify within the URL can be
either an absolute or relative path to a file.
If the filename is relative, the contents of the
<link linkend='var-bb-FILESPATH'><filename>FILESPATH</filename></link>
variable is used in the same way
<filename>PATH</filename> is used to find executables.
If the file cannot be found, it is assumed that it is available in
<link linkend='var-bb-DL_DIR'><filename>DL_DIR</filename></link>
by the time the <filename>download()</filename> method is called.
</para>
<para>
If you specify a directory, the entire directory is
unpacked.
</para>
<para>
Here are a couple of example URLs, the first relative and
the second absolute:
<literallayout class='monospaced'>
SRC_URI = "file://relativefile.patch"
SRC_URI = "file:///Users/ich/very_important_software"
</literallayout>
</para>
</section>
<section id='http-ftp-fetcher'>
<title>HTTP/FTP wget fetcher (<filename>http://</filename>, <filename>ftp://</filename>, <filename>https://</filename>)</title>
<para>
This fetcher obtains files from web and FTP servers.
Internally, the fetcher uses the wget utility.
</para>
<para>
The executable and parameters used are specified by the
<filename>FETCHCMD_wget</filename> variable, which defaults
to sensible values.
The fetcher supports a parameter "downloadfilename" that
allows the name of the downloaded file to be specified.
Specifying the name of the downloaded file is useful
for avoiding collisions in
<link linkend='var-bb-DL_DIR'><filename>DL_DIR</filename></link>
when dealing with multiple files that have the same name.
</para>
<para>
Some example URLs are as follows:
<literallayout class='monospaced'>
SRC_URI = "http://oe.handhelds.org/not_there.aac"
SRC_URI = "ftp://oe.handhelds.org/not_there_as_well.aac"
SRC_URI = "ftp://you@oe.handhelds.org/home/you/secret.plan"
</literallayout>
</para>
<note>
Because URL parameters are delimited by semi-colons, this can
introduce ambiguity when parsing URLs that also contain semi-colons,
for example:
<literallayout class='monospaced'>
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git;a=snapshot;h=a5dd47"
</literallayout>
Such URLs should should be modified by replacing semi-colons with '&amp;' characters:
<literallayout class='monospaced'>
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&amp;a=snapshot&amp;h=a5dd47"
</literallayout>
In most cases this should work. Treating semi-colons and '&amp;' in queries
identically is recommended by the World Wide Web Consortium (W3C).
Note that due to the nature of the URL, you may have to specify the name
of the downloaded file as well:
<literallayout class='monospaced'>
SRC_URI = "http://abc123.org/git/?p=gcc/gcc.git&amp;a=snapshot&amp;h=a5dd47;downloadfilename=myfile.bz2"
</literallayout>
</note>
</section>
<section id='cvs-fetcher'>
<title>CVS fetcher (<filename>(cvs://</filename>)</title>
<para>
This submodule handles checking out files from the
CVS version control system.
You can configure it using a number of different variables:
<itemizedlist>
<listitem><para><emphasis><filename>FETCHCMD_cvs</filename>:</emphasis>
The name of the executable to use when running
the <filename>cvs</filename> command.
This name is usually "cvs".
</para></listitem>
<listitem><para><emphasis><filename>SRCDATE</filename>:</emphasis>
The date to use when fetching the CVS source code.
A special value of "now" causes the checkout to
be updated on every build.
</para></listitem>
<listitem><para><emphasis><link linkend='var-bb-CVSDIR'><filename>CVSDIR</filename></link>:</emphasis>
Specifies where a temporary checkout is saved.
The location is often <filename>DL_DIR/cvs</filename>.
</para></listitem>
<listitem><para><emphasis><filename>CVS_PROXY_HOST</filename>:</emphasis>
The name to use as a "proxy=" parameter to the
<filename>cvs</filename> command.
</para></listitem>
<listitem><para><emphasis><filename>CVS_PROXY_PORT</filename>:</emphasis>
The port number to use as a "proxyport=" parameter to
the <filename>cvs</filename> command.
</para></listitem>
</itemizedlist>
As well as the standard username and password URL syntax,
you can also configure the fetcher with various URL parameters:
</para>
<para>
The supported parameters are as follows:
<itemizedlist>
<listitem><para><emphasis>"method":</emphasis>
The protocol over which to communicate with the CVS
server.
By default, this protocol is "pserver".
If "method" is set to "ext", BitBake examines the
"rsh" parameter and sets <filename>CVS_RSH</filename>.
You can use "dir" for local directories.
</para></listitem>
<listitem><para><emphasis>"module":</emphasis>
Specifies the module to check out.
You must supply this parameter.
</para></listitem>
<listitem><para><emphasis>"tag":</emphasis>
Describes which CVS TAG should be used for
the checkout.
By default, the TAG is empty.
</para></listitem>
<listitem><para><emphasis>"date":</emphasis>
Specifies a date.
If no "date" is specified, the
<link linkend='var-bb-SRCDATE'><filename>SRCDATE</filename></link>
of the configuration is used to checkout a specific date.
The special value of "now" causes the checkout to be
updated on every build.
</para></listitem>
<listitem><para><emphasis>"localdir":</emphasis>
Used to rename the module.
Effectively, you are renaming the output directory
to which the module is unpacked.
You are forcing the module into a special
directory relative to
<link linkend='var-bb-CVSDIR'><filename>CVSDIR</filename></link>.
</para></listitem>
<listitem><para><emphasis>"rsh"</emphasis>
Used in conjunction with the "method" parameter.
</para></listitem>
<listitem><para><emphasis>"scmdata":</emphasis>
Causes the CVS metadata to be maintained in the tarball
the fetcher creates when set to "keep".
The tarball is expanded into the work directory.
By default, the CVS metadata is removed.
</para></listitem>
<listitem><para><emphasis>"fullpath":</emphasis>
Controls whether the resulting checkout is at the
module level, which is the default, or is at deeper
paths.
</para></listitem>
<listitem><para><emphasis>"norecurse":</emphasis>
Causes the fetcher to only checkout the specified
directory with no recurse into any subdirectories.
</para></listitem>
<listitem><para><emphasis>"port":</emphasis>
The port to which the CVS server connects.
</para></listitem>
</itemizedlist>
Some example URLs are as follows:
<literallayout class='monospaced'>
SRC_URI = "cvs://CVSROOT;module=mymodule;tag=some-version;method=ext"
SRC_URI = "cvs://CVSROOT;module=mymodule;date=20060126;localdir=usethat"
</literallayout>
</para>
</section>
<section id='svn-fetcher'>
<title>Subversion (SVN) Fetcher (<filename>svn://</filename>)</title>
<para>
This fetcher submodule fetches code from the
Subversion source control system.
The executable used is specified by
<filename>FETCHCMD_svn</filename>, which defaults
to "svn".
The fetcher's temporary working directory is set by
<link linkend='var-bb-SVNDIR'><filename>SVNDIR</filename></link>,
which is usually <filename>DL_DIR/svn</filename>.
</para>
<para>
The supported parameters are as follows:
<itemizedlist>
<listitem><para><emphasis>"module":</emphasis>
The name of the svn module to checkout.
You must provide this parameter.
You can think of this parameter as the top-level
directory of the repository data you want.
</para></listitem>
<listitem><para><emphasis>"path_spec":</emphasis>
A specific directory in which to checkout the
specified svn module.
</para></listitem>
<listitem><para><emphasis>"protocol":</emphasis>
The protocol to use, which defaults to "svn".
If "protocol" is set to "svn+ssh", the "ssh"
parameter is also used.
</para></listitem>
<listitem><para><emphasis>"rev":</emphasis>
The revision of the source code to checkout.
</para></listitem>
<listitem><para><emphasis>"scmdata":</emphasis>
Causes the “.svn” directories to be available during
compile-time when set to "keep".
By default, these directories are removed.
</para></listitem>
<listitem><para><emphasis>"ssh":</emphasis>
An optional parameter used when "protocol" is set
to "svn+ssh".
You can use this parameter to specify the ssh
program used by svn.
</para></listitem>
<listitem><para><emphasis>"transportuser":</emphasis>
When required, sets the username for the transport.
By default, this parameter is empty.
The transport username is different than the username
used in the main URL, which is passed to the subversion
command.
</para></listitem>
</itemizedlist>
Following are three examples using svn:
<literallayout class='monospaced'>
SRC_URI = "svn://myrepos/proj1;module=vip;protocol=http;rev=667"
SRC_URI = "svn://myrepos/proj1;module=opie;protocol=svn+ssh"
SRC_URI = "svn://myrepos/proj1;module=trunk;protocol=http;path_spec=${MY_DIR}/proj1"
</literallayout>
</para>
</section>
<section id='git-fetcher'>
<title>Git Fetcher (<filename>git://</filename>)</title>
<para>
This fetcher submodule fetches code from the Git
source control system.
The fetcher works by creating a bare clone of the
remote into
<link linkend='var-bb-GITDIR'><filename>GITDIR</filename></link>,
which is usually <filename>DL_DIR/git2</filename>.
This bare clone is then cloned into the work directory during the
unpack stage when a specific tree is checked out.
This is done using alternates and by reference to
minimize the amount of duplicate data on the disk and
make the unpack process fast.
The executable used can be set with
<filename>FETCHCMD_git</filename>.
</para>
<para>
This fetcher supports the following parameters:
<itemizedlist>
<listitem><para><emphasis>"protocol":</emphasis>
The protocol used to fetch the files.
The default is "git" when a hostname is set.
If a hostname is not set, the Git protocol is "file".
You can also use "http", "https", "ssh" and "rsync".
</para></listitem>
<listitem><para><emphasis>"nocheckout":</emphasis>
Tells the fetcher to not checkout source code when
unpacking when set to "1".
Set this option for the URL where there is a custom
routine to checkout code.
The default is "0".
</para></listitem>
<listitem><para><emphasis>"rebaseable":</emphasis>
Indicates that the upstream Git repository can be rebased.
You should set this parameter to "1" if
revisions can become detached from branches.
In this case, the source mirror tarball is done per
revision, which has a loss of efficiency.
Rebasing the upstream Git repository could cause the
current revision to disappear from the upstream repository.
This option reminds the fetcher to preserve the local cache
carefully for future use.
The default value for this parameter is "0".
</para></listitem>
<listitem><para><emphasis>"nobranch":</emphasis>
Tells the fetcher to not check the SHA validation
for the branch when set to "1".
The default is "0".
Set this option for the recipe that refers to
the commit that is valid for a tag instead of
the branch.
</para></listitem>
<listitem><para><emphasis>"bareclone":</emphasis>
Tells the fetcher to clone a bare clone into the
destination directory without checking out a working tree.
Only the raw Git metadata is provided.
This parameter implies the "nocheckout" parameter as well.
</para></listitem>
<listitem><para><emphasis>"branch":</emphasis>
The branch(es) of the Git tree to clone.
If unset, this is assumed to be "master".
The number of branch parameters much match the number of
name parameters.
</para></listitem>
<listitem><para><emphasis>"rev":</emphasis>
The revision to use for the checkout.
The default is "master".
</para></listitem>
<listitem><para><emphasis>"tag":</emphasis>
Specifies a tag to use for the checkout.
To correctly resolve tags, BitBake must access the
network.
For that reason, tags are often not used.
As far as Git is concerned, the "tag" parameter behaves
effectively the same as the "rev" parameter.
</para></listitem>
<listitem><para><emphasis>"subpath":</emphasis>
Limits the checkout to a specific subpath of the tree.
By default, the whole tree is checked out.
</para></listitem>
<listitem><para><emphasis>"destsuffix":</emphasis>
The name of the path in which to place the checkout.
By default, the path is <filename>git/</filename>.
</para></listitem>
<listitem><para><emphasis>"usehead":</emphasis>
Enables local <filename>git://</filename> URLs to use the
current branch HEAD as the revision for use with
<filename>AUTOREV</filename>.
The "usehead" parameter implies no branch and only works
when the transfer protocol is
<filename>file://</filename>.
</para></listitem>
</itemizedlist>
Here are some example URLs:
<literallayout class='monospaced'>
SRC_URI = "git://git.oe.handhelds.org/git/vip.git;tag=version-1"
SRC_URI = "git://git.oe.handhelds.org/git/vip.git;protocol=http"
</literallayout>
</para>
</section>
<section id='gitsm-fetcher'>
<title>Git Submodule Fetcher (<filename>gitsm://</filename>)</title>
<para>
This fetcher submodule inherits from the
<link linkend='git-fetcher'>Git fetcher</link> and extends
that fetcher's behavior by fetching a repository's submodules.
<link linkend='var-bb-SRC_URI'><filename>SRC_URI</filename></link>
is passed to the Git fetcher as described in the
"<link linkend='git-fetcher'>Git Fetcher (<filename>git://</filename>)</link>"
section.
<note>
<title>Notes and Warnings</title>
<para>
You must clean a recipe when switching between
'<filename>git://</filename>' and
'<filename>gitsm://</filename>' URLs.
</para>
<para>
The Git Submodules fetcher is not a complete fetcher
implementation.
The fetcher has known issues where it does not use the
normal source mirroring infrastructure properly. Further,
the submodule sources it fetches are not visible to the
licensing and source archiving infrastructures.
</para>
</note>
</para>
</section>
<section id='clearcase-fetcher'>
<title>ClearCase Fetcher (<filename>ccrc://</filename>)</title>
<para>
This fetcher submodule fetches code from a
<ulink url='http://en.wikipedia.org/wiki/Rational_ClearCase'>ClearCase</ulink>
repository.
</para>
<para>
To use this fetcher, make sure your recipe has proper
<link linkend='var-bb-SRC_URI'><filename>SRC_URI</filename></link>,
<link linkend='var-bb-SRCREV'><filename>SRCREV</filename></link>, and
<link linkend='var-bb-PV'><filename>PV</filename></link> settings.
Here is an example:
<literallayout class='monospaced'>
SRC_URI = "ccrc://cc.example.org/ccrc;vob=/example_vob;module=/example_module"
SRCREV = "EXAMPLE_CLEARCASE_TAG"
PV = "${@d.getVar("SRCREV", False).replace("/", "+")}"
</literallayout>
The fetcher uses the <filename>rcleartool</filename> or
<filename>cleartool</filename> remote client, depending on
which one is available.
</para>
<para>
Following are options for the <filename>SRC_URI</filename>
statement:
<itemizedlist>
<listitem><para><emphasis><filename>vob</filename></emphasis>:
The name, which must include the
prepending "/" character, of the ClearCase VOB.
This option is required.
</para></listitem>
<listitem><para><emphasis><filename>module</filename></emphasis>:
The module, which must include the
prepending "/" character, in the selected VOB.
<note>
The <filename>module</filename> and <filename>vob</filename>
options are combined to create the <filename>load</filename> rule in
the view config spec.
As an example, consider the <filename>vob</filename> and
<filename>module</filename> values from the
<filename>SRC_URI</filename> statement at the start of this section.
Combining those values results in the following:
<literallayout class='monospaced'>
load /example_vob/example_module
</literallayout>
</note>
</para></listitem>
<listitem><para><emphasis><filename>proto</filename></emphasis>:
The protocol, which can be either <filename>http</filename> or
<filename>https</filename>.
</para></listitem>
</itemizedlist>
</para>
<para>
By default, the fetcher creates a configuration specification.
If you want this specification written to an area other than the default,
use the <filename>CCASE_CUSTOM_CONFIG_SPEC</filename> variable
in your recipe to define where the specification is written.
<note>
the <filename>SRCREV</filename> loses its functionality if you
specify this variable.
However, <filename>SRCREV</filename> is still used to label the
archive after a fetch even though it does not define what is
fetched.
</note>
</para>
<para>
Here are a couple of other behaviors worth mentioning:
<itemizedlist>
<listitem><para>
When using <filename>cleartool</filename>, the login of
<filename>cleartool</filename> is handled by the system.
The login require no special steps.
</para></listitem>
<listitem><para>
In order to use <filename>rcleartool</filename> with authenticated
users, an "rcleartool login" is necessary before using the fetcher.
</para></listitem>
</itemizedlist>
</para>
</section>
<section id='perforce-fetcher'>
<title>Perforce Fetcher (<filename>p4://</filename>)</title>
<para>
This fetcher submodule fetches code from the
<ulink url='https://www.perforce.com/'>Perforce</ulink>
source control system.
The executable used is specified by
<filename>FETCHCMD_p4</filename>, which defaults
to "p4".
The fetcher's temporary working directory is set by
<link linkend='var-bb-P4DIR'><filename>P4DIR</filename></link>,
which defaults to "DL_DIR/p4".
</para>
<para>
To use this fetcher, make sure your recipe has proper
<link linkend='var-bb-SRC_URI'><filename>SRC_URI</filename></link>,
<link linkend='var-bb-SRCREV'><filename>SRCREV</filename></link>, and
<link linkend='var-bb-PV'><filename>PV</filename></link> values.
The p4 executable is able to use the config file defined by your
system's <filename>P4CONFIG</filename> environment variable in
order to define the Perforce server URL and port, username, and
password if you do not wish to keep those values in a recipe
itself.
If you choose not to use <filename>P4CONFIG</filename>,
or to explicitly set variables that <filename>P4CONFIG</filename>
can contain, you can specify the <filename>P4PORT</filename> value,
which is the server's URL and port number, and you can
specify a username and password directly in your recipe within
<filename>SRC_URI</filename>.
</para>
<para>
Here is an example that relies on <filename>P4CONFIG</filename>
to specify the server URL and port, username, and password, and
fetches the Head Revision:
<literallayout class='monospaced'>
SRC_URI = "p4://example-depot/main/source/..."
SRCREV = "${AUTOREV}"
PV = "p4-${SRCPV}"
S = "${WORKDIR}/p4"
</literallayout>
</para>
<para>
Here is an example that specifies the server URL and port,
username, and password, and fetches a Revision based on a Label:
<literallayout class='monospaced'>
P4PORT = "tcp:p4server.example.net:1666"
SRC_URI = "p4://user:passwd@example-depot/main/source/..."
SRCREV = "release-1.0"
PV = "p4-${SRCPV}"
S = "${WORKDIR}/p4"
</literallayout>
<note>
You should always set <filename>S</filename>
to <filename>"${WORKDIR}/p4"</filename> in your recipe.
</note>
</para>
</section>
<section id='repo-fetcher'>
<title>Repo Fetcher (<filename>repo://</filename>)</title>
<para>
This fetcher submodule fetches code from
<filename>google-repo</filename> source control system.
The fetcher works by initiating and syncing sources of the
repository into
<link linkend='var-bb-REPODIR'><filename>REPODIR</filename></link>,
which is usually
<link linkend='var-bb-DL_DIR'><filename>DL_DIR</filename></link><filename>/repo</filename>.
</para>
<para>
This fetcher supports the following parameters:
<itemizedlist>
<listitem><para>
<emphasis>"protocol":</emphasis>
Protocol to fetch the repository manifest (default: git).
</para></listitem>
<listitem><para>
<emphasis>"branch":</emphasis>
Branch or tag of repository to get (default: master).
</para></listitem>
<listitem><para>
<emphasis>"manifest":</emphasis>
Name of the manifest file (default: <filename>default.xml</filename>).
</para></listitem>
</itemizedlist>
Here are some example URLs:
<literallayout class='monospaced'>
SRC_URI = "repo://REPOROOT;protocol=git;branch=some_branch;manifest=my_manifest.xml"
SRC_URI = "repo://REPOROOT;protocol=file;branch=some_branch;manifest=my_manifest.xml"
</literallayout>
</para>
</section>
<section id='other-fetchers'>
<title>Other Fetchers</title>
<para>
Fetch submodules also exist for the following:
<itemizedlist>
<listitem><para>
Bazaar (<filename>bzr://</filename>)
</para></listitem>
<listitem><para>
Mercurial (<filename>hg://</filename>)
</para></listitem>
<listitem><para>
npm (<filename>npm://</filename>)
</para></listitem>
<listitem><para>
OSC (<filename>osc://</filename>)
</para></listitem>
<listitem><para>
Secure FTP (<filename>sftp://</filename>)
</para></listitem>
<listitem><para>
Secure Shell (<filename>ssh://</filename>)
</para></listitem>
<listitem><para>
Trees using Git Annex (<filename>gitannex://</filename>)
</para></listitem>
</itemizedlist>
No documentation currently exists for these lesser used
fetcher submodules.
However, you might find the code helpful and readable.
</para>
</section>
</section>
<section id='auto-revisions'>
<title>Auto Revisions</title>
<para>
We need to document <filename>AUTOREV</filename> and
<filename>SRCREV_FORMAT</filename> here.
</para>
</section>
</chapter>

View File

@@ -0,0 +1,415 @@
.. SPDX-License-Identifier: CC-BY-2.5
===================
Hello World Example
===================
BitBake Hello World
===================
The simplest example commonly used to demonstrate any new programming
language or tool is the "`Hello
World <http://en.wikipedia.org/wiki/Hello_world_program>`__" example.
This appendix demonstrates, in tutorial form, Hello World within the
context of BitBake. The tutorial describes how to create a new project
and the applicable metadata files necessary to allow BitBake to build
it.
Obtaining BitBake
=================
See the :ref:`bitbake-user-manual/bitbake-user-manual-hello:obtaining bitbake` section for
information on how to obtain BitBake. Once you have the source code on
your machine, the BitBake directory appears as follows::
$ ls -al
total 100
drwxrwxr-x. 9 wmat wmat 4096 Jan 31 13:44 .
drwxrwxr-x. 3 wmat wmat 4096 Feb 4 10:45 ..
-rw-rw-r--. 1 wmat wmat 365 Nov 26 04:55 AUTHORS
drwxrwxr-x. 2 wmat wmat 4096 Nov 26 04:55 bin
drwxrwxr-x. 4 wmat wmat 4096 Jan 31 13:44 build
-rw-rw-r--. 1 wmat wmat 16501 Nov 26 04:55 ChangeLog
drwxrwxr-x. 2 wmat wmat 4096 Nov 26 04:55 classes
drwxrwxr-x. 2 wmat wmat 4096 Nov 26 04:55 conf
drwxrwxr-x. 3 wmat wmat 4096 Nov 26 04:55 contrib
-rw-rw-r--. 1 wmat wmat 17987 Nov 26 04:55 COPYING
drwxrwxr-x. 3 wmat wmat 4096 Nov 26 04:55 doc
-rw-rw-r--. 1 wmat wmat 69 Nov 26 04:55 .gitignore
-rw-rw-r--. 1 wmat wmat 849 Nov 26 04:55 HEADER
drwxrwxr-x. 5 wmat wmat 4096 Jan 31 13:44 lib
-rw-rw-r--. 1 wmat wmat 195 Nov 26 04:55 MANIFEST.in
-rw-rw-r--. 1 wmat wmat 2887 Nov 26 04:55 TODO
At this point, you should have BitBake cloned to a directory that
matches the previous listing except for dates and user names.
Setting Up the BitBake Environment
==================================
First, you need to be sure that you can run BitBake. Set your working
directory to where your local BitBake files are and run the following
command::
$ ./bin/bitbake --version
BitBake Build Tool Core version 1.23.0, bitbake version 1.23.0
The console output tells you what version
you are running.
The recommended method to run BitBake is from a directory of your
choice. To be able to run BitBake from any directory, you need to add
the executable binary to your binary to your shell's environment
``PATH`` variable. First, look at your current ``PATH`` variable by
entering the following::
$ echo $PATH
Next, add the directory location
for the BitBake binary to the ``PATH``. Here is an example that adds the
``/home/scott-lenovo/bitbake/bin`` directory to the front of the
``PATH`` variable::
$ export PATH=/home/scott-lenovo/bitbake/bin:$PATH
You should now be able to enter the ``bitbake`` command from the command
line while working from any directory.
The Hello World Example
=======================
The overall goal of this exercise is to build a complete "Hello World"
example utilizing task and layer concepts. Because this is how modern
projects such as OpenEmbedded and the Yocto Project utilize BitBake, the
example provides an excellent starting point for understanding BitBake.
To help you understand how to use BitBake to build targets, the example
starts with nothing but the ``bitbake`` command, which causes BitBake to
fail and report problems. The example progresses by adding pieces to the
build to eventually conclude with a working, minimal "Hello World"
example.
While every attempt is made to explain what is happening during the
example, the descriptions cannot cover everything. You can find further
information throughout this manual. Also, you can actively participate
in the :oe_lists:`/g/bitbake-devel`
discussion mailing list about the BitBake build tool.
.. note::
This example was inspired by and drew heavily from
`Mailing List post - The BitBake equivalent of "Hello, World!"
<http://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html>`_.
As stated earlier, the goal of this example is to eventually compile
"Hello World". However, it is unknown what BitBake needs and what you
have to provide in order to achieve that goal. Recall that BitBake
utilizes three types of metadata files:
:ref:`bitbake-user-manual/bitbake-user-manual-intro:configuration files`,
:ref:`bitbake-user-manual/bitbake-user-manual-intro:classes`, and
:ref:`bitbake-user-manual/bitbake-user-manual-intro:recipes`.
But where do they go? How does BitBake find
them? BitBake's error messaging helps you answer these types of
questions and helps you better understand exactly what is going on.
Following is the complete "Hello World" example.
#. **Create a Project Directory:** First, set up a directory for the
"Hello World" project. Here is how you can do so in your home
directory::
$ mkdir ~/hello
$ cd ~/hello
This is the directory that
BitBake will use to do all of its work. You can use this directory
to keep all the metafiles needed by BitBake. Having a project
directory is a good way to isolate your project.
#. **Run BitBake:** At this point, you have nothing but a project
directory. Run the ``bitbake`` command and see what it does::
$ bitbake
The BBPATH variable is not set and bitbake did not
find a conf/bblayers.conf file in the expected location.
Maybe you accidentally invoked bitbake from the wrong directory?
DEBUG: Removed the following variables from the environment:
GNOME_DESKTOP_SESSION_ID, XDG_CURRENT_DESKTOP,
GNOME_KEYRING_CONTROL, DISPLAY, SSH_AGENT_PID, LANG, no_proxy,
XDG_SESSION_PATH, XAUTHORITY, SESSION_MANAGER, SHLVL,
MANDATORY_PATH, COMPIZ_CONFIG_PROFILE, WINDOWID, EDITOR,
GPG_AGENT_INFO, SSH_AUTH_SOCK, GDMSESSION, GNOME_KEYRING_PID,
XDG_SEAT_PATH, XDG_CONFIG_DIRS, LESSOPEN, DBUS_SESSION_BUS_ADDRESS,
_, XDG_SESSION_COOKIE, DESKTOP_SESSION, LESSCLOSE, DEFAULTS_PATH,
UBUNTU_MENUPROXY, OLDPWD, XDG_DATA_DIRS, COLORTERM, LS_COLORS
The majority of this output is specific to environment variables that
are not directly relevant to BitBake. However, the very first
message regarding the ``BBPATH`` variable and the
``conf/bblayers.conf`` file is relevant.
When you run BitBake, it begins looking for metadata files. The
:term:`BBPATH` variable is what tells BitBake where
to look for those files. ``BBPATH`` is not set and you need to set
it. Without ``BBPATH``, BitBake cannot find any configuration files
(``.conf``) or recipe files (``.bb``) at all. BitBake also cannot
find the ``bitbake.conf`` file.
#. **Setting BBPATH:** For this example, you can set ``BBPATH`` in
the same manner that you set ``PATH`` earlier in the appendix. You
should realize, though, that it is much more flexible to set the
``BBPATH`` variable up in a configuration file for each project.
From your shell, enter the following commands to set and export the
``BBPATH`` variable::
$ BBPATH="projectdirectory"
$ export BBPATH
Use your actual project directory in the command. BitBake uses that
directory to find the metadata it needs for your project.
.. note::
When specifying your project directory, do not use the tilde
("~") character as BitBake does not expand that character as the
shell would.
#. **Run BitBake:** Now that you have ``BBPATH`` defined, run the
``bitbake`` command again::
$ bitbake
ERROR: Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 163, in wrapped
return func(fn, *args)
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 173, in parse_config_file
return bb.parse.handle(fn, data, include)
File "/home/scott-lenovo/bitbake/lib/bb/parse/__init__.py", line 99, in handle
return h['handle'](fn, data, include)
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 120, in handle
abs_fn = resolve_file(fn, data)
File "/home/scott-lenovo/bitbake/lib/bb/parse/__init__.py", line 117, in resolve_file
raise IOError("file %s not found in %s" % (fn, bbpath))
IOError: file conf/bitbake.conf not found in /home/scott-lenovo/hello
ERROR: Unable to parse conf/bitbake.conf: file conf/bitbake.conf not found in /home/scott-lenovo/hello
This sample output shows that BitBake could not find the
``conf/bitbake.conf`` file in the project directory. This file is
the first thing BitBake must find in order to build a target. And,
since the project directory for this example is empty, you need to
provide a ``conf/bitbake.conf`` file.
#. **Creating conf/bitbake.conf:** The ``conf/bitbake.conf`` includes
a number of configuration variables BitBake uses for metadata and
recipe files. For this example, you need to create the file in your
project directory and define some key BitBake variables. For more
information on the ``bitbake.conf`` file, see
http://git.openembedded.org/bitbake/tree/conf/bitbake.conf.
Use the following commands to create the ``conf`` directory in the
project directory::
$ mkdir conf
From within the ``conf`` directory,
use some editor to create the ``bitbake.conf`` so that it contains
the following::
PN = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
TMPDIR = "${TOPDIR}/tmp"
CACHE = "${TMPDIR}/cache"
STAMP = "${TMPDIR}/${PN}/stamps"
T = "${TMPDIR}/${PN}/work"
B = "${TMPDIR}/${PN}"
.. note::
Without a value for PN , the variables STAMP , T , and B , prevent more
than one recipe from working. You can fix this by either setting PN to
have a value similar to what OpenEmbedded and BitBake use in the default
bitbake.conf file (see previous example). Or, by manually updating each
recipe to set PN . You will also need to include PN as part of the STAMP
, T , and B variable definitions in the local.conf file.
The ``TMPDIR`` variable establishes a directory that BitBake uses
for build output and intermediate files other than the cached
information used by the
:ref:`bitbake-user-manual/bitbake-user-manual-execution:setscene`
process. Here, the ``TMPDIR`` directory is set to ``hello/tmp``.
.. tip::
You can always safely delete the tmp directory in order to rebuild a
BitBake target. The build process creates the directory for you when you
run BitBake.
For information about each of the other variables defined in this
example, check :term:`PN`, :term:`TOPDIR`, :term:`CACHE`, :term:`STAMP`,
:term:`T` or :term:`B` to take you to the definitions in the
glossary.
#. **Run BitBake:** After making sure that the ``conf/bitbake.conf`` file
exists, you can run the ``bitbake`` command again::
$ bitbake
ERROR: Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 163, in wrapped
return func(fn, *args)
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 177, in _inherit
bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data)
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 92, in inherit
include(fn, file, lineno, d, "inherit")
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 100, in include
raise ParseError("Could not %(error_out)s file %(fn)s" % vars(), oldfn, lineno)
ParseError: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
ERROR: Unable to parse base: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
In the sample output,
BitBake could not find the ``classes/base.bbclass`` file. You need
to create that file next.
#. **Creating classes/base.bbclass:** BitBake uses class files to
provide common code and functionality. The minimally required class
for BitBake is the ``classes/base.bbclass`` file. The ``base`` class
is implicitly inherited by every recipe. BitBake looks for the class
in the ``classes`` directory of the project (i.e ``hello/classes``
in this example).
Create the ``classes`` directory as follows::
$ cd $HOME/hello
$ mkdir classes
Move to the ``classes`` directory and then create the
``base.bbclass`` file by inserting this single line: addtask build
The minimal task that BitBake runs is the ``do_build`` task. This is
all the example needs in order to build the project. Of course, the
``base.bbclass`` can have much more depending on which build
environments BitBake is supporting.
#. **Run BitBake:** After making sure that the ``classes/base.bbclass``
file exists, you can run the ``bitbake`` command again::
$ bitbake
Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.
BitBake is finally reporting
no errors. However, you can see that it really does not have
anything to do. You need to create a recipe that gives BitBake
something to do.
#. **Creating a Layer:** While it is not really necessary for such a
small example, it is good practice to create a layer in which to
keep your code separate from the general metadata used by BitBake.
Thus, this example creates and uses a layer called "mylayer".
.. note::
You can find additional information on layers in the
":ref:`bitbake-user-manual/bitbake-user-manual-intro:Layers`" section.
Minimally, you need a recipe file and a layer configuration file in
your layer. The configuration file needs to be in the ``conf``
directory inside the layer. Use these commands to set up the layer
and the ``conf`` directory::
$ cd $HOME
$ mkdir mylayer
$ cd mylayer
$ mkdir conf
Move to the ``conf`` directory and create a ``layer.conf`` file that has the
following::
BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/*.bb"
BBFILE_COLLECTIONS += "mylayer"
BBFILE_PATTERN_mylayer := "^${LAYERDIR_RE}/"
For information on these variables, click on :term:`BBFILES`,
:term:`LAYERDIR`, :term:`BBFILE_COLLECTIONS` or :term:`BBFILE_PATTERN_mylayer <BBFILE_PATTERN>`
to go to the definitions in the glossary.
You need to create the recipe file next. Inside your layer at the
top-level, use an editor and create a recipe file named
``printhello.bb`` that has the following::
DESCRIPTION = "Prints Hello World"
PN = 'printhello'
PV = '1'
python do_build() {
bb.plain("********************");
bb.plain("* *");
bb.plain("* Hello, World! *");
bb.plain("* *");
bb.plain("********************");
}
The recipe file simply provides
a description of the recipe, the name, version, and the ``do_build``
task, which prints out "Hello World" to the console. For more
information on :term:`DESCRIPTION`, :term:`PN` or :term:`PV`
follow the links to the glossary.
#. **Run BitBake With a Target:** Now that a BitBake target exists, run
the command and provide that target::
$ cd $HOME/hello
$ bitbake printhello
ERROR: no recipe files to build, check your BBPATH and BBFILES?
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
We have created the layer with the recipe and
the layer configuration file but it still seems that BitBake cannot
find the recipe. BitBake needs a ``conf/bblayers.conf`` that lists
the layers for the project. Without this file, BitBake cannot find
the recipe.
#. **Creating conf/bblayers.conf:** BitBake uses the
``conf/bblayers.conf`` file to locate layers needed for the project.
This file must reside in the ``conf`` directory of the project (i.e.
``hello/conf`` for this example).
Set your working directory to the ``hello/conf`` directory and then
create the ``bblayers.conf`` file so that it contains the following::
BBLAYERS ?= " \
/home/<you>/mylayer \
"
You need to provide your own information for ``you`` in the file.
#. **Run BitBake With a Target:** Now that you have supplied the
``bblayers.conf`` file, run the ``bitbake`` command and provide the
target::
$ bitbake printhello
Parsing recipes: 100% |##################################################################################|
Time: 00:00:00
Parsing of 1 .bb files complete (0 cached, 1 parsed). 1 targets, 0 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing RunQueue
NOTE: Executing RunQueue Tasks
********************
* *
* Hello, World! *
* *
********************
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
.. note::
After the first execution, re-running bitbake printhello again will not
result in a BitBake run that prints the same console output. The reason
for this is that the first time the printhello.bb recipe's do_build task
executes successfully, BitBake writes a stamp file for the task. Thus,
the next time you attempt to run the task using that same bitbake
command, BitBake notices the stamp and therefore determines that the task
does not need to be re-run. If you delete the tmp directory or run
bitbake -c clean printhello and then re-run the build, the "Hello,
World!" message will be printed again.

View File

@@ -1,513 +0,0 @@
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<appendix id='hello-world-example'>
<title>Hello World Example</title>
<section id='bitbake-hello-world'>
<title>BitBake Hello World</title>
<para>
The simplest example commonly used to demonstrate any new
programming language or tool is the
"<ulink url="http://en.wikipedia.org/wiki/Hello_world_program">Hello World</ulink>"
example.
This appendix demonstrates, in tutorial form, Hello
World within the context of BitBake.
The tutorial describes how to create a new project
and the applicable metadata files necessary to allow
BitBake to build it.
</para>
</section>
<section id='example-obtaining-bitbake'>
<title>Obtaining BitBake</title>
<para>
See the
"<link linkend='obtaining-bitbake'>Obtaining BitBake</link>"
section for information on how to obtain BitBake.
Once you have the source code on your machine, the BitBake directory
appears as follows:
<literallayout class='monospaced'>
$ ls -al
total 100
drwxrwxr-x. 9 wmat wmat 4096 Jan 31 13:44 .
drwxrwxr-x. 3 wmat wmat 4096 Feb 4 10:45 ..
-rw-rw-r--. 1 wmat wmat 365 Nov 26 04:55 AUTHORS
drwxrwxr-x. 2 wmat wmat 4096 Nov 26 04:55 bin
drwxrwxr-x. 4 wmat wmat 4096 Jan 31 13:44 build
-rw-rw-r--. 1 wmat wmat 16501 Nov 26 04:55 ChangeLog
drwxrwxr-x. 2 wmat wmat 4096 Nov 26 04:55 classes
drwxrwxr-x. 2 wmat wmat 4096 Nov 26 04:55 conf
drwxrwxr-x. 3 wmat wmat 4096 Nov 26 04:55 contrib
-rw-rw-r--. 1 wmat wmat 17987 Nov 26 04:55 COPYING
drwxrwxr-x. 3 wmat wmat 4096 Nov 26 04:55 doc
-rw-rw-r--. 1 wmat wmat 69 Nov 26 04:55 .gitignore
-rw-rw-r--. 1 wmat wmat 849 Nov 26 04:55 HEADER
drwxrwxr-x. 5 wmat wmat 4096 Jan 31 13:44 lib
-rw-rw-r--. 1 wmat wmat 195 Nov 26 04:55 MANIFEST.in
-rw-rw-r--. 1 wmat wmat 2887 Nov 26 04:55 TODO
</literallayout>
</para>
<para>
At this point, you should have BitBake cloned to
a directory that matches the previous listing except for
dates and user names.
</para>
</section>
<section id='setting-up-the-bitbake-environment'>
<title>Setting Up the BitBake Environment</title>
<para>
First, you need to be sure that you can run BitBake.
Set your working directory to where your local BitBake
files are and run the following command:
<literallayout class='monospaced'>
$ ./bin/bitbake --version
BitBake Build Tool Core version 1.23.0, bitbake version 1.23.0
</literallayout>
The console output tells you what version you are running.
</para>
<para>
The recommended method to run BitBake is from a directory of your
choice.
To be able to run BitBake from any directory, you need to add the
executable binary to your binary to your shell's environment
<filename>PATH</filename> variable.
First, look at your current <filename>PATH</filename> variable
by entering the following:
<literallayout class='monospaced'>
$ echo $PATH
</literallayout>
Next, add the directory location for the BitBake binary to the
<filename>PATH</filename>.
Here is an example that adds the
<filename>/home/scott-lenovo/bitbake/bin</filename> directory
to the front of the <filename>PATH</filename> variable:
<literallayout class='monospaced'>
$ export PATH=/home/scott-lenovo/bitbake/bin:$PATH
</literallayout>
You should now be able to enter the <filename>bitbake</filename>
command from the command line while working from any directory.
</para>
</section>
<section id='the-hello-world-example'>
<title>The Hello World Example</title>
<para>
The overall goal of this exercise is to build a
complete "Hello World" example utilizing task and layer
concepts.
Because this is how modern projects such as OpenEmbedded and
the Yocto Project utilize BitBake, the example
provides an excellent starting point for understanding
BitBake.
</para>
<para>
To help you understand how to use BitBake to build targets,
the example starts with nothing but the <filename>bitbake</filename>
command, which causes BitBake to fail and report problems.
The example progresses by adding pieces to the build to
eventually conclude with a working, minimal "Hello World"
example.
</para>
<para>
While every attempt is made to explain what is happening during
the example, the descriptions cannot cover everything.
You can find further information throughout this manual.
Also, you can actively participate in the
<ulink url='http://lists.openembedded.org/mailman/listinfo/bitbake-devel'></ulink>
discussion mailing list about the BitBake build tool.
</para>
<note>
This example was inspired by and drew heavily from
<ulink url="http://www.mail-archive.com/yocto@yoctoproject.org/msg09379.html">Mailing List post - The BitBake equivalent of "Hello, World!"</ulink>.
</note>
<para>
As stated earlier, the goal of this example
is to eventually compile "Hello World".
However, it is unknown what BitBake needs and what you have
to provide in order to achieve that goal.
Recall that BitBake utilizes three types of metadata files:
<link linkend='configuration-files'>Configuration Files</link>,
<link linkend='classes'>Classes</link>, and
<link linkend='recipes'>Recipes</link>.
But where do they go?
How does BitBake find them?
BitBake's error messaging helps you answer these types of questions
and helps you better understand exactly what is going on.
</para>
<para>
Following is the complete "Hello World" example.
</para>
<orderedlist>
<listitem><para><emphasis>Create a Project Directory:</emphasis>
First, set up a directory for the "Hello World" project.
Here is how you can do so in your home directory:
<literallayout class='monospaced'>
$ mkdir ~/hello
$ cd ~/hello
</literallayout>
This is the directory that BitBake will use to do all of
its work.
You can use this directory to keep all the metafiles needed
by BitBake.
Having a project directory is a good way to isolate your
project.
</para></listitem>
<listitem><para><emphasis>Run BitBake:</emphasis>
At this point, you have nothing but a project directory.
Run the <filename>bitbake</filename> command and see what
it does:
<literallayout class='monospaced'>
$ bitbake
The BBPATH variable is not set and bitbake did not
find a conf/bblayers.conf file in the expected location.
Maybe you accidentally invoked bitbake from the wrong directory?
DEBUG: Removed the following variables from the environment:
GNOME_DESKTOP_SESSION_ID, XDG_CURRENT_DESKTOP,
GNOME_KEYRING_CONTROL, DISPLAY, SSH_AGENT_PID, LANG, no_proxy,
XDG_SESSION_PATH, XAUTHORITY, SESSION_MANAGER, SHLVL,
MANDATORY_PATH, COMPIZ_CONFIG_PROFILE, WINDOWID, EDITOR,
GPG_AGENT_INFO, SSH_AUTH_SOCK, GDMSESSION, GNOME_KEYRING_PID,
XDG_SEAT_PATH, XDG_CONFIG_DIRS, LESSOPEN, DBUS_SESSION_BUS_ADDRESS,
_, XDG_SESSION_COOKIE, DESKTOP_SESSION, LESSCLOSE, DEFAULTS_PATH,
UBUNTU_MENUPROXY, OLDPWD, XDG_DATA_DIRS, COLORTERM, LS_COLORS
</literallayout>
The majority of this output is specific to environment variables
that are not directly relevant to BitBake.
However, the very first message regarding the
<filename>BBPATH</filename> variable and the
<filename>conf/bblayers.conf</filename> file
is relevant.</para>
<para>
When you run BitBake, it begins looking for metadata files.
The
<link linkend='var-bb-BBPATH'><filename>BBPATH</filename></link>
variable is what tells BitBake where to look for those files.
<filename>BBPATH</filename> is not set and you need to set it.
Without <filename>BBPATH</filename>, BitBake cannot
find any configuration files (<filename>.conf</filename>)
or recipe files (<filename>.bb</filename>) at all.
BitBake also cannot find the <filename>bitbake.conf</filename>
file.
</para></listitem>
<listitem><para><emphasis>Setting <filename>BBPATH</filename>:</emphasis>
For this example, you can set <filename>BBPATH</filename>
in the same manner that you set <filename>PATH</filename>
earlier in the appendix.
You should realize, though, that it is much more flexible to set the
<filename>BBPATH</filename> variable up in a configuration
file for each project.</para>
<para>From your shell, enter the following commands to set and
export the <filename>BBPATH</filename> variable:
<literallayout class='monospaced'>
$ BBPATH="<replaceable>projectdirectory</replaceable>"
$ export BBPATH
</literallayout>
Use your actual project directory in the command.
BitBake uses that directory to find the metadata it needs for
your project.
<note>
When specifying your project directory, do not use the
tilde ("~") character as BitBake does not expand that character
as the shell would.
</note>
</para></listitem>
<listitem><para><emphasis>Run BitBake:</emphasis>
Now that you have <filename>BBPATH</filename> defined, run
the <filename>bitbake</filename> command again:
<literallayout class='monospaced'>
$ bitbake
ERROR: Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 163, in wrapped
return func(fn, *args)
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 173, in parse_config_file
return bb.parse.handle(fn, data, include)
File "/home/scott-lenovo/bitbake/lib/bb/parse/__init__.py", line 99, in handle
return h['handle'](fn, data, include)
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 120, in handle
abs_fn = resolve_file(fn, data)
File "/home/scott-lenovo/bitbake/lib/bb/parse/__init__.py", line 117, in resolve_file
raise IOError("file %s not found in %s" % (fn, bbpath))
IOError: file conf/bitbake.conf not found in /home/scott-lenovo/hello
ERROR: Unable to parse conf/bitbake.conf: file conf/bitbake.conf not found in /home/scott-lenovo/hello
</literallayout>
This sample output shows that BitBake could not find the
<filename>conf/bitbake.conf</filename> file in the project
directory.
This file is the first thing BitBake must find in order
to build a target.
And, since the project directory for this example is
empty, you need to provide a <filename>conf/bitbake.conf</filename>
file.
</para></listitem>
<listitem><para><emphasis>Creating <filename>conf/bitbake.conf</filename>:</emphasis>
The <filename>conf/bitbake.conf</filename> includes a number of
configuration variables BitBake uses for metadata and recipe
files.
For this example, you need to create the file in your project directory
and define some key BitBake variables.
For more information on the <filename>bitbake.conf</filename> file,
see
<ulink url='http://git.openembedded.org/bitbake/tree/conf/bitbake.conf'></ulink>.
</para>
<para>Use the following commands to create the <filename>conf</filename>
directory in the project directory:
<literallayout class='monospaced'>
$ mkdir conf
</literallayout>
From within the <filename>conf</filename> directory, use
some editor to create the <filename>bitbake.conf</filename>
so that it contains the following:
<literallayout class='monospaced'>
<link linkend='var-bb-PN'>PN</link> = "${@bb.parse.BBHandler.vars_from_file(d.getVar('FILE', False),d)[0] or 'defaultpkgname'}"
</literallayout>
<literallayout class='monospaced'>
TMPDIR = "${<link linkend='var-bb-TOPDIR'>TOPDIR</link>}/tmp"
<link linkend='var-bb-CACHE'>CACHE</link> = "${TMPDIR}/cache"
<link linkend='var-bb-STAMP'>STAMP</link> = "${TMPDIR}/${PN}/stamps"
<link linkend='var-bb-T'>T</link> = "${TMPDIR}/${PN}/work"
<link linkend='var-bb-B'>B</link> = "${TMPDIR}/${PN}"
</literallayout>
<note>
Without a value for <filename>PN</filename>, the
variables <filename>STAMP</filename>,
<filename>T</filename>, and <filename>B</filename>,
prevent more than one recipe from working. You can fix
this by either setting <filename>PN</filename> to have
a value similar to what OpenEmbedded and BitBake use
in the default <filename>bitbake.conf</filename> file
(see previous example). Or, by manually updating each
recipe to set <filename>PN</filename>. You will also
need to include <filename>PN</filename> as part of the
<filename>STAMP</filename>, <filename>T</filename>, and
<filename>B</filename> variable definitions in the
<filename>local.conf</filename> file.
</note>
The <filename>TMPDIR</filename> variable establishes a directory
that BitBake uses for build output and intermediate files other
than the cached information used by the
<link linkend='setscene'>Setscene</link> process.
Here, the <filename>TMPDIR</filename> directory is set to
<filename>hello/tmp</filename>.
<note><title>Tip</title>
You can always safely delete the <filename>tmp</filename>
directory in order to rebuild a BitBake target.
The build process creates the directory for you
when you run BitBake.
</note></para>
<para>For information about each of the other variables defined in this
example, click on the links to take you to the definitions in
the glossary.
</para></listitem>
<listitem><para><emphasis>Run BitBake:</emphasis>
After making sure that the <filename>conf/bitbake.conf</filename>
file exists, you can run the <filename>bitbake</filename>
command again:
<literallayout class='monospaced'>
$ bitbake
ERROR: Traceback (most recent call last):
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 163, in wrapped
return func(fn, *args)
File "/home/scott-lenovo/bitbake/lib/bb/cookerdata.py", line 177, in _inherit
bb.parse.BBHandler.inherit(bbclass, "configuration INHERITs", 0, data)
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/BBHandler.py", line 92, in inherit
include(fn, file, lineno, d, "inherit")
File "/home/scott-lenovo/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 100, in include
raise ParseError("Could not %(error_out)s file %(fn)s" % vars(), oldfn, lineno)
ParseError: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
ERROR: Unable to parse base: ParseError in configuration INHERITs: Could not inherit file classes/base.bbclass
</literallayout>
In the sample output, BitBake could not find the
<filename>classes/base.bbclass</filename> file.
You need to create that file next.
</para></listitem>
<listitem><para><emphasis>Creating <filename>classes/base.bbclass</filename>:</emphasis>
BitBake uses class files to provide common code and functionality.
The minimally required class for BitBake is the
<filename>classes/base.bbclass</filename> file.
The <filename>base</filename> class is implicitly inherited by
every recipe.
BitBake looks for the class in the <filename>classes</filename>
directory of the project (i.e <filename>hello/classes</filename>
in this example).
</para>
<para>Create the <filename>classes</filename> directory as follows:
<literallayout class='monospaced'>
$ cd $HOME/hello
$ mkdir classes
</literallayout>
Move to the <filename>classes</filename> directory and then
create the <filename>base.bbclass</filename> file by inserting
this single line:
<literallayout class='monospaced'>
addtask build
</literallayout>
The minimal task that BitBake runs is the
<filename>do_build</filename> task.
This is all the example needs in order to build the project.
Of course, the <filename>base.bbclass</filename> can have much
more depending on which build environments BitBake is
supporting.
</para></listitem>
<listitem><para><emphasis>Run BitBake:</emphasis>
After making sure that the <filename>classes/base.bbclass</filename>
file exists, you can run the <filename>bitbake</filename>
command again:
<literallayout class='monospaced'>
$ bitbake
Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.
</literallayout>
BitBake is finally reporting no errors.
However, you can see that it really does not have anything
to do.
You need to create a recipe that gives BitBake something to do.
</para></listitem>
<listitem><para><emphasis>Creating a Layer:</emphasis>
While it is not really necessary for such a small example,
it is good practice to create a layer in which to keep your
code separate from the general metadata used by BitBake.
Thus, this example creates and uses a layer called "mylayer".
<note>
You can find additional information on layers in the
"<link linkend='layers'>Layers</link>" section.
</note></para>
<para>Minimally, you need a recipe file and a layer configuration
file in your layer.
The configuration file needs to be in the <filename>conf</filename>
directory inside the layer.
Use these commands to set up the layer and the <filename>conf</filename>
directory:
<literallayout class='monospaced'>
$ cd $HOME
$ mkdir mylayer
$ cd mylayer
$ mkdir conf
</literallayout>
Move to the <filename>conf</filename> directory and create a
<filename>layer.conf</filename> file that has the following:
<literallayout class='monospaced'>
BBPATH .= ":${<link linkend='var-bb-LAYERDIR'>LAYERDIR</link>}"
<link linkend='var-bb-BBFILES'>BBFILES</link> += "${LAYERDIR}/*.bb"
<link linkend='var-bb-BBFILE_COLLECTIONS'>BBFILE_COLLECTIONS</link> += "mylayer"
<link linkend='var-bb-BBFILE_PATTERN'>BBFILE_PATTERN_mylayer</link> := "^${LAYERDIR_RE}/"
</literallayout>
For information on these variables, click the links
to go to the definitions in the glossary.</para>
<para>You need to create the recipe file next.
Inside your layer at the top-level, use an editor and create
a recipe file named <filename>printhello.bb</filename> that
has the following:
<literallayout class='monospaced'>
<link linkend='var-bb-DESCRIPTION'>DESCRIPTION</link> = "Prints Hello World"
<link linkend='var-bb-PN'>PN</link> = 'printhello'
<link linkend='var-bb-PV'>PV</link> = '1'
python do_build() {
bb.plain("********************");
bb.plain("* *");
bb.plain("* Hello, World! *");
bb.plain("* *");
bb.plain("********************");
}
</literallayout>
The recipe file simply provides a description of the
recipe, the name, version, and the <filename>do_build</filename>
task, which prints out "Hello World" to the console.
For more information on these variables, follow the links
to the glossary.
</para></listitem>
<listitem><para><emphasis>Run BitBake With a Target:</emphasis>
Now that a BitBake target exists, run the command and provide
that target:
<literallayout class='monospaced'>
$ cd $HOME/hello
$ bitbake printhello
ERROR: no recipe files to build, check your BBPATH and BBFILES?
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
</literallayout>
We have created the layer with the recipe and the layer
configuration file but it still seems that BitBake cannot
find the recipe.
BitBake needs a <filename>conf/bblayers.conf</filename> that
lists the layers for the project.
Without this file, BitBake cannot find the recipe.
</para></listitem>
<listitem><para><emphasis>Creating <filename>conf/bblayers.conf</filename>:</emphasis>
BitBake uses the <filename>conf/bblayers.conf</filename> file
to locate layers needed for the project.
This file must reside in the <filename>conf</filename> directory
of the project (i.e. <filename>hello/conf</filename> for this
example).</para>
<para>Set your working directory to the <filename>hello/conf</filename>
directory and then create the <filename>bblayers.conf</filename>
file so that it contains the following:
<literallayout class='monospaced'>
BBLAYERS ?= " \
/home/&lt;you&gt;/mylayer \
"
</literallayout>
You need to provide your own information for
<filename>you</filename> in the file.
</para></listitem>
<listitem><para><emphasis>Run BitBake With a Target:</emphasis>
Now that you have supplied the <filename>bblayers.conf</filename>
file, run the <filename>bitbake</filename> command and provide
the target:
<literallayout class='monospaced'>
$ bitbake printhello
Parsing recipes: 100% |##################################################################################|
Time: 00:00:00
Parsing of 1 .bb files complete (0 cached, 1 parsed). 1 targets, 0 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing RunQueue
NOTE: Executing RunQueue Tasks
********************
* *
* Hello, World! *
* *
********************
NOTE: Tasks Summary: Attempted 1 tasks of which 0 didn't need to be rerun and all succeeded.
</literallayout>
BitBake finds the <filename>printhello</filename> recipe and
successfully runs the task.
<note>
After the first execution, re-running
<filename>bitbake printhello</filename> again will not
result in a BitBake run that prints the same console
output.
The reason for this is that the first time the
<filename>printhello.bb</filename> recipe's
<filename>do_build</filename> task executes
successfully, BitBake writes a stamp file for the task.
Thus, the next time you attempt to run the task
using that same <filename>bitbake</filename> command,
BitBake notices the stamp and therefore determines
that the task does not need to be re-run.
If you delete the <filename>tmp</filename> directory
or run <filename>bitbake -c clean printhello</filename>
and then re-run the build, the "Hello, World!" message will
be printed again.
</note>
</para></listitem>
</orderedlist>
</section>
</appendix>

View File

@@ -0,0 +1,651 @@
.. SPDX-License-Identifier: CC-BY-2.5
========
Overview
========
|
Welcome to the BitBake User Manual. This manual provides information on
the BitBake tool. The information attempts to be as independent as
possible regarding systems that use BitBake, such as OpenEmbedded and
the Yocto Project. In some cases, scenarios or examples within the
context of a build system are used in the manual to help with
understanding. For these cases, the manual clearly states the context.
.. _intro:
Introduction
============
Fundamentally, BitBake is a generic task execution engine that allows
shell and Python tasks to be run efficiently and in parallel while
working within complex inter-task dependency constraints. One of
BitBake's main users, OpenEmbedded, takes this core and builds embedded
Linux software stacks using a task-oriented approach.
Conceptually, BitBake is similar to GNU Make in some regards but has
significant differences:
- BitBake executes tasks according to provided metadata that builds up
the tasks. Metadata is stored in recipe (``.bb``) and related recipe
"append" (``.bbappend``) files, configuration (``.conf``) and
underlying include (``.inc``) files, and in class (``.bbclass``)
files. The metadata provides BitBake with instructions on what tasks
to run and the dependencies between those tasks.
- BitBake includes a fetcher library for obtaining source code from
various places such as local files, source control systems, or
websites.
- The instructions for each unit to be built (e.g. a piece of software)
are known as "recipe" files and contain all the information about the
unit (dependencies, source file locations, checksums, description and
so on).
- BitBake includes a client/server abstraction and can be used from a
command line or used as a service over XML-RPC and has several
different user interfaces.
History and Goals
=================
BitBake was originally a part of the OpenEmbedded project. It was
inspired by the Portage package management system used by the Gentoo
Linux distribution. On December 7, 2004, OpenEmbedded project team
member Chris Larson split the project into two distinct pieces:
- BitBake, a generic task executor
- OpenEmbedded, a metadata set utilized by BitBake
Today, BitBake is the primary basis of the
`OpenEmbedded <http://www.openembedded.org/>`__ project, which is being
used to build and maintain Linux distributions such as the `Angstrom
Distribution <http://www.angstrom-distribution.org/>`__, and which is
also being used as the build tool for Linux projects such as the `Yocto
Project <http://www.yoctoproject.org>`__.
Prior to BitBake, no other build tool adequately met the needs of an
aspiring embedded Linux distribution. All of the build systems used by
traditional desktop Linux distributions lacked important functionality,
and none of the ad hoc Buildroot-based systems, prevalent in the
embedded space, were scalable or maintainable.
Some important original goals for BitBake were:
- Handle cross-compilation.
- Handle inter-package dependencies (build time on target architecture,
build time on native architecture, and runtime).
- Support running any number of tasks within a given package,
including, but not limited to, fetching upstream sources, unpacking
them, patching them, configuring them, and so forth.
- Be Linux distribution agnostic for both build and target systems.
- Be architecture agnostic.
- Support multiple build and target operating systems (e.g. Cygwin, the
BSDs, and so forth).
- Be self-contained, rather than tightly integrated into the build
machine's root filesystem.
- Handle conditional metadata on the target architecture, operating
system, distribution, and machine.
- Be easy to use the tools to supply local metadata and packages
against which to operate.
- Be easy to use BitBake to collaborate between multiple projects for
their builds.
- Provide an inheritance mechanism to share common metadata between
many packages.
Over time it became apparent that some further requirements were
necessary:
- Handle variants of a base recipe (e.g. native, sdk, and multilib).
- Split metadata into layers and allow layers to enhance or override
other layers.
- Allow representation of a given set of input variables to a task as a
checksum. Based on that checksum, allow acceleration of builds with
prebuilt components.
BitBake satisfies all the original requirements and many more with
extensions being made to the basic functionality to reflect the
additional requirements. Flexibility and power have always been the
priorities. BitBake is highly extensible and supports embedded Python
code and execution of any arbitrary tasks.
.. _Concepts:
Concepts
========
BitBake is a program written in the Python language. At the highest
level, BitBake interprets metadata, decides what tasks are required to
run, and executes those tasks. Similar to GNU Make, BitBake controls how
software is built. GNU Make achieves its control through "makefiles",
while BitBake uses "recipes".
BitBake extends the capabilities of a simple tool like GNU Make by
allowing for the definition of much more complex tasks, such as
assembling entire embedded Linux distributions.
The remainder of this section introduces several concepts that should be
understood in order to better leverage the power of BitBake.
Recipes
-------
BitBake Recipes, which are denoted by the file extension ``.bb``, are
the most basic metadata files. These recipe files provide BitBake with
the following:
- Descriptive information about the package (author, homepage, license,
and so on)
- The version of the recipe
- Existing dependencies (both build and runtime dependencies)
- Where the source code resides and how to fetch it
- Whether the source code requires any patches, where to find them, and
how to apply them
- How to configure and compile the source code
- How to assemble the generated artifacts into one or more installable
packages
- Where on the target machine to install the package or packages
created
Within the context of BitBake, or any project utilizing BitBake as its
build system, files with the ``.bb`` extension are referred to as
recipes.
.. note::
The term "package" is also commonly used to describe recipes.
However, since the same word is used to describe packaged output from
a project, it is best to maintain a single descriptive term -
"recipes". Put another way, a single "recipe" file is quite capable
of generating a number of related but separately installable
"packages". In fact, that ability is fairly common.
Configuration Files
-------------------
Configuration files, which are denoted by the ``.conf`` extension,
define various configuration variables that govern the project's build
process. These files fall into several areas that define machine
configuration, distribution configuration, possible compiler tuning,
general common configuration, and user configuration. The main
configuration file is the sample ``bitbake.conf`` file, which is located
within the BitBake source tree ``conf`` directory.
Classes
-------
Class files, which are denoted by the ``.bbclass`` extension, contain
information that is useful to share between metadata files. The BitBake
source tree currently comes with one class metadata file called
``base.bbclass``. You can find this file in the ``classes`` directory.
The ``base.bbclass`` class files is special since it is always included
automatically for all recipes and classes. This class contains
definitions for standard basic tasks such as fetching, unpacking,
configuring (empty by default), compiling (runs any Makefile present),
installing (empty by default) and packaging (empty by default). These
tasks are often overridden or extended by other classes added during the
project development process.
Layers
------
Layers allow you to isolate different types of customizations from each
other. While you might find it tempting to keep everything in one layer
when working on a single project, the more modular your metadata, the
easier it is to cope with future changes.
To illustrate how you can use layers to keep things modular, consider
customizations you might make to support a specific target machine.
These types of customizations typically reside in a special layer,
rather than a general layer, called a Board Support Package (BSP) layer.
Furthermore, the machine customizations should be isolated from recipes
and metadata that support a new GUI environment, for example. This
situation gives you a couple of layers: one for the machine
configurations and one for the GUI environment. It is important to
understand, however, that the BSP layer can still make machine-specific
additions to recipes within the GUI environment layer without polluting
the GUI layer itself with those machine-specific changes. You can
accomplish this through a recipe that is a BitBake append
(``.bbappend``) file.
.. _append-bbappend-files:
Append Files
------------
Append files, which are files that have the ``.bbappend`` file
extension, extend or override information in an existing recipe file.
BitBake expects every append file to have a corresponding recipe file.
Furthermore, the append file and corresponding recipe file must use the
same root filename. The filenames can differ only in the file type
suffix used (e.g. ``formfactor_0.0.bb`` and
``formfactor_0.0.bbappend``).
Information in append files extends or overrides the information in the
underlying, similarly-named recipe files.
When you name an append file, you can use the "``%``" wildcard character
to allow for matching recipe names. For example, suppose you have an
append file named as follows::
busybox_1.21.%.bbappend
That append file
would match any ``busybox_1.21.``\ x\ ``.bb`` version of the recipe. So,
the append file would match the following recipe names::
busybox_1.21.1.bb
busybox_1.21.2.bb
busybox_1.21.3.bb
.. note::
The use of the " % " character is limited in that it only works directly in
front of the .bbappend portion of the append file's name. You cannot use the
wildcard character in any other location of the name.
If the ``busybox`` recipe was updated to ``busybox_1.3.0.bb``, the
append name would not match. However, if you named the append file
``busybox_1.%.bbappend``, then you would have a match.
In the most general case, you could name the append file something as
simple as ``busybox_%.bbappend`` to be entirely version independent.
Obtaining BitBake
=================
You can obtain BitBake several different ways:
- **Cloning BitBake:** Using Git to clone the BitBake source code
repository is the recommended method for obtaining BitBake. Cloning
the repository makes it easy to get bug fixes and have access to
stable branches and the master branch. Once you have cloned BitBake,
you should use the latest stable branch for development since the
master branch is for BitBake development and might contain less
stable changes.
You usually need a version of BitBake that matches the metadata you
are using. The metadata is generally backwards compatible but not
forward compatible.
Here is an example that clones the BitBake repository::
$ git clone git://git.openembedded.org/bitbake
This command clones the BitBake
Git repository into a directory called ``bitbake``. Alternatively,
you can designate a directory after the ``git clone`` command if you
want to call the new directory something other than ``bitbake``. Here
is an example that names the directory ``bbdev``::
$ git clone git://git.openembedded.org/bitbake bbdev
- **Installation using your Distribution Package Management System:**
This method is not recommended because the BitBake version that is
provided by your distribution, in most cases, is several releases
behind a snapshot of the BitBake repository.
- **Taking a snapshot of BitBake:** Downloading a snapshot of BitBake
from the source code repository gives you access to a known branch or
release of BitBake.
.. note::
Cloning the Git repository, as described earlier, is the preferred
method for getting BitBake. Cloning the repository makes it easier
to update as patches are added to the stable branches.
The following example downloads a snapshot of BitBake version 1.17.0::
$ wget http://git.openembedded.org/bitbake/snapshot/bitbake-1.17.0.tar.gz
$ tar zxpvf bitbake-1.17.0.tar.gz
After extraction of the tarball using
the tar utility, you have a directory entitled ``bitbake-1.17.0``.
- **Using the BitBake that Comes With Your Build Checkout:** A final
possibility for getting a copy of BitBake is that it already comes
with your checkout of a larger BitBake-based build system, such as
Poky. Rather than manually checking out individual layers and gluing
them together yourself, you can check out an entire build system. The
checkout will already include a version of BitBake that has been
thoroughly tested for compatibility with the other components. For
information on how to check out a particular BitBake-based build
system, consult that build system's supporting documentation.
.. _bitbake-user-manual-command:
The BitBake Command
===================
The ``bitbake`` command is the primary interface to the BitBake tool.
This section presents the BitBake command syntax and provides several
execution examples.
Usage and syntax
----------------
Following is the usage and syntax for BitBake::
$ bitbake -h
Usage: bitbake [options] [recipename/target recipe:do_task ...]
Executes the specified task (default is 'build') for a given set of target recipes (.bb files).
It is assumed there is a conf/bblayers.conf available in cwd or in BBPATH which
will provide the layer, BBFILES and other configuration information.
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-b BUILDFILE, --buildfile=BUILDFILE
Execute tasks from a specific .bb recipe directly.
WARNING: Does not handle any dependencies from other
recipes.
-k, --continue Continue as much as possible after an error. While the
target that failed and anything depending on it cannot
be built, as much as possible will be built before
stopping.
-f, --force Force the specified targets/task to run (invalidating
any existing stamp file).
-c CMD, --cmd=CMD Specify the task to execute. The exact options
available depend on the metadata. Some examples might
be 'compile' or 'populate_sysroot' or 'listtasks' may
give a list of the tasks available.
-C INVALIDATE_STAMP, --clear-stamp=INVALIDATE_STAMP
Invalidate the stamp for the specified task such as
'compile' and then run the default task for the
specified target(s).
-r PREFILE, --read=PREFILE
Read the specified file before bitbake.conf.
-R POSTFILE, --postread=POSTFILE
Read the specified file after bitbake.conf.
-v, --verbose Enable tracing of shell tasks (with 'set -x'). Also
print bb.note(...) messages to stdout (in addition to
writing them to ${T}/log.do_&lt;task&gt;).
-D, --debug Increase the debug level. You can specify this more
than once. -D sets the debug level to 1, where only
bb.debug(1, ...) messages are printed to stdout; -DD
sets the debug level to 2, where both bb.debug(1, ...)
and bb.debug(2, ...) messages are printed; etc.
Without -D, no debug messages are printed. Note that
-D only affects output to stdout. All debug messages
are written to ${T}/log.do_taskname, regardless of the
debug level.
-q, --quiet Output less log message data to the terminal. You can
specify this more than once.
-n, --dry-run Don't execute, just go through the motions.
-S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER
Dump out the signature construction information, with
no task execution. The SIGNATURE_HANDLER parameter is
passed to the handler. Two common values are none and
printdiff but the handler may define more/less. none
means only dump the signature, printdiff means compare
the dumped signature with the cached one.
-p, --parse-only Quit after parsing the BB recipes.
-s, --show-versions Show current and preferred versions of all recipes.
-e, --environment Show the global or per-recipe environment complete
with information about where variables were
set/changed.
-g, --graphviz Save dependency tree information for the specified
targets in the dot syntax.
-I EXTRA_ASSUME_PROVIDED, --ignore-deps=EXTRA_ASSUME_PROVIDED
Assume these dependencies don't exist and are already
provided (equivalent to ASSUME_PROVIDED). Useful to
make dependency graphs more appealing
-l DEBUG_DOMAINS, --log-domains=DEBUG_DOMAINS
Show debug logging for the specified logging domains
-P, --profile Profile the command and save reports.
-u UI, --ui=UI The user interface to use (knotty, ncurses or taskexp
- default knotty).
--token=XMLRPCTOKEN Specify the connection token to be used when
connecting to a remote server.
--revisions-changed Set the exit code depending on whether upstream
floating revisions have changed or not.
--server-only Run bitbake without a UI, only starting a server
(cooker) process.
-B BIND, --bind=BIND The name/address for the bitbake xmlrpc server to bind
to.
-T SERVER_TIMEOUT, --idle-timeout=SERVER_TIMEOUT
Set timeout to unload bitbake server due to
inactivity, set to -1 means no unload, default:
Environment variable BB_SERVER_TIMEOUT.
--no-setscene Do not run any setscene tasks. sstate will be ignored
and everything needed, built.
--setscene-only Only run setscene tasks, don't run any real tasks.
--remote-server=REMOTE_SERVER
Connect to the specified server.
-m, --kill-server Terminate any running bitbake server.
--observe-only Connect to a server as an observing-only client.
--status-only Check the status of the remote bitbake server.
-w WRITEEVENTLOG, --write-log=WRITEEVENTLOG
Writes the event log of the build to a bitbake event
json file. Use '' (empty string) to assign the name
automatically.
--runall=RUNALL Run the specified task for any recipe in the taskgraph
of the specified target (even if it wouldn't otherwise
have run).
--runonly=RUNONLY Run only the specified task within the taskgraph of
the specified targets (and any task dependencies those
tasks may have).
.. _bitbake-examples:
Examples
--------
This section presents some examples showing how to use BitBake.
.. _example-executing-a-task-against-a-single-recipe:
Executing a Task Against a Single Recipe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Executing tasks for a single recipe file is relatively simple. You
specify the file in question, and BitBake parses it and executes the
specified task. If you do not specify a task, BitBake executes the
default task, which is "build". BitBake obeys inter-task dependencies
when doing so.
The following command runs the build task, which is the default task, on
the ``foo_1.0.bb`` recipe file::
$ bitbake -b foo_1.0.bb
The following command runs the clean task on the ``foo.bb`` recipe file::
$ bitbake -b foo.bb -c clean
.. note::
The "-b" option explicitly does not handle recipe dependencies. Other
than for debugging purposes, it is instead recommended that you use
the syntax presented in the next section.
Executing Tasks Against a Set of Recipe Files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are a number of additional complexities introduced when one wants
to manage multiple ``.bb`` files. Clearly there needs to be a way to
tell BitBake what files are available and, of those, which you want to
execute. There also needs to be a way for each recipe to express its
dependencies, both for build-time and runtime. There must be a way for
you to express recipe preferences when multiple recipes provide the same
functionality, or when there are multiple versions of a recipe.
The ``bitbake`` command, when not using "--buildfile" or "-b" only
accepts a "PROVIDES". You cannot provide anything else. By default, a
recipe file generally "PROVIDES" its "packagename" as shown in the
following example::
$ bitbake foo
This next example "PROVIDES" the
package name and also uses the "-c" option to tell BitBake to just
execute the ``do_clean`` task::
$ bitbake -c clean foo
Executing a List of Task and Recipe Combinations
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The BitBake command line supports specifying different tasks for
individual targets when you specify multiple targets. For example,
suppose you had two targets (or recipes) ``myfirstrecipe`` and
``mysecondrecipe`` and you needed BitBake to run ``taskA`` for the first
recipe and ``taskB`` for the second recipe::
$ bitbake myfirstrecipe:do_taskA mysecondrecipe:do_taskB
Generating Dependency Graphs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BitBake is able to generate dependency graphs using the ``dot`` syntax.
You can convert these graphs into images using the ``dot`` tool from
`Graphviz <http://www.graphviz.org>`__.
When you generate a dependency graph, BitBake writes two files to the
current working directory:
- ``task-depends.dot``: Shows dependencies between tasks. These
dependencies match BitBake's internal task execution list.
- ``pn-buildlist``: Shows a simple list of targets that are to be
built.
To stop depending on common depends, use the "-I" depend option and
BitBake omits them from the graph. Leaving this information out can
produce more readable graphs. This way, you can remove from the graph
``DEPENDS`` from inherited classes such as ``base.bbclass``.
Here are two examples that create dependency graphs. The second example
omits depends common in OpenEmbedded from the graph::
$ bitbake -g foo
$ bitbake -g -I virtual/kernel -I eglibc foo
Executing a Multiple Configuration Build
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BitBake is able to build multiple images or packages using a single
command where the different targets require different configurations
(multiple configuration builds). Each target, in this scenario, is
referred to as a "multiconfig".
To accomplish a multiple configuration build, you must define each
target's configuration separately using a parallel configuration file in
the build directory. The location for these multiconfig configuration
files is specific. They must reside in the current build directory in a
sub-directory of ``conf`` named ``multiconfig``. Following is an example
for two separate targets:
.. image:: figures/bb_multiconfig_files.png
:align: center
The reason for this required file hierarchy is because the ``BBPATH``
variable is not constructed until the layers are parsed. Consequently,
using the configuration file as a pre-configuration file is not possible
unless it is located in the current working directory.
Minimally, each configuration file must define the machine and the
temporary directory BitBake uses for the build. Suggested practice
dictates that you do not overlap the temporary directories used during
the builds.
Aside from separate configuration files for each target, you must also
enable BitBake to perform multiple configuration builds. Enabling is
accomplished by setting the
:term:`BBMULTICONFIG` variable in the
``local.conf`` configuration file. As an example, suppose you had
configuration files for ``target1`` and ``target2`` defined in the build
directory. The following statement in the ``local.conf`` file both
enables BitBake to perform multiple configuration builds and specifies
the two extra multiconfigs::
BBMULTICONFIG = "target1 target2"
Once the target configuration files are in place and BitBake has been
enabled to perform multiple configuration builds, use the following
command form to start the builds::
$ bitbake [mc:multiconfigname:]target [[[mc:multiconfigname:]target] ... ]
Here is an example for two extra multiconfigs: ``target1`` and ``target2``::
$ bitbake mc::target mc:target1:target mc:target2:target
.. _bb-enabling-multiple-configuration-build-dependencies:
Enabling Multiple Configuration Build Dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sometimes dependencies can exist between targets (multiconfigs) in a
multiple configuration build. For example, suppose that in order to
build an image for a particular architecture, the root filesystem of
another build for a different architecture needs to exist. In other
words, the image for the first multiconfig depends on the root
filesystem of the second multiconfig. This dependency is essentially
that the task in the recipe that builds one multiconfig is dependent on
the completion of the task in the recipe that builds another
multiconfig.
To enable dependencies in a multiple configuration build, you must
declare the dependencies in the recipe using the following statement
form::
task_or_package[mcdepends] = "mc:from_multiconfig:to_multiconfig:recipe_name:task_on_which_to_depend"
To better show how to use this statement, consider an example with two
multiconfigs: ``target1`` and ``target2``::
image_task[mcdepends] = "mc:target1:target2:image2:rootfs_task"
In this example, the
``from_multiconfig`` is "target1" and the ``to_multiconfig`` is "target2". The
task on which the image whose recipe contains image_task depends on the
completion of the rootfs_task used to build out image2, which is
associated with the "target2" multiconfig.
Once you set up this dependency, you can build the "target1" multiconfig
using a BitBake command as follows::
$ bitbake mc:target1:image1
This command executes all the tasks needed to create ``image1`` for the "target1"
multiconfig. Because of the dependency, BitBake also executes through
the ``rootfs_task`` for the "target2" multiconfig build.
Having a recipe depend on the root filesystem of another build might not
seem that useful. Consider this change to the statement in the image1
recipe::
image_task[mcdepends] = "mc:target1:target2:image2:image_task"
In this case, BitBake must create ``image2`` for the "target2" build since
the "target1" build depends on it.
Because "target1" and "target2" are enabled for multiple configuration
builds and have separate configuration files, BitBake places the
artifacts for each build in the respective temporary build directories.

View File

@@ -1,896 +0,0 @@
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<chapter id="bitbake-user-manual-intro">
<title>Overview</title>
<para>
Welcome to the BitBake User Manual.
This manual provides information on the BitBake tool.
The information attempts to be as independent as possible regarding
systems that use BitBake, such as OpenEmbedded and the
Yocto Project.
In some cases, scenarios or examples within the context of
a build system are used in the manual to help with understanding.
For these cases, the manual clearly states the context.
</para>
<section id="intro">
<title>Introduction</title>
<para>
Fundamentally, BitBake is a generic task execution
engine that allows shell and Python tasks to be run
efficiently and in parallel while working within
complex inter-task dependency constraints.
One of BitBake's main users, OpenEmbedded, takes this core
and builds embedded Linux software stacks using
a task-oriented approach.
</para>
<para>
Conceptually, BitBake is similar to GNU Make in
some regards but has significant differences:
<itemizedlist>
<listitem><para>
BitBake executes tasks according to provided
metadata that builds up the tasks.
Metadata is stored in recipe (<filename>.bb</filename>)
and related recipe "append" (<filename>.bbappend</filename>)
files, configuration (<filename>.conf</filename>) and
underlying include (<filename>.inc</filename>) files, and
in class (<filename>.bbclass</filename>) files.
The metadata provides
BitBake with instructions on what tasks to run and
the dependencies between those tasks.
</para></listitem>
<listitem><para>
BitBake includes a fetcher library for obtaining source
code from various places such as local files, source control
systems, or websites.
</para></listitem>
<listitem><para>
The instructions for each unit to be built (e.g. a piece
of software) are known as "recipe" files and
contain all the information about the unit
(dependencies, source file locations, checksums, description
and so on).
</para></listitem>
<listitem><para>
BitBake includes a client/server abstraction and can
be used from a command line or used as a service over
XML-RPC and has several different user interfaces.
</para></listitem>
</itemizedlist>
</para>
</section>
<section id="history-and-goals">
<title>History and Goals</title>
<para>
BitBake was originally a part of the OpenEmbedded project.
It was inspired by the Portage package management system
used by the Gentoo Linux distribution.
On December 7, 2004, OpenEmbedded project team member
Chris Larson split the project into two distinct pieces:
<itemizedlist>
<listitem><para>BitBake, a generic task executor</para></listitem>
<listitem><para>OpenEmbedded, a metadata set utilized by
BitBake</para></listitem>
</itemizedlist>
Today, BitBake is the primary basis of the
<ulink url="http://www.openembedded.org/">OpenEmbedded</ulink>
project, which is being used to build and maintain Linux
distributions such as the
<ulink url='http://www.angstrom-distribution.org/'>Angstrom Distribution</ulink>,
and which is also being used as the build tool for Linux projects
such as the
<ulink url='http://www.yoctoproject.org'>Yocto Project</ulink>.
</para>
<para>
Prior to BitBake, no other build tool adequately met the needs of
an aspiring embedded Linux distribution.
All of the build systems used by traditional desktop Linux
distributions lacked important functionality, and none of the
ad hoc Buildroot-based systems, prevalent in the
embedded space, were scalable or maintainable.
</para>
<para>
Some important original goals for BitBake were:
<itemizedlist>
<listitem><para>
Handle cross-compilation.
</para></listitem>
<listitem><para>
Handle inter-package dependencies (build time on
target architecture, build time on native
architecture, and runtime).
</para></listitem>
<listitem><para>
Support running any number of tasks within a given
package, including, but not limited to, fetching
upstream sources, unpacking them, patching them,
configuring them, and so forth.
</para></listitem>
<listitem><para>
Be Linux distribution agnostic for both build and
target systems.
</para></listitem>
<listitem><para>
Be architecture agnostic.
</para></listitem>
<listitem><para>
Support multiple build and target operating systems
(e.g. Cygwin, the BSDs, and so forth).
</para></listitem>
<listitem><para>
Be self-contained, rather than tightly
integrated into the build machine's root
filesystem.
</para></listitem>
<listitem><para>
Handle conditional metadata on the target architecture,
operating system, distribution, and machine.
</para></listitem>
<listitem><para>
Be easy to use the tools to supply local metadata and packages
against which to operate.
</para></listitem>
<listitem><para>
Be easy to use BitBake to collaborate between multiple
projects for their builds.
</para></listitem>
<listitem><para>
Provide an inheritance mechanism to share
common metadata between many packages.
</para></listitem>
</itemizedlist>
Over time it became apparent that some further requirements
were necessary:
<itemizedlist>
<listitem><para>
Handle variants of a base recipe (e.g. native, sdk,
and multilib).
</para></listitem>
<listitem><para>
Split metadata into layers and allow layers
to enhance or override other layers.
</para></listitem>
<listitem><para>
Allow representation of a given set of input variables
to a task as a checksum.
Based on that checksum, allow acceleration of builds
with prebuilt components.
</para></listitem>
</itemizedlist>
BitBake satisfies all the original requirements and many more
with extensions being made to the basic functionality to
reflect the additional requirements.
Flexibility and power have always been the priorities.
BitBake is highly extensible and supports embedded Python code and
execution of any arbitrary tasks.
</para>
</section>
<section id="Concepts">
<title>Concepts</title>
<para>
BitBake is a program written in the Python language.
At the highest level, BitBake interprets metadata, decides
what tasks are required to run, and executes those tasks.
Similar to GNU Make, BitBake controls how software is
built.
GNU Make achieves its control through "makefiles", while
BitBake uses "recipes".
</para>
<para>
BitBake extends the capabilities of a simple
tool like GNU Make by allowing for the definition of much more
complex tasks, such as assembling entire embedded Linux
distributions.
</para>
<para>
The remainder of this section introduces several concepts
that should be understood in order to better leverage
the power of BitBake.
</para>
<section id='recipes'>
<title>Recipes</title>
<para>
BitBake Recipes, which are denoted by the file extension
<filename>.bb</filename>, are the most basic metadata files.
These recipe files provide BitBake with the following:
<itemizedlist>
<listitem><para>Descriptive information about the
package (author, homepage, license, and so on)</para></listitem>
<listitem><para>The version of the recipe</para></listitem>
<listitem><para>Existing dependencies (both build
and runtime dependencies)</para></listitem>
<listitem><para>Where the source code resides and
how to fetch it</para></listitem>
<listitem><para>Whether the source code requires
any patches, where to find them, and how to apply
them</para></listitem>
<listitem><para>How to configure and compile the
source code</para></listitem>
<listitem><para>How to assemble the generated artifacts into
one or more installable packages</para></listitem>
<listitem><para>Where on the target machine to install the
package or packages created</para></listitem>
</itemizedlist>
</para>
<para>
Within the context of BitBake, or any project utilizing BitBake
as its build system, files with the <filename>.bb</filename>
extension are referred to as <firstterm>recipes</firstterm>.
<note>
The term "package" is also commonly used to describe recipes.
However, since the same word is used to describe packaged
output from a project, it is best to maintain a single
descriptive term - "recipes".
Put another way, a single "recipe" file is quite capable
of generating a number of related but separately installable
"packages".
In fact, that ability is fairly common.
</note>
</para>
</section>
<section id='configuration-files'>
<title>Configuration Files</title>
<para>
Configuration files, which are denoted by the
<filename>.conf</filename> extension, define
various configuration variables that govern the project's build
process.
These files fall into several areas that define
machine configuration, distribution configuration,
possible compiler tuning, general common
configuration, and user configuration.
The main configuration file is the sample
<filename>bitbake.conf</filename> file, which is
located within the BitBake source tree
<filename>conf</filename> directory.
</para>
</section>
<section id='classes'>
<title>Classes</title>
<para>
Class files, which are denoted by the
<filename>.bbclass</filename> extension, contain
information that is useful to share between metadata files.
The BitBake source tree currently comes with one class metadata file
called <filename>base.bbclass</filename>.
You can find this file in the
<filename>classes</filename> directory.
The <filename>base.bbclass</filename> class files is special since it
is always included automatically for all recipes
and classes.
This class contains definitions for standard basic tasks such
as fetching, unpacking, configuring (empty by default),
compiling (runs any Makefile present), installing (empty by
default) and packaging (empty by default).
These tasks are often overridden or extended by other classes
added during the project development process.
</para>
</section>
<section id='layers'>
<title>Layers</title>
<para>
Layers allow you to isolate different types of
customizations from each other.
While you might find it tempting to keep everything in one layer
when working on a single project, the more modular
your metadata, the easier it is to cope with future changes.
</para>
<para>
To illustrate how you can use layers to keep things modular,
consider customizations you might make to support a specific target machine.
These types of customizations typically reside in a special layer,
rather than a general layer, called a <firstterm>Board Support Package</firstterm> (BSP)
layer.
Furthermore, the machine customizations should be isolated from
recipes and metadata that support a new GUI environment, for
example.
This situation gives you a couple of layers: one for the machine
configurations and one for the GUI environment.
It is important to understand, however, that the BSP layer can still
make machine-specific additions to recipes within
the GUI environment layer without polluting the GUI layer itself
with those machine-specific changes.
You can accomplish this through a recipe that is a BitBake append
(<filename>.bbappend</filename>) file.
</para>
</section>
<section id='append-bbappend-files'>
<title>Append Files</title>
<para>
Append files, which are files that have the
<filename>.bbappend</filename> file extension, extend or
override information in an existing recipe file.
</para>
<para>
BitBake expects every append file to have a corresponding recipe file.
Furthermore, the append file and corresponding recipe file
must use the same root filename.
The filenames can differ only in the file type suffix used
(e.g. <filename>formfactor_0.0.bb</filename> and
<filename>formfactor_0.0.bbappend</filename>).
</para>
<para>
Information in append files extends or
overrides the information in the underlying,
similarly-named recipe files.
</para>
<para>
When you name an append file, you can use the
"<filename>%</filename>" wildcard character to allow for matching
recipe names.
For example, suppose you have an append file named
as follows:
<literallayout class='monospaced'>
busybox_1.21.%.bbappend
</literallayout>
That append file would match any <filename>busybox_1.21.</filename><replaceable>x</replaceable><filename>.bb</filename>
version of the recipe.
So, the append file would match the following recipe names:
<literallayout class='monospaced'>
busybox_1.21.1.bb
busybox_1.21.2.bb
busybox_1.21.3.bb
</literallayout>
<note><title>Important</title>
The use of the "<filename>%</filename>" character
is limited in that it only works directly in front of the
<filename>.bbappend</filename> portion of the append file's
name.
You cannot use the wildcard character in any other
location of the name.
</note>
If the <filename>busybox</filename> recipe was updated to
<filename>busybox_1.3.0.bb</filename>, the append name would not
match.
However, if you named the append file
<filename>busybox_1.%.bbappend</filename>, then you would have a match.
</para>
<para>
In the most general case, you could name the append file something as
simple as <filename>busybox_%.bbappend</filename> to be entirely
version independent.
</para>
</section>
</section>
<section id='obtaining-bitbake'>
<title>Obtaining BitBake</title>
<para>
You can obtain BitBake several different ways:
<itemizedlist>
<listitem><para><emphasis>Cloning BitBake:</emphasis>
Using Git to clone the BitBake source code repository
is the recommended method for obtaining BitBake.
Cloning the repository makes it easy to get bug fixes
and have access to stable branches and the master
branch.
Once you have cloned BitBake, you should use
the latest stable
branch for development since the master branch is for
BitBake development and might contain less stable changes.
</para>
<para>You usually need a version of BitBake
that matches the metadata you are using.
The metadata is generally backwards compatible but
not forward compatible.</para>
<para>Here is an example that clones the BitBake repository:
<literallayout class='monospaced'>
$ git clone git://git.openembedded.org/bitbake
</literallayout>
This command clones the BitBake Git repository into a
directory called <filename>bitbake</filename>.
Alternatively, you can
designate a directory after the
<filename>git clone</filename> command
if you want to call the new directory something
other than <filename>bitbake</filename>.
Here is an example that names the directory
<filename>bbdev</filename>:
<literallayout class='monospaced'>
$ git clone git://git.openembedded.org/bitbake bbdev
</literallayout></para></listitem>
<listitem><para><emphasis>Installation using your Distribution
Package Management System:</emphasis>
This method is not
recommended because the BitBake version that is
provided by your distribution, in most cases,
is several
releases behind a snapshot of the BitBake repository.
</para></listitem>
<listitem><para><emphasis>Taking a snapshot of BitBake:</emphasis>
Downloading a snapshot of BitBake from the
source code repository gives you access to a known
branch or release of BitBake.
<note>
Cloning the Git repository, as described earlier,
is the preferred method for getting BitBake.
Cloning the repository makes it easier to update as
patches are added to the stable branches.
</note></para>
<para>The following example downloads a snapshot of
BitBake version 1.17.0:
<literallayout class='monospaced'>
$ wget http://git.openembedded.org/bitbake/snapshot/bitbake-1.17.0.tar.gz
$ tar zxpvf bitbake-1.17.0.tar.gz
</literallayout>
After extraction of the tarball using the tar utility,
you have a directory entitled
<filename>bitbake-1.17.0</filename>.
</para></listitem>
<listitem><para><emphasis>Using the BitBake that Comes With Your
Build Checkout:</emphasis>
A final possibility for getting a copy of BitBake is that it
already comes with your checkout of a larger BitBake-based build
system, such as Poky.
Rather than manually checking out individual layers and
gluing them together yourself, you can check
out an entire build system.
The checkout will already include a version of BitBake that
has been thoroughly tested for compatibility with the other
components.
For information on how to check out a particular BitBake-based
build system, consult that build system's supporting documentation.
</para></listitem>
</itemizedlist>
</para>
</section>
<section id="bitbake-user-manual-command">
<title>The BitBake Command</title>
<para>
The <filename>bitbake</filename> command is the primary interface
to the BitBake tool.
This section presents the BitBake command syntax and provides
several execution examples.
</para>
<section id='usage-and-syntax'>
<title>Usage and syntax</title>
<para>
Following is the usage and syntax for BitBake:
<literallayout class='monospaced'>
$ bitbake -h
Usage: bitbake [options] [recipename/target recipe:do_task ...]
Executes the specified task (default is 'build') for a given set of target recipes (.bb files).
It is assumed there is a conf/bblayers.conf available in cwd or in BBPATH which
will provide the layer, BBFILES and other configuration information.
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-b BUILDFILE, --buildfile=BUILDFILE
Execute tasks from a specific .bb recipe directly.
WARNING: Does not handle any dependencies from other
recipes.
-k, --continue Continue as much as possible after an error. While the
target that failed and anything depending on it cannot
be built, as much as possible will be built before
stopping.
-f, --force Force the specified targets/task to run (invalidating
any existing stamp file).
-c CMD, --cmd=CMD Specify the task to execute. The exact options
available depend on the metadata. Some examples might
be 'compile' or 'populate_sysroot' or 'listtasks' may
give a list of the tasks available.
-C INVALIDATE_STAMP, --clear-stamp=INVALIDATE_STAMP
Invalidate the stamp for the specified task such as
'compile' and then run the default task for the
specified target(s).
-r PREFILE, --read=PREFILE
Read the specified file before bitbake.conf.
-R POSTFILE, --postread=POSTFILE
Read the specified file after bitbake.conf.
-v, --verbose Enable tracing of shell tasks (with 'set -x'). Also
print bb.note(...) messages to stdout (in addition to
writing them to ${T}/log.do_&lt;task&gt;).
-D, --debug Increase the debug level. You can specify this more
than once. -D sets the debug level to 1, where only
bb.debug(1, ...) messages are printed to stdout; -DD
sets the debug level to 2, where both bb.debug(1, ...)
and bb.debug(2, ...) messages are printed; etc.
Without -D, no debug messages are printed. Note that
-D only affects output to stdout. All debug messages
are written to ${T}/log.do_taskname, regardless of the
debug level.
-q, --quiet Output less log message data to the terminal. You can
specify this more than once.
-n, --dry-run Don't execute, just go through the motions.
-S SIGNATURE_HANDLER, --dump-signatures=SIGNATURE_HANDLER
Dump out the signature construction information, with
no task execution. The SIGNATURE_HANDLER parameter is
passed to the handler. Two common values are none and
printdiff but the handler may define more/less. none
means only dump the signature, printdiff means compare
the dumped signature with the cached one.
-p, --parse-only Quit after parsing the BB recipes.
-s, --show-versions Show current and preferred versions of all recipes.
-e, --environment Show the global or per-recipe environment complete
with information about where variables were
set/changed.
-g, --graphviz Save dependency tree information for the specified
targets in the dot syntax.
-I EXTRA_ASSUME_PROVIDED, --ignore-deps=EXTRA_ASSUME_PROVIDED
Assume these dependencies don't exist and are already
provided (equivalent to ASSUME_PROVIDED). Useful to
make dependency graphs more appealing
-l DEBUG_DOMAINS, --log-domains=DEBUG_DOMAINS
Show debug logging for the specified logging domains
-P, --profile Profile the command and save reports.
-u UI, --ui=UI The user interface to use (knotty, ncurses or taskexp
- default knotty).
--token=XMLRPCTOKEN Specify the connection token to be used when
connecting to a remote server.
--revisions-changed Set the exit code depending on whether upstream
floating revisions have changed or not.
--server-only Run bitbake without a UI, only starting a server
(cooker) process.
-B BIND, --bind=BIND The name/address for the bitbake xmlrpc server to bind
to.
-T SERVER_TIMEOUT, --idle-timeout=SERVER_TIMEOUT
Set timeout to unload bitbake server due to
inactivity, set to -1 means no unload, default:
Environment variable BB_SERVER_TIMEOUT.
--no-setscene Do not run any setscene tasks. sstate will be ignored
and everything needed, built.
--setscene-only Only run setscene tasks, don't run any real tasks.
--remote-server=REMOTE_SERVER
Connect to the specified server.
-m, --kill-server Terminate any running bitbake server.
--observe-only Connect to a server as an observing-only client.
--status-only Check the status of the remote bitbake server.
-w WRITEEVENTLOG, --write-log=WRITEEVENTLOG
Writes the event log of the build to a bitbake event
json file. Use '' (empty string) to assign the name
automatically.
--runall=RUNALL Run the specified task for any recipe in the taskgraph
of the specified target (even if it wouldn't otherwise
have run).
--runonly=RUNONLY Run only the specified task within the taskgraph of
the specified targets (and any task dependencies those
tasks may have).
</literallayout>
</para>
</section>
<section id='bitbake-examples'>
<title>Examples</title>
<para>
This section presents some examples showing how to use BitBake.
</para>
<section id='example-executing-a-task-against-a-single-recipe'>
<title>Executing a Task Against a Single Recipe</title>
<para>
Executing tasks for a single recipe file is relatively simple.
You specify the file in question, and BitBake parses
it and executes the specified task.
If you do not specify a task, BitBake executes the default
task, which is "build”.
BitBake obeys inter-task dependencies when doing
so.
</para>
<para>
The following command runs the build task, which is
the default task, on the <filename>foo_1.0.bb</filename>
recipe file:
<literallayout class='monospaced'>
$ bitbake -b foo_1.0.bb
</literallayout>
The following command runs the clean task on the
<filename>foo.bb</filename> recipe file:
<literallayout class='monospaced'>
$ bitbake -b foo.bb -c clean
</literallayout>
<note>
The "-b" option explicitly does not handle recipe
dependencies.
Other than for debugging purposes, it is instead
recommended that you use the syntax presented in the
next section.
</note>
</para>
</section>
<section id='executing-tasks-against-a-set-of-recipe-files'>
<title>Executing Tasks Against a Set of Recipe Files</title>
<para>
There are a number of additional complexities introduced
when one wants to manage multiple <filename>.bb</filename>
files.
Clearly there needs to be a way to tell BitBake what
files are available and, of those, which you
want to execute.
There also needs to be a way for each recipe
to express its dependencies, both for build-time and
runtime.
There must be a way for you to express recipe preferences
when multiple recipes provide the same functionality, or when
there are multiple versions of a recipe.
</para>
<para>
The <filename>bitbake</filename> command, when not using
"--buildfile" or "-b" only accepts a "PROVIDES".
You cannot provide anything else.
By default, a recipe file generally "PROVIDES" its
"packagename" as shown in the following example:
<literallayout class='monospaced'>
$ bitbake foo
</literallayout>
This next example "PROVIDES" the package name and also uses
the "-c" option to tell BitBake to just execute the
<filename>do_clean</filename> task:
<literallayout class='monospaced'>
$ bitbake -c clean foo
</literallayout>
</para>
</section>
<section id='executing-a-list-of-task-and-recipe-combinations'>
<title>Executing a List of Task and Recipe Combinations</title>
<para>
The BitBake command line supports specifying different
tasks for individual targets when you specify multiple
targets.
For example, suppose you had two targets (or recipes)
<filename>myfirstrecipe</filename> and
<filename>mysecondrecipe</filename> and you needed
BitBake to run <filename>taskA</filename> for the first
recipe and <filename>taskB</filename> for the second
recipe:
<literallayout class='monospaced'>
$ bitbake myfirstrecipe:do_taskA mysecondrecipe:do_taskB
</literallayout>
</para>
</section>
<section id='generating-dependency-graphs'>
<title>Generating Dependency Graphs</title>
<para>
BitBake is able to generate dependency graphs using
the <filename>dot</filename> syntax.
You can convert these graphs into images using the
<filename>dot</filename> tool from
<ulink url='http://www.graphviz.org'>Graphviz</ulink>.
</para>
<para>
When you generate a dependency graph, BitBake writes three files
to the current working directory:
<itemizedlist>
<listitem><para>
<emphasis><filename>recipe-depends.dot</filename>:</emphasis>
Shows dependencies between recipes (i.e. a collapsed version of
<filename>task-depends.dot</filename>).
</para></listitem>
<listitem><para>
<emphasis><filename>task-depends.dot</filename>:</emphasis>
Shows dependencies between tasks.
These dependencies match BitBake's internal task execution list.
</para></listitem>
<listitem><para>
<emphasis><filename>pn-buildlist</filename>:</emphasis>
Shows a simple list of targets that are to be built.
</para></listitem>
</itemizedlist>
</para>
<para>
To stop depending on common depends, use the "-I" depend
option and BitBake omits them from the graph.
Leaving this information out can produce more readable graphs.
This way, you can remove from the graph
<filename>DEPENDS</filename> from inherited classes
such as <filename>base.bbclass</filename>.
</para>
<para>
Here are two examples that create dependency graphs.
The second example omits depends common in OpenEmbedded from
the graph:
<literallayout class='monospaced'>
$ bitbake -g foo
$ bitbake -g -I virtual/kernel -I eglibc foo
</literallayout>
</para>
</section>
<section id='executing-a-multiple-configuration-build'>
<title>Executing a Multiple Configuration Build</title>
<para>
BitBake is able to build multiple images or packages
using a single command where the different targets
require different configurations (multiple configuration
builds).
Each target, in this scenario, is referred to as a
"multiconfig".
</para>
<para>
To accomplish a multiple configuration build, you must
define each target's configuration separately using
a parallel configuration file in the build directory.
The location for these multiconfig configuration files
is specific.
They must reside in the current build directory in
a sub-directory of <filename>conf</filename> named
<filename>multiconfig</filename>.
Following is an example for two separate targets:
<imagedata fileref="figures/bb_multiconfig_files.png" align="center" width="4in" depth="3in" />
</para>
<para>
The reason for this required file hierarchy
is because the <filename>BBPATH</filename> variable
is not constructed until the layers are parsed.
Consequently, using the configuration file as a
pre-configuration file is not possible unless it is
located in the current working directory.
</para>
<para>
Minimally, each configuration file must define the
machine and the temporary directory BitBake uses
for the build.
Suggested practice dictates that you do not
overlap the temporary directories used during the
builds.
</para>
<para>
Aside from separate configuration files for each
target, you must also enable BitBake to perform multiple
configuration builds.
Enabling is accomplished by setting the
<link linkend='var-bb-BBMULTICONFIG'><filename>BBMULTICONFIG</filename></link>
variable in the <filename>local.conf</filename>
configuration file.
As an example, suppose you had configuration files
for <filename>target1</filename> and
<filename>target2</filename> defined in the build
directory.
The following statement in the
<filename>local.conf</filename> file both enables
BitBake to perform multiple configuration builds and
specifies the two extra multiconfigs:
<literallayout class='monospaced'>
BBMULTICONFIG = "target1 target2"
</literallayout>
</para>
<para>
Once the target configuration files are in place and
BitBake has been enabled to perform multiple configuration
builds, use the following command form to start the
builds:
<literallayout class='monospaced'>
$ bitbake [mc:<replaceable>multiconfigname</replaceable>:]<replaceable>target</replaceable> [[[mc:<replaceable>multiconfigname</replaceable>:]<replaceable>target</replaceable>] ... ]
</literallayout>
Here is an example for two extra multiconfigs:
<filename>target1</filename> and
<filename>target2</filename>:
<literallayout class='monospaced'>
$ bitbake mc::<replaceable>target</replaceable> mc:target1:<replaceable>target</replaceable> mc:target2:<replaceable>target</replaceable>
</literallayout>
</para>
</section>
<section id='bb-enabling-multiple-configuration-build-dependencies'>
<title>Enabling Multiple Configuration Build Dependencies</title>
<para>
Sometimes dependencies can exist between targets
(multiconfigs) in a multiple configuration build.
For example, suppose that in order to build an image
for a particular architecture, the root filesystem of
another build for a different architecture needs to
exist.
In other words, the image for the first multiconfig depends
on the root filesystem of the second multiconfig.
This dependency is essentially that the task in the recipe
that builds one multiconfig is dependent on the
completion of the task in the recipe that builds
another multiconfig.
</para>
<para>
To enable dependencies in a multiple configuration
build, you must declare the dependencies in the recipe
using the following statement form:
<literallayout class='monospaced'>
<replaceable>task_or_package</replaceable>[mcdepends] = "mc:<replaceable>from_multiconfig</replaceable>:<replaceable>to_multiconfig</replaceable>:<replaceable>recipe_name</replaceable>:<replaceable>task_on_which_to_depend</replaceable>"
</literallayout>
To better show how to use this statement, consider an
example with two multiconfigs: <filename>target1</filename>
and <filename>target2</filename>:
<literallayout class='monospaced'>
<replaceable>image_task</replaceable>[mcdepends] = "mc:target1:target2:<replaceable>image2</replaceable>:<replaceable>rootfs_task</replaceable>"
</literallayout>
In this example, the
<replaceable>from_multiconfig</replaceable> is "target1" and
the <replaceable>to_multiconfig</replaceable> is "target2".
The task on which the image whose recipe contains
<replaceable>image_task</replaceable> depends on the
completion of the <replaceable>rootfs_task</replaceable>
used to build out <replaceable>image2</replaceable>, which
is associated with the "target2" multiconfig.
</para>
<para>
Once you set up this dependency, you can build the
"target1" multiconfig using a BitBake command as follows:
<literallayout class='monospaced'>
$ bitbake mc:target1:<replaceable>image1</replaceable>
</literallayout>
This command executes all the tasks needed to create
<replaceable>image1</replaceable> for the "target1"
multiconfig.
Because of the dependency, BitBake also executes through
the <replaceable>rootfs_task</replaceable> for the "target2"
multiconfig build.
</para>
<para>
Having a recipe depend on the root filesystem of another
build might not seem that useful.
Consider this change to the statement in the
<replaceable>image1</replaceable> recipe:
<literallayout class='monospaced'>
<replaceable>image_task</replaceable>[mcdepends] = "mc:target1:target2:<replaceable>image2</replaceable>:<replaceable>image_task</replaceable>"
</literallayout>
In this case, BitBake must create
<replaceable>image2</replaceable> for the "target2"
build since the "target1" build depends on it.
</para>
<para>
Because "target1" and "target2" are enabled for multiple
configuration builds and have separate configuration
files, BitBake places the artifacts for each build in the
respective temporary build directories.
</para>
</section>
</section>
</section>
</chapter>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,984 +0,0 @@
/*
Generic XHTML / DocBook XHTML CSS Stylesheet.
Browser wrangling and typographic design by
Oyvind Kolas / pippin@gimp.org
Customised for Poky by
Matthew Allum / mallum@o-hand.com
Thanks to:
Liam R. E. Quin
William Skaggs
Jakub Steiner
Structure
---------
The stylesheet is divided into the following sections:
Positioning
Margins, paddings, width, font-size, clearing.
Decorations
Borders, style
Colors
Colors
Graphics
Graphical backgrounds
Nasty IE tweaks
Workarounds needed to make it work in internet explorer,
currently makes the stylesheet non validating, but up until
this point it is validating.
Mozilla extensions
Transparency for footer
Rounded corners on boxes
*/
/*************** /
/ Positioning /
/ ***************/
body {
font-family: Verdana, Sans, sans-serif;
min-width: 640px;
width: 80%;
margin: 0em auto;
padding: 2em 5em 5em 5em;
color: #333;
}
h1,h2,h3,h4,h5,h6,h7 {
font-family: Arial, Sans;
color: #00557D;
clear: both;
}
h1 {
font-size: 2em;
text-align: left;
padding: 0em 0em 0em 0em;
margin: 2em 0em 0em 0em;
}
h2.subtitle {
margin: 0.10em 0em 3.0em 0em;
padding: 0em 0em 0em 0em;
font-size: 1.8em;
padding-left: 20%;
font-weight: normal;
font-style: italic;
}
h2 {
margin: 2em 0em 0.66em 0em;
padding: 0.5em 0em 0em 0em;
font-size: 1.5em;
font-weight: bold;
}
h3.subtitle {
margin: 0em 0em 1em 0em;
padding: 0em 0em 0em 0em;
font-size: 142.14%;
text-align: right;
}
h3 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 140%;
font-weight: bold;
}
h4 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 120%;
font-weight: bold;
}
h5 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 110%;
font-weight: bold;
}
h6 {
margin: 1em 0em 0em 0em;
padding: 1em 0em 0em 0em;
font-size: 110%;
font-weight: bold;
}
.authorgroup {
background-color: transparent;
background-repeat: no-repeat;
padding-top: 256px;
background-image: url("figures/bitbake-title.png");
background-position: left top;
margin-top: -256px;
padding-right: 50px;
margin-left: 0px;
text-align: right;
width: 740px;
}
h3.author {
margin: 0em 0me 0em 0em;
padding: 0em 0em 0em 0em;
font-weight: normal;
font-size: 100%;
color: #333;
clear: both;
}
.author tt.email {
font-size: 66%;
}
.titlepage hr {
width: 0em;
clear: both;
}
.revhistory {
padding-top: 2em;
clear: both;
}
.toc,
.list-of-tables,
.list-of-examples,
.list-of-figures {
padding: 1.33em 0em 2.5em 0em;
color: #00557D;
}
.toc p,
.list-of-tables p,
.list-of-figures p,
.list-of-examples p {
padding: 0em 0em 0em 0em;
padding: 0em 0em 0.3em;
margin: 1.5em 0em 0em 0em;
}
.toc p b,
.list-of-tables p b,
.list-of-figures p b,
.list-of-examples p b{
font-size: 100.0%;
font-weight: bold;
}
.toc dl,
.list-of-tables dl,
.list-of-figures dl,
.list-of-examples dl {
margin: 0em 0em 0.5em 0em;
padding: 0em 0em 0em 0em;
}
.toc dt {
margin: 0em 0em 0em 0em;
padding: 0em 0em 0em 0em;
}
.toc dd {
margin: 0em 0em 0em 2.6em;
padding: 0em 0em 0em 0em;
}
div.glossary dl,
div.variablelist dl {
}
.glossary dl dt,
.variablelist dl dt,
.variablelist dl dt span.term {
font-weight: normal;
width: 20em;
text-align: right;
}
.variablelist dl dt {
margin-top: 0.5em;
}
.glossary dl dd,
.variablelist dl dd {
margin-top: -1em;
margin-left: 25.5em;
}
.glossary dd p,
.variablelist dd p {
margin-top: 0em;
margin-bottom: 1em;
}
div.calloutlist table td {
padding: 0em 0em 0em 0em;
margin: 0em 0em 0em 0em;
}
div.calloutlist table td p {
margin-top: 0em;
margin-bottom: 1em;
}
div p.copyright {
text-align: left;
}
div.legalnotice p.legalnotice-title {
margin-bottom: 0em;
}
p {
line-height: 1.5em;
margin-top: 0em;
}
dl {
padding-top: 0em;
}
hr {
border: solid 1px;
}
.mediaobject,
.mediaobjectco {
text-align: center;
}
img {
border: none;
}
ul {
padding: 0em 0em 0em 1.5em;
}
ul li {
padding: 0em 0em 0em 0em;
}
ul li p {
text-align: left;
}
table {
width :100%;
}
th {
padding: 0.25em;
text-align: left;
font-weight: normal;
vertical-align: top;
}
td {
padding: 0.25em;
vertical-align: top;
}
p a[id] {
margin: 0px;
padding: 0px;
display: inline;
background-image: none;
}
a {
text-decoration: underline;
color: #444;
}
pre {
overflow: auto;
}
a:hover {
text-decoration: underline;
/*font-weight: bold;*/
}
/* This style defines how the permalink character
appears by itself and when hovered over with
the mouse. */
[alt='Permalink'] { color: #eee; }
[alt='Permalink']:hover { color: black; }
div.informalfigure,
div.informalexample,
div.informaltable,
div.figure,
div.table,
div.example {
margin: 1em 0em;
padding: 1em;
page-break-inside: avoid;
}
div.informalfigure p.title b,
div.informalexample p.title b,
div.informaltable p.title b,
div.figure p.title b,
div.example p.title b,
div.table p.title b{
padding-top: 0em;
margin-top: 0em;
font-size: 100%;
font-weight: normal;
}
.mediaobject .caption,
.mediaobject .caption p {
text-align: center;
font-size: 80%;
padding-top: 0.5em;
padding-bottom: 0.5em;
}
.epigraph {
padding-left: 55%;
margin-bottom: 1em;
}
.epigraph p {
text-align: left;
}
.epigraph .quote {
font-style: italic;
}
.epigraph .attribution {
font-style: normal;
text-align: right;
}
span.application {
font-style: italic;
}
.programlisting {
font-family: monospace;
font-size: 80%;
white-space: pre;
margin: 1.33em 0em;
padding: 1.33em;
}
.tip,
.warning,
.caution,
.note {
margin-top: 1em;
margin-bottom: 1em;
}
/* force full width of table within div */
.tip table,
.warning table,
.caution table,
.note table {
border: none;
width: 100%;
}
.tip table th,
.warning table th,
.caution table th,
.note table th {
padding: 0.8em 0.0em 0.0em 0.0em;
margin : 0em 0em 0em 0em;
}
.tip p,
.warning p,
.caution p,
.note p {
margin-top: 0.5em;
margin-bottom: 0.5em;
padding-right: 1em;
text-align: left;
}
.acronym {
text-transform: uppercase;
}
b.keycap,
.keycap {
padding: 0.09em 0.3em;
margin: 0em;
}
.itemizedlist li {
clear: none;
}
.filename {
font-size: medium;
font-family: Courier, monospace;
}
div.navheader, div.heading{
position: absolute;
left: 0em;
top: 0em;
width: 100%;
background-color: #cdf;
width: 100%;
}
div.navfooter, div.footing{
position: fixed;
left: 0em;
bottom: 0em;
background-color: #eee;
width: 100%;
}
div.navheader td,
div.navfooter td {
font-size: 66%;
}
div.navheader table th {
/*font-family: Georgia, Times, serif;*/
/*font-size: x-large;*/
font-size: 80%;
}
div.navheader table {
border-left: 0em;
border-right: 0em;
border-top: 0em;
width: 100%;
}
div.navfooter table {
border-left: 0em;
border-right: 0em;
border-bottom: 0em;
width: 100%;
}
div.navheader table td a,
div.navfooter table td a {
color: #777;
text-decoration: none;
}
/* normal text in the footer */
div.navfooter table td {
color: black;
}
div.navheader table td a:visited,
div.navfooter table td a:visited {
color: #444;
}
/* links in header and footer */
div.navheader table td a:hover,
div.navfooter table td a:hover {
text-decoration: underline;
background-color: transparent;
color: #33a;
}
div.navheader hr,
div.navfooter hr {
display: none;
}
.qandaset tr.question td p {
margin: 0em 0em 1em 0em;
padding: 0em 0em 0em 0em;
}
.qandaset tr.answer td p {
margin: 0em 0em 1em 0em;
padding: 0em 0em 0em 0em;
}
.answer td {
padding-bottom: 1.5em;
}
.emphasis {
font-weight: bold;
}
/************* /
/ decorations /
/ *************/
.titlepage {
}
.part .title {
}
.subtitle {
border: none;
}
/*
h1 {
border: none;
}
h2 {
border-top: solid 0.2em;
border-bottom: solid 0.06em;
}
h3 {
border-top: 0em;
border-bottom: solid 0.06em;
}
h4 {
border: 0em;
border-bottom: solid 0.06em;
}
h5 {
border: 0em;
}
*/
.programlisting {
border: solid 1px;
}
div.figure,
div.table,
div.informalfigure,
div.informaltable,
div.informalexample,
div.example {
border: 1px solid;
}
.tip,
.warning,
.caution,
.note {
border: 1px solid;
}
.tip table th,
.warning table th,
.caution table th,
.note table th {
border-bottom: 1px solid;
}
.question td {
border-top: 1px solid black;
}
.answer {
}
b.keycap,
.keycap {
border: 1px solid;
}
div.navheader, div.heading{
border-bottom: 1px solid;
}
div.navfooter, div.footing{
border-top: 1px solid;
}
/********* /
/ colors /
/ *********/
body {
color: #333;
background: white;
}
a {
background: transparent;
}
a:hover {
background-color: #dedede;
}
h1,
h2,
h3,
h4,
h5,
h6,
h7,
h8 {
background-color: transparent;
}
hr {
border-color: #aaa;
}
.tip, .warning, .caution, .note {
border-color: #fff;
}
.tip table th,
.warning table th,
.caution table th,
.note table th {
border-bottom-color: #fff;
}
.warning {
background-color: #f0f0f2;
}
.caution {
background-color: #f0f0f2;
}
.tip {
background-color: #f0f0f2;
}
.note {
background-color: #f0f0f2;
}
.glossary dl dt,
.variablelist dl dt,
.variablelist dl dt span.term {
color: #044;
}
div.figure,
div.table,
div.example,
div.informalfigure,
div.informaltable,
div.informalexample {
border-color: #aaa;
}
pre.programlisting {
color: black;
background-color: #fff;
border-color: #aaa;
border-width: 2px;
}
.guimenu,
.guilabel,
.guimenuitem {
background-color: #eee;
}
b.keycap,
.keycap {
background-color: #eee;
border-color: #999;
}
div.navheader {
border-color: black;
}
div.navfooter {
border-color: black;
}
/*********** /
/ graphics /
/ ***********/
/*
body {
background-image: url("images/body_bg.jpg");
background-attachment: fixed;
}
.navheader,
.note,
.tip {
background-image: url("images/note_bg.jpg");
background-attachment: fixed;
}
.warning,
.caution {
background-image: url("images/warning_bg.jpg");
background-attachment: fixed;
}
.figure,
.informalfigure,
.example,
.informalexample,
.table,
.informaltable {
background-image: url("images/figure_bg.jpg");
background-attachment: fixed;
}
*/
h1,
h2,
h3,
h4,
h5,
h6,
h7{
}
/*
Example of how to stick an image as part of the title.
div.article .titlepage .title
{
background-image: url("figures/white-on-black.png");
background-position: center;
background-repeat: repeat-x;
}
*/
div.preface .titlepage .title,
div.colophon .title,
div.chapter .titlepage .title,
div.article .titlepage .title
{
}
div.section div.section .titlepage .title,
div.sect2 .titlepage .title {
background: none;
}
h1.title {
background-color: transparent;
background-repeat: no-repeat;
height: 256px;
text-indent: -9000px;
overflow:hidden;
}
h2.subtitle {
background-color: transparent;
text-indent: -9000px;
overflow:hidden;
width: 0px;
display: none;
}
/*************************************** /
/ pippin.gimp.org specific alterations /
/ ***************************************/
/*
div.heading, div.navheader {
color: #777;
font-size: 80%;
padding: 0;
margin: 0;
text-align: left;
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 50px;
background: url('/gfx/heading_bg.png') transparent;
background-repeat: repeat-x;
background-attachment: fixed;
border: none;
}
div.heading a {
color: #444;
}
div.footing, div.navfooter {
border: none;
color: #ddd;
font-size: 80%;
text-align:right;
width: 100%;
padding-top: 10px;
position: absolute;
bottom: 0px;
left: 0px;
background: url('/gfx/footing_bg.png') transparent;
}
*/
/****************** /
/ nasty ie tweaks /
/ ******************/
/*
div.heading, div.navheader {
width:expression(document.body.clientWidth + "px");
}
div.footing, div.navfooter {
width:expression(document.body.clientWidth + "px");
margin-left:expression("-5em");
}
body {
padding:expression("4em 5em 0em 5em");
}
*/
/**************************************** /
/ mozilla vendor specific css extensions /
/ ****************************************/
/*
div.navfooter, div.footing{
-moz-opacity: 0.8em;
}
div.figure,
div.table,
div.informalfigure,
div.informaltable,
div.informalexample,
div.example,
.tip,
.warning,
.caution,
.note {
-moz-border-radius: 0.5em;
}
b.keycap,
.keycap {
-moz-border-radius: 0.3em;
}
*/
table tr td table tr td {
display: none;
}
hr {
display: none;
}
table {
border: 0em;
}
.photo {
float: right;
margin-left: 1.5em;
margin-bottom: 1.5em;
margin-top: 0em;
max-width: 17em;
border: 1px solid gray;
padding: 3px;
background: white;
}
.seperator {
padding-top: 2em;
clear: both;
}
#validators {
margin-top: 5em;
text-align: right;
color: #777;
}
@media print {
body {
font-size: 8pt;
}
.noprint {
display: none;
}
}
.tip,
.note {
background: #f0f0f2;
color: #333;
padding: 20px;
margin: 20px;
}
.tip h3,
.note h3 {
padding: 0em;
margin: 0em;
font-size: 2em;
font-weight: bold;
color: #333;
}
.tip a,
.note a {
color: #333;
text-decoration: underline;
}
.footnote {
font-size: small;
color: #333;
}
/* Changes the announcement text */
.tip h3,
.warning h3,
.caution h3,
.note h3 {
font-size:large;
color: #00557D;
}

View File

@@ -1,88 +0,0 @@
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<book id='bitbake-user-manual' lang='en'
xmlns:xi="http://www.w3.org/2003/XInclude"
xmlns="http://docbook.org/ns/docbook"
>
<bookinfo>
<mediaobject>
<imageobject>
<imagedata fileref='figures/bitbake-title.png'
format='SVG'
align='left' scalefit='1' width='100%'/>
</imageobject>
</mediaobject>
<title>
BitBake User Manual
</title>
<authorgroup>
<author>
<firstname>Richard Purdie, Chris Larson, and </firstname> <surname>Phil Blundell</surname>
<affiliation>
<orgname>BitBake Community</orgname>
</affiliation>
<email>bitbake-devel@lists.openembedded.org</email>
</author>
</authorgroup>
<!--
# Add in some revision history if we want it here.
<revhistory>
<revision>
<revnumber>x.x</revnumber>
<date>dd month year</date>
<revremark>Some relevent comment</revremark>
</revision>
<revision>
<revnumber>x.x</revnumber>
<date>dd month year</date>
<revremark>Some relevent comment</revremark>
</revision>
<revision>
<revnumber>x.x</revnumber>
<date>dd month year</date>
<revremark>Some relevent comment</revremark>
</revision>
<revision>
<revnumber>x.x</revnumber>
<date>dd month year</date>
<revremark>Some relevent comment</revremark>
</revision>
</revhistory>
-->
<copyright>
<year>2004-2018</year>
<holder>Richard Purdie</holder>
<holder>Chris Larson</holder>
<holder>and Phil Blundell</holder>
</copyright>
<legalnotice>
<para>
This work is licensed under the Creative Commons Attribution License.
To view a copy of this license, visit
<ulink url="http://creativecommons.org/licenses/by/2.5/">http://creativecommons.org/licenses/by/2.5/</ulink>
or send a letter to Creative Commons, 444 Castro Street,
Suite 900, Mountain View, California 94041, USA.
</para>
</legalnotice>
</bookinfo>
<xi:include href="bitbake-user-manual-intro.xml"/>
<xi:include href="bitbake-user-manual-execution.xml"/>
<xi:include href="bitbake-user-manual-metadata.xml"/>
<xi:include href="bitbake-user-manual-fetching.xml"/>
<xi:include href="bitbake-user-manual-ref-variables.xml"/>
<xi:include href="bitbake-user-manual-hello.xml"/>
</book>

View File

@@ -1,281 +0,0 @@
/* Feuille de style DocBook du projet Traduc.org */
/* DocBook CSS stylesheet of the Traduc.org project */
/* (c) Jean-Philippe Gu<47>rard - 14 ao<61>t 2004 */
/* (c) Jean-Philippe Gu<47>rard - 14 August 2004 */
/* Cette feuille de style est libre, vous pouvez la */
/* redistribuer et la modifier selon les termes de la Licence */
/* Art Libre. Vous trouverez un exemplaire de cette Licence sur */
/* http://tigreraye.org/Petit-guide-du-traducteur.html#licence-art-libre */
/* This work of art is free, you can redistribute it and/or */
/* modify it according to terms of the Free Art license. You */
/* will find a specimen of this license on the Copyleft */
/* Attitude web site: http://artlibre.org as well as on other */
/* sites. */
/* Please note that the French version of this licence as shown */
/* on http://tigreraye.org/Petit-guide-du-traducteur.html#licence-art-libre */
/* is only official licence of this document. The English */
/* is only provided to help you understand this licence. */
/* La derni<6E>re version de cette feuille de style est toujours */
/* disponible sur<75>: http://tigreraye.org/style.css */
/* Elle est <20>galement disponible sur<75>: */
/* http://www.traduc.org/docs/HOWTO/lecture/style.css */
/* The latest version of this stylesheet is available from: */
/* http://tigreraye.org/style.css */
/* It is also available on: */
/* http://www.traduc.org/docs/HOWTO/lecture/style.css */
/* N'h<>sitez pas <20> envoyer vos commentaires et corrections <20> */
/* Jean-Philippe Gu<47>rard <jean-philippe.guerard@tigreraye.org> */
/* Please send feedback and bug reports to */
/* Jean-Philippe Gu<47>rard <jean-philippe.guerard@tigreraye.org> */
/* $Id: style.css,v 1.14 2004/09/10 20:12:09 fevrier Exp fevrier $ */
/* Pr<50>sentation g<>n<EFBFBD>rale du document */
/* Overall document presentation */
body {
/*
font-family: Apolline, "URW Palladio L", Garamond, jGaramond,
"Bitstream Cyberbit", "Palatino Linotype", serif;
*/
margin: 7%;
background-color: white;
}
/* Taille du texte */
/* Text size */
* { font-size: 100%; }
/* Gestion des textes mis en relief imbriqu<71>s */
/* Embedded emphasis */
em { font-style: italic; }
em em { font-style: normal; }
em em em { font-style: italic; }
/* Titres */
/* Titles */
h1 { font-size: 200%; font-weight: 900; }
h2 { font-size: 160%; font-weight: 900; }
h3 { font-size: 130%; font-weight: bold; }
h4 { font-size: 115%; font-weight: bold; }
h5 { font-size: 108%; font-weight: bold; }
h6 { font-weight: bold; }
/* Nom de famille en petites majuscules (uniquement en fran<61>ais) */
/* Last names in small caps (for French only) */
*[class~="surname"]:lang(fr) { font-variant: small-caps; }
/* Blocs de citation */
/* Quotation blocs */
div[class~="blockquote"] {
border: solid 2px #AAA;
padding: 5px;
margin: 5px;
}
div[class~="blockquote"] > table {
border: none;
}
/* Blocs lit<69>raux<75>: fond gris clair */
/* Literal blocs: light gray background */
*[class~="literallayout"] {
background: #f0f0f0;
padding: 5px;
margin: 5px;
}
/* Programmes et captures texte<74>: fond bleu clair */
/* Listing and text screen snapshots: light blue background */
*[class~="programlisting"], *[class~="screen"] {
background: #f0f0ff;
padding: 5px;
margin: 5px;
}
/* Les textes <20> remplacer sont surlign<67>s en vert p<>le */
/* Replaceable text in highlighted in pale green */
*[class~="replaceable"] {
background-color: #98fb98;
font-style: normal; }
/* Tables<65>: fonds gris clair & bords simples */
/* Tables: light gray background and solid borders */
*[class~="table"] *[class~="title"] { width:100%; border: 0px; }
table {
border: 1px solid #aaa;
border-collapse: collapse;
padding: 2px;
margin: 5px;
}
/* Listes simples en style table */
/* Simples lists in table presentation */
table[class~="simplelist"] {
background-color: #F0F0F0;
margin: 5px;
border: solid 1px #AAA;
}
table[class~="simplelist"] td {
border: solid 1px #AAA;
}
/* Les tables */
/* Tables */
*[class~="table"] table {
background-color: #F0F0F0;
border: solid 1px #AAA;
}
*[class~="informaltable"] table { background-color: #F0F0F0; }
th,td {
vertical-align: baseline;
text-align: left;
padding: 0.1em 0.3em;
empty-cells: show;
}
/* Alignement des colonnes */
/* Colunms alignment */
td[align=center] , th[align=center] { text-align: center; }
td[align=right] , th[align=right] { text-align: right; }
td[align=left] , th[align=left] { text-align: left; }
td[align=justify] , th[align=justify] { text-align: justify; }
/* Pas de marge autour des images */
/* No inside margins for images */
img { border: 0; }
/* Les liens ne sont pas soulign<67>s */
/* No underlines for links */
:link , :visited , :active { text-decoration: none; }
/* Prudence<63>: cadre jaune et fond jaune clair */
/* Caution: yellow border and light yellow background */
*[class~="caution"] {
border: solid 2px yellow;
background-color: #ffffe0;
padding: 1em 6px 1em ;
margin: 5px;
}
*[class~="caution"] th {
vertical-align: middle
}
*[class~="caution"] table {
background-color: #ffffe0;
border: none;
}
/* Note importante<74>: cadre jaune et fond jaune clair */
/* Important: yellow border and light yellow background */
*[class~="important"] {
border: solid 2px yellow;
background-color: #ffffe0;
padding: 1em 6px 1em;
margin: 5px;
}
*[class~="important"] th {
vertical-align: middle
}
*[class~="important"] table {
background-color: #ffffe0;
border: none;
}
/* Mise en <20>vidence<63>: texte l<>g<EFBFBD>rement plus grand */
/* Highlights: slightly larger texts */
*[class~="highlights"] {
font-size: 110%;
}
/* Note<74>: cadre bleu et fond bleu clair */
/* Notes: blue border and light blue background */
*[class~="note"] {
border: solid 2px #7099C5;
background-color: #f0f0ff;
padding: 1em 6px 1em ;
margin: 5px;
}
*[class~="note"] th {
vertical-align: middle
}
*[class~="note"] table {
background-color: #f0f0ff;
border: none;
}
/* Astuce<63>: cadre vert et fond vert clair */
/* Tip: green border and light green background */
*[class~="tip"] {
border: solid 2px #00ff00;
background-color: #f0ffff;
padding: 1em 6px 1em ;
margin: 5px;
}
*[class~="tip"] th {
vertical-align: middle;
}
*[class~="tip"] table {
background-color: #f0ffff;
border: none;
}
/* Avertissement<6E>: cadre rouge et fond rouge clair */
/* Warning: red border and light red background */
*[class~="warning"] {
border: solid 2px #ff0000;
background-color: #fff0f0;
padding: 1em 6px 1em ;
margin: 5px;
}
*[class~="warning"] th {
vertical-align: middle;
}
*[class~="warning"] table {
background-color: #fff0f0;
border: none;
}
/* Fin */
/* The End */

101
bitbake/doc/conf.py Normal file
View File

@@ -0,0 +1,101 @@
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import sys
import datetime
current_version = "dev"
# String used in sidebar
version = 'Version: ' + current_version
if current_version == 'dev':
version = 'Version: Current Development'
# Version seen in documentation_options.js and hence in js switchers code
release = current_version
# -- Project information -----------------------------------------------------
project = 'Bitbake'
copyright = '2004-%s, Richard Purdie, Chris Larson, and Phil Blundell' \
% datetime.datetime.now().year
author = 'Richard Purdie, Chris Larson, and Phil Blundell'
# external links and substitutions
extlinks = {
'yocto_docs': ('https://docs.yoctoproject.org%s', None),
'oe_lists': ('https://lists.openembedded.org%s', None),
}
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
'sphinx.ext.autosectionlabel',
'sphinx.ext.extlinks',
]
autosectionlabel_prefix_document = True
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
# master document name. The default changed from contents to index. so better
# set it ourselves.
master_doc = 'index'
# create substitution for project configuration variables
rst_prolog = """
.. |project_name| replace:: %s
.. |copyright| replace:: %s
.. |author| replace:: %s
""" % (project, copyright, author)
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
try:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
except ImportError:
sys.stderr.write("The Sphinx sphinx_rtd_theme HTML theme was not found.\
\nPlease make sure to install the sphinx_rtd_theme python package.\n")
sys.exit(1)
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['sphinx-static']
# Add customm CSS and JS files
html_css_files = ['theme_overrides.css']
html_js_files = ['switchers.js']
# Hide 'Created using Sphinx' text
html_show_sphinx = False
# Add 'Last updated' on each page
html_last_updated_fmt = '%b %d, %Y'
# Remove the trailing 'dot' in section numbers
html_secnumber_suffix = " "

3
bitbake/doc/genindex.rst Normal file
View File

@@ -0,0 +1,3 @@
=====
Index
=====

38
bitbake/doc/index.rst Normal file
View File

@@ -0,0 +1,38 @@
.. SPDX-License-Identifier: CC-BY-2.5
===================
BitBake User Manual
===================
|
.. toctree::
:caption: Table of Contents
:numbered:
bitbake-user-manual/bitbake-user-manual-intro
bitbake-user-manual/bitbake-user-manual-execution
bitbake-user-manual/bitbake-user-manual-metadata
bitbake-user-manual/bitbake-user-manual-fetching
bitbake-user-manual/bitbake-user-manual-ref-variables
bitbake-user-manual/bitbake-user-manual-hello
.. toctree::
:maxdepth: 1
:hidden:
genindex
releases
----
.. include:: <xhtml1-lat1.txt>
| BitBake Community
| Copyright |copy| |copyright|
| <bitbake-devel@lists.openembedded.org>
This work is licensed under the Creative Commons Attribution License. To view a
copy of this license, visit http://creativecommons.org/licenses/by/2.5/ or send
a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View,
California 94041, USA.

View File

@@ -1,51 +0,0 @@
<!ENTITY DISTRO "1.4">
<!ENTITY DISTRO_NAME "tbd">
<!ENTITY YOCTO_DOC_VERSION "1.4">
<!ENTITY POKYVERSION "8.0">
<!ENTITY YOCTO_POKY "poky-&DISTRO_NAME;-&POKYVERSION;">
<!ENTITY COPYRIGHT_YEAR "2010-2013">
<!ENTITY YOCTO_DL_URL "http://downloads.yoctoproject.org">
<!ENTITY YOCTO_HOME_URL "http://www.yoctoproject.org">
<!ENTITY YOCTO_LISTS_URL "http://lists.yoctoproject.org">
<!ENTITY YOCTO_BUGZILLA_URL "http://bugzilla.yoctoproject.org">
<!ENTITY YOCTO_WIKI_URL "https://wiki.yoctoproject.org">
<!ENTITY YOCTO_AB_URL "http://autobuilder.yoctoproject.org">
<!ENTITY YOCTO_GIT_URL "http://git.yoctoproject.org">
<!ENTITY YOCTO_ADTREPO_URL "http://adtrepo.yoctoproject.org">
<!ENTITY OE_HOME_URL "http://www.openembedded.org">
<!ENTITY OE_LISTS_URL "http://lists.linuxtogo.org/cgi-bin/mailman">
<!ENTITY OE_DOCS_URL "http://docs.openembedded.org">
<!ENTITY OH_HOME_URL "http://o-hand.com">
<!ENTITY BITBAKE_HOME_URL "http://developer.berlios.de/projects/bitbake/">
<!ENTITY YOCTO_DOCS_URL "&YOCTO_HOME_URL;/docs">
<!ENTITY YOCTO_SOURCES_URL "&YOCTO_HOME_URL;/sources/">
<!ENTITY YOCTO_AB_PORT_URL "&YOCTO_AB_URL;:8010">
<!ENTITY YOCTO_AB_NIGHTLY_URL "&YOCTO_AB_URL;/nightly/">
<!ENTITY YOCTO_POKY_URL "&YOCTO_DL_URL;/releases/poky/">
<!ENTITY YOCTO_RELEASE_DL_URL "&YOCTO_DL_URL;/releases/yocto/yocto-&DISTRO;">
<!ENTITY YOCTO_TOOLCHAIN_DL_URL "&YOCTO_RELEASE_DL_URL;/toolchain/">
<!ENTITY YOCTO_ADTINSTALLER_DL_URL "&YOCTO_RELEASE_DL_URL;/adt_installer">
<!ENTITY YOCTO_POKY_DL_URL "&YOCTO_RELEASE_DL_URL;/&YOCTO_POKY;.tar.bz2">
<!ENTITY YOCTO_MACHINES_DL_URL "&YOCTO_RELEASE_DL_URL;/machines">
<!ENTITY YOCTO_QEMU_DL_URL "&YOCTO_MACHINES_DL_URL;/qemu">
<!ENTITY YOCTO_PYTHON-i686_DL_URL "&YOCTO_DL_URL;/releases/miscsupport/python-nativesdk-standalone-i686.tar.bz2">
<!ENTITY YOCTO_PYTHON-x86_64_DL_URL "&YOCTO_DL_URL;/releases/miscsupport/python-nativesdk-standalone-x86_64.tar.bz2">
<!ENTITY YOCTO_DOCS_QS_URL "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/yocto-project-qs/yocto-project-qs.html">
<!ENTITY YOCTO_DOCS_ADT_URL "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/adt-manual/adt-manual.html">
<!ENTITY YOCTO_DOCS_REF_URL "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/ref-manual/ref-manual.html">
<!ENTITY YOCTO_DOCS_BSP_URL "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/bsp-guide/bsp-guide.html">
<!ENTITY YOCTO_DOCS_DEV_URL "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/dev-manual/dev-manual.html">
<!ENTITY YOCTO_DOCS_KERNEL_URL "&YOCTO_DOCS_URL;/&YOCTO_DOC_VERSION;/kernel-manual/kernel-manual.html">
<!ENTITY YOCTO_ADTPATH_DIR "/opt/poky/&DISTRO;">
<!ENTITY YOCTO_POKY_TARBALL "&YOCTO_POKY;.tar.bz2">
<!ENTITY OE_INIT_PATH "&YOCTO_POKY;/oe-init-build-env">
<!ENTITY OE_INIT_FILE "oe-init-build-env">
<!ENTITY UBUNTU_HOST_PACKAGES_ESSENTIAL "gawk wget git-core diffstat unzip texinfo \
build-essential chrpath">
<!ENTITY FEDORA_HOST_PACKAGES_ESSENTIAL "gawk make wget tar bzip2 gzip python unzip perl patch \
diffutils diffstat git cpp gcc gcc-c++ eglibc-devel texinfo chrpath \
ccache">
<!ENTITY OPENSUSE_HOST_PACKAGES_ESSENTIAL "python gcc gcc-c++ git chrpath make wget python-xml \
diffstat texinfo python-curses">
<!ENTITY CENTOS_HOST_PACKAGES_ESSENTIAL "gawk make wget tar bzip2 gzip python unzip perl patch \
diffutils diffstat git cpp gcc gcc-c++ glibc-devel texinfo chrpath">

130
bitbake/doc/releases.rst Normal file
View File

@@ -0,0 +1,130 @@
.. SPDX-License-Identifier: CC-BY-2.5
=========================
Current Release Manuals
=========================
****************************
3.1 'dunfell' Release Series
****************************
- :yocto_docs:`3.1 BitBake User Manual </3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.1 BitBake User Manual </3.1.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.1.2 BitBake User Manual </3.1.2/bitbake-user-manual/bitbake-user-manual.html>`
==========================
Previous Release Manuals
==========================
*************************
3.0 'zeus' Release Series
*************************
- :yocto_docs:`3.0 BitBake User Manual </3.0/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.1 BitBake User Manual </3.0.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.2 BitBake User Manual </3.0.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`3.0.3 BitBake User Manual </3.0.3/bitbake-user-manual/bitbake-user-manual.html>`
****************************
2.7 'warrior' Release Series
****************************
- :yocto_docs:`2.7 BitBake User Manual </2.7/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.1 BitBake User Manual </2.7.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.2 BitBake User Manual </2.7.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.3 BitBake User Manual </2.7.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.7.4 BitBake User Manual </2.7.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
2.6 'thud' Release Series
*************************
- :yocto_docs:`2.6 BitBake User Manual </2.6/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.1 BitBake User Manual </2.6.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.2 BitBake User Manual </2.6.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.3 BitBake User Manual </2.6.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.6.4 BitBake User Manual </2.6.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
2.5 'sumo' Release Series
*************************
- :yocto_docs:`2.5 BitBake User Manual </2.5/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.5.1 BitBake User Manual </2.5.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.5.2 BitBake User Manual </2.5.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.5.3 BitBake User Manual </2.5.3/bitbake-user-manual/bitbake-user-manual.html>`
**************************
2.4 'rocko' Release Series
**************************
- :yocto_docs:`2.4 BitBake User Manual </2.4/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.1 BitBake User Manual </2.4.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.2 BitBake User Manual </2.4.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.3 BitBake User Manual </2.4.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.4.4 BitBake User Manual </2.4.4/bitbake-user-manual/bitbake-user-manual.html>`
*************************
2.3 'pyro' Release Series
*************************
- :yocto_docs:`2.3 BitBake User Manual </2.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.1 BitBake User Manual </2.3.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.2 BitBake User Manual </2.3.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.3 BitBake User Manual </2.3.3/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.3.4 BitBake User Manual </2.3.4/bitbake-user-manual/bitbake-user-manual.html>`
**************************
2.2 'morty' Release Series
**************************
- :yocto_docs:`2.2 BitBake User Manual </2.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.2.1 BitBake User Manual </2.2.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.2.2 BitBake User Manual </2.2.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.2.3 BitBake User Manual </2.2.3/bitbake-user-manual/bitbake-user-manual.html>`
****************************
2.1 'krogoth' Release Series
****************************
- :yocto_docs:`2.1 BitBake User Manual </2.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.1.1 BitBake User Manual </2.1.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.1.2 BitBake User Manual </2.1.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.1.3 BitBake User Manual </2.1.3/bitbake-user-manual/bitbake-user-manual.html>`
***************************
2.0 'jethro' Release Series
***************************
- :yocto_docs:`1.9 BitBake User Manual </1.9/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0 BitBake User Manual </2.0/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0.1 BitBake User Manual </2.0.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0.2 BitBake User Manual </2.0.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`2.0.3 BitBake User Manual </2.0.3/bitbake-user-manual/bitbake-user-manual.html>`
*************************
1.8 'fido' Release Series
*************************
- :yocto_docs:`1.8 BitBake User Manual </1.8/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.8.1 BitBake User Manual </1.8.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.8.2 BitBake User Manual </1.8.2/bitbake-user-manual/bitbake-user-manual.html>`
**************************
1.7 'dizzy' Release Series
**************************
- :yocto_docs:`1.7 BitBake User Manual </1.7/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.7.1 BitBake User Manual </1.7.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.7.2 BitBake User Manual </1.7.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.7.3 BitBake User Manual </1.7.3/bitbake-user-manual/bitbake-user-manual.html>`
**************************
1.6 'daisy' Release Series
**************************
- :yocto_docs:`1.6 BitBake User Manual </1.6/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.6.1 BitBake User Manual </1.6.1/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.6.2 BitBake User Manual </1.6.2/bitbake-user-manual/bitbake-user-manual.html>`
- :yocto_docs:`1.6.3 BitBake User Manual </1.6.3/bitbake-user-manual/bitbake-user-manual.html>`

View File

@@ -0,0 +1,233 @@
(function() {
'use strict';
var all_versions = {
'dev': 'dev (3.2)',
'3.1.2': '3.1.2',
'3.0.3': '3.0.3',
'2.7.4': '2.7.4',
};
var all_doctypes = {
'single': 'Individual Webpages',
'mega': "All-in-one 'Mega' Manual",
};
// Simple version comparision
// Return 1 if a > b
// Return -1 if a < b
// Return 0 if a == b
function ver_compare(a, b) {
if (a == "dev") {
return 1;
}
if (a === b) {
return 0;
}
var a_components = a.split(".");
var b_components = b.split(".");
var len = Math.min(a_components.length, b_components.length);
// loop while the components are equal
for (var i = 0; i < len; i++) {
// A bigger than B
if (parseInt(a_components[i]) > parseInt(b_components[i])) {
return 1;
}
// B bigger than A
if (parseInt(a_components[i]) < parseInt(b_components[i])) {
return -1;
}
}
// If one's a prefix of the other, the longer one is greater.
if (a_components.length > b_components.length) {
return 1;
}
if (a_components.length < b_components.length) {
return -1;
}
// Otherwise they are the same.
return 0;
}
function build_version_select(current_series, current_version) {
var buf = ['<select>'];
$.each(all_versions, function(version, title) {
var series = version.substr(0, 3);
if (series == current_series) {
if (version == current_version)
buf.push('<option value="' + version + '" selected="selected">' + title + '</option>');
else
buf.push('<option value="' + version + '">' + title + '</option>');
if (version != current_version)
buf.push('<option value="' + current_version + '" selected="selected">' + current_version + '</option>');
} else {
buf.push('<option value="' + version + '">' + title + '</option>');
}
});
buf.push('</select>');
return buf.join('');
}
function build_doctype_select(current_doctype) {
var buf = ['<select>'];
$.each(all_doctypes, function(doctype, title) {
if (doctype == current_doctype)
buf.push('<option value="' + doctype + '" selected="selected">' +
all_doctypes[current_doctype] + '</option>');
else
buf.push('<option value="' + doctype + '">' + title + '</option>');
});
if (!(current_doctype in all_doctypes)) {
// In case we're browsing a doctype that is not yet in all_doctypes.
buf.push('<option value="' + current_doctype + '" selected="selected">' +
current_doctype + '</option>');
all_doctypes[current_doctype] = current_doctype;
}
buf.push('</select>');
return buf.join('');
}
function navigate_to_first_existing(urls) {
// Navigate to the first existing URL in urls.
var url = urls.shift();
// Web browsers won't redirect file:// urls to file urls using ajax but
// its useful for local testing
if (url.startsWith("file://")) {
window.location.href = url;
return;
}
if (urls.length == 0) {
window.location.href = url;
return;
}
$.ajax({
url: url,
success: function() {
window.location.href = url;
},
error: function() {
navigate_to_first_existing(urls);
}
});
}
function get_docroot_url() {
var url = window.location.href;
var root = DOCUMENTATION_OPTIONS.URL_ROOT;
var urlarray = url.split('/');
// Trim off anything after '/'
urlarray.pop();
var depth = (root.match(/\.\.\//g) || []).length;
for (var i = 0; i < depth; i++) {
urlarray.pop();
}
return urlarray.join('/') + '/';
}
function on_version_switch() {
var selected_version = $(this).children('option:selected').attr('value');
var url = window.location.href;
var current_version = DOCUMENTATION_OPTIONS.VERSION;
var docroot = get_docroot_url()
var new_versionpath = selected_version + '/';
if (selected_version == "dev")
new_versionpath = '';
// dev versions have no version prefix
if (current_version == "dev") {
var new_url = docroot + new_versionpath + url.replace(docroot, "");
var fallback_url = docroot + new_versionpath;
} else {
var new_url = url.replace('/' + current_version + '/', '/' + new_versionpath);
var fallback_url = new_url.replace(url.replace(docroot, ""), "");
}
console.log(get_docroot_url())
console.log(url + " to url " + new_url);
console.log(url + " to fallback " + fallback_url);
if (new_url != url) {
navigate_to_first_existing([
new_url,
fallback_url,
'https://www.yoctoproject.org/docs/',
]);
}
}
function on_doctype_switch() {
var selected_doctype = $(this).children('option:selected').attr('value');
var url = window.location.href;
if (selected_doctype == 'mega') {
var docroot = get_docroot_url()
var current_version = DOCUMENTATION_OPTIONS.VERSION;
// Assume manuals before 3.2 are using old docbook mega-manual
if (ver_compare(current_version, "3.2") < 0) {
var new_url = docroot + "mega-manual/mega-manual.html";
} else {
var new_url = docroot + "singleindex.html";
}
} else {
var new_url = url.replace("singleindex.html", "index.html")
}
if (new_url != url) {
navigate_to_first_existing([
new_url,
'https://www.yoctoproject.org/docs/',
]);
}
}
// Returns the current doctype based upon the url
function doctype_segment_from_url(url) {
if (url.includes("singleindex") || url.includes("mega-manual"))
return "mega";
return "single";
}
$(document).ready(function() {
var release = DOCUMENTATION_OPTIONS.VERSION;
var current_doctype = doctype_segment_from_url(window.location.href);
var current_series = release.substr(0, 3);
var version_select = build_version_select(current_series, release);
$('.version_switcher_placeholder').html(version_select);
$('.version_switcher_placeholder select').bind('change', on_version_switch);
var doctype_select = build_doctype_select(current_doctype);
$('.doctype_switcher_placeholder').html(doctype_select);
$('.doctype_switcher_placeholder select').bind('change', on_doctype_switch);
if (ver_compare(release, "3.1") < 0) {
$('#outdated-warning').html('Version ' + release + ' of the project is now considered obsolete, please select and use a more recent version');
$('#outdated-warning').css('padding', '.5em');
} else if (release != "dev") {
$.each(all_versions, function(version, title) {
var series = version.substr(0, 3);
if (series == current_series && version != release) {
$('#outdated-warning').html('This document is for outdated version ' + release + ', you should select the latest release version in this series, ' + version + '.');
$('#outdated-warning').css('padding', '.5em');
}
});
}
});
})();

View File

@@ -0,0 +1,162 @@
/*
SPDX-License-Identifier: CC-BY-2.0-UK
*/
body {
font-family: Verdana, Sans, sans-serif;
margin: 0em auto;
color: #333;
}
h1,h2,h3,h4,h5,h6,h7 {
font-family: Arial, Sans;
color: #00557D;
clear: both;
}
h1 {
font-size: 2em;
text-align: left;
padding: 0em 0em 0em 0em;
margin: 2em 0em 0em 0em;
}
h2.subtitle {
margin: 0.10em 0em 3.0em 0em;
padding: 0em 0em 0em 0em;
font-size: 1.8em;
padding-left: 20%;
font-weight: normal;
font-style: italic;
}
h2 {
margin: 2em 0em 0.66em 0em;
padding: 0.5em 0em 0em 0em;
font-size: 1.5em;
font-weight: bold;
}
h3.subtitle {
margin: 0em 0em 1em 0em;
padding: 0em 0em 0em 0em;
font-size: 142.14%;
text-align: right;
}
h3 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 140%;
font-weight: bold;
}
h4 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 120%;
font-weight: bold;
}
h5 {
margin: 1em 0em 0.5em 0em;
padding: 1em 0em 0em 0em;
font-size: 110%;
font-weight: bold;
}
h6 {
margin: 1em 0em 0em 0em;
padding: 1em 0em 0em 0em;
font-size: 110%;
font-weight: bold;
}
em {
font-weight: bold;
}
.pre {
font-size: medium;
font-family: Courier, monospace;
}
.wy-nav-content a {
text-decoration: underline;
color: #444;
background: transparent;
}
.wy-nav-content a:hover {
text-decoration: underline;
background-color: #dedede;
}
.wy-nav-content a:visited {
color: #444;
}
[alt='Permalink'] { color: #eee; }
[alt='Permalink']:hover { color: black; }
@media screen {
/* content column
*
* RTD theme's default is 800px as max width for the content, but we have
* tables with tons of columns, which need the full width of the view-port.
*/
.wy-nav-content{max-width: none; }
/* inline literal: drop the borderbox, padding and red color */
code, .rst-content tt, .rst-content code {
color: inherit;
border: none;
padding: unset;
background: inherit;
font-size: 85%;
}
.rst-content tt.literal,.rst-content tt.literal,.rst-content code.literal {
color: inherit;
}
/* Admonition should be gray, not blue or green */
.rst-content .note .admonition-title,
.rst-content .tip .admonition-title,
.rst-content .warning .admonition-title,
.rst-content .caution .admonition-title,
.rst-content .important .admonition-title {
background: #f0f0f2;
color: #00557D;
}
.rst-content .note,
.rst-content .tip,
.rst-content .important,
.rst-content .warning,
.rst-content .caution {
background: #f0f0f2;
}
/* Remove the icon in front of note/tip element, and before the logo */
.icon-home:before, .rst-content .admonition-title:before {
display: none
}
/* a custom informalexample container is used in some doc */
.informalexample {
border: 1px solid;
border-color: #aaa;
margin: 1em 0em;
padding: 1em;
page-break-inside: avoid;
}
/* Remove the blue background in the top left corner, around the logo */
.wy-side-nav-search {
background: inherit;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,39 +0,0 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook"
xmlns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="d">
<xsl:template name="component.title">
<xsl:param name="node" select="."/>
<xsl:variable name="level">
<xsl:choose>
<xsl:when test="ancestor::d:section">
<xsl:value-of select="count(ancestor::d:section)+1"/>
</xsl:when>
<xsl:when test="ancestor::d:sect5">6</xsl:when>
<xsl:when test="ancestor::d:sect4">5</xsl:when>
<xsl:when test="ancestor::d:sect3">4</xsl:when>
<xsl:when test="ancestor::d:sect2">3</xsl:when>
<xsl:when test="ancestor::d:sect1">2</xsl:when>
<xsl:otherwise>1</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:element name="h{$level+1}" namespace="http://www.w3.org/1999/xhtml">
<xsl:attribute name="class">title</xsl:attribute>
<xsl:if test="$generate.id.attributes = 0">
<xsl:call-template name="anchor">
<xsl:with-param name="node" select="$node"/>
<xsl:with-param name="conditional" select="0"/>
</xsl:call-template>
</xsl:if>
<xsl:apply-templates select="$node" mode="object.title.markup">
<xsl:with-param name="allow-anchors" select="1"/>
</xsl:apply-templates>
<xsl:call-template name="permalink">
<xsl:with-param name="node" select="$node"/>
</xsl:call-template>
</xsl:element>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,64 +0,0 @@
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" xmlns:fo="http://www.w3.org/1999/XSL/Format" version="1.0">
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl" />
<!-- check project-plan.sh for how this is generated, needed to tweak
the cover page
-->
<xsl:include href="/tmp/titlepage.xsl"/>
<!-- To force a page break in document, i.e per section add a
<?hard-pagebreak?> tag.
-->
<xsl:template match="processing-instruction('hard-pagebreak')">
<fo:block break-before='page' />
</xsl:template>
<!--Fix for defualt indent getting TOC all wierd..
See http://sources.redhat.com/ml/docbook-apps/2005-q1/msg00455.html
FIXME: must be a better fix
-->
<xsl:param name="body.start.indent" select="'0'"/>
<!--<xsl:param name="title.margin.left" select="'0'"/>-->
<!-- stop long-ish header titles getting wrapped -->
<xsl:param name="header.column.widths">1 10 1</xsl:param>
<!-- customise headers and footers a little -->
<xsl:template name="head.sep.rule">
<xsl:if test="$header.rule != 0">
<xsl:attribute name="border-bottom-width">0.5pt</xsl:attribute>
<xsl:attribute name="border-bottom-style">solid</xsl:attribute>
<xsl:attribute name="border-bottom-color">#cccccc</xsl:attribute>
</xsl:if>
</xsl:template>
<xsl:template name="foot.sep.rule">
<xsl:if test="$footer.rule != 0">
<xsl:attribute name="border-top-width">0.5pt</xsl:attribute>
<xsl:attribute name="border-top-style">solid</xsl:attribute>
<xsl:attribute name="border-top-color">#cccccc</xsl:attribute>
</xsl:if>
</xsl:template>
<xsl:attribute-set name="header.content.properties">
<xsl:attribute name="color">#cccccc</xsl:attribute>
</xsl:attribute-set>
<xsl:attribute-set name="footer.content.properties">
<xsl:attribute name="color">#cccccc</xsl:attribute>
</xsl:attribute-set>
<!-- general settings -->
<xsl:param name="fop1.extensions" select="1"></xsl:param>
<xsl:param name="paper.type" select="'A4'"></xsl:param>
<xsl:param name="section.autolabel" select="1"></xsl:param>
<xsl:param name="body.font.family" select="'verasans'"></xsl:param>
<xsl:param name="title.font.family" select="'verasans'"></xsl:param>
<xsl:param name="monospace.font.family" select="'veramono'"></xsl:param>
</xsl:stylesheet>

View File

@@ -1,25 +0,0 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook"
xmlns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="d">
<xsl:template name="division.title">
<xsl:param name="node" select="."/>
<h1>
<xsl:attribute name="class">title</xsl:attribute>
<xsl:call-template name="anchor">
<xsl:with-param name="node" select="$node"/>
<xsl:with-param name="conditional" select="0"/>
</xsl:call-template>
<xsl:apply-templates select="$node" mode="object.title.markup">
<xsl:with-param name="allow-anchors" select="1"/>
</xsl:apply-templates>
<xsl:call-template name="permalink">
<xsl:with-param name="node" select="$node"/>
</xsl:call-template>
</h1>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,58 +0,0 @@
<fop version="1.0">
<!-- Strict user configuration -->
<strict-configuration>true</strict-configuration>
<!-- Strict FO validation -->
<strict-validation>true</strict-validation>
<!--
Set the baseDir so common/openedhand.svg references in plans still
work ok. Note, relative file references to current dir should still work.
-->
<base>../template</base>
<font-base>../template</font-base>
<!-- Source resolution in dpi (dots/pixels per inch) for determining the
size of pixels in SVG and bitmap images, default: 72dpi -->
<!-- <source-resolution>72</source-resolution> -->
<!-- Target resolution in dpi (dots/pixels per inch) for specifying the
target resolution for generated bitmaps, default: 72dpi -->
<!-- <target-resolution>72</target-resolution> -->
<!-- default page-height and page-width, in case
value is specified as auto -->
<default-page-settings height="11in" width="8.26in"/>
<!-- <use-cache>false</use-cache> -->
<renderers>
<renderer mime="application/pdf">
<fonts>
<font metrics-file="VeraMono.xml"
kerning="yes"
embed-url="VeraMono.ttf">
<font-triplet name="veramono" style="normal" weight="normal"/>
</font>
<font metrics-file="VeraMoBd.xml"
kerning="yes"
embed-url="VeraMoBd.ttf">
<font-triplet name="veramono" style="normal" weight="bold"/>
</font>
<font metrics-file="Vera.xml"
kerning="yes"
embed-url="Vera.ttf">
<font-triplet name="verasans" style="normal" weight="normal"/>
<font-triplet name="verasans" style="normal" weight="bold"/>
<font-triplet name="verasans" style="italic" weight="normal"/>
<font-triplet name="verasans" style="italic" weight="bold"/>
</font>
<auto-detect/>
</fonts>
</renderer>
</renderers>
</fop>

View File

@@ -1,21 +0,0 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook"
xmlns="http://www.w3.org/1999/xhtml"
exclude-result-prefixes="d">
<xsl:template name="formal.object.heading">
<xsl:param name="object" select="."/>
<xsl:param name="title">
<xsl:apply-templates select="$object" mode="object.title.markup">
<xsl:with-param name="allow-anchors" select="1"/>
</xsl:apply-templates>
</xsl:param>
<p class="title">
<b><xsl:copy-of select="$title"/></b>
<xsl:call-template name="permalink">
<xsl:with-param name="node" select="$object"/>
</xsl:call-template>
</p>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,14 +0,0 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook"
xmlns="http://www.w3.org/1999/xhtml">
<xsl:template match="glossentry/glossterm">
<xsl:apply-imports/>
<xsl:if test="$generate.permalink != 0">
<xsl:call-template name="permalink">
<xsl:with-param name="node" select=".."/>
</xsl:call-template>
</xsl:if>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,25 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:param name="generate.permalink" select="1"/>
<xsl:param name="permalink.text"></xsl:param>
<xsl:template name="permalink">
<xsl:param name="node"/>
<xsl:if test="$generate.permalink != '0'">
<span class="permalink">
<a alt="Permalink" title="Permalink">
<xsl:attribute name="href">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="$node"/>
</xsl:call-template>
</xsl:attribute>
<xsl:copy-of select="$permalink.text"/>
</a>
</span>
</xsl:if>
</xsl:template>
</xsl:stylesheet>

View File

@@ -1,55 +0,0 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:d="http://docbook.org/ns/docbook"
xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="d">
<xsl:template name="section.title">
<xsl:variable name="section"
select="(ancestor::section |
ancestor::simplesect|
ancestor::sect1|
ancestor::sect2|
ancestor::sect3|
ancestor::sect4|
ancestor::sect5)[last()]"/>
<xsl:variable name="renderas">
<xsl:choose>
<xsl:when test="$section/@renderas = 'sect1'">1</xsl:when>
<xsl:when test="$section/@renderas = 'sect2'">2</xsl:when>
<xsl:when test="$section/@renderas = 'sect3'">3</xsl:when>
<xsl:when test="$section/@renderas = 'sect4'">4</xsl:when>
<xsl:when test="$section/@renderas = 'sect5'">5</xsl:when>
<xsl:otherwise><xsl:value-of select="''"/></xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:variable name="level">
<xsl:choose>
<xsl:when test="$renderas != ''">
<xsl:value-of select="$renderas"/>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="section.level">
<xsl:with-param name="node" select="$section"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<xsl:call-template name="section.heading">
<xsl:with-param name="section" select="$section"/>
<xsl:with-param name="level" select="$level"/>
<xsl:with-param name="title">
<xsl:apply-templates select="$section" mode="object.title.markup">
<xsl:with-param name="allow-anchors" select="1"/>
</xsl:apply-templates>
<xsl:if test="$level &gt; 0">
<xsl:call-template name="permalink">
<xsl:with-param name="node" select="$section"/>
</xsl:call-template>
</xsl:if>
</xsl:with-param>
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>

File diff suppressed because it is too large Load Diff

View File

@@ -1,51 +0,0 @@
#!/bin/sh
if [ -z "$1" -o -z "$2" ]; then
echo "usage: [-v] $0 <docbook file> <templatedir>"
echo
echo "*NOTE* you need xsltproc, fop and nwalsh docbook stylesheets"
echo " installed for this to work!"
echo
exit 0
fi
FO=`echo $1 | sed s/.xml/.fo/` || exit 1
PDF=`echo $1 | sed s/.xml/.pdf/` || exit 1
TEMPLATEDIR=$2
##
# These URI should be rewritten by your distribution's xml catalog to
# match your localy installed XSL stylesheets.
XSL_BASE_URI="http://docbook.sourceforge.net/release/xsl/current"
# Creates a temporary XSL stylesheet based on titlepage.xsl
xsltproc -o /tmp/titlepage.xsl \
--xinclude \
$XSL_BASE_URI/template/titlepage.xsl \
$TEMPLATEDIR/titlepage.templates.xml || exit 1
# Creates the file needed for FOP
xsltproc --xinclude \
--stringparam hyphenate false \
--stringparam formal.title.placement "figure after" \
--stringparam ulink.show 1 \
--stringparam body.font.master 9 \
--stringparam title.font.master 11 \
--stringparam draft.watermark.image "$TEMPLATEDIR/draft.png" \
--stringparam chapter.autolabel 1 \
--stringparam appendix.autolabel A \
--stringparam section.autolabel 1 \
--stringparam section.label.includes.component.label 1 \
--output $FO \
$TEMPLATEDIR/db-pdf.xsl \
$1 || exit 1
# Invokes the Java version of FOP. Uses the additional configuration file common/fop-config.xml
fop -c $TEMPLATEDIR/fop-config.xml -fo $FO -pdf $PDF || exit 1
rm -f $FO
rm -f /tmp/titlepage.xsl
echo
echo " #### Success! $PDF ready. ####"
echo

View File

@@ -3,13 +3,14 @@
#
# Copyright (C) 2006 Tim Ansell
#
#Please Note:
# Please Note:
# Be careful when using mutable types (ie Dict and Lists) - operations involving these are SLOW.
# Assign a file to __warn__ to get warnings about slow operations.
#
import copy
ImmutableTypes = (
bool,
complex,
@@ -22,9 +23,11 @@ ImmutableTypes = (
MUTABLE = "__mutable__"
class COWMeta(type):
pass
class COWDictMeta(COWMeta):
__warn__ = False
__hasmutable__ = False
@@ -33,12 +36,15 @@ class COWDictMeta(COWMeta):
def __str__(cls):
# FIXME: I have magic numbers!
return "<COWDict Level: %i Current Keys: %i>" % (cls.__count__, len(cls.__dict__) - 3)
__repr__ = __str__
def cow(cls):
class C(cls):
__count__ = cls.__count__ + 1
return C
copy = cow
__call__ = cow
@@ -70,8 +76,9 @@ class COWDictMeta(COWMeta):
return value
__getmarker__ = []
def __getreadonly__(cls, key, default=__getmarker__):
"""\
"""
Get a value (even if mutable) which you promise not to change.
"""
return cls.__getitem__(key, default, True)
@@ -138,24 +145,29 @@ class COWDictMeta(COWMeta):
def iterkeys(cls):
return cls.iter("keys")
def itervalues(cls, readonly=False):
if not cls.__warn__ is False and cls.__hasmutable__ and readonly is False:
print("Warning: If you arn't going to change any of the values call with True.", file=cls.__warn__)
print("Warning: If you aren't going to change any of the values call with True.", file=cls.__warn__)
return cls.iter("values", readonly)
def iteritems(cls, readonly=False):
if not cls.__warn__ is False and cls.__hasmutable__ and readonly is False:
print("Warning: If you arn't going to change any of the values call with True.", file=cls.__warn__)
print("Warning: If you aren't going to change any of the values call with True.", file=cls.__warn__)
return cls.iter("items", readonly)
class COWSetMeta(COWDictMeta):
def __str__(cls):
# FIXME: I have magic numbers!
return "<COWSet Level: %i Current Keys: %i>" % (cls.__count__, len(cls.__dict__) -3)
return "<COWSet Level: %i Current Keys: %i>" % (cls.__count__, len(cls.__dict__) - 3)
__repr__ = __str__
def cow(cls):
class C(cls):
__count__ = cls.__count__ + 1
return C
def add(cls, value):
@@ -173,131 +185,11 @@ class COWSetMeta(COWDictMeta):
def iteritems(cls):
raise TypeError("sets don't have 'items'")
# These are the actual classes you use!
class COWDictBase(object, metaclass = COWDictMeta):
class COWDictBase(metaclass=COWDictMeta):
__count__ = 0
class COWSetBase(object, metaclass = COWSetMeta):
class COWSetBase(metaclass=COWSetMeta):
__count__ = 0
if __name__ == "__main__":
import sys
COWDictBase.__warn__ = sys.stderr
a = COWDictBase()
print("a", a)
a['a'] = 'a'
a['b'] = 'b'
a['dict'] = {}
b = a.copy()
print("b", b)
b['c'] = 'b'
print()
print("a", a)
for x in a.iteritems():
print(x)
print("--")
print("b", b)
for x in b.iteritems():
print(x)
print()
b['dict']['a'] = 'b'
b['a'] = 'c'
print("a", a)
for x in a.iteritems():
print(x)
print("--")
print("b", b)
for x in b.iteritems():
print(x)
print()
try:
b['dict2']
except KeyError as e:
print("Okay!")
a['set'] = COWSetBase()
a['set'].add("o1")
a['set'].add("o1")
a['set'].add("o2")
print("a", a)
for x in a['set'].itervalues():
print(x)
print("--")
print("b", b)
for x in b['set'].itervalues():
print(x)
print()
b['set'].add('o3')
print("a", a)
for x in a['set'].itervalues():
print(x)
print("--")
print("b", b)
for x in b['set'].itervalues():
print(x)
print()
a['set2'] = set()
a['set2'].add("o1")
a['set2'].add("o1")
a['set2'].add("o2")
print("a", a)
for x in a.iteritems():
print(x)
print("--")
print("b", b)
for x in b.iteritems(readonly=True):
print(x)
print()
del b['b']
try:
print(b['b'])
except KeyError:
print("Yay! deleted key raises error")
if 'b' in b:
print("Boo!")
else:
print("Yay - has_key with delete works!")
print("a", a)
for x in a.iteritems():
print(x)
print("--")
print("b", b)
for x in b.iteritems(readonly=True):
print(x)
print()
b.__revertitem__('b')
print("a", a)
for x in a.iteritems():
print(x)
print("--")
print("b", b)
for x in b.iteritems(readonly=True):
print(x)
print()
b.__revertitem__('dict')
print("a", a)
for x in a.iteritems():
print(x)
print("--")
print("b", b)
for x in b.iteritems(readonly=True):
print(x)
print()

View File

@@ -9,7 +9,7 @@
# SPDX-License-Identifier: GPL-2.0-only
#
__version__ = "1.44.0"
__version__ = "1.51.0"
import sys
if sys.version_info < (3, 5, 0):
@@ -21,8 +21,8 @@ class BBHandledException(Exception):
The big dilemma for generic bitbake code is what information to give the user
when an exception occurs. Any exception inheriting this base exception class
has already provided information to the user via some 'fired' message type such as
an explicitly fired event using bb.fire, or a bb.error message. If bitbake
encounters an exception derived from this class, no backtrace or other information
an explicitly fired event using bb.fire, or a bb.error message. If bitbake
encounters an exception derived from this class, no backtrace or other information
will be given to the user, its assumed the earlier event provided the relevant information.
"""
pass
@@ -35,20 +35,32 @@ class NullHandler(logging.Handler):
def emit(self, record):
pass
Logger = logging.getLoggerClass()
class BBLogger(Logger):
def __init__(self, name):
class BBLoggerMixin(object):
def __init__(self, *args, **kwargs):
# Does nothing to allow calling super() from derived classes
pass
def setup_bblogger(self, name):
if name.split(".")[0] == "BitBake":
self.debug = self.bbdebug
Logger.__init__(self, name)
self.debug = self._debug_helper
def _debug_helper(self, *args, **kwargs):
return self.bbdebug(1, *args, **kwargs)
def debug2(self, *args, **kwargs):
return self.bbdebug(2, *args, **kwargs)
def debug3(self, *args, **kwargs):
return self.bbdebug(3, *args, **kwargs)
def bbdebug(self, level, msg, *args, **kwargs):
loglevel = logging.DEBUG - level + 1
if not bb.event.worker_pid:
if self.name in bb.msg.loggerDefaultDomains and level > (bb.msg.loggerDefaultDomains[self.name]):
if self.name in bb.msg.loggerDefaultDomains and loglevel > (bb.msg.loggerDefaultDomains[self.name]):
return
if level > (bb.msg.loggerDefaultDebugLevel):
if loglevel < bb.msg.loggerDefaultLogLevel:
return
return self.log(logging.DEBUG - level + 1, msg, *args, **kwargs)
return self.log(loglevel, msg, *args, **kwargs)
def plain(self, msg, *args, **kwargs):
return self.log(logging.INFO + 1, msg, *args, **kwargs)
@@ -59,16 +71,56 @@ class BBLogger(Logger):
def verbnote(self, msg, *args, **kwargs):
return self.log(logging.INFO + 2, msg, *args, **kwargs)
Logger = logging.getLoggerClass()
class BBLogger(Logger, BBLoggerMixin):
def __init__(self, name, *args, **kwargs):
self.setup_bblogger(name)
super().__init__(name, *args, **kwargs)
logging.raiseExceptions = False
logging.setLoggerClass(BBLogger)
class BBLoggerAdapter(logging.LoggerAdapter, BBLoggerMixin):
def __init__(self, logger, *args, **kwargs):
self.setup_bblogger(logger.name)
super().__init__(logger, *args, **kwargs)
if sys.version_info < (3, 6):
# These properties were added in Python 3.6. Add them in older versions
# for compatibility
@property
def manager(self):
return self.logger.manager
@manager.setter
def manager(self, value):
self.logger.manager = value
@property
def name(self):
return self.logger.name
def __repr__(self):
logger = self.logger
level = logger.getLevelName(logger.getEffectiveLevel())
return '<%s %s (%s)>' % (self.__class__.__name__, logger.name, level)
logging.LoggerAdapter = BBLoggerAdapter
logger = logging.getLogger("BitBake")
logger.addHandler(NullHandler())
logger.setLevel(logging.DEBUG - 2)
mainlogger = logging.getLogger("BitBake.Main")
class PrefixLoggerAdapter(logging.LoggerAdapter):
def __init__(self, prefix, logger):
super().__init__(logger, {})
self.__msg_prefix = prefix
def process(self, msg, kwargs):
return "%s%s" %(self.__msg_prefix, msg), kwargs
# This has to be imported after the setLoggerClass, as the import of bb.msg
# can result in construction of the various loggers.
import bb.msg
@@ -85,7 +137,7 @@ def debug(lvl, *args):
mainlogger.warning("Passed invalid debug level '%s' to bb.debug", lvl)
args = (lvl,) + args
lvl = 1
mainlogger.debug(lvl, ''.join(args))
mainlogger.bbdebug(lvl, ''.join(args))
def note(*args):
mainlogger.info(''.join(args))

View File

@@ -0,0 +1,31 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import itertools
import json
# The Python async server defaults to a 64K receive buffer, so we hardcode our
# maximum chunk size. It would be better if the client and server reported to
# each other what the maximum chunk sizes were, but that will slow down the
# connection setup with a round trip delay so I'd rather not do that unless it
# is necessary
DEFAULT_MAX_CHUNK = 32 * 1024
def chunkify(msg, max_chunk):
if len(msg) < max_chunk - 1:
yield ''.join((msg, "\n"))
else:
yield ''.join((json.dumps({
'chunk-stream': None
}), "\n"))
args = [iter(msg)] * (max_chunk - 1)
for m in map(''.join, itertools.zip_longest(*args, fillvalue='')):
yield ''.join(itertools.chain(m, "\n"))
yield "\n"
from .client import AsyncClient, Client
from .serv import AsyncServer, AsyncServerConnection

View File

@@ -0,0 +1,145 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import abc
import asyncio
import json
import os
import socket
from . import chunkify, DEFAULT_MAX_CHUNK
class AsyncClient(object):
def __init__(self, proto_name, proto_version, logger):
self.reader = None
self.writer = None
self.max_chunk = DEFAULT_MAX_CHUNK
self.proto_name = proto_name
self.proto_version = proto_version
self.logger = logger
async def connect_tcp(self, address, port):
async def connect_sock():
return await asyncio.open_connection(address, port)
self._connect_sock = connect_sock
async def connect_unix(self, path):
async def connect_sock():
return await asyncio.open_unix_connection(path)
self._connect_sock = connect_sock
async def setup_connection(self):
s = '%s %s\n\n' % (self.proto_name, self.proto_version)
self.writer.write(s.encode("utf-8"))
await self.writer.drain()
async def connect(self):
if self.reader is None or self.writer is None:
(self.reader, self.writer) = await self._connect_sock()
await self.setup_connection()
async def close(self):
self.reader = None
if self.writer is not None:
self.writer.close()
self.writer = None
async def _send_wrapper(self, proc):
count = 0
while True:
try:
await self.connect()
return await proc()
except (
OSError,
ConnectionError,
json.JSONDecodeError,
UnicodeDecodeError,
) as e:
self.logger.warning("Error talking to server: %s" % e)
if count >= 3:
if not isinstance(e, ConnectionError):
raise ConnectionError(str(e))
raise e
await self.close()
count += 1
async def send_message(self, msg):
async def get_line():
line = await self.reader.readline()
if not line:
raise ConnectionError("Connection closed")
line = line.decode("utf-8")
if not line.endswith("\n"):
raise ConnectionError("Bad message %r" % msg)
return line
async def proc():
for c in chunkify(json.dumps(msg), self.max_chunk):
self.writer.write(c.encode("utf-8"))
await self.writer.drain()
l = await get_line()
m = json.loads(l)
if m and "chunk-stream" in m:
lines = []
while True:
l = (await get_line()).rstrip("\n")
if not l:
break
lines.append(l)
m = json.loads("".join(lines))
return m
return await self._send_wrapper(proc)
class Client(object):
def __init__(self):
self.client = self._get_async_client()
self.loop = asyncio.new_event_loop()
self._add_methods('connect_tcp', 'close')
@abc.abstractmethod
def _get_async_client(self):
pass
def _get_downcall_wrapper(self, downcall):
def wrapper(*args, **kwargs):
return self.loop.run_until_complete(downcall(*args, **kwargs))
return wrapper
def _add_methods(self, *methods):
for m in methods:
downcall = getattr(self.client, m)
setattr(self, m, self._get_downcall_wrapper(downcall))
def connect_unix(self, path):
# AF_UNIX has path length issues so chdir here to workaround
cwd = os.getcwd()
try:
os.chdir(os.path.dirname(path))
self.loop.run_until_complete(self.client.connect_unix(os.path.basename(path)))
self.loop.run_until_complete(self.client.connect())
finally:
os.chdir(cwd)
@property
def max_chunk(self):
return self.client.max_chunk
@max_chunk.setter
def max_chunk(self, value):
self.client.max_chunk = value

View File

@@ -0,0 +1,218 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
import abc
import asyncio
import json
import os
import signal
import socket
import sys
from . import chunkify, DEFAULT_MAX_CHUNK
class ClientError(Exception):
pass
class ServerError(Exception):
pass
class AsyncServerConnection(object):
def __init__(self, reader, writer, proto_name, logger):
self.reader = reader
self.writer = writer
self.proto_name = proto_name
self.max_chunk = DEFAULT_MAX_CHUNK
self.handlers = {
'chunk-stream': self.handle_chunk,
}
self.logger = logger
async def process_requests(self):
try:
self.addr = self.writer.get_extra_info('peername')
self.logger.debug('Client %r connected' % (self.addr,))
# Read protocol and version
client_protocol = await self.reader.readline()
if client_protocol is None:
return
(client_proto_name, client_proto_version) = client_protocol.decode('utf-8').rstrip().split()
if client_proto_name != self.proto_name:
self.logger.debug('Rejecting invalid protocol %s' % (self.proto_name))
return
self.proto_version = tuple(int(v) for v in client_proto_version.split('.'))
if not self.validate_proto_version():
self.logger.debug('Rejecting invalid protocol version %s' % (client_proto_version))
return
# Read headers. Currently, no headers are implemented, so look for
# an empty line to signal the end of the headers
while True:
line = await self.reader.readline()
if line is None:
return
line = line.decode('utf-8').rstrip()
if not line:
break
# Handle messages
while True:
d = await self.read_message()
if d is None:
break
await self.dispatch_message(d)
await self.writer.drain()
except ClientError as e:
self.logger.error(str(e))
finally:
self.writer.close()
async def dispatch_message(self, msg):
for k in self.handlers.keys():
if k in msg:
self.logger.debug('Handling %s' % k)
await self.handlers[k](msg[k])
return
raise ClientError("Unrecognized command %r" % msg)
def write_message(self, msg):
for c in chunkify(json.dumps(msg), self.max_chunk):
self.writer.write(c.encode('utf-8'))
async def read_message(self):
l = await self.reader.readline()
if not l:
return None
try:
message = l.decode('utf-8')
if not message.endswith('\n'):
return None
return json.loads(message)
except (json.JSONDecodeError, UnicodeDecodeError) as e:
self.logger.error('Bad message from client: %r' % message)
raise e
async def handle_chunk(self, request):
lines = []
try:
while True:
l = await self.reader.readline()
l = l.rstrip(b"\n").decode("utf-8")
if not l:
break
lines.append(l)
msg = json.loads(''.join(lines))
except (json.JSONDecodeError, UnicodeDecodeError) as e:
self.logger.error('Bad message from client: %r' % lines)
raise e
if 'chunk-stream' in msg:
raise ClientError("Nested chunks are not allowed")
await self.dispatch_message(msg)
class AsyncServer(object):
def __init__(self, logger, loop=None):
if loop is None:
self.loop = asyncio.new_event_loop()
self.close_loop = True
else:
self.loop = loop
self.close_loop = False
self._cleanup_socket = None
self.logger = logger
def start_tcp_server(self, host, port):
self.server = self.loop.run_until_complete(
asyncio.start_server(self.handle_client, host, port, loop=self.loop)
)
for s in self.server.sockets:
self.logger.info('Listening on %r' % (s.getsockname(),))
# Newer python does this automatically. Do it manually here for
# maximum compatibility
s.setsockopt(socket.SOL_TCP, socket.TCP_NODELAY, 1)
s.setsockopt(socket.SOL_TCP, socket.TCP_QUICKACK, 1)
name = self.server.sockets[0].getsockname()
if self.server.sockets[0].family == socket.AF_INET6:
self.address = "[%s]:%d" % (name[0], name[1])
else:
self.address = "%s:%d" % (name[0], name[1])
def start_unix_server(self, path):
def cleanup():
os.unlink(path)
cwd = os.getcwd()
try:
# Work around path length limits in AF_UNIX
os.chdir(os.path.dirname(path))
self.server = self.loop.run_until_complete(
asyncio.start_unix_server(self.handle_client, os.path.basename(path), loop=self.loop)
)
finally:
os.chdir(cwd)
self.logger.info('Listening on %r' % path)
self._cleanup_socket = cleanup
self.address = "unix://%s" % os.path.abspath(path)
@abc.abstractmethod
def accept_client(self, reader, writer):
pass
async def handle_client(self, reader, writer):
# writer.transport.set_write_buffer_limits(0)
try:
client = self.accept_client(reader, writer)
await client.process_requests()
except Exception as e:
import traceback
self.logger.error('Error from client: %s' % str(e), exc_info=True)
traceback.print_exc()
writer.close()
self.logger.info('Client disconnected')
def run_loop_forever(self):
try:
self.loop.run_forever()
except KeyboardInterrupt:
pass
def signal_handler(self):
self.loop.stop()
def serve_forever(self):
asyncio.set_event_loop(self.loop)
try:
self.loop.add_signal_handler(signal.SIGTERM, self.signal_handler)
self.run_loop_forever()
self.server.close()
self.loop.run_until_complete(self.server.wait_closed())
self.logger.info('Server shutting down')
finally:
if self.close_loop:
if sys.version_info >= (3, 6):
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
if self._cleanup_socket is not None:
self._cleanup_socket()

View File

@@ -16,7 +16,9 @@ import os
import sys
import logging
import glob
import itertools
import time
import re
import stat
import bb
import bb.msg
@@ -27,6 +29,9 @@ from bb import data, event, utils
bblogger = logging.getLogger('BitBake')
logger = logging.getLogger('BitBake.Build')
verboseShellLogging = False
verboseStdoutLogging = False
__mtime_cache = {}
def cached_mtime_noerror(f):
@@ -65,6 +70,8 @@ class TaskBase(event.Event):
self.taskname = self._task
self.logfile = logfile
self.time = time.time()
self.pn = d.getVar("PN")
self.pv = d.getVar("PV")
event.Event.__init__(self)
self._message = "recipe %s: task %s: %s" % (d.getVar("PF"), t, self.getDisplayName())
@@ -301,20 +308,60 @@ def exec_func_python(func, d, runfile, cwd=None):
def shell_trap_code():
return '''#!/bin/sh\n
__BITBAKE_LAST_LINE=0
# Emit a useful diagnostic if something fails:
bb_exit_handler() {
bb_sh_exit_handler() {
ret=$?
case $ret in
0) ;;
*) case $BASH_VERSION in
"") echo "WARNING: exit code $ret from a shell command.";;
*) echo "WARNING: ${BASH_SOURCE[0]}:${BASH_LINENO[0]} exit $ret from '$BASH_COMMAND'";;
esac
exit $ret
esac
if [ "$ret" != 0 ]; then
echo "WARNING: exit code $ret from a shell command."
fi
exit $ret
}
trap 'bb_exit_handler' 0
set -e
bb_bash_exit_handler() {
ret=$?
{ set +x; } > /dev/null
trap "" DEBUG
if [ "$ret" != 0 ]; then
echo "WARNING: ${BASH_SOURCE[0]}:${__BITBAKE_LAST_LINE} exit $ret from '$1'"
echo "WARNING: Backtrace (BB generated script): "
for i in $(seq 1 $((${#FUNCNAME[@]} - 1))); do
if [ "$i" -eq 1 ]; then
echo -e "\t#$((i)): ${FUNCNAME[$i]}, ${BASH_SOURCE[$((i-1))]}, line ${__BITBAKE_LAST_LINE}"
else
echo -e "\t#$((i)): ${FUNCNAME[$i]}, ${BASH_SOURCE[$((i-1))]}, line ${BASH_LINENO[$((i-1))]}"
fi
done
fi
exit $ret
}
bb_bash_debug_handler() {
local line=${BASH_LINENO[0]}
# For some reason the DEBUG trap trips with lineno=1 when scripts exit; ignore it
if [ "$line" -eq 1 ]; then
return
fi
# Track the line number of commands as they execute. This is so we can have access to the failing line number
# in the EXIT trap. See http://gnu-bash.2382.n7.nabble.com/trap-echo-quot-trap-exit-on-LINENO-quot-EXIT-gt-wrong-linenumber-td3666.html
if [ "${FUNCNAME[1]}" != "bb_bash_exit_handler" ]; then
__BITBAKE_LAST_LINE=$line
fi
}
case $BASH_VERSION in
"") trap 'bb_sh_exit_handler' 0
set -e
;;
*) trap 'bb_bash_exit_handler "$BASH_COMMAND"' 0
trap '{ bb_bash_debug_handler; } 2>/dev/null' DEBUG
set -e
shopt -s extdebug
;;
esac
'''
def create_progress_handler(func, progress, logfile, d):
@@ -344,7 +391,7 @@ def create_progress_handler(func, progress, logfile, d):
cls_obj = functools.reduce(resolve, cls.split("."), bb.utils._context)
if not cls_obj:
# Fall-back on __builtins__
cls_obj = functools.reduce(lambda x, y: x.get(y), cls.split("."), __builtins__)
cls_obj = functools.reduce(resolve, cls.split("."), __builtins__)
if cls_obj:
return cls_obj(d, outfile=logfile, otherargs=otherargs)
bb.warn('%s: unknown custom progress handler in task progress varflag value "%s", ignoring' % (func, cls))
@@ -369,7 +416,7 @@ def exec_func_shell(func, d, runfile, cwd=None):
bb.data.emit_func(func, script, d)
if bb.msg.loggerVerboseLogs:
if verboseShellLogging or bb.utils.to_boolean(d.getVar("BB_VERBOSE_LOGS", False)):
script.write("set -x\n")
if cwd:
script.write("cd '%s'\n" % cwd)
@@ -389,14 +436,20 @@ exit $ret
if fakerootcmd:
cmd = [fakerootcmd, runfile]
if bb.msg.loggerDefaultVerbose:
if verboseStdoutLogging:
logfile = LogTee(logger, StdoutNoopContextManager())
else:
logfile = StdoutNoopContextManager()
progress = d.getVarFlag(func, 'progress')
if progress:
logfile = create_progress_handler(func, progress, logfile, d)
try:
logfile = create_progress_handler(func, progress, logfile, d)
except:
from traceback import format_exc
logger.error("Failed to create progress handler")
logger.error(format_exc())
raise
fifobuffer = bytearray()
def readfifo(data):
@@ -448,6 +501,62 @@ exit $ret
bb.debug(2, "Executing shell function %s" % func)
with open(os.devnull, 'r+') as stdin, logfile:
bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
except bb.process.ExecutionError as exe:
# Find the backtrace that the shell trap generated
backtrace_marker_regex = re.compile(r"WARNING: Backtrace \(BB generated script\)")
stdout_lines = (exe.stdout or "").split("\n")
backtrace_start_line = None
for i, line in enumerate(reversed(stdout_lines)):
if backtrace_marker_regex.search(line):
backtrace_start_line = len(stdout_lines) - i
break
# Read the backtrace frames, starting at the location we just found
backtrace_entry_regex = re.compile(r"#(?P<frameno>\d+): (?P<funcname>[^\s]+), (?P<file>.+?), line ("
r"?P<lineno>\d+)")
backtrace_frames = []
if backtrace_start_line:
for line in itertools.islice(stdout_lines, backtrace_start_line, None):
match = backtrace_entry_regex.search(line)
if match:
backtrace_frames.append(match.groupdict())
with open(runfile, "r") as script:
script_lines = [line.rstrip() for line in script.readlines()]
# For each backtrace frame, search backwards in the script (from the line number called out by the frame),
# to find the comment that emit_vars injected when it wrote the script. This will give us the metadata
# filename (e.g. .bb or .bbclass) and line number where the shell function was originally defined.
script_metadata_comment_regex = re.compile(r"# line: (?P<lineno>\d+), file: (?P<file>.+)")
better_frames = []
# Skip the very last frame since it's just the call to the shell task in the body of the script
for frame in backtrace_frames[:-1]:
# Check whether the frame corresponds to a function defined in the script vs external script.
if os.path.samefile(frame["file"], runfile):
# Search backwards from the frame lineno to locate the comment that BB injected
i = int(frame["lineno"]) - 1
while i >= 0:
match = script_metadata_comment_regex.match(script_lines[i])
if match:
# Calculate the relative line in the function itself
relative_line_in_function = int(frame["lineno"]) - i - 2
# Calculate line in the function as declared in the metadata
metadata_function_line = relative_line_in_function + int(match["lineno"])
better_frames.append("#{frameno}: {funcname}, {file}, line {lineno}".format(
frameno=frame["frameno"],
funcname=frame["funcname"],
file=match["file"],
lineno=metadata_function_line
))
break
i -= 1
else:
better_frames.append("#{frameno}: {funcname}, {file}, line {lineno}".format(**frame))
if better_frames:
better_frames = ("\t{0}".format(frame) for frame in better_frames)
exe.extra_message = "\nBacktrace (metadata-relative locations):\n{0}".format("\n".join(better_frames))
raise
finally:
os.unlink(fifopath)
@@ -474,7 +583,7 @@ def _exec_task(fn, task, d, quieterr):
logger.error("No such task: %s" % task)
return 1
logger.debug(1, "Executing task %s", task)
logger.debug("Executing task %s", task)
localdata = _task_data(fn, task, d)
tempdir = localdata.getVar('T')
@@ -487,7 +596,7 @@ def _exec_task(fn, task, d, quieterr):
curnice = os.nice(0)
nice = int(nice) - curnice
newnice = os.nice(nice)
logger.debug(1, "Renice to %s " % newnice)
logger.debug("Renice to %s " % newnice)
ionice = localdata.getVar("BB_TASK_IONICE_LEVEL")
if ionice:
try:
@@ -611,7 +720,7 @@ def _exec_task(fn, task, d, quieterr):
logfile.close()
if os.path.exists(logfn) and os.path.getsize(logfn) == 0:
logger.debug(2, "Zero size logfn %s, removing", logfn)
logger.debug2("Zero size logfn %s, removing", logfn)
bb.utils.remove(logfn)
bb.utils.remove(loglink)
event.fire(TaskSucceeded(task, fn, logfn, localdata), localdata)
@@ -745,6 +854,23 @@ def make_stamp(task, d, file_name = None):
file_name = d.getVar('BB_FILENAME')
bb.parse.siggen.dump_sigtask(file_name, task, stampbase, True)
def find_stale_stamps(task, d, file_name=None):
current = stamp_internal(task, d, file_name)
current2 = stamp_internal(task + "_setscene", d, file_name)
cleanmask = stamp_cleanmask_internal(task, d, file_name)
found = []
for mask in cleanmask:
for name in glob.glob(mask):
if "sigdata" in name or "sigbasedata" in name:
continue
if name.endswith('.taint'):
continue
if name == current or name == current2:
continue
logger.debug2("Stampfile %s does not match %s or %s" % (name, current, current2))
found.append(name)
return found
def del_stamp(task, d, file_name = None):
"""
Removes a stamp for a given task

View File

@@ -19,15 +19,20 @@
import os
import logging
import pickle
from collections import defaultdict
from collections import defaultdict, Mapping
import bb.utils
from bb import PrefixLoggerAdapter
import re
logger = logging.getLogger("BitBake.Cache")
__cache_version__ = "152"
__cache_version__ = "154"
def getCacheFile(path, filename, data_hash):
return os.path.join(path, filename + "." + data_hash)
def getCacheFile(path, filename, mc, data_hash):
mcspec = ''
if mc:
mcspec = ".%s" % mc
return os.path.join(path, filename + mcspec + "." + data_hash)
# RecipeInfoCommon defines common data retrieving methods
# from meta data for caches. CoreRecipeInfo as well as other
@@ -89,6 +94,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
if not self.packages:
self.packages.append(self.pn)
self.packages_dynamic = self.listvar('PACKAGES_DYNAMIC', metadata)
self.rprovides_pkg = self.pkgvar('RPROVIDES', self.packages, metadata)
self.skipreason = self.getvar('__SKIPPED', metadata)
if self.skipreason:
@@ -115,12 +121,12 @@ class CoreRecipeInfo(RecipeInfoCommon):
self.depends = self.depvar('DEPENDS', metadata)
self.rdepends = self.depvar('RDEPENDS', metadata)
self.rrecommends = self.depvar('RRECOMMENDS', metadata)
self.rprovides_pkg = self.pkgvar('RPROVIDES', self.packages, metadata)
self.rdepends_pkg = self.pkgvar('RDEPENDS', self.packages, metadata)
self.rrecommends_pkg = self.pkgvar('RRECOMMENDS', self.packages, metadata)
self.inherits = self.getvar('__inherit_cache', metadata, expand=False)
self.fakerootenv = self.getvar('FAKEROOTENV', metadata)
self.fakerootdirs = self.getvar('FAKEROOTDIRS', metadata)
self.fakerootlogs = self.getvar('FAKEROOTLOGS', metadata)
self.fakerootnoenv = self.getvar('FAKEROOTNOENV', metadata)
self.extradepsfunc = self.getvar('calculate_extra_depends', metadata)
@@ -158,6 +164,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
cachedata.fakerootenv = {}
cachedata.fakerootnoenv = {}
cachedata.fakerootdirs = {}
cachedata.fakerootlogs = {}
cachedata.extradepsfunc = {}
def add_cacheData(self, cachedata, fn):
@@ -210,7 +217,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
if not self.not_world:
cachedata.possible_world.append(fn)
#else:
# logger.debug(2, "EXCLUDE FROM WORLD: %s", fn)
# logger.debug2("EXCLUDE FROM WORLD: %s", fn)
# create a collection of all targets for sanity checking
# tasks, such as upstream versions, license, and tools for
@@ -226,6 +233,7 @@ class CoreRecipeInfo(RecipeInfoCommon):
cachedata.fakerootenv[fn] = self.fakerootenv
cachedata.fakerootnoenv[fn] = self.fakerootnoenv
cachedata.fakerootdirs[fn] = self.fakerootdirs
cachedata.fakerootlogs[fn] = self.fakerootlogs
cachedata.extradepsfunc[fn] = self.extradepsfunc
def virtualfn2realfn(virtualfn):
@@ -233,7 +241,7 @@ def virtualfn2realfn(virtualfn):
Convert a virtual file name to a real one + the associated subclass keyword
"""
mc = ""
if virtualfn.startswith('mc:'):
if virtualfn.startswith('mc:') and virtualfn.count(':') >= 2:
elems = virtualfn.split(':')
mc = elems[1]
virtualfn = ":".join(elems[2:])
@@ -263,7 +271,7 @@ def variant2virtual(realfn, variant):
"""
if variant == "":
return realfn
if variant.startswith("mc:"):
if variant.startswith("mc:") and variant.count(':') >= 2:
elems = variant.split(":")
if elems[2]:
return "mc:" + elems[1] + ":virtual:" + ":".join(elems[2:]) + ":" + realfn
@@ -318,12 +326,12 @@ class NoCache(object):
Return a complete set of data for fn.
To do this, we need to parse the file.
"""
logger.debug(1, "Parsing %s (full)" % virtualfn)
logger.debug("Parsing %s (full)" % virtualfn)
(fn, virtual, mc) = virtualfn2realfn(virtualfn)
bb_data = self.load_bbfile(virtualfn, appends, virtonly=True)
return bb_data[virtual]
def load_bbfile(self, bbfile, appends, virtonly = False):
def load_bbfile(self, bbfile, appends, virtonly = False, mc=None):
"""
Load and parse one .bb build file
Return the data and whether parsing resulted in the file being skipped
@@ -336,6 +344,10 @@ class NoCache(object):
datastores = parse_recipe(bb_data, bbfile, appends, mc)
return datastores
if mc is not None:
bb_data = self.databuilder.mcdata[mc].createCopy()
return parse_recipe(bb_data, bbfile, appends, mc)
bb_data = self.data.createCopy()
datastores = parse_recipe(bb_data, bbfile, appends)
@@ -353,14 +365,15 @@ class Cache(NoCache):
"""
BitBake Cache implementation
"""
def __init__(self, databuilder, data_hash, caches_array):
def __init__(self, databuilder, mc, data_hash, caches_array):
super().__init__(databuilder)
data = databuilder.data
# Pass caches_array information into Cache Constructor
# It will be used later for deciding whether we
# need extra cache file dump/load support
self.mc = mc
self.logger = PrefixLoggerAdapter("Cache: %s: " % (mc if mc else "default"), logger)
self.caches_array = caches_array
self.cachedir = data.getVar("CACHE")
self.clean = set()
@@ -369,34 +382,51 @@ class Cache(NoCache):
self.data_fn = None
self.cacheclean = True
self.data_hash = data_hash
self.filelist_regex = re.compile(r'(?:(?<=:True)|(?<=:False))\s+')
if self.cachedir in [None, '']:
self.has_cache = False
logger.info("Not using a cache. "
"Set CACHE = <directory> to enable.")
self.logger.info("Not using a cache. "
"Set CACHE = <directory> to enable.")
return
self.has_cache = True
self.cachefile = getCacheFile(self.cachedir, "bb_cache.dat", self.data_hash)
logger.debug(1, "Cache dir: %s", self.cachedir)
def getCacheFile(self, cachefile):
return getCacheFile(self.cachedir, cachefile, self.mc, self.data_hash)
def prepare_cache(self, progress):
if not self.has_cache:
return 0
loaded = 0
self.cachefile = self.getCacheFile("bb_cache.dat")
self.logger.debug("Cache dir: %s", self.cachedir)
bb.utils.mkdirhier(self.cachedir)
cache_ok = True
if self.caches_array:
for cache_class in self.caches_array:
cachefile = getCacheFile(self.cachedir, cache_class.cachefile, self.data_hash)
cache_ok = cache_ok and os.path.exists(cachefile)
cachefile = self.getCacheFile(cache_class.cachefile)
cache_exists = os.path.exists(cachefile)
self.logger.debug2("Checking if %s exists: %r", cachefile, cache_exists)
cache_ok = cache_ok and cache_exists
cache_class.init_cacheData(self)
if cache_ok:
self.load_cachefile()
loaded = self.load_cachefile(progress)
elif os.path.isfile(self.cachefile):
logger.info("Out of date cache found, rebuilding...")
self.logger.info("Out of date cache found, rebuilding...")
else:
logger.debug(1, "Cache file %s not found, building..." % self.cachefile)
self.logger.debug("Cache file %s not found, building..." % self.cachefile)
# We don't use the symlink, its just for debugging convinience
symlink = os.path.join(self.cachedir, "bb_cache.dat")
if self.mc:
symlink = os.path.join(self.cachedir, "bb_cache.dat.%s" % self.mc)
else:
symlink = os.path.join(self.cachedir, "bb_cache.dat")
if os.path.exists(symlink):
bb.utils.remove(symlink)
try:
@@ -404,22 +434,29 @@ class Cache(NoCache):
except OSError:
pass
def load_cachefile(self):
return loaded
def cachesize(self):
if not self.has_cache:
return 0
cachesize = 0
for cache_class in self.caches_array:
cachefile = self.getCacheFile(cache_class.cachefile)
try:
with open(cachefile, "rb") as cachefile:
cachesize += os.fstat(cachefile.fileno()).st_size
except FileNotFoundError:
pass
return cachesize
def load_cachefile(self, progress):
previous_progress = 0
previous_percent = 0
# Calculate the correct cachesize of all those cache files
for cache_class in self.caches_array:
cachefile = getCacheFile(self.cachedir, cache_class.cachefile, self.data_hash)
with open(cachefile, "rb") as cachefile:
cachesize += os.fstat(cachefile.fileno()).st_size
bb.event.fire(bb.event.CacheLoadStarted(cachesize), self.data)
for cache_class in self.caches_array:
cachefile = getCacheFile(self.cachedir, cache_class.cachefile, self.data_hash)
logger.debug(1, 'Loading cache file: %s' % cachefile)
cachefile = self.getCacheFile(cache_class.cachefile)
self.logger.debug('Loading cache file: %s' % cachefile)
with open(cachefile, "rb") as cachefile:
pickled = pickle.Unpickler(cachefile)
# Check cache version information
@@ -427,15 +464,15 @@ class Cache(NoCache):
cache_ver = pickled.load()
bitbake_ver = pickled.load()
except Exception:
logger.info('Invalid cache, rebuilding...')
return
self.logger.info('Invalid cache, rebuilding...')
return 0
if cache_ver != __cache_version__:
logger.info('Cache version mismatch, rebuilding...')
return
self.logger.info('Cache version mismatch, rebuilding...')
return 0
elif bitbake_ver != bb.__version__:
logger.info('Bitbake version mismatch, rebuilding...')
return
self.logger.info('Bitbake version mismatch, rebuilding...')
return 0
# Load the rest of the cache file
current_progress = 0
@@ -458,29 +495,17 @@ class Cache(NoCache):
self.depends_cache[key] = [value]
# only fire events on even percentage boundaries
current_progress = cachefile.tell() + previous_progress
if current_progress > cachesize:
# we might have calculated incorrect total size because a file
# might've been written out just after we checked its size
cachesize = current_progress
current_percent = 100 * current_progress / cachesize
if current_percent > previous_percent:
previous_percent = current_percent
bb.event.fire(bb.event.CacheLoadProgress(current_progress, cachesize),
self.data)
progress(cachefile.tell() + previous_progress)
previous_progress += current_progress
# Note: depends cache number is corresponding to the parsing file numbers.
# The same file has several caches, still regarded as one item in the cache
bb.event.fire(bb.event.CacheLoadCompleted(cachesize,
len(self.depends_cache)),
self.data)
return len(self.depends_cache)
def parse(self, filename, appends):
"""Parse the specified filename, returning the recipe information"""
logger.debug(1, "Parsing %s", filename)
self.logger.debug("Parsing %s", filename)
infos = []
datastores = self.load_bbfile(filename, appends)
datastores = self.load_bbfile(filename, appends, mc=self.mc)
depends = []
variants = []
# Process the "real" fn last so we can store variants list
@@ -532,7 +557,7 @@ class Cache(NoCache):
cached, infos = self.load(fn, appends)
for virtualfn, info_array in infos:
if info_array[0].skipped:
logger.debug(1, "Skipping %s: %s", virtualfn, info_array[0].skipreason)
self.logger.debug("Skipping %s: %s", virtualfn, info_array[0].skipreason)
skipped += 1
else:
self.add_info(virtualfn, info_array, cacheData, not cached)
@@ -568,21 +593,21 @@ class Cache(NoCache):
# File isn't in depends_cache
if not fn in self.depends_cache:
logger.debug(2, "Cache: %s is not cached", fn)
self.logger.debug2("%s is not cached", fn)
return False
mtime = bb.parse.cached_mtime_noerror(fn)
# Check file still exists
if mtime == 0:
logger.debug(2, "Cache: %s no longer exists", fn)
self.logger.debug2("%s no longer exists", fn)
self.remove(fn)
return False
info_array = self.depends_cache[fn]
# Check the file's timestamp
if mtime != info_array[0].timestamp:
logger.debug(2, "Cache: %s changed", fn)
self.logger.debug2("%s changed", fn)
self.remove(fn)
return False
@@ -593,45 +618,37 @@ class Cache(NoCache):
fmtime = bb.parse.cached_mtime_noerror(f)
# Check if file still exists
if old_mtime != 0 and fmtime == 0:
logger.debug(2, "Cache: %s's dependency %s was removed",
fn, f)
self.logger.debug2("%s's dependency %s was removed",
fn, f)
self.remove(fn)
return False
if (fmtime != old_mtime):
logger.debug(2, "Cache: %s's dependency %s changed",
fn, f)
self.logger.debug2("%s's dependency %s changed",
fn, f)
self.remove(fn)
return False
if hasattr(info_array[0], 'file_checksums'):
for _, fl in info_array[0].file_checksums.items():
fl = fl.strip()
while fl:
# A .split() would be simpler but means spaces or colons in filenames would break
a = fl.find(":True")
b = fl.find(":False")
if ((a < 0) and b) or ((b > 0) and (b < a)):
f = fl[:b+6]
fl = fl[b+7:]
elif ((b < 0) and a) or ((a > 0) and (a < b)):
f = fl[:a+5]
fl = fl[a+6:]
else:
break
fl = fl.strip()
if "*" in f:
if not fl:
continue
# Have to be careful about spaces and colons in filenames
flist = self.filelist_regex.split(fl)
for f in flist:
if not f:
continue
f, exist = f.split(":")
if (exist == "True" and not os.path.exists(f)) or (exist == "False" and os.path.exists(f)):
logger.debug(2, "Cache: %s's file checksum list file %s changed",
fn, f)
self.logger.debug2("%s's file checksum list file %s changed",
fn, f)
self.remove(fn)
return False
if appends != info_array[0].appends:
logger.debug(2, "Cache: appends for %s changed", fn)
logger.debug(2, "%s to %s" % (str(appends), str(info_array[0].appends)))
if tuple(appends) != tuple(info_array[0].appends):
self.logger.debug2("appends for %s changed", fn)
self.logger.debug2("%s to %s" % (str(appends), str(info_array[0].appends)))
self.remove(fn)
return False
@@ -640,10 +657,10 @@ class Cache(NoCache):
virtualfn = variant2virtual(fn, cls)
self.clean.add(virtualfn)
if virtualfn not in self.depends_cache:
logger.debug(2, "Cache: %s is not cached", virtualfn)
self.logger.debug2("%s is not cached", virtualfn)
invalid = True
elif len(self.depends_cache[virtualfn]) != len(self.caches_array):
logger.debug(2, "Cache: Extra caches missing for %s?" % virtualfn)
self.logger.debug2("Extra caches missing for %s?" % virtualfn)
invalid = True
# If any one of the variants is not present, mark as invalid for all
@@ -651,10 +668,10 @@ class Cache(NoCache):
for cls in info_array[0].variants:
virtualfn = variant2virtual(fn, cls)
if virtualfn in self.clean:
logger.debug(2, "Cache: Removing %s from cache", virtualfn)
self.logger.debug2("Removing %s from cache", virtualfn)
self.clean.remove(virtualfn)
if fn in self.clean:
logger.debug(2, "Cache: Marking %s as not clean", fn)
self.logger.debug2("Marking %s as not clean", fn)
self.clean.remove(fn)
return False
@@ -667,10 +684,10 @@ class Cache(NoCache):
Called from the parser in error cases
"""
if fn in self.depends_cache:
logger.debug(1, "Removing %s from cache", fn)
self.logger.debug("Removing %s from cache", fn)
del self.depends_cache[fn]
if fn in self.clean:
logger.debug(1, "Marking %s as unclean", fn)
self.logger.debug("Marking %s as unclean", fn)
self.clean.remove(fn)
def sync(self):
@@ -683,12 +700,13 @@ class Cache(NoCache):
return
if self.cacheclean:
logger.debug(2, "Cache is clean, not saving.")
self.logger.debug2("Cache is clean, not saving.")
return
for cache_class in self.caches_array:
cache_class_name = cache_class.__name__
cachefile = getCacheFile(self.cachedir, cache_class.cachefile, self.data_hash)
cachefile = self.getCacheFile(cache_class.cachefile)
self.logger.debug2("Writing %s", cachefile)
with open(cachefile, "wb") as f:
p = pickle.Pickler(f, pickle.HIGHEST_PROTOCOL)
p.dump(__cache_version__)
@@ -707,8 +725,18 @@ class Cache(NoCache):
return bb.parse.cached_mtime_noerror(cachefile)
def add_info(self, filename, info_array, cacheData, parsed=None, watcher=None):
if self.mc is not None:
(fn, cls, mc) = virtualfn2realfn(filename)
if mc:
self.logger.error("Unexpected multiconfig %s", filename)
return
vfn = realfn2virtual(fn, cls, self.mc)
else:
vfn = filename
if isinstance(info_array[0], CoreRecipeInfo) and (not info_array[0].skipped):
cacheData.add_from_recipeinfo(filename, info_array)
cacheData.add_from_recipeinfo(vfn, info_array)
if watcher:
watcher(info_array[0].file_depends)
@@ -733,6 +761,61 @@ class Cache(NoCache):
info_array.append(cache_class(realfn, data))
self.add_info(file_name, info_array, cacheData, parsed)
class MulticonfigCache(Mapping):
def __init__(self, databuilder, data_hash, caches_array):
def progress(p):
nonlocal current_progress
nonlocal previous_progress
nonlocal previous_percent
nonlocal cachesize
current_progress = previous_progress + p
if current_progress > cachesize:
# we might have calculated incorrect total size because a file
# might've been written out just after we checked its size
cachesize = current_progress
current_percent = 100 * current_progress / cachesize
if current_percent > previous_percent:
previous_percent = current_percent
bb.event.fire(bb.event.CacheLoadProgress(current_progress, cachesize),
databuilder.data)
cachesize = 0
current_progress = 0
previous_progress = 0
previous_percent = 0
self.__caches = {}
for mc, mcdata in databuilder.mcdata.items():
self.__caches[mc] = Cache(databuilder, mc, data_hash, caches_array)
cachesize += self.__caches[mc].cachesize()
bb.event.fire(bb.event.CacheLoadStarted(cachesize), databuilder.data)
loaded = 0
for c in self.__caches.values():
loaded += c.prepare_cache(progress)
previous_progress = current_progress
# Note: depends cache number is corresponding to the parsing file numbers.
# The same file has several caches, still regarded as one item in the cache
bb.event.fire(bb.event.CacheLoadCompleted(cachesize, loaded), databuilder.data)
def __len__(self):
return len(self.__caches)
def __getitem__(self, key):
return self.__caches[key]
def __contains__(self, key):
return key in self.__caches
def __iter__(self):
for k in self.__caches:
yield k
def init(cooker):
"""
@@ -799,7 +882,7 @@ class MultiProcessCache(object):
bb.utils.mkdirhier(cachedir)
self.cachefile = os.path.join(cachedir,
cache_file_name or self.__class__.cache_file_name)
logger.debug(1, "Using cache in '%s'", self.cachefile)
logger.debug("Using cache in '%s'", self.cachefile)
glf = bb.utils.lockfile(self.cachefile + ".lock")
@@ -905,7 +988,7 @@ class SimpleCache(object):
bb.utils.mkdirhier(cachedir)
self.cachefile = os.path.join(cachedir,
cache_file_name or self.__class__.cache_file_name)
logger.debug(1, "Using cache in '%s'", self.cachefile)
logger.debug("Using cache in '%s'", self.cachefile)
glf = bb.utils.lockfile(self.cachefile + ".lock")

View File

@@ -212,9 +212,9 @@ class PythonParser():
funcstr = codegen.to_source(func)
argstr = codegen.to_source(arg)
except TypeError:
self.log.debug(2, 'Failed to convert function and argument to source form')
self.log.debug2('Failed to convert function and argument to source form')
else:
self.log.debug(1, self.unhandled_message % (funcstr, argstr))
self.log.debug(self.unhandled_message % (funcstr, argstr))
def visit_Call(self, node):
name = self.called_node_name(node.func)
@@ -450,7 +450,7 @@ class ShellParser():
cmd = word[1]
if cmd.startswith("$"):
self.log.debug(1, self.unhandled_template % cmd)
self.log.debug(self.unhandled_template % cmd)
elif cmd == "eval":
command = " ".join(word for _, word in words[1:])
self._parse_shell(command)

View File

@@ -20,6 +20,7 @@ Commands are queued in a CommandQueue
from collections import OrderedDict, defaultdict
import io
import bb.event
import bb.cooker
import bb.remotedata
@@ -54,13 +55,20 @@ class Command:
self.cooker = cooker
self.cmds_sync = CommandsSync()
self.cmds_async = CommandsAsync()
self.remotedatastores = bb.remotedata.RemoteDatastores(cooker)
self.remotedatastores = None
# FIXME Add lock for this
self.currentAsyncCommand = None
def runCommand(self, commandline, ro_only = False):
command = commandline.pop(0)
# Ensure cooker is ready for commands
if command != "updateConfig" and command != "setFeatures":
self.cooker.init_configdata()
if not self.remotedatastores:
self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker)
if hasattr(CommandsSync, command):
# Can run synchronous commands straight away
command_method = getattr(self.cmds_sync, command)
@@ -74,8 +82,12 @@ class Command:
result = command_method(self, commandline)
except CommandError as exc:
return None, exc.args[0]
except (Exception, SystemExit):
except (Exception, SystemExit) as exc:
import traceback
if isinstance(exc, bb.BBHandledException):
# We need to start returning real exceptions here. Until we do, we can't
# tell if an exception is an instance of bb.BBHandledException
return None, "bb.BBHandledException()\n" + traceback.format_exc()
return None, traceback.format_exc()
else:
return result, None
@@ -84,7 +96,7 @@ class Command:
if command not in CommandsAsync.__dict__:
return None, "No such command"
self.currentAsyncCommand = (command, commandline)
self.cooker.configuration.server_register_idlecallback(self.cooker.runCommands, self.cooker)
self.cooker.idleCallBackRegister(self.cooker.runCommands, self.cooker)
return True, None
def runAsyncCommand(self):
@@ -136,13 +148,8 @@ class Command:
self.cooker.finishcommand()
def reset(self):
self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker)
def split_mc_pn(pn):
if pn.startswith("multiconfig:"):
_, mc, pn = pn.split(":", 2)
return (mc, pn)
return ('', pn)
if self.remotedatastores:
self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker)
class CommandsSync:
"""
@@ -232,7 +239,11 @@ class CommandsSync:
def matchFile(self, command, params):
fMatch = params[0]
return command.cooker.matchFile(fMatch)
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.matchFile(fMatch, mc)
matchFile.needconfig = False
def getUIHandlerNum(self, command, params):
@@ -395,30 +406,50 @@ class CommandsSync:
def getSkippedRecipes(self, command, params):
# Return list sorted by reverse priority order
import bb.cache
skipdict = OrderedDict(sorted(command.cooker.skiplist.items(),
key=lambda x: (-command.cooker.collection.calc_bbfile_priority(bb.cache.virtualfn2realfn(x[0])[0]), x[0])))
def sortkey(x):
vfn, _ = x
realfn, _, mc = bb.cache.virtualfn2realfn(vfn)
return (-command.cooker.collections[mc].calc_bbfile_priority(realfn)[0], vfn)
skipdict = OrderedDict(sorted(command.cooker.skiplist.items(), key=sortkey))
return list(skipdict.items())
getSkippedRecipes.readonly = True
def getOverlayedRecipes(self, command, params):
return list(command.cooker.collection.overlayed.items())
try:
mc = params[0]
except IndexError:
mc = ''
return list(command.cooker.collections[mc].overlayed.items())
getOverlayedRecipes.readonly = True
def getFileAppends(self, command, params):
fn = params[0]
return command.cooker.collection.get_file_appends(fn)
try:
mc = params[1]
except IndexError:
mc = ''
return command.cooker.collections[mc].get_file_appends(fn)
getFileAppends.readonly = True
def getAllAppends(self, command, params):
return command.cooker.collection.bbappends
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.collections[mc].bbappends
getAllAppends.readonly = True
def findProviders(self, command, params):
return command.cooker.findProviders()
try:
mc = params[0]
except IndexError:
mc = ''
return command.cooker.findProviders(mc)
findProviders.readonly = True
def findBestProvider(self, command, params):
(mc, pn) = split_mc_pn(params[0])
(mc, pn) = bb.runqueue.split_mc(params[0])
return command.cooker.findBestProvider(pn, mc)
findBestProvider.readonly = True
@@ -446,54 +477,49 @@ class CommandsSync:
return all_p, best
getRuntimeProviders.readonly = True
def dataStoreConnectorFindVar(self, command, params):
def dataStoreConnectorCmd(self, command, params):
dsindex = params[0]
name = params[1]
datastore = command.remotedatastores[dsindex]
value, overridedata = datastore._findVar(name)
method = params[1]
args = params[2]
kwargs = params[3]
if value:
content = value.get('_content', None)
if isinstance(content, bb.data_smart.DataSmart):
# Value is a datastore (e.g. BB_ORIGENV) - need to handle this carefully
idx = command.remotedatastores.check_store(content, True)
return {'_content': DataStoreConnectionHandle(idx),
'_connector_origtype': 'DataStoreConnectionHandle',
'_connector_overrides': overridedata}
elif isinstance(content, set):
return {'_content': list(content),
'_connector_origtype': 'set',
'_connector_overrides': overridedata}
else:
value['_connector_overrides'] = overridedata
else:
value = {}
value['_connector_overrides'] = overridedata
return value
dataStoreConnectorFindVar.readonly = True
d = command.remotedatastores[dsindex]
ret = getattr(d, method)(*args, **kwargs)
def dataStoreConnectorGetKeys(self, command, params):
if isinstance(ret, bb.data_smart.DataSmart):
idx = command.remotedatastores.store(ret)
return DataStoreConnectionHandle(idx)
return ret
def dataStoreConnectorVarHistCmd(self, command, params):
dsindex = params[0]
datastore = command.remotedatastores[dsindex]
return list(datastore.keys())
dataStoreConnectorGetKeys.readonly = True
method = params[1]
args = params[2]
kwargs = params[3]
def dataStoreConnectorGetVarHistory(self, command, params):
d = command.remotedatastores[dsindex].varhistory
return getattr(d, method)(*args, **kwargs)
def dataStoreConnectorVarHistCmdEmit(self, command, params):
dsindex = params[0]
name = params[1]
datastore = command.remotedatastores[dsindex]
return datastore.varhistory.variable(name)
dataStoreConnectorGetVarHistory.readonly = True
var = params[1]
oval = params[2]
val = params[3]
d = command.remotedatastores[params[4]]
def dataStoreConnectorExpandPythonRef(self, command, params):
config_data_dict = params[0]
varname = params[1]
expr = params[2]
o = io.StringIO()
command.remotedatastores[dsindex].varhistory.emit(var, oval, val, o, d)
return o.getvalue()
config_data = command.remotedatastores.receive_datastore(config_data_dict)
def dataStoreConnectorIncHistCmd(self, command, params):
dsindex = params[0]
method = params[1]
args = params[2]
kwargs = params[3]
varparse = bb.data_smart.VariableParse(varname, config_data)
return varparse.python_sub(expr)
d = command.remotedatastores[dsindex].inchistory
return getattr(d, method)(*args, **kwargs)
def dataStoreConnectorRelease(self, command, params):
dsindex = params[0]
@@ -501,31 +527,6 @@ class CommandsSync:
raise CommandError('dataStoreConnectorRelease: invalid index %d' % dsindex)
command.remotedatastores.release(dsindex)
def dataStoreConnectorSetVarFlag(self, command, params):
dsindex = params[0]
name = params[1]
flag = params[2]
value = params[3]
datastore = command.remotedatastores[dsindex]
datastore.setVarFlag(name, flag, value)
def dataStoreConnectorDelVar(self, command, params):
dsindex = params[0]
name = params[1]
datastore = command.remotedatastores[dsindex]
if len(params) > 2:
flag = params[2]
datastore.delVarFlag(name, flag)
else:
datastore.delVar(name)
def dataStoreConnectorRenameVar(self, command, params):
dsindex = params[0]
name = params[1]
newname = params[2]
datastore = command.remotedatastores[dsindex]
datastore.renameVar(name, newname)
def parseRecipeFile(self, command, params):
"""
Parse the specified recipe file (with or without bbappends)
@@ -533,11 +534,11 @@ class CommandsSync:
for the recipe.
"""
fn = params[0]
mc = bb.runqueue.mc_from_tid(fn)
appends = params[1]
appendlist = params[2]
if len(params) > 3:
config_data_dict = params[3]
config_data = command.remotedatastores.receive_datastore(config_data_dict)
config_data = command.remotedatastores[params[3]]
else:
config_data = None
@@ -545,7 +546,7 @@ class CommandsSync:
if appendlist is not None:
appendfiles = appendlist
else:
appendfiles = command.cooker.collection.get_file_appends(fn)
appendfiles = command.cooker.collections[mc].get_file_appends(fn)
else:
appendfiles = []
# We are calling bb.cache locally here rather than on the server,
@@ -555,7 +556,7 @@ class CommandsSync:
if config_data:
# We have to use a different function here if we're passing in a datastore
# NOTE: we took a copy above, so we don't do it here again
envdata = bb.cache.parse_recipe(config_data, fn, appendfiles)['']
envdata = bb.cache.parse_recipe(config_data, fn, appendfiles, mc)['']
else:
# Use the standard path
parser = bb.cache.NoCache(command.cooker.databuilder)
@@ -746,10 +747,10 @@ class CommandsAsync:
"""
Find signature info files via the signature generator
"""
pn = params[0]
(mc, pn) = bb.runqueue.split_mc(params[0])
taskname = params[1]
sigs = params[2]
res = bb.siggen.find_siginfo(pn, taskname, sigs, command.cooker.data)
bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.data)
res = bb.siggen.find_siginfo(pn, taskname, sigs, command.cooker.databuilder.mcdata[mc])
bb.event.fire(bb.event.FindSigInfoResult(res), command.cooker.databuilder.mcdata[mc])
command.finishAsyncCommand()
findSigInfo.needcache = False

View File

@@ -1,10 +0,0 @@
#
# SPDX-License-Identifier: GPL-2.0-only
#
"""Code pulled from future python versions, here for compatibility"""
from collections import MutableMapping, KeysView, ValuesView, ItemsView, OrderedDict
from functools import total_ordering

View File

@@ -73,7 +73,9 @@ class SkippedPackage:
self.pn = info.pn
self.skipreason = info.skipreason
self.provides = info.provides
self.rprovides = info.rprovides
self.rprovides = info.packages + info.rprovides
for package in info.packages:
self.rprovides += info.rprovides_pkg[package]
elif reason:
self.skipreason = reason
@@ -148,15 +150,18 @@ class BBCooker:
Manages one bitbake build run
"""
def __init__(self, configuration, featureSet=None):
def __init__(self, featureSet=None, idleCallBackRegister=None):
self.recipecaches = None
self.eventlog = None
self.skiplist = {}
self.featureset = CookerFeatures()
if featureSet:
for f in featureSet:
self.featureset.setFeature(f)
self.configuration = configuration
self.configuration = bb.cookerdata.CookerConfiguration()
self.idleCallBackRegister = idleCallBackRegister
bb.debug(1, "BBCooker starting %s" % time.time())
sys.stdout.flush()
@@ -192,25 +197,13 @@ class BBCooker:
self.hashserv = None
self.hashservaddr = None
self.initConfigurationData()
bb.debug(1, "BBCooker parsed base configuration %s" % time.time())
sys.stdout.flush()
# we log all events to a file if so directed
if self.configuration.writeeventlog:
# register the log file writer as UI Handler
writer = EventWriter(self, self.configuration.writeeventlog)
EventLogWriteHandler = namedtuple('EventLogWriteHandler', ['event'])
bb.event.register_UIHhandler(EventLogWriteHandler(writer))
self.inotify_modified_files = []
def _process_inotify_updates(server, cooker, abort):
cooker.process_inotify_updates()
return 1.0
self.configuration.server_register_idlecallback(_process_inotify_updates, self)
self.idleCallBackRegister(_process_inotify_updates, self)
# TOSTOP must not be set or our children will hang when they output
try:
@@ -237,6 +230,13 @@ class BBCooker:
bb.debug(1, "BBCooker startup complete %s" % time.time())
sys.stdout.flush()
def init_configdata(self):
if not hasattr(self, "data"):
self.initConfigurationData()
bb.debug(1, "BBCooker parsed base configuration %s" % time.time())
sys.stdout.flush()
self.handlePRServ()
def process_inotify_updates(self):
for n in [self.confignotifier, self.notifier]:
if n.check_events(timeout=0):
@@ -322,7 +322,7 @@ class BBCooker:
for feature in features:
self.featureset.setFeature(feature)
bb.debug(1, "Features set %s (was %s)" % (original_featureset, list(self.featureset)))
if (original_featureset != list(self.featureset)) and self.state != state.error:
if (original_featureset != list(self.featureset)) and self.state != state.error and hasattr(self, "data"):
self.reset()
def initConfigurationData(self):
@@ -354,7 +354,7 @@ class BBCooker:
self.caches_array.append(getattr(module, cache_name))
except ImportError as exc:
logger.critical("Unable to import extra RecipeInfo '%s' from '%s': %s" % (cache_name, module_name, exc))
sys.exit("FATAL: Failed to import extra cache class '%s'." % cache_name)
raise bb.BBHandledException()
self.databuilder = bb.cookerdata.CookerDataBuilder(self.configuration, False)
self.databuilder.parseBaseConfiguration()
@@ -411,10 +411,7 @@ class BBCooker:
self.data.disableTracking()
def parseConfiguration(self):
# Set log file verbosity
verboselogs = bb.utils.to_boolean(self.data.getVar("BB_VERBOSE_LOGS", False))
if verboselogs:
bb.msg.loggerVerboseLogs = True
self.updateCacheSync()
# Change nice level if we're asked to
nice = self.data.getVar("BB_NICE_LEVEL")
@@ -446,27 +443,52 @@ class BBCooker:
continue
except AttributeError:
pass
logger.debug(1, "Marking as dirty due to '%s' option change to '%s'" % (o, options[o]))
logger.debug("Marking as dirty due to '%s' option change to '%s'" % (o, options[o]))
print("Marking as dirty due to '%s' option change to '%s'" % (o, options[o]))
clean = False
setattr(self.configuration, o, options[o])
if hasattr(self.configuration, o):
setattr(self.configuration, o, options[o])
if self.configuration.writeeventlog:
if self.eventlog and self.eventlog[0] != self.configuration.writeeventlog:
bb.event.unregister_UIHhandler(self.eventlog[1])
if not self.eventlog or self.eventlog[0] != self.configuration.writeeventlog:
# we log all events to a file if so directed
# register the log file writer as UI Handler
writer = EventWriter(self, self.configuration.writeeventlog)
EventLogWriteHandler = namedtuple('EventLogWriteHandler', ['event'])
self.eventlog = (self.configuration.writeeventlog, bb.event.register_UIHhandler(EventLogWriteHandler(writer)))
bb.msg.loggerDefaultLogLevel = self.configuration.default_loglevel
bb.msg.loggerDefaultDomains = self.configuration.debug_domains
if hasattr(self, "data"):
origenv = bb.data.init()
for k in environment:
origenv.setVar(k, environment[k])
self.data.setVar("BB_ORIGENV", origenv)
for k in bb.utils.approved_variables():
if k in environment and k not in self.configuration.env:
logger.debug(1, "Updating new environment variable %s to %s" % (k, environment[k]))
logger.debug("Updating new environment variable %s to %s" % (k, environment[k]))
self.configuration.env[k] = environment[k]
clean = False
if k in self.configuration.env and k not in environment:
logger.debug(1, "Updating environment variable %s (deleted)" % (k))
logger.debug("Updating environment variable %s (deleted)" % (k))
del self.configuration.env[k]
clean = False
if k not in self.configuration.env and k not in environment:
continue
if environment[k] != self.configuration.env[k]:
logger.debug(1, "Updating environment variable %s from %s to %s" % (k, self.configuration.env[k], environment[k]))
logger.debug("Updating environment variable %s from %s to %s" % (k, self.configuration.env[k], environment[k]))
self.configuration.env[k] = environment[k]
clean = False
# Now update all the variables not in the datastore to match
self.configuration.env = environment
if not clean:
logger.debug(1, "Base environment change, triggering reparse")
logger.debug("Base environment change, triggering reparse")
self.reset()
def runCommands(self, server, data, abort):
@@ -480,22 +502,30 @@ class BBCooker:
def showVersions(self):
(latest_versions, preferred_versions) = self.findProviders()
(latest_versions, preferred_versions, required) = self.findProviders()
logger.plain("%-35s %25s %25s", "Recipe Name", "Latest Version", "Preferred Version")
logger.plain("%-35s %25s %25s\n", "===========", "==============", "=================")
logger.plain("%-35s %25s %25s %25s", "Recipe Name", "Latest Version", "Preferred Version", "Required Version")
logger.plain("%-35s %25s %25s %25s\n", "===========", "==============", "=================", "================")
for p in sorted(self.recipecaches[''].pkg_pn):
pref = preferred_versions[p]
preferred = preferred_versions[p]
latest = latest_versions[p]
requiredstr = ""
preferredstr = ""
if required[p]:
if preferred[0] is not None:
requiredstr = preferred[0][0] + ":" + preferred[0][1] + '-' + preferred[0][2]
else:
bb.fatal("REQUIRED_VERSION of package %s not available" % p)
else:
preferredstr = preferred[0][0] + ":" + preferred[0][1] + '-' + preferred[0][2]
prefstr = pref[0][0] + ":" + pref[0][1] + '-' + pref[0][2]
lateststr = latest[0][0] + ":" + latest[0][1] + "-" + latest[0][2]
if pref == latest:
prefstr = ""
if preferred == latest:
preferredstr = ""
logger.plain("%-35s %25s %25s", p, lateststr, prefstr)
logger.plain("%-35s %25s %25s %25s", p, lateststr, preferredstr, requiredstr)
def showEnvironment(self, buildfile=None, pkgs_to_build=None):
"""
@@ -525,7 +555,7 @@ class BBCooker:
self.parseConfiguration()
fn, cls, mc = bb.cache.virtualfn2realfn(buildfile)
fn = self.matchFile(fn)
fn = self.matchFile(fn, mc)
fn = bb.cache.realfn2virtual(fn, cls, mc)
elif len(pkgs_to_build) == 1:
mc = mc_base(pkgs_to_build[0])
@@ -541,8 +571,8 @@ class BBCooker:
if fn:
try:
bb_cache = bb.cache.Cache(self.databuilder, self.data_hash, self.caches_array)
envdata = bb_cache.loadDataFull(fn, self.collection.get_file_appends(fn))
bb_caches = bb.cache.MulticonfigCache(self.databuilder, self.data_hash, self.caches_array)
envdata = bb_caches[mc].loadDataFull(fn, self.collections[mc].get_file_appends(fn))
except Exception as e:
parselog.exception("Unable to read %s", fn)
raise
@@ -594,7 +624,7 @@ class BBCooker:
# Replace string such as "mc:*:bash"
# into "mc:A:bash mc:B:bash bash"
for k in targetlist:
if k.startswith("mc:"):
if k.startswith("mc:") and k.count(':') >= 2:
if wildcard:
bb.fatal('multiconfig conflict')
if k.split(":")[1] == "*":
@@ -626,8 +656,9 @@ class BBCooker:
current = 0
runlist = []
for k in fulltargetlist:
origk = k
mc = ""
if k.startswith("mc:"):
if k.startswith("mc:") and k.count(':') >= 2:
mc = k.split(":")[1]
k = ":".join(k.split(":")[2:])
ktask = task
@@ -635,6 +666,10 @@ class BBCooker:
k2 = k.split(":do_")
k = k2[0]
ktask = k2[1]
if mc not in self.multiconfigs:
bb.fatal("Multiconfig dependency %s depends on nonexistent multiconfig configuration named %s" % (origk, mc))
taskdata[mc].add_provider(localdata[mc], self.recipecaches[mc], k)
current += 1
if not ktask.startswith("do_"):
@@ -670,9 +705,9 @@ class BBCooker:
l = k.split(':')
depmc = l[2]
if depmc not in self.multiconfigs:
bb.fatal("Multiconfig dependency %s depends on nonexistent mc configuration %s" % (k,depmc))
bb.fatal("Multiconfig dependency %s depends on nonexistent multiconfig configuration named configuration %s" % (k,depmc))
else:
logger.debug(1, "Adding providers for multiconfig dependency %s" % l[3])
logger.debug("Adding providers for multiconfig dependency %s" % l[3])
taskdata[depmc].add_provider(localdata[depmc], self.recipecaches[depmc], l[3])
seen.add(k)
new = True
@@ -929,26 +964,33 @@ class BBCooker:
logger.info("Task dependencies saved to 'task-depends.dot'")
def show_appends_with_no_recipes(self):
appends_without_recipes = {}
# Determine which bbappends haven't been applied
for mc in self.multiconfigs:
# First get list of recipes, including skipped
recipefns = list(self.recipecaches[mc].pkg_fn.keys())
recipefns.extend(self.skiplist.keys())
# First get list of recipes, including skipped
recipefns = list(self.recipecaches[''].pkg_fn.keys())
recipefns.extend(self.skiplist.keys())
# Work out list of bbappends that have been applied
applied_appends = []
for fn in recipefns:
applied_appends.extend(self.collections[mc].get_file_appends(fn))
# Work out list of bbappends that have been applied
applied_appends = []
for fn in recipefns:
applied_appends.extend(self.collection.get_file_appends(fn))
appends_without_recipes[mc] = []
for _, appendfn in self.collections[mc].bbappends:
if not appendfn in applied_appends:
appends_without_recipes[mc].append(appendfn)
appends_without_recipes = []
for _, appendfn in self.collection.bbappends:
if not appendfn in applied_appends:
appends_without_recipes.append(appendfn)
msgs = []
for mc in sorted(appends_without_recipes.keys()):
if appends_without_recipes[mc]:
msgs.append('No recipes in %s available for:\n %s' % (mc if mc else 'default',
'\n '.join(appends_without_recipes[mc])))
if appends_without_recipes:
msg = 'No recipes available for:\n %s' % '\n '.join(appends_without_recipes)
warn_only = self.data.getVar("BB_DANGLINGAPPENDS_WARNONLY", \
False) or "no"
if msgs:
msg = "\n".join(msgs)
warn_only = self.databuilder.mcdata[mc].getVar("BB_DANGLINGAPPENDS_WARNONLY", \
False) or "no"
if warn_only.lower() in ("1", "yes", "true"):
bb.warn(msg)
else:
@@ -1023,16 +1065,22 @@ class BBCooker:
bb.event.fire(bb.event.FilesMatchingFound(filepattern, matches), self.data)
def findProviders(self, mc=''):
return bb.providers.findProviders(self.data, self.recipecaches[mc], self.recipecaches[mc].pkg_pn)
return bb.providers.findProviders(self.databuilder.mcdata[mc], self.recipecaches[mc], self.recipecaches[mc].pkg_pn)
def findBestProvider(self, pn, mc=''):
if pn in self.recipecaches[mc].providers:
filenames = self.recipecaches[mc].providers[pn]
eligible, foundUnique = bb.providers.filterProviders(filenames, pn, self.data, self.recipecaches[mc])
filename = eligible[0]
eligible, foundUnique = bb.providers.filterProviders(filenames, pn, self.databuilder.mcdata[mc], self.recipecaches[mc])
if eligible is not None:
filename = eligible[0]
else:
filename = None
return None, None, None, filename
elif pn in self.recipecaches[mc].pkg_pn:
return bb.providers.findBestProvider(pn, self.data, self.recipecaches[mc], self.recipecaches[mc].pkg_pn)
(latest, latest_f, preferred_ver, preferred_file, required) = bb.providers.findBestProvider(pn, self.databuilder.mcdata[mc], self.recipecaches[mc], self.recipecaches[mc].pkg_pn)
if required and preferred_file is None:
return None, None, None, None
return (latest, latest_f, preferred_ver, preferred_file)
else:
return None, None, None, None
@@ -1097,7 +1145,7 @@ class BBCooker:
from bb import shell
except ImportError:
parselog.exception("Interactive mode not available")
sys.exit(1)
raise bb.BBHandledException()
else:
shell.start( self )
@@ -1249,15 +1297,15 @@ class BBCooker:
if siggen_cache:
bb.parse.siggen.checksum_cache.mtime_cache.clear()
def matchFiles(self, bf):
def matchFiles(self, bf, mc=''):
"""
Find the .bb files which match the expression in 'buildfile'.
"""
if bf.startswith("/") or bf.startswith("../"):
bf = os.path.abspath(bf)
self.collection = CookerCollectFiles(self.bbfile_config_priorities)
filelist, masked, searchdirs = self.collection.collect_bbfiles(self.data, self.data)
self.collections = {mc: CookerCollectFiles(self.bbfile_config_priorities, mc)}
filelist, masked, searchdirs = self.collections[mc].collect_bbfiles(self.databuilder.mcdata[mc], self.databuilder.mcdata[mc])
try:
os.stat(bf)
bf = os.path.abspath(bf)
@@ -1270,12 +1318,12 @@ class BBCooker:
matches.append(f)
return matches
def matchFile(self, buildfile):
def matchFile(self, buildfile, mc=''):
"""
Find the .bb file which matches the expression in 'buildfile'.
Raise an error if multiple files
"""
matches = self.matchFiles(buildfile)
matches = self.matchFiles(buildfile, mc)
if len(matches) != 1:
if matches:
msg = "Unable to match '%s' to a specific recipe file - %s matches found:" % (buildfile, len(matches))
@@ -1316,14 +1364,14 @@ class BBCooker:
task = "do_%s" % task
fn, cls, mc = bb.cache.virtualfn2realfn(buildfile)
fn = self.matchFile(fn)
fn = self.matchFile(fn, mc)
self.buildSetVars()
self.reset_mtime_caches()
bb_cache = bb.cache.Cache(self.databuilder, self.data_hash, self.caches_array)
bb_caches = bb.cache.MulticonfigCache(self.databuilder, self.data_hash, self.caches_array)
infos = bb_cache.parse(fn, self.collection.get_file_appends(fn))
infos = bb_caches[mc].parse(fn, self.collections[mc].get_file_appends(fn))
infos = dict(infos)
fn = bb.cache.realfn2virtual(fn, cls, mc)
@@ -1411,7 +1459,7 @@ class BBCooker:
return True
return retval
self.configuration.server_register_idlecallback(buildFileIdle, rq)
self.idleCallBackRegister(buildFileIdle, rq)
def buildTargets(self, targets, task):
"""
@@ -1482,7 +1530,7 @@ class BBCooker:
if 'universe' in targets:
rq.rqdata.warn_multi_bb = True
self.configuration.server_register_idlecallback(buildTargetsIdle, rq)
self.idleCallBackRegister(buildTargetsIdle, rq)
def getAllKeysWithFlags(self, flaglist):
@@ -1521,7 +1569,7 @@ class BBCooker:
self.inotify_modified_files = []
if not self.baseconfig_valid:
logger.debug(1, "Reloading base configuration data")
logger.debug("Reloading base configuration data")
self.initConfigurationData()
self.handlePRServ()
@@ -1533,6 +1581,7 @@ class BBCooker:
if self.state in (state.shutdown, state.forceshutdown, state.error):
if hasattr(self.parser, 'shutdown'):
self.parser.shutdown(clean=False, force = True)
self.parser.final_cleanup()
raise bb.BBHandledException()
if self.state != state.parsing:
@@ -1552,14 +1601,24 @@ class BBCooker:
for dep in self.configuration.extra_assume_provided:
self.recipecaches[mc].ignored_dependencies.add(dep)
self.collection = CookerCollectFiles(self.bbfile_config_priorities)
(filelist, masked, searchdirs) = self.collection.collect_bbfiles(self.data, self.data)
self.collections = {}
mcfilelist = {}
total_masked = 0
searchdirs = set()
for mc in self.multiconfigs:
self.collections[mc] = CookerCollectFiles(self.bbfile_config_priorities, mc)
(filelist, masked, search) = self.collections[mc].collect_bbfiles(self.databuilder.mcdata[mc], self.databuilder.mcdata[mc])
mcfilelist[mc] = filelist
total_masked += masked
searchdirs |= set(search)
# Add inotify watches for directories searched for bb/bbappend files
for dirent in searchdirs:
self.add_filewatch([[dirent]], dirs=True)
self.parser = CookerParser(self, filelist, masked)
self.parser = CookerParser(self, mcfilelist, total_masked)
self.parsecache_valid = True
self.state = state.parsing
@@ -1571,7 +1630,7 @@ class BBCooker:
self.show_appends_with_no_recipes()
self.handlePrefProviders()
for mc in self.multiconfigs:
self.recipecaches[mc].bbfile_priority = self.collection.collection_priorities(self.recipecaches[mc].pkg_fn, self.data)
self.recipecaches[mc].bbfile_priority = self.collections[mc].collection_priorities(self.recipecaches[mc].pkg_fn, self.parser.mcfilelist[mc], self.data)
self.state = state.running
# Send an event listing all stamps reachable after parsing
@@ -1592,7 +1651,7 @@ class BBCooker:
raise NothingToBuild
ignore = (self.data.getVar("ASSUME_PROVIDED") or "").split()
for pkg in pkgs_to_build:
for pkg in pkgs_to_build.copy():
if pkg in ignore:
parselog.warning("Explicit target \"%s\" is in ASSUME_PROVIDED, ignoring" % pkg)
if pkg.startswith("multiconfig:"):
@@ -1630,17 +1689,16 @@ class BBCooker:
return pkgs_to_build
def pre_serve(self):
# We now are in our own process so we can call this here.
# PRServ exits if its parent process exits
self.handlePRServ()
return
def post_serve(self):
self.shutdown(force=True)
prserv.serv.auto_shutdown()
if self.hashserv:
self.hashserv.process.terminate()
self.hashserv.process.join()
bb.event.fire(CookerExit(), self.data)
if hasattr(self, "data"):
bb.event.fire(CookerExit(), self.data)
def shutdown(self, force = False):
if force:
@@ -1650,6 +1708,7 @@ class BBCooker:
if self.parser:
self.parser.shutdown(clean=not force, force=force)
self.parser.final_cleanup()
def finishcommand(self):
self.state = state.initial
@@ -1663,8 +1722,11 @@ class BBCooker:
self.finishcommand()
self.extraconfigdata = {}
self.command.reset()
self.databuilder.reset()
self.data = self.databuilder.data
if hasattr(self, "data"):
self.databuilder.reset()
self.data = self.databuilder.data
self.parsecache_valid = False
self.baseconfig_valid = False
class CookerExit(bb.event.Event):
@@ -1677,21 +1739,19 @@ class CookerExit(bb.event.Event):
class CookerCollectFiles(object):
def __init__(self, priorities):
def __init__(self, priorities, mc=''):
self.mc = mc
self.bbappends = []
# Priorities is a list of tupples, with the second element as the pattern.
# We need to sort the list with the longest pattern first, and so on to
# the shortest. This allows nested layers to be properly evaluated.
self.bbfile_config_priorities = sorted(priorities, key=lambda tup: tup[1], reverse=True)
def calc_bbfile_priority( self, filename, matched = None ):
def calc_bbfile_priority(self, filename):
for _, _, regex, pri in self.bbfile_config_priorities:
if regex.match(filename):
if matched is not None:
if not regex in matched:
matched.add(regex)
return pri
return 0
return pri, regex
return 0, None
def get_bbfiles(self):
"""Get list of default .bb files by reading out the current directory"""
@@ -1721,10 +1781,10 @@ class CookerCollectFiles(object):
collectlog.debug(1, "collecting .bb files")
files = (config.getVar( "BBFILES") or "").split()
config.setVar("BBFILES", " ".join(files))
# Sort files by priority
files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem) )
files.sort( key=lambda fileitem: self.calc_bbfile_priority(fileitem)[0] )
config.setVar("BBFILES_PRIORITIZED", " ".join(files))
if not len(files):
files = self.get_bbfiles()
@@ -1844,43 +1904,67 @@ class CookerCollectFiles(object):
(bbappend, filename) = b
if (bbappend == f) or ('%' in bbappend and bbappend.startswith(f[:bbappend.index('%')])):
filelist.append(filename)
return filelist
return tuple(filelist)
def collection_priorities(self, pkgfns, d):
def collection_priorities(self, pkgfns, fns, d):
# Return the priorities of the entries in pkgfns
# Also check that all the regexes in self.bbfile_config_priorities are used
# (but to do that we need to ensure skipped recipes aren't counted, nor
# collections in BBFILE_PATTERN_IGNORE_EMPTY)
priorities = {}
seen = set()
matched = set()
matched_regex = set()
unmatched_regex = set()
for _, _, regex, _ in self.bbfile_config_priorities:
unmatched_regex.add(regex)
# Calculate priorities for each file
matched = set()
for p in pkgfns:
realfn, cls, mc = bb.cache.virtualfn2realfn(p)
priorities[p] = self.calc_bbfile_priority(realfn, matched)
priorities[p], regex = self.calc_bbfile_priority(realfn)
if regex in unmatched_regex:
matched_regex.add(regex)
unmatched_regex.remove(regex)
seen.add(realfn)
if regex:
matched.add(realfn)
unmatched = set()
for _, _, regex, pri in self.bbfile_config_priorities:
if not regex in matched:
unmatched.add(regex)
# Don't show the warning if the BBFILE_PATTERN did match .bbappend files
def find_bbappend_match(regex):
if unmatched_regex:
# Account for bbappend files
for b in self.bbappends:
(bbfile, append) = b
if regex.match(append):
# If the bbappend is matched by already "matched set", return False
for matched_regex in matched:
if matched_regex.match(append):
return False
return True
return False
seen.add(append)
for unmatch in unmatched.copy():
if find_bbappend_match(unmatch):
unmatched.remove(unmatch)
# Account for skipped recipes
seen.update(fns)
seen.difference_update(matched)
def already_matched(fn):
for regex in matched_regex:
if regex.match(fn):
return True
return False
for unmatch in unmatched_regex.copy():
for fn in seen:
if unmatch.match(fn):
# If the bbappend or file was already matched by another regex, skip it
# e.g. for a layer within a layer, the outer regex could match, the inner
# regex may match nothing and we should warn about that
if already_matched(fn):
continue
unmatched_regex.remove(unmatch)
break
for collection, pattern, regex, _ in self.bbfile_config_priorities:
if regex in unmatched:
if regex in unmatched_regex:
if d.getVar('BBFILE_PATTERN_IGNORE_EMPTY_%s' % collection) != '1':
collectlog.warning("No bb files matched BBFILE_PATTERN_%s '%s'" % (collection, pattern))
collectlog.warning("No bb files in %s matched BBFILE_PATTERN_%s '%s'" % (self.mc if self.mc else 'default',
collection, pattern))
return priorities
@@ -1929,7 +2013,8 @@ class Parser(multiprocessing.Process):
except queue.Empty:
pass
else:
self.results.cancel_join_thread()
self.results.close()
self.results.join_thread()
break
if pending:
@@ -1938,6 +2023,8 @@ class Parser(multiprocessing.Process):
try:
job = self.jobs.pop()
except IndexError:
self.results.close()
self.results.join_thread()
break
result = self.parse(*job)
# Clear the siggen cache after parsing to control memory usage, its huge
@@ -1947,7 +2034,7 @@ class Parser(multiprocessing.Process):
except queue.Full:
pending.append(result)
def parse(self, filename, appends):
def parse(self, mc, cache, filename, appends):
try:
origfilter = bb.event.LogHandler.filter
# Record the filename we're parsing into any events generated
@@ -1961,7 +2048,7 @@ class Parser(multiprocessing.Process):
bb.event.set_class_handlers(self.handlers.copy())
bb.event.LogHandler.filter = parse_filter
return True, self.bb_cache.parse(filename, appends)
return True, mc, cache.parse(filename, appends)
except Exception as exc:
tb = sys.exc_info()[2]
exc.recipe = filename
@@ -1976,8 +2063,8 @@ class Parser(multiprocessing.Process):
bb.event.LogHandler.filter = origfilter
class CookerParser(object):
def __init__(self, cooker, filelist, masked):
self.filelist = filelist
def __init__(self, cooker, mcfilelist, masked):
self.mcfilelist = mcfilelist
self.cooker = cooker
self.cfgdata = cooker.data
self.cfghash = cooker.data_hash
@@ -1991,28 +2078,31 @@ class CookerParser(object):
self.skipped = 0
self.virtuals = 0
self.total = len(filelist)
self.current = 0
self.process_names = []
self.bb_cache = bb.cache.Cache(self.cfgbuilder, self.cfghash, cooker.caches_array)
self.fromcache = []
self.willparse = []
for filename in self.filelist:
appends = self.cooker.collection.get_file_appends(filename)
if not self.bb_cache.cacheValid(filename, appends):
self.willparse.append((filename, appends))
else:
self.fromcache.append((filename, appends))
self.toparse = self.total - len(self.fromcache)
self.bb_caches = bb.cache.MulticonfigCache(self.cfgbuilder, self.cfghash, cooker.caches_array)
self.fromcache = set()
self.willparse = set()
for mc in self.cooker.multiconfigs:
for filename in self.mcfilelist[mc]:
appends = self.cooker.collections[mc].get_file_appends(filename)
if not self.bb_caches[mc].cacheValid(filename, appends):
self.willparse.add((mc, self.bb_caches[mc], filename, appends))
else:
self.fromcache.add((mc, self.bb_caches[mc], filename, appends))
self.total = len(self.fromcache) + len(self.willparse)
self.toparse = len(self.willparse)
self.progress_chunk = int(max(self.toparse / 100, 1))
self.num_processes = min(int(self.cfgdata.getVar("BB_NUMBER_PARSE_THREADS") or
multiprocessing.cpu_count()), len(self.willparse))
multiprocessing.cpu_count()), self.toparse)
self.start()
self.haveshutdown = False
self.syncthread = None
def start(self):
self.results = self.load_cached()
@@ -2020,7 +2110,9 @@ class CookerParser(object):
if self.toparse:
bb.event.fire(bb.event.ParseStarted(self.toparse), self.cfgdata)
def init():
Parser.bb_cache = self.bb_cache
signal.signal(signal.SIGTERM, signal.SIG_DFL)
signal.signal(signal.SIGHUP, signal.SIG_DFL)
signal.signal(signal.SIGINT, signal.SIG_IGN)
bb.utils.set_process_name(multiprocessing.current_process().name)
multiprocessing.util.Finalize(None, bb.codeparser.parser_cache_save, exitpriority=1)
multiprocessing.util.Finalize(None, bb.fetch.fetcher_parse_save, exitpriority=1)
@@ -2030,7 +2122,7 @@ class CookerParser(object):
def chunkify(lst,n):
return [lst[i::n] for i in range(n)]
self.jobs = chunkify(self.willparse, self.num_processes)
self.jobs = chunkify(list(self.willparse), self.num_processes)
for i in range(0, self.num_processes):
parser = Parser(self.jobs[i], self.result_queue, self.parser_quit, init, self.cooker.configuration.profile)
@@ -2054,12 +2146,9 @@ class CookerParser(object):
self.total)
bb.event.fire(event, self.cfgdata)
for process in self.processes:
self.parser_quit.put(None)
else:
self.parser_quit.cancel_join_thread()
for process in self.processes:
self.parser_quit.put(None)
for process in self.processes:
self.parser_quit.put(None)
# Cleanup the queue before call process.join(), otherwise there might be
# deadlocks.
@@ -2076,9 +2165,17 @@ class CookerParser(object):
else:
process.join()
sync = threading.Thread(target=self.bb_cache.sync)
self.parser_quit.close()
# Allow data left in the cancel queue to be discarded
self.parser_quit.cancel_join_thread()
def sync_caches():
for c in self.bb_caches.values():
c.sync()
sync = threading.Thread(target=sync_caches, name="SyncThread")
self.syncthread = sync
sync.start()
multiprocessing.util.Finalize(None, sync.join, exitpriority=-100)
bb.codeparser.parser_cache_savemerge()
bb.fetch.fetcher_parse_done()
if self.cooker.configuration.profile:
@@ -2092,10 +2189,14 @@ class CookerParser(object):
bb.utils.process_profilelog(profiles, pout = pout)
print("Processed parsing statistics saved to %s" % (pout))
def final_cleanup(self):
if self.syncthread:
self.syncthread.join()
def load_cached(self):
for filename, appends in self.fromcache:
cached, infos = self.bb_cache.load(filename, appends)
yield not cached, infos
for mc, cache, filename, appends in self.fromcache:
cached, infos = cache.load(filename, appends)
yield not cached, mc, infos
def parse_generator(self):
while True:
@@ -2117,25 +2218,25 @@ class CookerParser(object):
result = []
parsed = None
try:
parsed, result = next(self.results)
parsed, mc, result = next(self.results)
except StopIteration:
self.shutdown()
return False
except bb.BBHandledException as exc:
self.error += 1
logger.error('Failed to parse recipe: %s' % exc.recipe)
self.shutdown(clean=False)
self.shutdown(clean=False, force=True)
return False
except ParsingFailure as exc:
self.error += 1
logger.error('Unable to parse %s: %s' %
(exc.recipe, bb.exceptions.to_string(exc.realexception)))
self.shutdown(clean=False)
self.shutdown(clean=False, force=True)
return False
except bb.parse.ParseError as exc:
self.error += 1
logger.error(str(exc))
self.shutdown(clean=False)
self.shutdown(clean=False, force=True)
return False
except bb.data_smart.ExpansionError as exc:
self.error += 1
@@ -2144,7 +2245,7 @@ class CookerParser(object):
tb = list(itertools.dropwhile(lambda e: e.filename.startswith(bbdir), exc.traceback))
logger.error('ExpansionError during parsing %s', value.recipe,
exc_info=(etype, value, tb))
self.shutdown(clean=False)
self.shutdown(clean=False, force=True)
return False
except Exception as exc:
self.error += 1
@@ -2156,7 +2257,7 @@ class CookerParser(object):
# Most likely, an exception occurred during raising an exception
import traceback
logger.error('Exception during parse: %s' % traceback.format_exc())
self.shutdown(clean=False)
self.shutdown(clean=False, force=True)
return False
self.current += 1
@@ -2173,13 +2274,16 @@ class CookerParser(object):
if info_array[0].skipped:
self.skipped += 1
self.cooker.skiplist[virtualfn] = SkippedPackage(info_array[0])
(fn, cls, mc) = bb.cache.virtualfn2realfn(virtualfn)
self.bb_cache.add_info(virtualfn, info_array, self.cooker.recipecaches[mc],
self.bb_caches[mc].add_info(virtualfn, info_array, self.cooker.recipecaches[mc],
parsed=parsed, watcher = self.cooker.add_filewatch)
return True
def reparse(self, filename):
infos = self.bb_cache.parse(filename, self.cooker.collection.get_file_appends(filename))
for vfn, info_array in infos:
(fn, cls, mc) = bb.cache.virtualfn2realfn(vfn)
self.cooker.recipecaches[mc].add_from_recipeinfo(vfn, info_array)
to_reparse = set()
for mc in self.cooker.multiconfigs:
to_reparse.add((mc, filename, self.cooker.collections[mc].get_file_appends(filename)))
for mc, filename, appends in to_reparse:
infos = self.bb_caches[mc].parse(filename, appends)
for vfn, info_array in infos:
self.cooker.recipecaches[mc].add_from_recipeinfo(vfn, info_array)

View File

@@ -23,8 +23,8 @@ logger = logging.getLogger("BitBake")
parselog = logging.getLogger("BitBake.Parsing")
class ConfigParameters(object):
def __init__(self, argv=sys.argv):
self.options, targets = self.parseCommandLine(argv)
def __init__(self, argv=None):
self.options, targets = self.parseCommandLine(argv or sys.argv)
self.environment = self.parseEnvironment()
self.options.pkgs_to_build = targets or []
@@ -58,11 +58,18 @@ class ConfigParameters(object):
def updateToServer(self, server, environment):
options = {}
for o in ["abort", "force", "invalidate_stamp",
"verbose", "debug", "dry_run", "dump_signatures",
"debug_domains", "extra_assume_provided", "profile",
"prefile", "postfile", "server_timeout"]:
"dry_run", "dump_signatures",
"extra_assume_provided", "profile",
"prefile", "postfile", "server_timeout",
"nosetscene", "setsceneonly", "skipsetscene",
"runall", "runonly", "writeeventlog"]:
options[o] = getattr(self.options, o)
options['build_verbose_shell'] = self.options.verbose
options['build_verbose_stdout'] = self.options.verbose
options['default_loglevel'] = bb.msg.loggerDefaultLogLevel
options['debug_domains'] = bb.msg.loggerDefaultDomains
ret, error = server.runCommand(["updateConfig", options, environment, sys.argv])
if error:
raise Exception("Unable to update the server configuration with local parameters: %s" % error)
@@ -111,11 +118,11 @@ class CookerConfiguration(object):
"""
def __init__(self):
self.debug_domains = []
self.debug_domains = bb.msg.loggerDefaultDomains
self.default_loglevel = bb.msg.loggerDefaultLogLevel
self.extra_assume_provided = []
self.prefile = []
self.postfile = []
self.debug = 0
self.cmd = None
self.abort = True
self.force = False
@@ -125,34 +132,21 @@ class CookerConfiguration(object):
self.skipsetscene = False
self.invalidate_stamp = False
self.dump_signatures = []
self.build_verbose_shell = False
self.build_verbose_stdout = False
self.dry_run = False
self.tracking = False
self.xmlrpcinterface = []
self.server_timeout = None
self.writeeventlog = False
self.server_only = False
self.limited_deps = False
self.runall = []
self.runonly = []
self.env = {}
def setConfigParameters(self, parameters):
for key in self.__dict__.keys():
if key in parameters.options.__dict__:
setattr(self, key, parameters.options.__dict__[key])
self.env = parameters.environment.copy()
def setServerRegIdleCallback(self, srcb):
self.server_register_idlecallback = srcb
def __getstate__(self):
state = {}
for key in self.__dict__.keys():
if key == "server_register_idlecallback":
state[key] = None
else:
state[key] = getattr(self, key)
state[key] = getattr(self, key)
return state
def __setstate__(self,state):
@@ -170,7 +164,7 @@ def catch_parse_error(func):
import traceback
parselog.critical(traceback.format_exc())
parselog.critical("Unable to parse %s: %s" % (fn, exc))
sys.exit(1)
raise bb.BBHandledException()
except bb.data_smart.ExpansionError as exc:
import traceback
@@ -182,10 +176,10 @@ def catch_parse_error(func):
if not fn.startswith(bbdir):
break
parselog.critical("Unable to parse %s" % fn, exc_info=(exc_class, exc, tb))
sys.exit(1)
raise bb.BBHandledException()
except bb.parse.ParseError as exc:
parselog.critical(str(exc))
sys.exit(1)
raise bb.BBHandledException()
return wrapped
@catch_parse_error
@@ -215,7 +209,7 @@ def findConfigFile(configfile, data):
return None
#
# We search for a conf/bblayers.conf under an entry in BBPATH or in cwd working
# We search for a conf/bblayers.conf under an entry in BBPATH or in cwd working
# up to /. If that fails, we search for a conf/bitbake.conf in BBPATH.
#
@@ -306,13 +300,13 @@ class CookerDataBuilder(object):
self.data_hash = data_hash.hexdigest()
except (SyntaxError, bb.BBHandledException):
raise bb.BBHandledException
raise bb.BBHandledException()
except bb.data_smart.ExpansionError as e:
logger.error(str(e))
raise bb.BBHandledException
raise bb.BBHandledException()
except Exception:
logger.exception("Error parsing configuration files")
raise bb.BBHandledException
raise bb.BBHandledException()
# Create a copy so we can reset at a later date when UIs disconnect
self.origdata = self.data
@@ -361,7 +355,7 @@ class CookerDataBuilder(object):
for layer in broken_layers:
parselog.critical(" %s", layer)
parselog.critical("Please check BBLAYERS in %s" % (layerconf))
sys.exit(1)
raise bb.BBHandledException()
for layer in layers:
parselog.debug(2, "Adding layer %s", layer)
@@ -387,10 +381,13 @@ class CookerDataBuilder(object):
invalid.append(entry)
continue
l, f = parts
if l in collections:
invert = l[0] == "!"
if invert:
l = l[1:]
if (l in collections and not invert) or (l not in collections and invert):
data.appendVar("BBFILES", " " + f)
if invalid:
bb.fatal("BBFILES_DYNAMIC entries must be of the form <collection name>:<filename pattern>, not:\n %s" % "\n ".join(invalid))
bb.fatal("BBFILES_DYNAMIC entries must be of the form {!}<collection name>:<filename pattern>, not:\n %s" % "\n ".join(invalid))
layerseries = set((data.getVar("LAYERSERIES_CORENAMES") or "").split())
collections_tmp = collections[:]
@@ -430,9 +427,9 @@ class CookerDataBuilder(object):
handlerfn = data.getVarFlag(var, "filename", False)
if not handlerfn:
parselog.critical("Undefined event handler function '%s'" % var)
sys.exit(1)
raise bb.BBHandledException()
handlerln = int(data.getVarFlag(var, "lineno", False))
bb.event.register(var, data.getVar(var, False), (data.getVarFlag(var, "eventmask") or "").split(), handlerfn, handlerln)
bb.event.register(var, data.getVar(var, False), (data.getVarFlag(var, "eventmask") or "").split(), handlerfn, handlerln, data)
data.setVar('BBINCLUDED',bb.parse.get_file_depends(data))

View File

@@ -14,6 +14,8 @@ import sys
import io
import traceback
import bb
def createDaemon(function, logfile):
"""
Detach a process from the controlling terminal and run it in the

View File

@@ -161,6 +161,12 @@ def emit_var(var, o=sys.__stdout__, d = init(), all=False):
return True
if func:
# Write a comment indicating where the shell function came from (line number and filename) to make it easier
# for the user to diagnose task failures. This comment is also used by build.py to determine the metadata
# location of shell functions.
o.write("# line: {0}, file: {1}\n".format(
d.getVarFlag(var, "lineno", False),
d.getVarFlag(var, "filename", False)))
# NOTE: should probably check for unbalanced {} within the var
val = val.rstrip('\n')
o.write("%s() {\n%s\n}\n" % (varExpanded, val))
@@ -365,7 +371,7 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
#bb.note("Variable %s references %s and calls %s" % (key, str(deps), str(execs)))
#d.setVarFlag(key, "vardeps", deps)
def generate_dependencies(d):
def generate_dependencies(d, whitelist):
keys = set(key for key in d if not key.startswith("__"))
shelldeps = set(key for key in d.getVar("__exportlist", False) if d.getVarFlag(key, "export", False) and not d.getVarFlag(key, "unexport", False))
@@ -380,7 +386,7 @@ def generate_dependencies(d):
newdeps = deps[task]
seen = set()
while newdeps:
nextdeps = newdeps
nextdeps = newdeps - whitelist
seen |= nextdeps
newdeps = set()
for dep in nextdeps:

View File

@@ -107,10 +107,6 @@ class VariableParse:
else:
code = match.group()[3:-1]
if "_remote_data" in self.d:
connector = self.d["_remote_data"]
return connector.expandPythonRef(self.varname, code, self.d)
if self.varname:
varname = 'Var <%s>' % self.varname
else:
@@ -193,7 +189,7 @@ class IncludeHistory(object):
if self.current.parent:
self.current = self.current.parent
else:
bb.warn("Include log: Tried to finish '%s' at top level." % filename)
bb.warn("Include log: Tried to finish '%s' at top level." % self.filename)
return False
def emit(self, o, level = 0):
@@ -268,12 +264,7 @@ class VariableHistory(object):
self.variables[newvar].append(i.copy())
def variable(self, var):
remote_connector = self.dataroot.getVar('_remote_data', False)
if remote_connector:
varhistory = remote_connector.getVarHistory(var)
else:
varhistory = []
varhistory = []
if var in self.variables:
varhistory.extend(self.variables[var])
return varhistory
@@ -338,11 +329,12 @@ class VariableHistory(object):
lines.append(line)
return lines
def get_variable_items_files(self, var, d):
def get_variable_items_files(self, var):
"""
Use variable history to map items added to a list variable and
the files in which they were added.
"""
d = self.dataroot
history = self.variable(var)
finalitems = (d.getVar(var) or '').split()
filemap = {}
@@ -470,10 +462,6 @@ class DataSmart(MutableMapping):
if var in dest:
return dest[var], self.overridedata.get(var, None)
if "_remote_data" in dest:
connector = dest["_remote_data"]["_content"]
return connector.getVar(var)
if "_data" not in dest:
break
dest = dest["_data"]
@@ -498,12 +486,6 @@ class DataSmart(MutableMapping):
if 'parsing' in loginfo:
parsing=True
if '_remote_data' in self.dict:
connector = self.dict["_remote_data"]["_content"]
res = connector.setVar(var, value)
if not res:
return
if 'op' not in loginfo:
loginfo['op'] = "set"
@@ -611,12 +593,6 @@ class DataSmart(MutableMapping):
bb.warn("Calling renameVar with equivalent keys (%s) is invalid" % key)
return
if '_remote_data' in self.dict:
connector = self.dict["_remote_data"]["_content"]
res = connector.renameVar(key, newkey)
if not res:
return
val = self.getVar(key, 0, parsing=True)
if val is not None:
self.varhistory.rename_variable_hist(key, newkey)
@@ -662,11 +638,6 @@ class DataSmart(MutableMapping):
def delVar(self, var, **loginfo):
self.expand_cache = {}
if '_remote_data' in self.dict:
connector = self.dict["_remote_data"]["_content"]
res = connector.delVar(var)
if not res:
return
loginfo['detail'] = ""
loginfo['op'] = 'del'
@@ -694,11 +665,6 @@ class DataSmart(MutableMapping):
def setVarFlag(self, var, flag, value, **loginfo):
self.expand_cache = {}
if '_remote_data' in self.dict:
connector = self.dict["_remote_data"]["_content"]
res = connector.setVarFlag(var, flag, value)
if not res:
return
if 'op' not in loginfo:
loginfo['op'] = "set"
@@ -849,11 +815,6 @@ class DataSmart(MutableMapping):
def delVarFlag(self, var, flag, **loginfo):
self.expand_cache = {}
if '_remote_data' in self.dict:
connector = self.dict["_remote_data"]["_content"]
res = connector.delVarFlag(var, flag)
if not res:
return
local_var, _ = self._findVar(var)
if not local_var:
@@ -971,7 +932,7 @@ class DataSmart(MutableMapping):
def localkeys(self):
for key in self.dict:
if key not in ['_data', '_remote_data']:
if key not in ['_data']:
yield key
def __iter__(self):
@@ -980,7 +941,7 @@ class DataSmart(MutableMapping):
def keylist(d):
klist = set()
for key in d:
if key in ["_data", "_remote_data"]:
if key in ["_data"]:
continue
if key in deleted:
continue
@@ -994,13 +955,6 @@ class DataSmart(MutableMapping):
if "_data" in d:
klist |= keylist(d["_data"])
if "_remote_data" in d:
connector = d["_remote_data"]["_content"]
for key in connector.getKeys():
if key in deleted:
continue
klist.add(key)
return klist
self.need_overrides()
@@ -1046,9 +1000,12 @@ class DataSmart(MutableMapping):
continue
value = d.getVar(key, False) or ""
data.update({key:value})
if type(value) is type(self):
data.update({key:value.get_hash()})
else:
data.update({key:value})
varflags = d.getVarFlags(key, internalflags = True)
varflags = d.getVarFlags(key, internalflags = True, expand=["vardepvalue"])
if not varflags:
continue
for f in varflags:

View File

@@ -10,17 +10,17 @@ BitBake build tools.
# SPDX-License-Identifier: GPL-2.0-only
#
import sys
import pickle
import logging
import atexit
import traceback
import ast
import atexit
import collections
import logging
import pickle
import sys
import threading
import traceback
import bb.utils
import bb.compat
import bb.exceptions
import bb.utils
# This is the pid for which we should generate the event. This is set when
# the runqueue forks off.
@@ -56,7 +56,7 @@ def set_class_handlers(h):
_handlers = h
def clean_class_handlers():
return bb.compat.OrderedDict()
return collections.OrderedDict()
# Internal
_handlers = clean_class_handlers()
@@ -118,6 +118,8 @@ def fire_class_handlers(event, d):
if _eventfilter:
if not _eventfilter(name, handler, event, d):
continue
if d is not None and not name in (d.getVar("__BBHANDLERS_MC") or set()):
continue
execute_handler(name, handler, event, d)
ui_queue = []
@@ -227,11 +229,19 @@ def fire_from_worker(event, d):
fire_ui_handlers(event, d)
noop = lambda _: None
def register(name, handler, mask=None, filename=None, lineno=None):
def register(name, handler, mask=None, filename=None, lineno=None, data=None):
"""Register an Event handler"""
if data is not None and data.getVar("BB_CURRENT_MC"):
mc = data.getVar("BB_CURRENT_MC")
name = '%s%s' % (mc.replace('-', '_'), name)
# already registered
if name in _handlers:
if data is not None:
bbhands_mc = (data.getVar("__BBHANDLERS_MC") or set())
bbhands_mc.add(name)
data.setVar("__BBHANDLERS_MC", bbhands_mc)
return AlreadyRegistered
if handler is not None:
@@ -268,10 +278,20 @@ def register(name, handler, mask=None, filename=None, lineno=None):
_event_handler_map[m] = {}
_event_handler_map[m][name] = True
if data is not None:
bbhands_mc = (data.getVar("__BBHANDLERS_MC") or set())
bbhands_mc.add(name)
data.setVar("__BBHANDLERS_MC", bbhands_mc)
return Registered
def remove(name, handler):
def remove(name, handler, data=None):
"""Remove an Event handler"""
if data is not None:
if data.getVar("BB_CURRENT_MC"):
mc = data.getVar("BB_CURRENT_MC")
name = '%s%s' % (mc.replace('-', '_'), name)
_handlers.pop(name)
if name in _catchall_handlers:
_catchall_handlers.pop(name)
@@ -279,6 +299,12 @@ def remove(name, handler):
if name in _event_handler_map[event]:
_event_handler_map[event].pop(name)
if data is not None:
bbhands_mc = (data.getVar("__BBHANDLERS_MC") or set())
if name in bbhands_mc:
bbhands_mc.remove(name)
data.setVar("__BBHANDLERS_MC", bbhands_mc)
def get_handlers():
return _handlers
@@ -389,6 +415,10 @@ class RecipeEvent(Event):
class RecipePreFinalise(RecipeEvent):
""" Recipe Parsing Complete but not yet finalised"""
class RecipePostKeyExpansion(RecipeEvent):
""" Recipe Parsing Complete but not yet finalised"""
class RecipeTaskPreProcess(RecipeEvent):
"""
Recipe Tasks about to be finalised
@@ -640,6 +670,17 @@ class ReachableStamps(Event):
Event.__init__(self)
self.stamps = stamps
class StaleSetSceneTasks(Event):
"""
An event listing setscene tasks which are 'stale' and will
be rerun. The metadata may use to clean up stale data.
tasks is a mapping of tasks and matching stale stamps.
"""
def __init__(self, tasks):
Event.__init__(self)
self.tasks = tasks
class FilesMatchingFound(Event):
"""
Event when a list of files matching the supplied pattern has

View File

@@ -34,6 +34,7 @@ _checksum_cache = bb.checksum.FileChecksumCache()
logger = logging.getLogger("BitBake.Fetcher")
CHECKSUM_LIST = [ "md5", "sha256", "sha1", "sha384", "sha512" ]
SHOWN_CHECKSUM_LIST = ["sha256"]
class BBFetchException(Exception):
"""Class all fetch exceptions inherit from"""
@@ -289,7 +290,7 @@ class URI(object):
def _param_str_split(self, string, elmdelim, kvdelim="="):
ret = collections.OrderedDict()
for k, v in [x.split(kvdelim, 1) for x in string.split(elmdelim)]:
for k, v in [x.split(kvdelim, 1) for x in string.split(elmdelim) if x]:
ret[k] = v
return ret
@@ -427,7 +428,7 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
uri_decoded = list(decodeurl(ud.url))
uri_find_decoded = list(decodeurl(uri_find))
uri_replace_decoded = list(decodeurl(uri_replace))
logger.debug(2, "For url %s comparing %s to %s" % (uri_decoded, uri_find_decoded, uri_replace_decoded))
logger.debug2("For url %s comparing %s to %s" % (uri_decoded, uri_find_decoded, uri_replace_decoded))
result_decoded = ['', '', '', '', '', {}]
for loc, i in enumerate(uri_find_decoded):
result_decoded[loc] = uri_decoded[loc]
@@ -473,7 +474,7 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
result = encodeurl(result_decoded)
if result == ud.url:
return None
logger.debug(2, "For url %s returning %s" % (ud.url, result))
logger.debug2("For url %s returning %s" % (ud.url, result))
return result
methods = []
@@ -498,14 +499,9 @@ def fetcher_init(d):
# When to drop SCM head revisions controlled by user policy
srcrev_policy = d.getVar('BB_SRCREV_POLICY') or "clear"
if srcrev_policy == "cache":
logger.debug(1, "Keeping SRCREV cache due to cache policy of: %s", srcrev_policy)
# We still need to remove keys that are marked with "dontcache".
for key in list(revs.keys()):
if key.startswith("dontcache-"):
logger.debug(1, "Removing SRCREV key: %s" % key)
revs.pop(key)
logger.debug("Keeping SRCREV cache due to cache policy of: %s", srcrev_policy)
elif srcrev_policy == "clear":
logger.debug(1, "Clearing SRCREV cache due to cache policy of: %s", srcrev_policy)
logger.debug("Clearing SRCREV cache due to cache policy of: %s", srcrev_policy)
revs.clear()
else:
raise FetchError("Invalid SRCREV cache policy of: %s" % srcrev_policy)
@@ -580,7 +576,9 @@ def verify_checksum(ud, d, precomputed={}):
checksum_dict = {ci["id"] : ci["data"] for ci in checksum_infos}
checksum_event = {"%ssum" % ci["id"] : ci["data"] for ci in checksum_infos}
checksum_lines = ["SRC_URI[%s] = \"%s\"" % (ci["name"], ci["data"]) for ci in checksum_infos]
for ci in checksum_infos:
if ci["id"] in SHOWN_CHECKSUM_LIST:
checksum_lines = ["SRC_URI[%s] = \"%s\"" % (ci["name"], ci["data"])]
# If no checksum has been provided
if ud.method.recommends_checksum(ud) and all(ci["expected"] is None for ci in checksum_infos):
@@ -734,8 +732,9 @@ def subprocess_setup():
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
def get_autorev(d):
# Do not cache the srcrev in the autorev case
d.setVar('BB_DONT_CACHE', '1')
# only not cache src rev in autorev case
if d.getVar('BB_SRCREV_POLICY') != "cache":
d.setVar('BB_DONT_CACHE', '1')
return "AUTOINC"
def get_srcrev(d, method_name='sortable_revision'):
@@ -854,18 +853,13 @@ def runfetchcmd(cmd, d, quiet=False, cleanup=None, log=None, workdir=None):
if val:
cmd = 'export ' + var + '=\"%s\"; %s' % (val, cmd)
# Ensure that a _PYTHON_SYSCONFIGDATA_NAME value set by a recipe
# (for example via python3native.bbclass since warrior) is not set for
# host Python (otherwise tools like git-make-shallow will fail)
cmd = 'unset _PYTHON_SYSCONFIGDATA_NAME; ' + cmd
# Disable pseudo as it may affect ssh, potentially causing it to hang.
cmd = 'export PSEUDO_DISABLED=1; ' + cmd
if workdir:
logger.debug(1, "Running '%s' in %s" % (cmd, workdir))
logger.debug("Running '%s' in %s" % (cmd, workdir))
else:
logger.debug(1, "Running %s", cmd)
logger.debug("Running %s", cmd)
success = False
error_message = ""
@@ -906,7 +900,7 @@ def check_network_access(d, info, url):
elif not trusted_network(d, url):
raise UntrustedUrl(url, info)
else:
logger.debug(1, "Fetcher accessed the network with the command %s" % info)
logger.debug("Fetcher accessed the network with the command %s" % info)
def build_mirroruris(origud, mirrors, ld):
uris = []
@@ -932,7 +926,7 @@ def build_mirroruris(origud, mirrors, ld):
continue
if not trusted_network(ld, newuri):
logger.debug(1, "Mirror %s not in the list of trusted networks, skipping" % (newuri))
logger.debug("Mirror %s not in the list of trusted networks, skipping" % (newuri))
continue
# Create a local copy of the mirrors minus the current line
@@ -945,8 +939,8 @@ def build_mirroruris(origud, mirrors, ld):
newud = FetchData(newuri, ld)
newud.setup_localpath(ld)
except bb.fetch2.BBFetchException as e:
logger.debug(1, "Mirror fetch failure for url %s (original url: %s)" % (newuri, origud.url))
logger.debug(1, str(e))
logger.debug("Mirror fetch failure for url %s (original url: %s)" % (newuri, origud.url))
logger.debug(str(e))
try:
# setup_localpath of file:// urls may fail, we should still see
# if mirrors of the url exist
@@ -1049,8 +1043,8 @@ def try_mirror_url(fetch, origud, ud, ld, check = False):
elif isinstance(e, NoChecksumError):
raise
else:
logger.debug(1, "Mirror fetch failure for url %s (original url: %s)" % (ud.url, origud.url))
logger.debug(1, str(e))
logger.debug("Mirror fetch failure for url %s (original url: %s)" % (ud.url, origud.url))
logger.debug(str(e))
try:
ud.method.clean(ud, ld)
except UnboundLocalError:
@@ -1196,8 +1190,6 @@ def get_checksum_file_list(d):
paths = ud.method.localpaths(ud, d)
for f in paths:
pth = ud.decodedurl
if '*' in pth:
f = os.path.join(os.path.abspath(f), pth)
if f.startswith(dl_dir):
# The local fetcher's behaviour is to return a path under DL_DIR if it couldn't find the file anywhere else
if os.path.exists(f):
@@ -1251,7 +1243,7 @@ class FetchData(object):
if checksum_name in self.parm:
checksum_expected = self.parm[checksum_name]
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3"]:
elif self.type not in ["http", "https", "ftp", "ftps", "sftp", "s3", "az"]:
checksum_expected = None
else:
checksum_expected = d.getVarFlag("SRC_URI", checksum_name)
@@ -1366,9 +1358,6 @@ class FetchMethod(object):
# We cannot compute checksums for directories
if os.path.isdir(urldata.localpath):
return False
if urldata.localpath.find("*") != -1:
return False
return True
def recommends_checksum(self, urldata):
@@ -1431,11 +1420,6 @@ class FetchMethod(object):
iterate = False
file = urldata.localpath
# Localpath can't deal with 'dir/*' entries, so it converts them to '.',
# but it must be corrected back for local files copying
if urldata.basename == '*' and file.endswith('/.'):
file = '%s/%s' % (file.rstrip('/.'), urldata.path)
try:
unpack = bb.utils.to_boolean(urldata.parm.get('unpack'), True)
except ValueError as exc:
@@ -1472,6 +1456,10 @@ class FetchMethod(object):
cmd = '7z x -so %s | tar x --no-same-owner -f -' % file
elif file.endswith('.7z'):
cmd = '7za x -y %s 1>/dev/null' % file
elif file.endswith('.tzst') or file.endswith('.tar.zst'):
cmd = 'zstd --decompress --stdout %s | tar x --no-same-owner -f -' % file
elif file.endswith('.zst'):
cmd = 'zstd --decompress --stdout %s > %s' % (file, efile)
elif file.endswith('.zip') or file.endswith('.jar'):
try:
dos = bb.utils.to_boolean(urldata.parm.get('dos'), False)
@@ -1531,7 +1519,7 @@ class FetchMethod(object):
if urlpath.find("/") != -1:
destdir = urlpath.rsplit("/", 1)[0] + '/'
bb.utils.mkdirhier("%s/%s" % (unpackdir, destdir))
cmd = 'cp -fpPRH %s %s' % (file, destdir)
cmd = 'cp -fpPRH "%s" "%s"' % (file, destdir)
if not cmd:
return
@@ -1598,13 +1586,7 @@ class FetchMethod(object):
return True, str(latest_rev)
def generate_revision_key(self, ud, d, name):
key = self._revision_key(ud, d, name)
if d.getVar('BB_DONT_CACHE'):
# Mark the key so it can be removed on the next bitbake run even if
# BB_SRCREV_POLICY is "cache".
return "dontcache-%s" % key
else:
return key
return self._revision_key(ud, d, name)
def latest_versionstring(self, ud, d):
"""
@@ -1620,10 +1602,15 @@ class FetchMethod(object):
"""
if os.path.exists(ud.localpath):
return True
if ud.localpath.find("*") != -1:
return True
return False
def implicit_urldata(self, ud, d):
"""
Get a list of FetchData objects for any implicit URLs that will also
be downloaded when we fetch the given URL.
"""
return []
class Fetch(object):
def __init__(self, urls, d, cache = True, localonly = False, connection_cache = None):
if localonly and cache:
@@ -1638,8 +1625,11 @@ class Fetch(object):
fn = d.getVar('FILE')
mc = d.getVar('__BBMULTICONFIG') or ""
if cache and fn and mc + fn in urldata_cache:
self.ud = urldata_cache[mc + fn + str(id(d))]
key = None
if cache and fn:
key = mc + fn + str(id(d))
if key in urldata_cache:
self.ud = urldata_cache[key]
for url in urls:
if url not in self.ud:
@@ -1650,8 +1640,8 @@ class Fetch(object):
self.ud[url] = None
pass
if fn and cache:
urldata_cache[mc + fn + str(id(d))] = self.ud
if key:
urldata_cache[key] = self.ud
def localpath(self, url):
if url not in self.urls:
@@ -1698,7 +1688,7 @@ class Fetch(object):
if m.verify_donestamp(ud, self.d) and not m.need_update(ud, self.d):
done = True
elif m.try_premirror(ud, self.d):
logger.debug(1, "Trying PREMIRRORS")
logger.debug("Trying PREMIRRORS")
mirrors = mirror_from_string(self.d.getVar('PREMIRRORS'))
done = m.try_mirrors(self, ud, self.d, mirrors)
if done:
@@ -1708,7 +1698,7 @@ class Fetch(object):
m.update_donestamp(ud, self.d)
except ChecksumError as e:
logger.warning("Checksum failure encountered with premirror download of %s - will attempt other sources." % u)
logger.debug(1, str(e))
logger.debug(str(e))
done = False
if premirroronly:
@@ -1720,7 +1710,7 @@ class Fetch(object):
try:
if not trusted_network(self.d, ud.url):
raise UntrustedUrl(ud.url)
logger.debug(1, "Trying Upstream")
logger.debug("Trying Upstream")
m.download(ud, self.d)
if hasattr(m, "build_mirror_data"):
m.build_mirror_data(ud, self.d)
@@ -1735,19 +1725,19 @@ class Fetch(object):
except BBFetchException as e:
if isinstance(e, ChecksumError):
logger.warning("Checksum failure encountered with download of %s - will attempt other sources if available" % u)
logger.debug(1, str(e))
logger.debug(str(e))
if os.path.exists(ud.localpath):
rename_bad_checksum(ud, e.checksum)
elif isinstance(e, NoChecksumError):
raise
else:
logger.warning('Failed to fetch URL %s, attempting MIRRORS if available' % u)
logger.debug(1, str(e))
logger.debug(str(e))
firsterr = e
# Remove any incomplete fetch
if not verified_stamp:
m.clean(ud, self.d)
logger.debug(1, "Trying MIRRORS")
logger.debug("Trying MIRRORS")
mirrors = mirror_from_string(self.d.getVar('MIRRORS'))
done = m.try_mirrors(self, ud, self.d, mirrors)
@@ -1784,7 +1774,7 @@ class Fetch(object):
ud = self.ud[u]
ud.setup_localpath(self.d)
m = ud.method
logger.debug(1, "Testing URL %s", u)
logger.debug("Testing URL %s", u)
# First try checking uri, u, from PREMIRRORS
mirrors = mirror_from_string(self.d.getVar('PREMIRRORS'))
ret = m.try_mirrors(self, ud, self.d, mirrors, True)
@@ -1846,6 +1836,24 @@ class Fetch(object):
if ud.lockfile:
bb.utils.unlockfile(lf)
def expanded_urldata(self, urls=None):
"""
Get an expanded list of FetchData objects covering both the given
URLS and any additional implicit URLs that are added automatically by
the appropriate FetchMethod.
"""
if not urls:
urls = self.urls
urldata = []
for url in urls:
ud = self.ud[url]
urldata.append(ud)
urldata += ud.method.implicit_urldata(ud, self.d)
return urldata
class FetchConnectionCache(object):
"""
A class which represents an container for socket connections.
@@ -1900,6 +1908,7 @@ from . import repo
from . import clearcase
from . import npm
from . import npmsw
from . import az
methods.append(local.Local())
methods.append(wget.Wget())
@@ -1919,3 +1928,4 @@ methods.append(repo.Repo())
methods.append(clearcase.ClearCase())
methods.append(npm.Npm())
methods.append(npmsw.NpmShrinkWrap())
methods.append(az.Az())

View File

@@ -0,0 +1,93 @@
"""
BitBake 'Fetch' Azure Storage implementation
"""
# Copyright (C) 2021 Alejandro Hernandez Samaniego
#
# Based on bb.fetch2.wget:
# Copyright (C) 2003, 2004 Chris Larson
#
# SPDX-License-Identifier: GPL-2.0-only
#
# Based on functions from the base bb module, Copyright 2003 Holger Schurig
import shlex
import os
import bb
from bb.fetch2 import FetchError
from bb.fetch2 import logger
from bb.fetch2.wget import Wget
class Az(Wget):
def supports(self, ud, d):
"""
Check to see if a given url can be fetched from Azure Storage
"""
return ud.type in ['az']
def checkstatus(self, fetch, ud, d, try_again=True):
# checkstatus discards parameters either way, we need to do this before adding the SAS
ud.url = ud.url.replace('az://','https://').split(';')[0]
az_sas = d.getVar('AZ_SAS')
if az_sas and az_sas not in ud.url:
ud.url += az_sas
return Wget.checkstatus(self, fetch, ud, d, try_again)
# Override download method, include retries
def download(self, ud, d, retries=3):
"""Fetch urls"""
# If were reaching the account transaction limit we might be refused a connection,
# retrying allows us to avoid false negatives since the limit changes over time
fetchcmd = self.basecmd + ' --retry-connrefused --waitretry=5'
# We need to provide a localpath to avoid wget using the SAS
# ud.localfile either has the downloadfilename or ud.path
localpath = os.path.join(d.getVar("DL_DIR"), ud.localfile)
bb.utils.mkdirhier(os.path.dirname(localpath))
fetchcmd += " -O %s" % shlex.quote(localpath)
if ud.user and ud.pswd:
fetchcmd += " --user=%s --password=%s --auth-no-challenge" % (ud.user, ud.pswd)
# Check if a Shared Access Signature was given and use it
az_sas = d.getVar('AZ_SAS')
if az_sas:
azuri = '%s%s%s%s' % ('https://', ud.host, ud.path, az_sas)
else:
azuri = '%s%s%s' % ('https://', ud.host, ud.path)
if os.path.exists(ud.localpath):
# file exists, but we didnt complete it.. trying again.
fetchcmd += d.expand(" -c -P ${DL_DIR} '%s'" % azuri)
else:
fetchcmd += d.expand(" -P ${DL_DIR} '%s'" % azuri)
try:
self._runwget(ud, d, fetchcmd, False)
except FetchError as e:
# Azure fails on handshake sometimes when using wget after some stress, producing a
# FetchError from the fetcher, if the artifact exists retyring should succeed
if 'Unable to establish SSL connection' in str(e):
logger.debug2('Unable to establish SSL connection: Retries remaining: %s, Retrying...' % retries)
self.download(ud, d, retries -1)
# Sanity check since wget can pretend it succeed when it didn't
# Also, this used to happen if sourceforge sent us to the mirror page
if not os.path.exists(ud.localpath):
raise FetchError("The fetch command returned success for url %s but %s doesn't exist?!" % (azuri, ud.localpath), azuri)
if os.path.getsize(ud.localpath) == 0:
os.remove(ud.localpath)
raise FetchError("The fetch of %s resulted in a zero size file?! Deleting and failing since this isn't right." % (azuri), azuri)
return True

View File

@@ -74,16 +74,16 @@ class Bzr(FetchMethod):
if os.access(os.path.join(ud.pkgdir, os.path.basename(ud.pkgdir), '.bzr'), os.R_OK):
bzrcmd = self._buildbzrcommand(ud, d, "update")
logger.debug(1, "BZR Update %s", ud.url)
logger.debug("BZR Update %s", ud.url)
bb.fetch2.check_network_access(d, bzrcmd, ud.url)
runfetchcmd(bzrcmd, d, workdir=os.path.join(ud.pkgdir, os.path.basename(ud.path)))
else:
bb.utils.remove(os.path.join(ud.pkgdir, os.path.basename(ud.pkgdir)), True)
bzrcmd = self._buildbzrcommand(ud, d, "fetch")
bb.fetch2.check_network_access(d, bzrcmd, ud.url)
logger.debug(1, "BZR Checkout %s", ud.url)
logger.debug("BZR Checkout %s", ud.url)
bb.utils.mkdirhier(ud.pkgdir)
logger.debug(1, "Running %s", bzrcmd)
logger.debug("Running %s", bzrcmd)
runfetchcmd(bzrcmd, d, workdir=ud.pkgdir)
scmdata = ud.parm.get("scmdata", "")
@@ -109,7 +109,7 @@ class Bzr(FetchMethod):
"""
Return the latest upstream revision number
"""
logger.debug(2, "BZR fetcher hitting network for %s", ud.url)
logger.debug2("BZR fetcher hitting network for %s", ud.url)
bb.fetch2.check_network_access(d, self._buildbzrcommand(ud, d, "revno"), ud.url)

View File

@@ -70,7 +70,7 @@ class ClearCase(FetchMethod):
return ud.type in ['ccrc']
def debug(self, msg):
logger.debug(1, "ClearCase: %s", msg)
logger.debug("ClearCase: %s", msg)
def urldata_init(self, ud, d):
"""

View File

@@ -51,6 +51,10 @@ class Cvs(FetchMethod):
ud.localfile = d.expand('%s_%s_%s_%s%s%s.tar.gz' % (ud.module.replace('/', '.'), ud.host, ud.tag, ud.date, norecurse, fullpath))
pkg = d.getVar('PN')
cvsdir = d.getVar("CVSDIR") or (d.getVar("DL_DIR") + "/cvs")
ud.pkgdir = os.path.join(cvsdir, pkg)
def need_update(self, ud, d):
if (ud.date == "now"):
return True
@@ -105,11 +109,8 @@ class Cvs(FetchMethod):
cvsupdatecmd = "CVS_RSH=\"%s\" %s" % (cvs_rsh, cvsupdatecmd)
# create module directory
logger.debug(2, "Fetch: checking for module directory")
pkg = d.getVar('PN')
cvsdir = d.getVar("CVSDIR") or (d.getVar("DL_DIR") + "/cvs")
pkgdir = os.path.join(cvsdir, pkg)
moddir = os.path.join(pkgdir, localdir)
logger.debug2("Fetch: checking for module directory")
moddir = os.path.join(ud.pkgdir, localdir)
workdir = None
if os.access(os.path.join(moddir, 'CVS'), os.R_OK):
logger.info("Update " + ud.url)
@@ -120,9 +121,9 @@ class Cvs(FetchMethod):
else:
logger.info("Fetch " + ud.url)
# check out sources there
bb.utils.mkdirhier(pkgdir)
workdir = pkgdir
logger.debug(1, "Running %s", cvscmd)
bb.utils.mkdirhier(ud.pkgdir)
workdir = ud.pkgdir
logger.debug("Running %s", cvscmd)
bb.fetch2.check_network_access(d, cvscmd, ud.url)
cmd = cvscmd
@@ -140,7 +141,7 @@ class Cvs(FetchMethod):
# tar them up to a defined filename
workdir = None
if 'fullpath' in ud.parm:
workdir = pkgdir
workdir = ud.pkgdir
cmd = "tar %s -czf %s %s" % (tar_flags, ud.localpath, localdir)
else:
workdir = os.path.dirname(os.path.realpath(moddir))
@@ -151,9 +152,6 @@ class Cvs(FetchMethod):
def clean(self, ud, d):
""" Clean CVS Files and tarballs """
pkg = d.getVar('PN')
pkgdir = os.path.join(d.getVar("CVSDIR"), pkg)
bb.utils.remove(pkgdir, True)
bb.utils.remove(ud.pkgdir, True)
bb.utils.remove(ud.localpath)

View File

@@ -63,6 +63,7 @@ import errno
import fnmatch
import os
import re
import shlex
import subprocess
import tempfile
import bb
@@ -167,7 +168,11 @@ class Git(FetchMethod):
if len(branches) != len(ud.names):
raise bb.fetch2.ParameterError("The number of name and branch parameters is not balanced", ud.url)
ud.cloneflags = "-s -n"
ud.noshared = d.getVar("BB_GIT_NOSHARED") == "1"
ud.cloneflags = "-n"
if not ud.noshared:
ud.cloneflags += " -s"
if ud.bareclone:
ud.cloneflags += " --mirror"
@@ -219,7 +224,12 @@ class Git(FetchMethod):
ud.shallow = False
if ud.usehead:
ud.unresolvedrev['default'] = 'HEAD'
# When usehead is set let's associate 'HEAD' with the unresolved
# rev of this repository. This will get resolved into a revision
# later. If an actual revision happens to have also been provided
# then this setting will be overridden.
for name in ud.names:
ud.unresolvedrev[name] = 'HEAD'
ud.basecmd = d.getVar("FETCHCMD_git") or "git -c core.fsyncobjectfiles=0"
@@ -236,7 +246,7 @@ class Git(FetchMethod):
ud.unresolvedrev[name] = ud.revisions[name]
ud.revisions[name] = self.latest_revision(ud, d, name)
gitsrcname = '%s%s' % (ud.host.replace(':', '.'), ud.path.replace('/', '.').replace('*', '.'))
gitsrcname = '%s%s' % (ud.host.replace(':', '.'), ud.path.replace('/', '.').replace('*', '.').replace(' ','_'))
if gitsrcname.startswith('.'):
gitsrcname = gitsrcname[1:]
@@ -342,7 +352,7 @@ class Git(FetchMethod):
# We do this since git will use a "-l" option automatically for local urls where possible
if repourl.startswith("file://"):
repourl = repourl[7:]
clone_cmd = "LANG=C %s clone --bare --mirror %s %s --progress" % (ud.basecmd, repourl, ud.clonedir)
clone_cmd = "LANG=C %s clone --bare --mirror %s %s --progress" % (ud.basecmd, shlex.quote(repourl), ud.clonedir)
if ud.proto.lower() != 'file':
bb.fetch2.check_network_access(d, clone_cmd, ud.url)
progresshandler = GitProgressHandler(d)
@@ -354,8 +364,8 @@ class Git(FetchMethod):
if "origin" in output:
runfetchcmd("%s remote rm origin" % ud.basecmd, d, workdir=ud.clonedir)
runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, repourl), d, workdir=ud.clonedir)
fetch_cmd = "LANG=C %s fetch -f --prune --progress %s refs/*:refs/*" % (ud.basecmd, repourl)
runfetchcmd("%s remote add --mirror=fetch origin %s" % (ud.basecmd, shlex.quote(repourl)), d, workdir=ud.clonedir)
fetch_cmd = "LANG=C %s fetch -f --progress %s refs/*:refs/*" % (ud.basecmd, shlex.quote(repourl))
if ud.proto.lower() != 'file':
bb.fetch2.check_network_access(d, fetch_cmd, ud.url)
progresshandler = GitProgressHandler(d)
@@ -378,6 +388,35 @@ class Git(FetchMethod):
if missing_rev:
raise bb.fetch2.FetchError("Unable to find revision %s even from upstream" % missing_rev)
if self._contains_lfs(ud, d, ud.clonedir) and self._need_lfs(ud):
# Unpack temporary working copy, use it to run 'git checkout' to force pre-fetching
# of all LFS blobs needed at the the srcrev.
#
# It would be nice to just do this inline here by running 'git-lfs fetch'
# on the bare clonedir, but that operation requires a working copy on some
# releases of Git LFS.
tmpdir = tempfile.mkdtemp(dir=d.getVar('DL_DIR'))
try:
# Do the checkout. This implicitly involves a Git LFS fetch.
Git.unpack(self, ud, tmpdir, d)
# Scoop up a copy of any stuff that Git LFS downloaded. Merge them into
# the bare clonedir.
#
# As this procedure is invoked repeatedly on incremental fetches as
# a recipe's SRCREV is bumped throughout its lifetime, this will
# result in a gradual accumulation of LFS blobs in <ud.clonedir>/lfs
# corresponding to all the blobs reachable from the different revs
# fetched across time.
#
# Only do this if the unpack resulted in a .git/lfs directory being
# created; this only happens if at least one blob needed to be
# downloaded.
if os.path.exists(os.path.join(tmpdir, "git", ".git", "lfs")):
runfetchcmd("tar -cf - lfs | tar -xf - -C %s" % ud.clonedir, d, workdir="%s/git/.git" % tmpdir)
finally:
bb.utils.remove(tmpdir, recurse=True)
def build_mirror_data(self, ud, d):
if ud.shallow and ud.write_shallow_tarballs:
if not os.path.exists(ud.fullshallow):
@@ -473,7 +512,10 @@ class Git(FetchMethod):
if os.path.exists(destdir):
bb.utils.prunedir(destdir)
need_lfs = ud.parm.get("lfs", "1") == "1"
need_lfs = self._need_lfs(ud)
if not need_lfs:
ud.basecmd = "GIT_LFS_SKIP_SMUDGE=1 " + ud.basecmd
source_found = False
source_error = []
@@ -501,12 +543,12 @@ class Git(FetchMethod):
raise bb.fetch2.UnpackError("No up to date source found: " + "; ".join(source_error), ud.url)
repourl = self._get_repo_url(ud)
runfetchcmd("%s remote set-url origin %s" % (ud.basecmd, repourl), d, workdir=destdir)
runfetchcmd("%s remote set-url origin %s" % (ud.basecmd, shlex.quote(repourl)), d, workdir=destdir)
if self._contains_lfs(ud, d, destdir):
if need_lfs and not self._find_git_lfs(d):
raise bb.fetch2.FetchError("Repository %s has LFS content, install git-lfs on host to download (or set lfs=0 to ignore it)" % (repourl))
else:
elif not need_lfs:
bb.note("Repository %s has LFS content but it is not being fetched" % (repourl))
if not ud.nocheckout:
@@ -559,12 +601,28 @@ class Git(FetchMethod):
raise bb.fetch2.FetchError("The command '%s' gave output with more then 1 line unexpectedly, output: '%s'" % (cmd, output))
return output.split()[0] != "0"
def _need_lfs(self, ud):
return ud.parm.get("lfs", "1") == "1"
def _contains_lfs(self, ud, d, wd):
"""
Check if the repository has 'lfs' (large file) content
"""
cmd = "%s grep lfs HEAD:.gitattributes | wc -l" % (
ud.basecmd)
if not ud.nobranch:
branchname = ud.branches[ud.names[0]]
else:
branchname = "master"
# The bare clonedir doesn't use the remote names; it has the branch immediately.
if wd == ud.clonedir:
refname = ud.branches[ud.names[0]]
else:
refname = "origin/%s" % ud.branches[ud.names[0]]
cmd = "%s grep lfs %s:.gitattributes | wc -l" % (
ud.basecmd, refname)
try:
output = runfetchcmd(cmd, d, quiet=True, workdir=wd)
if int(output) > 0:
@@ -584,6 +642,11 @@ class Git(FetchMethod):
"""
Return the repository URL
"""
# Note that we do not support passwords directly in the git urls. There are several
# reasons. SRC_URI can be written out to things like buildhistory and people don't
# want to leak passwords like that. Its also all too easy to share metadata without
# removing the password. ssh keys, ~/.netrc and ~/.ssh/config files can be used as
# alternatives so we will not take patches adding password support here.
if ud.user:
username = ud.user + '@'
else:
@@ -614,7 +677,7 @@ class Git(FetchMethod):
try:
repourl = self._get_repo_url(ud)
cmd = "%s ls-remote %s %s" % \
(ud.basecmd, repourl, search)
(ud.basecmd, shlex.quote(repourl), search)
if ud.proto.lower() != 'file':
bb.fetch2.check_network_access(d, cmd, repourl)
output = runfetchcmd(cmd, d, True)

View File

@@ -20,6 +20,8 @@ NOTE: Switching a SRC_URI from "git://" to "gitsm://" requires a clean of your r
import os
import bb
import copy
import shutil
import tempfile
from bb.fetch2.git import Git
from bb.fetch2 import runfetchcmd
from bb.fetch2 import logger
@@ -76,7 +78,7 @@ class GitSM(Git):
module_hash = ""
if not module_hash:
logger.debug(1, "submodule %s is defined, but is not initialized in the repository. Skipping", m)
logger.debug("submodule %s is defined, but is not initialized in the repository. Skipping", m)
continue
submodules.append(m)
@@ -130,7 +132,7 @@ class GitSM(Git):
ld.setVar('SRCPV', d.getVar('SRCPV'))
ld.setVar('SRCREV_FORMAT', module)
function(ud, url, module, paths[module], ld)
function(ud, url, module, paths[module], workdir, ld)
return submodules != []
@@ -141,18 +143,49 @@ class GitSM(Git):
try:
# Check for the nugget dropped by the download operation
known_srcrevs = runfetchcmd("%s config --get-all bitbake.srcrev" % \
(ud.basecmd), d, workdir=ud.clonedir)
(ud.basecmd), d, workdir=ud.clonedir)
if ud.revisions[ud.names[0]] not in known_srcrevs.split():
return True
if ud.revisions[ud.names[0]] in known_srcrevs.split():
return False
except bb.fetch2.FetchError:
# No srcrev nuggets, so this is new and needs to be updated
pass
need_update_list = []
def need_update_submodule(ud, url, module, modpath, workdir, d):
url += ";bareclone=1;nobranch=1"
try:
newfetch = Fetch([url], d, cache=False)
new_ud = newfetch.ud[url]
if new_ud.method.need_update(new_ud, d):
need_update_list.append(modpath)
except Exception as e:
logger.error('gitsm: submodule update check failed: %s %s' % (type(e).__name__, str(e)))
need_update_result = True
# If we're using a shallow mirror tarball it needs to be unpacked
# temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and not os.path.exists(ud.clonedir):
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
self.process_submodules(ud, tmpdir, need_update_submodule, d)
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, need_update_submodule, d)
if len(need_update_list) == 0:
# We already have the required commits of all submodules. Drop
# a nugget so we don't need to check again.
runfetchcmd("%s config --add bitbake.srcrev %s" % \
(ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=ud.clonedir)
if len(need_update_list) > 0:
logger.debug('gitsm: Submodules requiring update: %s' % (' '.join(need_update_list)))
return True
return False
def download(self, ud, d):
def download_submodule(ud, url, module, modpath, d):
def download_submodule(ud, url, module, modpath, workdir, d):
url += ";bareclone=1;nobranch=1"
# Is the following still needed?
@@ -161,18 +194,27 @@ class GitSM(Git):
try:
newfetch = Fetch([url], d, cache=False)
newfetch.download()
# Drop a nugget to add each of the srcrevs we've fetched (used by need_update)
runfetchcmd("%s config --add bitbake.srcrev %s" % \
(ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=ud.clonedir)
except Exception as e:
logger.error('gitsm: submodule download failed: %s %s' % (type(e).__name__, str(e)))
raise
Git.download(self, ud, d)
self.process_submodules(ud, ud.clonedir, download_submodule, d)
# If we're using a shallow mirror tarball it needs to be unpacked
# temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and self.need_update(ud, d):
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
runfetchcmd("tar -xzf %s" % ud.fullshallow, d, workdir=tmpdir)
self.process_submodules(ud, tmpdir, download_submodule, d)
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, download_submodule, d)
# Drop a nugget for the srcrev we've fetched (used by need_update)
runfetchcmd("%s config --add bitbake.srcrev %s" % \
(ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=ud.clonedir)
def unpack(self, ud, destdir, d):
def unpack_submodules(ud, url, module, modpath, d):
def unpack_submodules(ud, url, module, modpath, workdir, d):
url += ";bareclone=1;nobranch=1"
# Figure out where we clone over the bare submodules...
@@ -212,3 +254,24 @@ class GitSM(Git):
# up the configuration and checks out the files. The main project config should remain
# unmodified, and no download from the internet should occur.
runfetchcmd("%s submodule update --recursive --no-fetch" % (ud.basecmd), d, quiet=True, workdir=ud.destdir)
def implicit_urldata(self, ud, d):
import shutil, subprocess, tempfile
urldata = []
def add_submodule(ud, url, module, modpath, workdir, d):
url += ";bareclone=1;nobranch=1"
newfetch = Fetch([url], d, cache=False)
urldata.extend(newfetch.expanded_urldata())
# If we're using a shallow mirror tarball it needs to be unpacked
# temporarily so that we can examine the .gitmodules file
if ud.shallow and os.path.exists(ud.fullshallow) and ud.method.need_update(ud, d):
tmpdir = tempfile.mkdtemp(dir=d.getVar("DL_DIR"))
subprocess.check_call("tar -xzf %s" % ud.fullshallow, cwd=tmpdir, shell=True)
self.process_submodules(ud, tmpdir, add_submodule, d)
shutil.rmtree(tmpdir)
else:
self.process_submodules(ud, ud.clonedir, add_submodule, d)
return urldata

View File

@@ -150,7 +150,7 @@ class Hg(FetchMethod):
def download(self, ud, d):
"""Fetch url"""
logger.debug(2, "Fetch: checking for module directory '" + ud.moddir + "'")
logger.debug2("Fetch: checking for module directory '" + ud.moddir + "'")
# If the checkout doesn't exist and the mirror tarball does, extract it
if not os.path.exists(ud.pkgdir) and os.path.exists(ud.fullmirror):
@@ -160,7 +160,7 @@ class Hg(FetchMethod):
if os.access(os.path.join(ud.moddir, '.hg'), os.R_OK):
# Found the source, check whether need pull
updatecmd = self._buildhgcommand(ud, d, "update")
logger.debug(1, "Running %s", updatecmd)
logger.debug("Running %s", updatecmd)
try:
runfetchcmd(updatecmd, d, workdir=ud.moddir)
except bb.fetch2.FetchError:
@@ -168,7 +168,7 @@ class Hg(FetchMethod):
pullcmd = self._buildhgcommand(ud, d, "pull")
logger.info("Pulling " + ud.url)
# update sources there
logger.debug(1, "Running %s", pullcmd)
logger.debug("Running %s", pullcmd)
bb.fetch2.check_network_access(d, pullcmd, ud.url)
runfetchcmd(pullcmd, d, workdir=ud.moddir)
try:
@@ -183,14 +183,14 @@ class Hg(FetchMethod):
logger.info("Fetch " + ud.url)
# check out sources there
bb.utils.mkdirhier(ud.pkgdir)
logger.debug(1, "Running %s", fetchcmd)
logger.debug("Running %s", fetchcmd)
bb.fetch2.check_network_access(d, fetchcmd, ud.url)
runfetchcmd(fetchcmd, d, workdir=ud.pkgdir)
# Even when we clone (fetch), we still need to update as hg's clone
# won't checkout the specified revision if its on a branch
updatecmd = self._buildhgcommand(ud, d, "update")
logger.debug(1, "Running %s", updatecmd)
logger.debug("Running %s", updatecmd)
runfetchcmd(updatecmd, d, workdir=ud.moddir)
def clean(self, ud, d):
@@ -247,9 +247,9 @@ class Hg(FetchMethod):
if scmdata != "nokeep":
proto = ud.parm.get('protocol', 'http')
if not os.access(os.path.join(codir, '.hg'), os.R_OK):
logger.debug(2, "Unpack: creating new hg repository in '" + codir + "'")
logger.debug2("Unpack: creating new hg repository in '" + codir + "'")
runfetchcmd("%s init %s" % (ud.basecmd, codir), d)
logger.debug(2, "Unpack: updating source in '" + codir + "'")
logger.debug2("Unpack: updating source in '" + codir + "'")
if ud.user and ud.pswd:
runfetchcmd("%s --config auth.default.prefix=* --config auth.default.username=%s --config auth.default.password=%s --config \"auth.default.schemes=%s\" pull %s" % (ud.basecmd, ud.user, ud.pswd, proto, ud.moddir), d, workdir=codir)
else:
@@ -259,5 +259,5 @@ class Hg(FetchMethod):
else:
runfetchcmd("%s up -C %s" % (ud.basecmd, revflag), d, workdir=codir)
else:
logger.debug(2, "Unpack: extracting source to '" + codir + "'")
logger.debug2("Unpack: extracting source to '" + codir + "'")
runfetchcmd("%s archive -t files %s %s" % (ud.basecmd, revflag, codir), d, workdir=ud.moddir)

View File

@@ -17,7 +17,7 @@ import os
import urllib.request, urllib.parse, urllib.error
import bb
import bb.utils
from bb.fetch2 import FetchMethod, FetchError
from bb.fetch2 import FetchMethod, FetchError, ParameterError
from bb.fetch2 import logger
class Local(FetchMethod):
@@ -33,6 +33,8 @@ class Local(FetchMethod):
ud.basename = os.path.basename(ud.decodedurl)
ud.basepath = ud.decodedurl
ud.needdonestamp = False
if "*" in ud.decodedurl:
raise bb.fetch2.ParameterError("file:// urls using globbing are no longer supported. Please place the files in a directory and reference that instead.", ud.url)
return
def localpath(self, urldata, d):
@@ -52,26 +54,18 @@ class Local(FetchMethod):
return [path]
filespath = d.getVar('FILESPATH')
if filespath:
logger.debug(2, "Searching for %s in paths:\n %s" % (path, "\n ".join(filespath.split(":"))))
logger.debug2("Searching for %s in paths:\n %s" % (path, "\n ".join(filespath.split(":"))))
newpath, hist = bb.utils.which(filespath, path, history=True)
searched.extend(hist)
if (not newpath or not os.path.exists(newpath)) and path.find("*") != -1:
# For expressions using '*', best we can do is take the first directory in FILESPATH that exists
newpath, hist = bb.utils.which(filespath, ".", history=True)
searched.extend(hist)
logger.debug(2, "Searching for %s in path: %s" % (path, newpath))
return searched
if not os.path.exists(newpath):
dldirfile = os.path.join(d.getVar("DL_DIR"), path)
logger.debug(2, "Defaulting to %s for %s" % (dldirfile, path))
logger.debug2("Defaulting to %s for %s" % (dldirfile, path))
bb.utils.mkdirhier(os.path.dirname(dldirfile))
searched.append(dldirfile)
return searched
return searched
def need_update(self, ud, d):
if ud.url.find("*") != -1:
return False
if os.path.exists(ud.localpath):
return False
return True
@@ -95,9 +89,6 @@ class Local(FetchMethod):
"""
Check the status of the url
"""
if urldata.localpath.find("*") != -1:
logger.info("URL %s looks like a glob and was therefore not checked.", urldata.url)
return True
if os.path.exists(urldata.localpath):
return True
return False

View File

@@ -8,12 +8,15 @@ Based on the svn "Fetch" implementation.
"""
import logging
import os
import bb
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import MissingParameterError
from bb.fetch2 import runfetchcmd
logger = logging.getLogger(__name__)
class Osc(FetchMethod):
"""Class to fetch a module or modules from Opensuse build server
repositories."""
@@ -81,13 +84,13 @@ class Osc(FetchMethod):
Fetch url
"""
logger.debug(2, "Fetch: checking for module directory '" + ud.moddir + "'")
logger.debug2("Fetch: checking for module directory '" + ud.moddir + "'")
if os.access(os.path.join(d.getVar('OSCDIR'), ud.path, ud.module), os.R_OK):
oscupdatecmd = self._buildosccommand(ud, d, "update")
logger.info("Update "+ ud.url)
# update sources there
logger.debug(1, "Running %s", oscupdatecmd)
logger.debug("Running %s", oscupdatecmd)
bb.fetch2.check_network_access(d, oscupdatecmd, ud.url)
runfetchcmd(oscupdatecmd, d, workdir=ud.moddir)
else:
@@ -95,7 +98,7 @@ class Osc(FetchMethod):
logger.info("Fetch " + ud.url)
# check out sources there
bb.utils.mkdirhier(ud.pkgdir)
logger.debug(1, "Running %s", oscfetchcmd)
logger.debug("Running %s", oscfetchcmd)
bb.fetch2.check_network_access(d, oscfetchcmd, ud.url)
runfetchcmd(oscfetchcmd, d, workdir=ud.pkgdir)

View File

@@ -1,6 +1,20 @@
"""
BitBake 'Fetch' implementation for perforce
Supported SRC_URI options are:
- module
The top-level location to fetch while preserving the remote paths
The value of module can point to either a directory or a file. The result,
in both cases, is that the fetcher will preserve all file paths starting
from the module path. That is, the top-level directory in the module value
will also be the top-level directory in P4DIR.
- remotepath
If the value "keep" is given, the full depot location of each file is
preserved in P4DIR. This option overrides the effect of the module option.
"""
# Copyright (C) 2003, 2004 Chris Larson
@@ -17,6 +31,36 @@ from bb.fetch2 import FetchError
from bb.fetch2 import logger
from bb.fetch2 import runfetchcmd
class PerforceProgressHandler (bb.progress.BasicProgressHandler):
"""
Implements basic progress information for perforce, based on the number of
files to be downloaded.
The p4 print command will print one line per file, therefore it can be used
to "count" the number of files already completed and give an indication of
the progress.
"""
def __init__(self, d, num_files):
self._num_files = num_files
self._count = 0
super(PerforceProgressHandler, self).__init__(d)
# Send an initial progress event so the bar gets shown
self._fire_progress(-1)
def write(self, string):
self._count = self._count + 1
percent = int(100.0 * float(self._count) / float(self._num_files))
# In case something goes wrong, we try to preserve our sanity
if percent > 100:
percent = 100
self.update(percent)
super(PerforceProgressHandler, self).write(string)
class Perforce(FetchMethod):
""" Class to fetch from perforce repositories """
def supports(self, ud, d):
@@ -46,31 +90,51 @@ class Perforce(FetchMethod):
p4port = d.getVar('P4PORT')
if p4port:
logger.debug(1, 'Using recipe provided P4PORT: %s' % p4port)
logger.debug('Using recipe provided P4PORT: %s' % p4port)
ud.host = p4port
else:
logger.debug(1, 'Trying to use P4CONFIG to automatically set P4PORT...')
logger.debug('Trying to use P4CONFIG to automatically set P4PORT...')
ud.usingp4config = True
p4cmd = '%s info | grep "Server address"' % ud.basecmd
bb.fetch2.check_network_access(d, p4cmd, ud.url)
ud.host = runfetchcmd(p4cmd, d, True)
ud.host = ud.host.split(': ')[1].strip()
logger.debug(1, 'Determined P4PORT to be: %s' % ud.host)
logger.debug('Determined P4PORT to be: %s' % ud.host)
if not ud.host:
raise FetchError('Could not determine P4PORT from P4CONFIG')
# Fetcher options
ud.module = ud.parm.get('module')
ud.keepremotepath = (ud.parm.get('remotepath', '') == 'keep')
if ud.path.find('/...') >= 0:
ud.pathisdir = True
else:
ud.pathisdir = False
# Avoid using the "/..." syntax in SRC_URI when a module value is given
if ud.pathisdir and ud.module:
raise FetchError('SRC_URI depot path cannot not end in /... when a module value is given')
cleanedpath = ud.path.replace('/...', '').replace('/', '.')
cleanedhost = ud.host.replace(':', '.')
cleanedmodule = ""
# Merge the path and module into the final depot location
if ud.module:
if ud.module.find('/') == 0:
raise FetchError('module cannot begin with /')
ud.path = os.path.join(ud.path, ud.module)
# Append the module path to the local pkg name
cleanedmodule = ud.module.replace('/...', '').replace('/', '.')
cleanedpath += '--%s' % cleanedmodule
ud.pkgdir = os.path.join(ud.dldir, cleanedhost, cleanedpath)
ud.setup_revisions(d)
ud.localfile = d.expand('%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, ud.revision))
ud.localfile = d.expand('%s_%s_%s_%s.tar.gz' % (cleanedhost, cleanedpath, cleandedmodule, ud.revision))
def _buildp4command(self, ud, d, command, depot_filename=None):
"""
@@ -95,10 +159,20 @@ class Perforce(FetchMethod):
pathnrev = '%s' % (ud.path)
if depot_filename:
if ud.pathisdir: # Remove leading path to obtain filename
if ud.keepremotepath:
# preserve everything, remove the leading //
filename = depot_filename.lstrip('/')
elif ud.module:
# remove everything up to the module path
modulepath = ud.module.rstrip('/...')
filename = depot_filename[depot_filename.rfind(modulepath):]
elif ud.pathisdir:
# Remove leading (visible) path to obtain the filepath
filename = depot_filename[len(ud.path)-1:]
else:
# Remove everything, except the filename
filename = depot_filename[depot_filename.rfind('/'):]
filename = filename[:filename.find('#')] # Remove trailing '#rev'
if command == 'changes':
@@ -134,7 +208,7 @@ class Perforce(FetchMethod):
for filename in p4fileslist:
item = filename.split(' - ')
lastaction = item[1].split()
logger.debug(1, 'File: %s Last Action: %s' % (item[0], lastaction[0]))
logger.debug('File: %s Last Action: %s' % (item[0], lastaction[0]))
if lastaction[0] == 'delete':
continue
filelist.append(item[0])
@@ -150,10 +224,12 @@ class Perforce(FetchMethod):
bb.utils.remove(ud.pkgdir, True)
bb.utils.mkdirhier(ud.pkgdir)
progresshandler = PerforceProgressHandler(d, len(filelist))
for afile in filelist:
p4fetchcmd = self._buildp4command(ud, d, 'print', afile)
bb.fetch2.check_network_access(d, p4fetchcmd, ud.url)
runfetchcmd(p4fetchcmd, d, workdir=ud.pkgdir)
runfetchcmd(p4fetchcmd, d, workdir=ud.pkgdir, log=progresshandler)
runfetchcmd('tar -czf %s p4' % (ud.localpath), d, cleanup=[ud.localpath], workdir=ud.pkgdir)
@@ -179,7 +255,7 @@ class Perforce(FetchMethod):
raise FetchError('Could not determine the latest perforce changelist')
tipcset = tip.split(' ')[1]
logger.debug(1, 'p4 tip found to be changelist %s' % tipcset)
logger.debug('p4 tip found to be changelist %s' % tipcset)
return tipcset
def sortable_revision(self, ud, d, name):

View File

@@ -47,7 +47,7 @@ class Repo(FetchMethod):
"""Fetch url"""
if os.access(os.path.join(d.getVar("DL_DIR"), ud.localfile), os.R_OK):
logger.debug(1, "%s already exists (or was stashed). Skipping repo init / sync.", ud.localpath)
logger.debug("%s already exists (or was stashed). Skipping repo init / sync.", ud.localpath)
return
repodir = d.getVar("REPODIR") or (d.getVar("DL_DIR") + "/repo")

View File

@@ -18,10 +18,47 @@ The aws tool must be correctly installed and configured prior to use.
import os
import bb
import urllib.request, urllib.parse, urllib.error
import re
from bb.fetch2 import FetchMethod
from bb.fetch2 import FetchError
from bb.fetch2 import runfetchcmd
def convertToBytes(value, unit):
value = float(value)
if (unit == "KiB"):
value = value*1024.0;
elif (unit == "MiB"):
value = value*1024.0*1024.0;
elif (unit == "GiB"):
value = value*1024.0*1024.0*1024.0;
return value
class S3ProgressHandler(bb.progress.LineFilterProgressHandler):
"""
Extract progress information from s3 cp output, e.g.:
Completed 5.1 KiB/8.8 GiB (12.0 MiB/s) with 1 file(s) remaining
"""
def __init__(self, d):
super(S3ProgressHandler, self).__init__(d)
# Send an initial progress event so the bar gets shown
self._fire_progress(0)
def writeline(self, line):
percs = re.findall(r'^Completed (\d+.{0,1}\d*) (\w+)\/(\d+.{0,1}\d*) (\w+) (\(.+\)) with\s+', line)
if percs:
completed = (percs[-1][0])
completedUnit = (percs[-1][1])
total = (percs[-1][2])
totalUnit = (percs[-1][3])
completed = convertToBytes(completed, completedUnit)
total = convertToBytes(total, totalUnit)
progress = (completed/total)*100.0
rate = percs[-1][4]
self.update(progress, rate)
return False
return True
class S3(FetchMethod):
"""Class to fetch urls via 'aws s3'"""
@@ -52,7 +89,9 @@ class S3(FetchMethod):
cmd = '%s cp s3://%s%s %s' % (ud.basecmd, ud.host, ud.path, ud.localpath)
bb.fetch2.check_network_access(d, cmd, ud.url)
runfetchcmd(cmd, d)
progresshandler = S3ProgressHandler(d)
runfetchcmd(cmd, d, False, log=progresshandler)
# Additional sanity checks copied from the wget class (although there
# are no known issues which mean these are required, treat the aws cli

View File

@@ -31,8 +31,7 @@ IETF secsh internet draft:
#
import re, os
from bb.fetch2 import FetchMethod
from bb.fetch2 import runfetchcmd
from bb.fetch2 import check_network_access, FetchMethod, ParameterError, runfetchcmd
__pattern__ = re.compile(r'''
@@ -65,7 +64,7 @@ class SSH(FetchMethod):
def urldata_init(self, urldata, d):
if 'protocol' in urldata.parm and urldata.parm['protocol'] == 'git':
raise bb.fetch2.ParameterError(
raise ParameterError(
"Invalid protocol - if you wish to fetch from a git " +
"repository using ssh, you need to use " +
"git:// prefix with protocol=ssh", urldata.url)
@@ -105,7 +104,7 @@ class SSH(FetchMethod):
dldir
)
bb.fetch2.check_network_access(d, cmd, urldata.url)
check_network_access(d, cmd, urldata.url)
runfetchcmd(cmd, d)

View File

@@ -86,7 +86,7 @@ class Svn(FetchMethod):
if command == "info":
svncmd = "%s info %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
elif command == "log1":
svncmd = "%s log --limit 1 %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
svncmd = "%s log --limit 1 --quiet %s %s://%s/%s/" % (ud.basecmd, " ".join(options), proto, svnroot, ud.module)
else:
suffix = ""
@@ -116,7 +116,7 @@ class Svn(FetchMethod):
def download(self, ud, d):
"""Fetch url"""
logger.debug(2, "Fetch: checking for module directory '" + ud.moddir + "'")
logger.debug2("Fetch: checking for module directory '" + ud.moddir + "'")
lf = bb.utils.lockfile(ud.svnlock)
@@ -129,7 +129,7 @@ class Svn(FetchMethod):
runfetchcmd(ud.basecmd + " upgrade", d, workdir=ud.moddir)
except FetchError:
pass
logger.debug(1, "Running %s", svncmd)
logger.debug("Running %s", svncmd)
bb.fetch2.check_network_access(d, svncmd, ud.url)
runfetchcmd(svncmd, d, workdir=ud.moddir)
else:
@@ -137,7 +137,7 @@ class Svn(FetchMethod):
logger.info("Fetch " + ud.url)
# check out sources there
bb.utils.mkdirhier(ud.pkgdir)
logger.debug(1, "Running %s", svncmd)
logger.debug("Running %s", svncmd)
bb.fetch2.check_network_access(d, svncmd, ud.url)
runfetchcmd(svncmd, d, workdir=ud.pkgdir)

View File

@@ -52,6 +52,12 @@ class WgetProgressHandler(bb.progress.LineFilterProgressHandler):
class Wget(FetchMethod):
# CDNs like CloudFlare may do a 'browser integrity test' which can fail
# with the standard wget/urllib User-Agent, so pretend to be a modern
# browser.
user_agent = "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"
"""Class to fetch urls via 'wget'"""
def supports(self, ud, d):
"""
@@ -82,7 +88,7 @@ class Wget(FetchMethod):
progresshandler = WgetProgressHandler(d)
logger.debug(2, "Fetching %s using command '%s'" % (ud.url, command))
logger.debug2("Fetching %s using command '%s'" % (ud.url, command))
bb.fetch2.check_network_access(d, command, ud.url)
runfetchcmd(command + ' --progress=dot -v', d, quiet, log=progresshandler, workdir=workdir)
@@ -208,10 +214,7 @@ class Wget(FetchMethod):
fetch.connection_cache.remove_connection(h.host, h.port)
raise urllib.error.URLError(err)
else:
try:
r = h.getresponse(buffering=True)
except TypeError: # buffering kw not supported
r = h.getresponse()
r = h.getresponse()
# Pick apart the HTTPResponse object to get the addinfourl
# object initialized properly.
@@ -300,6 +303,7 @@ class Wget(FetchMethod):
# Some servers (FusionForge, as used on Alioth) require that the
# optional Accept header is set.
r.add_header("Accept", "*/*")
r.add_header("User-Agent", self.user_agent)
def add_basic_auth(login_str, request):
'''Adds Basic auth to http request, pass in login:password as string'''
import base64
@@ -322,11 +326,19 @@ class Wget(FetchMethod):
pass
except urllib.error.URLError as e:
if try_again:
logger.debug(2, "checkstatus: trying again")
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug(2, "checkstatus() urlopen failed: %s" % e)
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
except ConnectionResetError as e:
if try_again:
logger.debug2("checkstatus: trying again")
return self.checkstatus(fetch, ud, d, False)
else:
# debug for now to avoid spamming the logs in e.g. remote sstate searches
logger.debug2("checkstatus() urlopen failed: %s" % e)
return False
return True
@@ -403,9 +415,8 @@ class Wget(FetchMethod):
"""
f = tempfile.NamedTemporaryFile()
with tempfile.TemporaryDirectory(prefix="wget-index-") as workdir, tempfile.NamedTemporaryFile(dir=workdir, prefix="wget-listing-") as f:
agent = "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/9.10 (karmic) Firefox/3.6.12"
fetchcmd = self.basecmd
fetchcmd += " -O " + f.name + " --user-agent='" + agent + "' '" + uri + "'"
fetchcmd += " -O " + f.name + " --user-agent='" + self.user_agent + "' '" + uri + "'"
try:
self._runwget(ud, d, fetchcmd, True, workdir=workdir)
fetchresult = f.read()
@@ -461,7 +472,7 @@ class Wget(FetchMethod):
version_dir = ['', '', '']
version = ['', '', '']
dirver_regex = re.compile(r"(?P<pfx>\D*)(?P<ver>(\d+[\.\-_])+(\d+))")
dirver_regex = re.compile(r"(?P<pfx>\D*)(?P<ver>(\d+[\.\-_])*(\d+))")
s = dirver_regex.search(dirver)
if s:
version_dir[1] = s.group('ver')

View File

@@ -119,178 +119,181 @@ warnings.filterwarnings("ignore", category=ImportWarning)
warnings.filterwarnings("ignore", category=DeprecationWarning, module="<string>$")
warnings.filterwarnings("ignore", message="With-statements now directly support multiple context managers")
class BitBakeConfigParameters(cookerdata.ConfigParameters):
def parseCommandLine(self, argv=sys.argv):
parser = optparse.OptionParser(
formatter=BitbakeHelpFormatter(),
version="BitBake Build Tool Core version %s" % bb.__version__,
usage="""%prog [options] [recipename/target recipe:do_task ...]
def create_bitbake_parser():
parser = optparse.OptionParser(
formatter=BitbakeHelpFormatter(),
version="BitBake Build Tool Core version %s" % bb.__version__,
usage="""%prog [options] [recipename/target recipe:do_task ...]
Executes the specified task (default is 'build') for a given set of target recipes (.bb files).
It is assumed there is a conf/bblayers.conf available in cwd or in BBPATH which
will provide the layer, BBFILES and other configuration information.""")
parser.add_option("-b", "--buildfile", action="store", dest="buildfile", default=None,
help="Execute tasks from a specific .bb recipe directly. WARNING: Does "
"not handle any dependencies from other recipes.")
parser.add_option("-b", "--buildfile", action="store", dest="buildfile", default=None,
help="Execute tasks from a specific .bb recipe directly. WARNING: Does "
"not handle any dependencies from other recipes.")
parser.add_option("-k", "--continue", action="store_false", dest="abort", default=True,
help="Continue as much as possible after an error. While the target that "
"failed and anything depending on it cannot be built, as much as "
"possible will be built before stopping.")
parser.add_option("-k", "--continue", action="store_false", dest="abort", default=True,
help="Continue as much as possible after an error. While the target that "
"failed and anything depending on it cannot be built, as much as "
"possible will be built before stopping.")
parser.add_option("-f", "--force", action="store_true", dest="force", default=False,
help="Force the specified targets/task to run (invalidating any "
"existing stamp file).")
parser.add_option("-f", "--force", action="store_true", dest="force", default=False,
help="Force the specified targets/task to run (invalidating any "
"existing stamp file).")
parser.add_option("-c", "--cmd", action="store", dest="cmd",
help="Specify the task to execute. The exact options available "
"depend on the metadata. Some examples might be 'compile'"
" or 'populate_sysroot' or 'listtasks' may give a list of "
"the tasks available.")
parser.add_option("-c", "--cmd", action="store", dest="cmd",
help="Specify the task to execute. The exact options available "
"depend on the metadata. Some examples might be 'compile'"
" or 'populate_sysroot' or 'listtasks' may give a list of "
"the tasks available.")
parser.add_option("-C", "--clear-stamp", action="store", dest="invalidate_stamp",
help="Invalidate the stamp for the specified task such as 'compile' "
"and then run the default task for the specified target(s).")
parser.add_option("-C", "--clear-stamp", action="store", dest="invalidate_stamp",
help="Invalidate the stamp for the specified task such as 'compile' "
"and then run the default task for the specified target(s).")
parser.add_option("-r", "--read", action="append", dest="prefile", default=[],
help="Read the specified file before bitbake.conf.")
parser.add_option("-r", "--read", action="append", dest="prefile", default=[],
help="Read the specified file before bitbake.conf.")
parser.add_option("-R", "--postread", action="append", dest="postfile", default=[],
help="Read the specified file after bitbake.conf.")
parser.add_option("-R", "--postread", action="append", dest="postfile", default=[],
help="Read the specified file after bitbake.conf.")
parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False,
help="Enable tracing of shell tasks (with 'set -x'). "
"Also print bb.note(...) messages to stdout (in "
"addition to writing them to ${T}/log.do_<task>).")
parser.add_option("-v", "--verbose", action="store_true", dest="verbose", default=False,
help="Enable tracing of shell tasks (with 'set -x'). "
"Also print bb.note(...) messages to stdout (in "
"addition to writing them to ${T}/log.do_<task>).")
parser.add_option("-D", "--debug", action="count", dest="debug", default=0,
help="Increase the debug level. You can specify this "
"more than once. -D sets the debug level to 1, "
"where only bb.debug(1, ...) messages are printed "
"to stdout; -DD sets the debug level to 2, where "
"both bb.debug(1, ...) and bb.debug(2, ...) "
"messages are printed; etc. Without -D, no debug "
"messages are printed. Note that -D only affects "
"output to stdout. All debug messages are written "
"to ${T}/log.do_taskname, regardless of the debug "
"level.")
parser.add_option("-D", "--debug", action="count", dest="debug", default=0,
help="Increase the debug level. You can specify this "
"more than once. -D sets the debug level to 1, "
"where only bb.debug(1, ...) messages are printed "
"to stdout; -DD sets the debug level to 2, where "
"both bb.debug(1, ...) and bb.debug(2, ...) "
"messages are printed; etc. Without -D, no debug "
"messages are printed. Note that -D only affects "
"output to stdout. All debug messages are written "
"to ${T}/log.do_taskname, regardless of the debug "
"level.")
parser.add_option("-q", "--quiet", action="count", dest="quiet", default=0,
help="Output less log message data to the terminal. You can specify this more than once.")
parser.add_option("-q", "--quiet", action="count", dest="quiet", default=0,
help="Output less log message data to the terminal. You can specify this more than once.")
parser.add_option("-n", "--dry-run", action="store_true", dest="dry_run", default=False,
help="Don't execute, just go through the motions.")
parser.add_option("-n", "--dry-run", action="store_true", dest="dry_run", default=False,
help="Don't execute, just go through the motions.")
parser.add_option("-S", "--dump-signatures", action="append", dest="dump_signatures",
default=[], metavar="SIGNATURE_HANDLER",
help="Dump out the signature construction information, with no task "
"execution. The SIGNATURE_HANDLER parameter is passed to the "
"handler. Two common values are none and printdiff but the handler "
"may define more/less. none means only dump the signature, printdiff"
" means compare the dumped signature with the cached one.")
parser.add_option("-S", "--dump-signatures", action="append", dest="dump_signatures",
default=[], metavar="SIGNATURE_HANDLER",
help="Dump out the signature construction information, with no task "
"execution. The SIGNATURE_HANDLER parameter is passed to the "
"handler. Two common values are none and printdiff but the handler "
"may define more/less. none means only dump the signature, printdiff"
" means compare the dumped signature with the cached one.")
parser.add_option("-p", "--parse-only", action="store_true",
dest="parse_only", default=False,
help="Quit after parsing the BB recipes.")
parser.add_option("-p", "--parse-only", action="store_true",
dest="parse_only", default=False,
help="Quit after parsing the BB recipes.")
parser.add_option("-s", "--show-versions", action="store_true",
dest="show_versions", default=False,
help="Show current and preferred versions of all recipes.")
parser.add_option("-s", "--show-versions", action="store_true",
dest="show_versions", default=False,
help="Show current and preferred versions of all recipes.")
parser.add_option("-e", "--environment", action="store_true",
dest="show_environment", default=False,
help="Show the global or per-recipe environment complete with information"
" about where variables were set/changed.")
parser.add_option("-e", "--environment", action="store_true",
dest="show_environment", default=False,
help="Show the global or per-recipe environment complete with information"
" about where variables were set/changed.")
parser.add_option("-g", "--graphviz", action="store_true", dest="dot_graph", default=False,
help="Save dependency tree information for the specified "
"targets in the dot syntax.")
parser.add_option("-g", "--graphviz", action="store_true", dest="dot_graph", default=False,
help="Save dependency tree information for the specified "
"targets in the dot syntax.")
parser.add_option("-I", "--ignore-deps", action="append",
dest="extra_assume_provided", default=[],
help="Assume these dependencies don't exist and are already provided "
"(equivalent to ASSUME_PROVIDED). Useful to make dependency "
"graphs more appealing")
parser.add_option("-I", "--ignore-deps", action="append",
dest="extra_assume_provided", default=[],
help="Assume these dependencies don't exist and are already provided "
"(equivalent to ASSUME_PROVIDED). Useful to make dependency "
"graphs more appealing")
parser.add_option("-l", "--log-domains", action="append", dest="debug_domains", default=[],
help="Show debug logging for the specified logging domains")
parser.add_option("-l", "--log-domains", action="append", dest="debug_domains", default=[],
help="Show debug logging for the specified logging domains")
parser.add_option("-P", "--profile", action="store_true", dest="profile", default=False,
help="Profile the command and save reports.")
parser.add_option("-P", "--profile", action="store_true", dest="profile", default=False,
help="Profile the command and save reports.")
# @CHOICES@ is substituted out by BitbakeHelpFormatter above
parser.add_option("-u", "--ui", action="store", dest="ui",
default=os.environ.get('BITBAKE_UI', 'knotty'),
help="The user interface to use (@CHOICES@ - default %default).")
# @CHOICES@ is substituted out by BitbakeHelpFormatter above
parser.add_option("-u", "--ui", action="store", dest="ui",
default=os.environ.get('BITBAKE_UI', 'knotty'),
help="The user interface to use (@CHOICES@ - default %default).")
parser.add_option("", "--token", action="store", dest="xmlrpctoken",
default=os.environ.get("BBTOKEN"),
help="Specify the connection token to be used when connecting "
"to a remote server.")
parser.add_option("", "--token", action="store", dest="xmlrpctoken",
default=os.environ.get("BBTOKEN"),
help="Specify the connection token to be used when connecting "
"to a remote server.")
parser.add_option("", "--revisions-changed", action="store_true",
dest="revisions_changed", default=False,
help="Set the exit code depending on whether upstream floating "
"revisions have changed or not.")
parser.add_option("", "--revisions-changed", action="store_true",
dest="revisions_changed", default=False,
help="Set the exit code depending on whether upstream floating "
"revisions have changed or not.")
parser.add_option("", "--server-only", action="store_true",
dest="server_only", default=False,
help="Run bitbake without a UI, only starting a server "
"(cooker) process.")
parser.add_option("", "--server-only", action="store_true",
dest="server_only", default=False,
help="Run bitbake without a UI, only starting a server "
"(cooker) process.")
parser.add_option("-B", "--bind", action="store", dest="bind", default=False,
help="The name/address for the bitbake xmlrpc server to bind to.")
parser.add_option("-B", "--bind", action="store", dest="bind", default=False,
help="The name/address for the bitbake xmlrpc server to bind to.")
parser.add_option("-T", "--idle-timeout", type=float, dest="server_timeout",
default=os.getenv("BB_SERVER_TIMEOUT"),
help="Set timeout to unload bitbake server due to inactivity, "
"set to -1 means no unload, "
"default: Environment variable BB_SERVER_TIMEOUT.")
parser.add_option("-T", "--idle-timeout", type=float, dest="server_timeout",
default=os.getenv("BB_SERVER_TIMEOUT"),
help="Set timeout to unload bitbake server due to inactivity, "
"set to -1 means no unload, "
"default: Environment variable BB_SERVER_TIMEOUT.")
parser.add_option("", "--no-setscene", action="store_true",
dest="nosetscene", default=False,
help="Do not run any setscene tasks. sstate will be ignored and "
"everything needed, built.")
parser.add_option("", "--no-setscene", action="store_true",
dest="nosetscene", default=False,
help="Do not run any setscene tasks. sstate will be ignored and "
"everything needed, built.")
parser.add_option("", "--skip-setscene", action="store_true",
dest="skipsetscene", default=False,
help="Skip setscene tasks if they would be executed. Tasks previously "
"restored from sstate will be kept, unlike --no-setscene")
parser.add_option("", "--skip-setscene", action="store_true",
dest="skipsetscene", default=False,
help="Skip setscene tasks if they would be executed. Tasks previously "
"restored from sstate will be kept, unlike --no-setscene")
parser.add_option("", "--setscene-only", action="store_true",
dest="setsceneonly", default=False,
help="Only run setscene tasks, don't run any real tasks.")
parser.add_option("", "--setscene-only", action="store_true",
dest="setsceneonly", default=False,
help="Only run setscene tasks, don't run any real tasks.")
parser.add_option("", "--remote-server", action="store", dest="remote_server",
default=os.environ.get("BBSERVER"),
help="Connect to the specified server.")
parser.add_option("", "--remote-server", action="store", dest="remote_server",
default=os.environ.get("BBSERVER"),
help="Connect to the specified server.")
parser.add_option("-m", "--kill-server", action="store_true",
dest="kill_server", default=False,
help="Terminate any running bitbake server.")
parser.add_option("-m", "--kill-server", action="store_true",
dest="kill_server", default=False,
help="Terminate any running bitbake server.")
parser.add_option("", "--observe-only", action="store_true",
dest="observe_only", default=False,
help="Connect to a server as an observing-only client.")
parser.add_option("", "--observe-only", action="store_true",
dest="observe_only", default=False,
help="Connect to a server as an observing-only client.")
parser.add_option("", "--status-only", action="store_true",
dest="status_only", default=False,
help="Check the status of the remote bitbake server.")
parser.add_option("", "--status-only", action="store_true",
dest="status_only", default=False,
help="Check the status of the remote bitbake server.")
parser.add_option("-w", "--write-log", action="store", dest="writeeventlog",
default=os.environ.get("BBEVENTLOG"),
help="Writes the event log of the build to a bitbake event json file. "
"Use '' (empty string) to assign the name automatically.")
parser.add_option("-w", "--write-log", action="store", dest="writeeventlog",
default=os.environ.get("BBEVENTLOG"),
help="Writes the event log of the build to a bitbake event json file. "
"Use '' (empty string) to assign the name automatically.")
parser.add_option("", "--runall", action="append", dest="runall",
help="Run the specified task for any recipe in the taskgraph of the specified target (even if it wouldn't otherwise have run).")
parser.add_option("", "--runall", action="append", dest="runall",
help="Run the specified task for any recipe in the taskgraph of the specified target (even if it wouldn't otherwise have run).")
parser.add_option("", "--runonly", action="append", dest="runonly",
help="Run only the specified task within the taskgraph of the specified targets (and any task dependencies those tasks may have).")
parser.add_option("", "--runonly", action="append", dest="runonly",
help="Run only the specified task within the taskgraph of the specified targets (and any task dependencies those tasks may have).")
return parser
class BitBakeConfigParameters(cookerdata.ConfigParameters):
def parseCommandLine(self, argv=sys.argv):
parser = create_bitbake_parser()
options, targets = parser.parse_args(argv)
if options.quiet and options.verbose:
@@ -344,8 +347,6 @@ def bitbake_main(configParams, configuration):
except:
pass
configuration.setConfigParameters(configParams)
if configParams.server_only and configParams.remote_server:
raise BBMainException("FATAL: The '--server-only' option conflicts with %s.\n" %
("the BBSERVER environment variable" if "BBSERVER" in os.environ \
@@ -357,13 +358,13 @@ def bitbake_main(configParams, configuration):
if "BBDEBUG" in os.environ:
level = int(os.environ["BBDEBUG"])
if level > configuration.debug:
configuration.debug = level
if level > configParams.debug:
configParams.debug = level
bb.msg.init_msgconfig(configParams.verbose, configuration.debug,
configuration.debug_domains)
bb.msg.init_msgconfig(configParams.verbose, configParams.debug,
configParams.debug_domains)
server_connection, ui_module = setup_bitbake(configParams, configuration)
server_connection, ui_module = setup_bitbake(configParams)
# No server connection
if server_connection is None:
if configParams.status_only:
@@ -390,7 +391,7 @@ def bitbake_main(configParams, configuration):
return 1
def setup_bitbake(configParams, configuration, extrafeatures=None):
def setup_bitbake(configParams, extrafeatures=None):
# Ensure logging messages get sent to the UI as events
handler = bb.event.LogHandler()
if not configParams.status_only:
@@ -431,11 +432,11 @@ def setup_bitbake(configParams, configuration, extrafeatures=None):
logger.info("bitbake server is not running.")
lock.close()
return None, None
# we start a server with a given configuration
# we start a server with a given featureset
logger.info("Starting bitbake server...")
# Clear the event queue since we already displayed messages
bb.event.ui_queue = []
server = bb.server.process.BitBakeServer(lock, sockname, configuration, featureset)
server = bb.server.process.BitBakeServer(lock, sockname, featureset, configParams.server_timeout, configParams.xmlrpcinterface)
else:
logger.info("Reconnecting to bitbake server...")
@@ -458,15 +459,17 @@ def setup_bitbake(configParams, configuration, extrafeatures=None):
break
except BBMainFatal:
raise
except (Exception, bb.server.process.ProcessTimeout) as e:
except (Exception, bb.server.process.ProcessTimeout, SystemExit) as e:
# SystemExit does not inherit from the Exception class, needs to be included explicitly
if not retries:
raise
retries -= 1
tryno = 8 - retries
if isinstance(e, (bb.server.process.ProcessTimeout, BrokenPipeError, EOFError)):
if isinstance(e, (bb.server.process.ProcessTimeout, BrokenPipeError, EOFError, SystemExit)):
logger.info("Retrying server connection (#%d)..." % tryno)
else:
logger.info("Retrying server connection (#%d)... (%s)" % (tryno, traceback.format_exc()))
if not retries:
bb.fatal("Unable to connect to bitbake server, or start one (server startup failures would be in bitbake-cookerdaemon.log).")
bb.event.print_ui_queue()

View File

@@ -59,7 +59,7 @@ def getMountedDev(path):
pass
return None
def getDiskData(BBDirs, configuration):
def getDiskData(BBDirs):
"""Prepare disk data for disk space monitor"""
@@ -168,7 +168,7 @@ class diskMonitor:
BBDirs = configuration.getVar("BB_DISKMON_DIRS") or None
if BBDirs:
self.devDict = getDiskData(BBDirs, configuration)
self.devDict = getDiskData(BBDirs)
if self.devDict:
self.spaceInterval, self.inodeInterval = getInterval(configuration)
if self.spaceInterval and self.inodeInterval:

View File

@@ -13,6 +13,8 @@ Message handling infrastructure for bitbake
import sys
import copy
import logging
import logging.config
import os
from itertools import groupby
import bb
import bb.event
@@ -98,6 +100,9 @@ class BBLogFormatter(logging.Formatter):
def enable_color(self):
self.color_enabled = True
def __repr__(self):
return "%s fmt='%s' color=%s" % (self.__class__.__name__, self._fmt, "True" if self.color_enabled else "False")
class BBLogFilter(object):
def __init__(self, handler, level, debug_domains):
self.stdlevel = level
@@ -116,60 +121,53 @@ class BBLogFilter(object):
return True
return False
class BBLogFilterStdErr(BBLogFilter):
def filter(self, record):
if not BBLogFilter.filter(self, record):
return False
if record.levelno >= logging.ERROR:
return True
return False
class LogFilterGEQLevel(logging.Filter):
def __init__(self, level):
self.strlevel = str(level)
self.level = stringToLevel(level)
def __repr__(self):
return "%s level >= %s (%d)" % (self.__class__.__name__, self.strlevel, self.level)
class BBLogFilterStdOut(BBLogFilter):
def filter(self, record):
if not BBLogFilter.filter(self, record):
return False
if record.levelno < logging.ERROR:
return True
return False
return (record.levelno >= self.level)
class LogFilterLTLevel(logging.Filter):
def __init__(self, level):
self.strlevel = str(level)
self.level = stringToLevel(level)
def __repr__(self):
return "%s level < %s (%d)" % (self.__class__.__name__, self.strlevel, self.level)
def filter(self, record):
return (record.levelno < self.level)
# Message control functions
#
loggerDefaultDebugLevel = 0
loggerDefaultVerbose = False
loggerVerboseLogs = False
loggerDefaultDomains = []
loggerDefaultLogLevel = BBLogFormatter.NOTE
loggerDefaultDomains = {}
def init_msgconfig(verbose, debug, debug_domains=None):
"""
Set default verbosity and debug levels config the logger
"""
bb.msg.loggerDefaultDebugLevel = debug
bb.msg.loggerDefaultVerbose = verbose
if verbose:
bb.msg.loggerVerboseLogs = True
if debug_domains:
bb.msg.loggerDefaultDomains = debug_domains
if debug:
bb.msg.loggerDefaultLogLevel = BBLogFormatter.DEBUG - debug + 1
elif verbose:
bb.msg.loggerDefaultLogLevel = BBLogFormatter.VERBOSE
else:
bb.msg.loggerDefaultDomains = []
bb.msg.loggerDefaultLogLevel = BBLogFormatter.NOTE
bb.msg.loggerDefaultDomains = {}
if debug_domains:
for (domainarg, iterator) in groupby(debug_domains):
dlevel = len(tuple(iterator))
bb.msg.loggerDefaultDomains["BitBake.%s" % domainarg] = logging.DEBUG - dlevel + 1
def constructLogOptions():
debug = loggerDefaultDebugLevel
verbose = loggerDefaultVerbose
domains = loggerDefaultDomains
if debug:
level = BBLogFormatter.DEBUG - debug + 1
elif verbose:
level = BBLogFormatter.VERBOSE
else:
level = BBLogFormatter.NOTE
debug_domains = {}
for (domainarg, iterator) in groupby(domains):
dlevel = len(tuple(iterator))
debug_domains["BitBake.%s" % domainarg] = logging.DEBUG - dlevel + 1
return level, debug_domains
return loggerDefaultLogLevel, loggerDefaultDomains
def addDefaultlogFilter(handler, cls = BBLogFilter, forcelevel=None):
level, debug_domains = constructLogOptions()
@@ -179,6 +177,19 @@ def addDefaultlogFilter(handler, cls = BBLogFilter, forcelevel=None):
cls(handler, level, debug_domains)
def stringToLevel(level):
try:
return int(level)
except ValueError:
pass
try:
return getattr(logging, level)
except AttributeError:
pass
return getattr(BBLogFormatter, level)
#
# Message handling functions
#
@@ -212,3 +223,105 @@ def has_console_handler(logger):
if handler.stream in [sys.stderr, sys.stdout]:
return True
return False
def mergeLoggingConfig(logconfig, userconfig):
logconfig = copy.deepcopy(logconfig)
userconfig = copy.deepcopy(userconfig)
# Merge config with the default config
if userconfig.get('version') != logconfig['version']:
raise BaseException("Bad user configuration version. Expected %r, got %r" % (logconfig['version'], userconfig.get('version')))
# Set some defaults to make merging easier
userconfig.setdefault("loggers", {})
# If a handler, formatter, or filter is defined in the user
# config, it will replace an existing one in the default config
for k in ("handlers", "formatters", "filters"):
logconfig.setdefault(k, {}).update(userconfig.get(k, {}))
seen_loggers = set()
for name, l in logconfig["loggers"].items():
# If the merge option is set, merge the handlers and
# filters. Otherwise, if it is False, this logger won't get
# add to the set of seen loggers and will replace the
# existing one
if l.get('bitbake_merge', True):
ulogger = userconfig["loggers"].setdefault(name, {})
ulogger.setdefault("handlers", [])
ulogger.setdefault("filters", [])
# Merge lists
l.setdefault("handlers", []).extend(ulogger["handlers"])
l.setdefault("filters", []).extend(ulogger["filters"])
# Replace other properties if present
if "level" in ulogger:
l["level"] = ulogger["level"]
if "propagate" in ulogger:
l["propagate"] = ulogger["propagate"]
seen_loggers.add(name)
# Add all loggers present in the user config, but not any that
# have already been processed
for name in set(userconfig["loggers"].keys()) - seen_loggers:
logconfig["loggers"][name] = userconfig["loggers"][name]
return logconfig
def setLoggingConfig(defaultconfig, userconfigfile=None):
logconfig = copy.deepcopy(defaultconfig)
if userconfigfile:
with open(os.path.normpath(userconfigfile), 'r') as f:
if userconfigfile.endswith('.yml') or userconfigfile.endswith('.yaml'):
import yaml
userconfig = yaml.safe_load(f)
elif userconfigfile.endswith('.json') or userconfigfile.endswith('.cfg'):
import json
userconfig = json.load(f)
else:
raise BaseException("Unrecognized file format: %s" % userconfigfile)
if userconfig.get('bitbake_merge', True):
logconfig = mergeLoggingConfig(logconfig, userconfig)
else:
# Replace the entire default config
logconfig = userconfig
# Convert all level parameters to integers in case users want to use the
# bitbake defined level names
for h in logconfig["handlers"].values():
if "level" in h:
h["level"] = bb.msg.stringToLevel(h["level"])
for l in logconfig["loggers"].values():
if "level" in l:
l["level"] = bb.msg.stringToLevel(l["level"])
conf = logging.config.dictConfigClass(logconfig)
conf.configure()
# The user may have specified logging domains they want at a higher debug
# level than the standard.
for name, l in logconfig["loggers"].items():
if not name.startswith("BitBake."):
continue
if not "level" in l:
continue
curlevel = bb.msg.loggerDefaultDomains.get(name)
# Note: level parameter should already be a int because of conversion
# above
newlevel = int(l["level"])
if curlevel is None or newlevel < curlevel:
bb.msg.loggerDefaultDomains[name] = newlevel
# TODO: I don't think that setting the global log level should be necessary
#if newlevel < bb.msg.loggerDefaultLogLevel:
# bb.msg.loggerDefaultLogLevel = newlevel
return conf

View File

@@ -61,17 +61,9 @@ class _NamedTupleABCMeta(ABCMeta):
return ABCMeta.__new__(mcls, name, bases, namespace)
exec(
# Python 2.x metaclass declaration syntax
"""class _NamedTupleABC(object):
'''The abstract base class + mix-in for named tuples.'''
__metaclass__ = _NamedTupleABCMeta
_fields = abstractproperty()""" if version_info[0] < 3 else
# Python 3.x metaclass declaration syntax
"""class _NamedTupleABC(metaclass=_NamedTupleABCMeta):
'''The abstract base class + mix-in for named tuples.'''
_fields = abstractproperty()"""
)
class _NamedTupleABC(metaclass=_NamedTupleABCMeta):
'''The abstract base class + mix-in for named tuples.'''
_fields = abstractproperty()
_namedtuple.abc = _NamedTupleABC

View File

@@ -71,7 +71,7 @@ def update_mtime(f):
def update_cache(f):
if f in __mtime_cache:
logger.debug(1, "Updating mtime cache for %s" % f)
logger.debug("Updating mtime cache for %s" % f)
update_mtime(f)
def clear_cache():

Some files were not shown because too many files have changed in this diff Show More