summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-08-17linux-yocto/5.13: update to v5.13.7Bruce Ashfield
Updating linux-yocto/5.13 to the latest korg -stable release that comprises the following commits: f17352f54186 Linux 5.13.7 f2cd12e7fd48 ipv6: ip6_finish_output2: set sk into newly allocated nskb 0f448675132a ARM: dts: versatile: Fix up interrupt controller node names 0ad0e62e74ce iomap: remove the length variable in iomap_seek_hole 521168b44c08 iomap: remove the length variable in iomap_seek_data 84342d6983f2 cifs: fix the out of range assignment to bit fields in parse_server_interfaces a46f1f66cfcb firmware: arm_scmi: Fix range check for the maximum number of pending messages ec67007e7406 firmware: arm_scmi: Fix possible scmi_linux_errmap buffer overflow ca03de06def9 hfs: add lock nesting notation to hfs_find_init 8a2d2974d002 hfs: fix high memory mapping in hfs_bnode_read c2820b902115 hfs: add missing clean-up in hfs_fill_super 37ac00a0d358 drm/ttm: add a check against null pointer dereference f11bec89ad63 nvme-pci: fix multiple races in nvme_setup_io_queues b34c668a867f ipv6: allocate enough headroom in ip6_finish_output2() 3ba36f82d50d rcu-tasks: Don't delete holdouts within trc_wait_for_one_reader() 1dccf9d5a724 rcu-tasks: Don't delete holdouts within trc_inspect_reader() 83af97f61527 sctp: move 198 addresses from unusable to private scope 7fd4d15f11b3 net: annotate data race around sk_ll_usec 18f12f741d09 net/802/garp: fix memleak in garp_request_join() 7184851762b3 net/802/mrp: fix memleak in mrp_request_join() 141cf6c82b4f cgroup1: fix leaked context root causing sporadic NULL deref in LTP c294c83fb614 workqueue: fix UAF in pwq_unbound_release_workfn() 72d0df0831ff af_unix: fix garbage collect vs MSG_PEEK 6fdb13a7e573 Linux 5.13.6 2db604ff60dd skbuff: Fix build with SKB extensions disabled 429826249d80 sfc: ensure correct number of XDP queues b1ea64337fde spi: spi-cadence-quadspi: Fix division by zero warning - try2 c4443564f8f6 drm/i915/gvt: Clear d3_entered on elsp cmd submission. 9bad2eae08e2 perf inject: Close inject.output on exit 5cf3d397fcf6 arm64: entry: fix KCOV suppression 12b439933302 Documentation: Fix intiramfs script name 337deea6460d ARM: multi_v7_defconfig: Make NOP_USB_XCEIV driver built-in a5fd9d3d35bc skbuff: Release nfct refcount on napi stolen or re-used skbs 8f738d2d51cf mptcp: fix 'masking a bool' warning ecc9318db5ff bonding: fix build issue da510a38cb60 spi: spi-cadence-quadspi: Revert "Fix division by zero warning" bc93e9909cc8 drm/amdgpu: update golden setting for sienna_cichlid 52ee22ce8af2 drm/amdgpu: update the golden setting for vangogh 72097f7beefd drm/amdgpu: update gc golden setting for dimgrey_cavefish 75ab00b813e4 drm: Return -ENOTTY for non-drm ioctls c9d31f7d17e4 driver core: Prevent warning when removing a device link from unregistered consumer 9d06d3d2a16d nds32: fix up stack guard gap 7544d21b4014 misc: eeprom: at24: Always append device id even if label property is set. 6ef92931cc5b rbd: always kick acquire on "acquired" and "released" notifications 8b334d74fbbd rbd: don't hold lock_rwsem while running_list is being drained 79da14fac0b5 hugetlbfs: fix mount mode command line processing 4861f6d3b90f mm: fix the deadlock in finish_fault() 5d4b4d2e3c8d memblock: make for_each_mem_range() traverse MEMBLOCK_HOTPLUG regions 0e88a5bee0f5 mm: page_alloc: fix page_poison=1 / INIT_ON_ALLOC_DEFAULT_ON interaction ee791f0bba88 mm: call flush_dcache_page() in memcpy_to_page() and memzero_page() 5040926bc22d kfence: skip all GFP_ZONEMASK allocations e9adaed2f126 kfence: move the size check to the beginning of __kfence_alloc() 60e7f63de337 userfaultfd: do not untag user pointers a6ead78130ad io_uring: fix early fdput() of file 81cebadedc37 io_uring: remove double poll entry on arm failure 0d80ae099a49 io_uring: explicitly count entries for poll reqs 2f13b6fece9a selftest: use mmap instead of posix_memalign to allocate memory fae0c4bb0366 posix-cpu-timers: Fix rearm racing against process tick 52db60a983d2 bus: mhi: pci_generic: Fix inbound IPCR channel aed4f5b51aba bus: mhi: core: Validate channel ID when processing command completions a88270680663 bus: mhi: pci_generic: Apply no-op for wake using sideband wake boolean ce5b3de58fc2 driver core: auxiliary bus: Fix memory leak when driver_register() fail 423123e428a1 ixgbe: Fix packet corruption due to missing DMA sync b9a178f189bb media: ngene: Fix out-of-bounds bug in ngene_command_config_free_buf() f5ef2fe05d38 btrfs: fix lock inversion problem when doing qgroup extent tracing 6f919907e92e btrfs: fix unpersisted i_size on fsync after expanding truncate a02b54480573 btrfs: check for missing device in btrfs_trim_fs 020d8ceab341 tracing: Synthetic event field_pos is an index not a boolean 917a5bdd114a tracing: Fix bug in rb_per_cpu_empty() that might cause deadloop. 29ecaddb8655 tracing/histogram: Rename "cpu" to "common_cpu" 58f47cfe5210 tracepoints: Update static_call before tp_funcs when adding a tracepoint 0ea2fd39f119 firmware/efi: Tell memblock about EFI iomem reservations 68a4037d5dd0 usb: typec: stusb160x: Don't block probing of consumer of "connector" nodes eeb18490e8f4 usb: typec: stusb160x: register role switch before interrupt registration 703527bf8391 usb: typec: tipd: Don't block probing of consumer of "connector" nodes 61c129211a3d usb: dwc2: gadget: Fix sending zero length packet in DDMA mode. bd062872040b usb: dwc2: gadget: Fix GOUTNAK flow for Slave mode. 36b53430c97f usb: dwc2: Skip clock gating on Samsung SoCs b85e8638ba15 usb: gadget: Fix Unbalanced pm_runtime_enable in tegra_xudc_probe 7138b108ecdb USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick f1a01c2b4628 USB: serial: cp210x: fix comments for GE CS1000 8a55cb17e401 USB: serial: option: add support for u-blox LARA-R6 family c9d143a3d8aa usb: renesas_usbhs: Fix superfluous irqs happen after usb_pkt_pop() d4179cdb769a usb: max-3421: Prevent corruption of freed memory 3b5d8c72ffd5 USB: usb-storage: Add LaCie Rugged USB3-FW to IGNORE_UAS 9499b2d2cc60 usb: hub: Fix link power management max exit latency (MEL) calculations c7affd5b0226 usb: hub: Disable USB 3 device initiated lpm if exit latency is too high 1408e47ab233 KVM: PPC: Book3S HV Nested: Sanitise H_ENTER_NESTED TM state 35e114e6f84a KVM: PPC: Book3S: Fix H_RTAS rets buffer overflow 3d98808e2414 usb: ehci: Prevent missed ehci interrupts with edge-triggered MSI 2c476bab2818 xhci: Fix lost USB 2 remote wake 6c15cef90a45 usb: xhci: avoid renesas_usb_fw.mem when it's unusable 62b022edb187 Revert "usb: renesas-xhci: Fix handling of unknown ROM state" 0def8cf06098 ALSA: pcm: Fix mmap capability check 7ca1bb5bace3 ALSA: pcm: Call substream ack() method upon compat mmap commit 7810cd82b1ad ALSA: hdmi: Expose all pins on MSI MS-7C94 board 7b75c0f0a668 ALSA: hda/realtek: Fix pop noise and 2 Front Mic issues on a machine ac8ea355df6d ALSA: sb: Fix potential ABBA deadlock in CSP driver ecdaa9716666 ALSA: usb-audio: Add registration quirk for JBL Quantum headsets 498129dedee0 ALSA: usb-audio: Add missing proc text entry for BESPOKEN type ca4c5e5c7beb s390/boot: fix use of expolines in the DMA code fde6627ce6dc s390/ftrace: fix ftrace_update_ftrace_func implementation 93af4d65538c mmc: core: Don't allocate IDA for OF aliases 025b6262dc96 io_uring: Fix race condition when sqp thread goes to sleep ccf23a088807 ACPI: fix NULL pointer dereference 343b467acb55 proc: Avoid mixing integer types in mem_rw() 11b40c8a67fe cifs: fix fallocate when trying to allocate a hole. a803678bd60e cifs: only write 64kb at a time when fallocating a small region of a file ea826bd778f5 dpaa2-switch: seed the buffer pool after allocating the swp a0f2f2bf424d drm/panel: raspberrypi-touchscreen: Prevent double-free 6cd7bb123703 net: sched: cls_api: Fix the the wrong parameter c95f925b0c7e RISC-V: load initrd wherever it fits into memory 0bc325702d70 net: dsa: sja1105: make VID 4095 a bridge VLAN too ec7be4fdd8e1 tcp: disable TFO blackhole logic by default ad9bfbe97bde riscv: Fix 32-bit RISC-V boot failure fecd81c2e62f ibmvnic: Remove the proper scrq flush fee8c811ab34 udp: check encap socket in __udp_lib_err c1de376423a7 sctp: update active_key for asoc when old key is being replaced 65bd5af10d02 nvme: set the PRACT bit when using Write Zeroes with T10 PI bc08be0ed085 r8169: Avoid duplicate sysfs entry creation error 2131ea612692 afs: Fix setting of writeback_index 8dda575c8912 afs: check function return 3d888afffcf3 afs: Fix tracepoint string placement with built-in AFS 6bd6db23b44d Revert "USB: quirks: ignore remote wake-up on Fibocom L850-GL LTE modem" de3a841649ae nvme-pci: don't WARN_ON in nvme_reset_work if ctrl.state is not RESETTING a521c15683c1 drm/ttm: Force re-init if ttm_global_init() fails e7732c5a19a1 scsi: target: Fix NULL dereference on XCOPY completion 2ed13e8f7829 i2c: mpc: Poll for MCF a706c12da916 ceph: don't WARN if we're still opening a session to an MDS 115784bcccf1 ipv6: fix another slab-out-of-bounds in fib6_nh_flush_exceptions 34f1e1f657fa net/sched: act_skbmod: Skip non-Ethernet packets 502731a03f27 io_uring: fix memleak in io_init_wq_offload() 23c492a50418 spi: spi-bcm2835: Fix deadlock 140e0dbad4cf net: hns3: fix rx VLAN offload state inconsistent issue 1e3b38761394 net: hns3: fix possible mismatches resp of mailbox e52445629c2e ALSA: hda: intel-dsp-cfg: add missing ElkhartLake PCI ID ce9f267d9e8a net/tcp_fastopen: fix data races around tfo_active_disable_stamp b9d21b9b46bd net: hisilicon: rename CACHE_LINE_MASK to avoid redefinition a24886feddba bnxt_en: Check abort error state in bnxt_half_open_nic() c2ed50ff29f8 bnxt_en: Validate vlan protocol ID on RX packets a1a54e07e63c bnxt_en: fix error path of FW reset c8c2eed44e41 bnxt_en: Add missing check for BNXT_STATE_ABORT_ERR in bnxt_fw_rset_task() 4564b85633b2 bnxt_en: Refresh RoCE capabilities in bnxt_ulp_probe() 52b6ad30a026 bnxt_en: don't disable an already disabled PCI device 8ac2e2d69b35 ACPI: utils: Fix reference counting in for_each_acpi_dev_match() 587c2751068a efi/dev-path-parser: Switch to use for_each_acpi_dev_match() 4657af6770c0 ACPI: Kconfig: Fix table override from built-in initrd 24376facf2fd spi: cadence: Correct initialisation of runtime PM again 6128d746d705 scsi: target: Fix protect handling in WRITE SAME(32) 868ffb5f290f scsi: iscsi: Fix iface sysfs attr detection bc1660206c37 netrom: Decrease sock refcount when sock timers expire c9437655302c sctp: trim optlen when it's a huge value in sctp_setsockopt cac71d27745f net: sched: fix memory leak in tcindex_partial_destroy_work a4a488915fea KVM: PPC: Fix kvm_arch_vcpu_ioctl vcpu_load leak cdf4a0589eaf KVM: PPC: Book3S: Fix CONFIG_TRANSACTIONAL_MEM=n crash 69f253c44401 net: decnet: Fix sleeping inside in af_decnet 626cb6d84ba2 efi/tpm: Differentiate missing and invalid final event log table. f6eeb0829e1a ASoC: soc-pcm: add a flag to reverse the stop sequence 57df79dd0b47 dma-mapping: handle vmalloc addresses in dma_common_{mmap,get_sgtable} eeaa4b8d1e2e usb: hso: fix error handling code of hso_create_net_device d20ce763c690 spi: spi-cadence-quadspi: Fix division by zero warning d4c7797ab151 net: fix uninit-value in caif_seqpkt_sendmsg 3d6f06fb19fb bpftool: Check malloc return value in mount_bpffs_for_pin 464c306367cb bpf, sockmap, udp: sk_prot needs inuse_idx set for proc stats 600b122a690b bpf, sockmap, tcp: sk_prot needs inuse_idx set for proc stats 6c508a1c6c62 bpf, sockmap: Fix potential memory leak on unlikely error case 6be4502a80e3 s390/bpf: Perform r1 range checking before accessing jit->seen_reg[r1] 7006eabb4044 liquidio: Fix unintentional sign extension issue on left shift of u16 1dd68ece22ba net: dsa: mv88e6xxx: NET_DSA_MV88E6XXX_PTP should depend on NET_DSA_MV88E6XXX 5bd05b57e901 drm/vc4: hdmi: Drop devm interrupt handler for CEC interrupts 3ba73cb98302 timers: Fix get_next_timer_interrupt() with no timers pending 364ec7249d01 ASoC: SOF: Intel: Update ADL descriptor to use ACPI power states a7537dc73e69 xdp, net: Fix use-after-free in bpf_xdp_link_release cbb086074dab bpf: Fix tail_call_reachable rejection for interpreter when jit failed cd12f874ae10 bpf, test: fix NULL pointer dereference on invalid expected_attach_type bc813a1ae95c ASoC: rt5631: Fix regcache sync errors on resume 09b8cc781058 spi: mediatek: fix fifo rx mode edd1b2b19214 regulator: hi6421: Fix getting wrong drvdata ae58c13a6b24 regulator: hi6421: Use correct variable type for regmap api val argument ffb6e766e200 spi: stm32: fixes pm_runtime calls in probe/remove 5b64a59c2c6e ASoC: wm_adsp: Correct wm_coeff_tlv_get handling 14e7330ad106 Kbuild: lto: fix module versionings mismatch in GNU make 3.X 4fc85eb66086 perf sched: Fix record failure when CONFIG_SCHEDSTATS is not set a83d04c140e3 perf data: Close all files in close_dir() ed0bdfef4ba5 perf probe-file: Delete namelist in del_events() on the error path 871c7043aa52 perf lzma: Close lzma stream on exit e4518a4141f2 perf script: Fix memory 'threads' and 'cpus' leaks on exit a412ae547ed5 perf script: Release zstd data f50f139670f9 perf report: Free generated help strings for sort option 97bb58171315 perf env: Fix memory leak of cpu_pmu_caps 9f29d864b4ad perf test maps__merge_in: Fix memory leak of maps 976804a726c7 perf dso: Fix memory leak in dso__new_map() e39103cfa102 perf test event_update: Fix memory leak of unit 4db1e70516a4 perf test event_update: Fix memory leak of evlist 19239ff4c98d perf test session_topology: Delete session->evlist 76b70b7987e7 perf env: Fix sibling_dies memory leak 1e338fb1f779 perf probe: Fix dso->nsinfo refcounting 7ec2746ef5c6 perf map: Fix dso->nsinfo refcounting 54dc8a81b785 perf inject: Fix dso->nsinfo refcounting ebeae3340557 firmware: arm_scmi: Ensure drivers provide a probe function 1824f2a7d4a7 ARM: dts: aspeed: Update e3c246d4i vuart properties 9fe5024f5738 arm64: mte: fix restoration of GCR_EL1 from suspend 3a2c492e7528 KVM: SVM: Fix sev_pin_memory() error checks in SEV migration utilities 9d85689380b6 KVM: SVM: Return -EFAULT if copy_to_user() for SEV mig packet header fails 319b79706f63 KVM: x86/pmu: Clear anythread deprecated bit when 0xa leaf is unsupported on the SVM 916450b2101b sfc: fix lack of XDP TX queues - error XDP TX failed (-22) 14a3ed8ef868 net: ocelot: fix switchdev objects synced for wrong netdev with LAG offload d1f7e509dc3a nvme-pci: do not call nvme_dev_remove_admin from nvme_remove b093e56f137c net: phy: marvell10g: fix differentiation of 88X3310 from 88X3340 b2fe6fc671ea mptcp: properly account bulk freed memory cd7f1414f170 mptcp: refine mptcp_cleanup_rbuf b24550868ff6 mptcp: use fast lock for subflows when possible c888aa863218 selftests: mptcp: fix case multiple subflows limited by server fe2350115a5f mptcp: avoid processing packet if a subflow reset 1dabd873933f mptcp: add sk parameter for mptcp_get_options 89aa6912f2cf mptcp: fix syncookie process if mptcp can not_accept new subflow 1aa3ffb95fdc mptcp: remove redundant req destruct in subflow_check_req() 688984fc1af1 mptcp: fix warning in __skb_flow_dissect() when do syn cookie for subflow join 5a870ea6e8b7 drm/vmwgfx: Fix a bad merge in otable batch takedown 441b2f191e9f cxgb4: fix IRQ free race during driver unload efdf9d46bc15 pwm: sprd: Ensure configuring period and duty_cycle isn't wrongly skipped 6c75b21b2aab selftests: icmp_redirect: IPv6 PMTU info should be cleared after redirect 84d37878814b selftests: icmp_redirect: remove from checking for IPv6 route get b11b6ecda552 stmmac: platform: Fix signedness bug in stmmac_probe_config_dt() 350e10d21733 ipv6: fix 'disable_policy' for fwd packets 8994e395fc39 bonding: fix incorrect return value of bond_ipsec_offload_ok() 4ac748c4b224 bonding: fix suspicious RCU usage in bond_ipsec_offload_ok() 42ec69b9cd7d bonding: Add struct bond_ipesc to manage SA d5e9ed0855a4 bonding: disallow setting nested bonding + ipsec offload c24d04866549 bonding: fix suspicious RCU usage in bond_ipsec_del_sa() a1f01d2ddb55 ixgbevf: use xso.real_dev instead of xso.dev in callback functions of struct xfrmdev_ops 9863701fa0ec bonding: fix null dereference in bond_ipsec_add_sa() 9ae2584fdd67 bonding: fix suspicious RCU usage in bond_ipsec_add_sa() 08d21fa872ec bpf, samples: Fix xdpsock with '-M' parameter missing unload process b2a6c45d44e9 gve: Fix an error handling path in 'gve_probe()' 2f2b3b953b43 net: stmmac: Terminate FPE workqueue in suspend 317de567c112 igb: Fix position of assignment to *ring 6c82171aa35b igb: Check if num of q_vectors is smaller than max before array access e2b71652a5e3 iavf: Fix an error handling path in 'iavf_probe()' 2f5343365d17 e1000e: Fix an error handling path in 'e1000_probe()' b928fdcafad9 fm10k: Fix an error handling path in 'fm10k_probe()' a0169ebdb140 igb: Fix an error handling path in 'igb_probe()' 67ad97444580 igc: Fix an error handling path in 'igc_probe()' 67a846441f8e ixgbe: Fix an error handling path in 'ixgbe_probe()' 9d81d1be9f31 igc: change default return of igc_read_phy_reg() 8e24c12f2ff6 igb: Fix use-after-free error during reset ea5e36b7367e igc: Fix use-after-free error during reset (From OE-Core rev: ff80cef03f5a9cdf658ca7e81308042503d4f4ba) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-16tar: ignore node-tar CVEsRoss Burton
These two CVEs are specific to the Node package node-tar. (From OE-Core rev: bc7216e8148d0dee7b56e6851da6615e93647a0a) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14kickstart: document which options accept unitsOlaf Mandel
Document which units are accepted as parameters for the four options that accept units. Also be pedantic about using binary instead of decimal prefixes so readers don't have to wonder. (From yocto-docs rev: 6b1d7d102ed3b509dfb3e43a3d7a27226f504df5) Signed-off-by: Olaf Mandel <o.mandel@menlosystems.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-08-14manuals: Rename the "Using .bbappend Files in Your Layer" sectionTom Rini
To prepare to add another example bbappend, rename the current "Using .bbappend Files in Your Layer" section to "Appending Other Layers Metadata With Your Layer". Name the current example as "Overlaying a File Using Your Layer". (From yocto-docs rev: 62d7b5721b2fbcf1e22fc4e7bbac51d52260730e) Signed-off-by: Tom Rini <trini@konsulko.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-08-14common-tasks: Add a summary to the end of the bbappend exampleTom Rini
Try and make it clearer what the final result of this bbappend example is. (From yocto-docs rev: c6d0b030fe495a9eb81ad542ad56479f7e7e18e2) Signed-off-by: Tom Rini <trini@konsulko.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-08-14docs: fix typo in releasesDaniel Gomez
Fix dunfell typo for releases 3.1.9 and 3.1.10. (From yocto-docs rev: aae1f5c1a4a0e1d56cfea66d06dbf8edbc084b8d) Signed-off-by: Daniel Gomez <daniel@qtec.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14dev-manual: fix grammar in post-install script explanationsMichael Opdenacker
(From yocto-docs rev: bc0fa4d432c3a9aeccc5758c7ca793cae4f4852b) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14Manuals: replace "file name" by "filename"Michael Opdenacker
There are many more instances of "filename" or "filenames" than of "file name" or "file names". The winner takes it all! (From yocto-docs rev: 13ef92bc301166c2e21d2603b2501749248dbe91) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14sdk-manual: reference obsolete reference to ADTMichael Opdenacker
(From yocto-docs rev: 024258ecd3c50184ab38d54e7bec2698c04fc631) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14docs: overview-manual: concepts: remove long-gone BBHASHDEPS variableQuentin Schulz
BBHASHDEPS was removed from bitbake in April 2014, with the following commit: 92526eadd09d "bitbake-worker: Drop BBHASH variables" so let's remove mentions from the docs. (From yocto-docs rev: f9e1768b8c85e3ad7fa974940a90996a5ffee3f5) 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-08-14docs: fix new override syntax migrationQuentin Schulz
Fix bits missed by the migration script. (From yocto-docs rev: 452e0c5067476fd2ce81f09e6c73da84ced4bbd0) 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-08-14test-manual: overrides syntax updatesMichael Opdenacker
Updated with openembedded-core/scripts/contrib/convert-overrides.py (From yocto-docs rev: 4bb16d0d1a0b8a42f20f39d79c642d612074565a) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14sdk-manual: overrides syntax updatesMichael Opdenacker
Updated with openembedded-core/scripts/contrib/convert-overrides.py (From yocto-docs rev: 39cf6b2eb063815a3e2bf7a71ffd1fd6351cc594) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14ref-manual: overrides syntax updatesMichael Opdenacker
Updated with openembedded-core/scripts/contrib/convert-overrides.py (From yocto-docs rev: 23ee6fbdf429d4cf1de4129e92dc7de4e6e9d184) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14kernel-dev manual: overrides syntax updatesMichael Opdenacker
Updated with openembedded-core/scripts/contrib/convert-overrides.py (From yocto-docs rev: d4598b592d1b0c9ce9448a8858eb4f47d83487b2) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14dev-manual: overrides syntax updatesMichael Opdenacker
Updated with openembedded-core/scripts/contrib/convert-overrides.py (From yocto-docs rev: 105c4af0f2d78f27639f4f4d8ee4be65fcbfda52) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-14bsp-guide: overrides syntax updatesMichael Opdenacker
Updated with openembedded-core/scripts/contrib/convert-overrides.py (From yocto-docs rev: 664890810e8dcdaf3dd4467ef8f9a99f72ce6dce) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13dbus_%.bbappend: stop using selinux_set_mappingNisha Parrakat
https://gitlab.freedesktop.org/dbus/dbus/-/issues/198 https://gitlab.freedesktop.org/dbus/dbus/-/commit/6072f8b24153d844a3033108a17bcd0c1a967816 Currently, if the "dbus" security class or the associated AV doesn't exist, dbus-daemon fails to initialize and exits immediately. Also the security classes or access vector cannot be reordered in the policy. This can be a problem for people developing their own policy or trying to access a machine where, for some reasons, there is not policy defined at all. The code here copy the behaviour of the selinux_check_access() function. We cannot use this function here as it doesn't allow us to define the AVC entry reference. See the discussion at https://marc.info/?l=selinux&m=152163374332372&w=2 (From OE-Core rev: 0441b53d55a919b5ac42e997f4092053b017b553) Signed-off-by: Nisha Parrakat <nishaparrakat@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13package.bbclass: FILER* override syntaxTim Orling
pkgdata no longer includes FILERPROVIDES* nor FILERDEPENDS*. Fix with new override syntax. Also apply to FILERPROVIDESLIST and FILERDEPENDSLIST. (From OE-Core rev: 8f96a2d13bbae8fb70ed7feafdcff26544e3710d) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13terminal.bbclass: force bash for devshellJoe Slater
Since shell_trap_code in build.py sets /bin/sh as the interpreter we will die a silent death if our environment contains things like "export -f bodilyfunction" and /bin/sh is really /bin/dash. Fixes this for the case of devshell. (From OE-Core rev: 23d296b3567aa31bad7b2a8558d4bd3e4505843b) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13perl: do_create_rdepends_inc override syntaxTim Orling
The do_create_rdepends_inc function is used to recreate the perl-rdepends.txt file. Update RDEPENDS_ to RDEPENDS: for the new override syntax. (From OE-Core rev: efc6ff1053aad393bbbd031f2504feb02891ae37) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13oeqa/runtime/cases: make date.DateTest.test_date more reliableAlexandre Belloni
The test uses the broken out time and can only handle about 59s of delay, use a UNIX timestamp to allow for up to a 300s delay. [YOCTO #14463] (From OE-Core rev: b705e9373acd4119da75af4eb96ec92cc964aa86) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13lib/packagedata: Fix for new overridesJoshua Watt
Fix read_subpkgdata_dict to account for the new override operator being ":" instead of "_" (From OE-Core rev: 0b04ae769d4fad2caaa858803d8fbbbaec689541) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13classes/cve-check: Move get_patches_cves to libraryJoshua Watt
Moving the function will allow other classes to capture which CVEs have been patched, in particular SBoM generation. Also add a function to capture the CPE ID from the CVE Product and Version (From OE-Core rev: 75d34259a715120be1d023e4fd7b6b4b125f2443) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13insane.bbclass: fix new override syntax migrationQuentin Schulz
A few variables and messages were not migrated over to the new override syntax (_ to :). Let's fix that. (From OE-Core rev: c595d6040d2e0ef94d7da043b41226e90dddf318) Signed-off-by: Quentin Schulz <foss@0leil.net> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13util-linux: add back manpages related settingsChen Qi
There was a time that util-linux requres asciidoctor to be there to have man pages. However, now the tarball ships generated man pages and will use them. So add back the related settings. Otherwise, we get the following error when enabling 'doc-pkgs' image feature. + update-alternatives --install /usr/share/man/man1/kill.1 kill.1 /usr/share/man/man1/kill.1.procps 200 update-alternatives: Error: not linking /.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/share/man/man1/kill.1 \ to /usr/share/man/man1/kill.1.procps since /.../tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/share/man/man1/kill.1 exists and is not a link (From OE-Core rev: 3d66fcc425495b5b68caf1a63c7118c692236cc4) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13systemd: set zstd as default PACKAGECONFIGPatrick Williams
Switch the default PACKAGECONFIG for compression feature from xz to zstd. zstd is significantly faster than xz with only slightly worse compression ratios. It is therefore much better suited for activities like systemd-journald. (From OE-Core rev: b1558bb058243f3a3de600ef5cf04bfaeac4fdeb) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13systemd: add zstd PACKAGECONFIGPatrick Williams
systemd supports using zstd compression for journald and core files. Add the necessary PACKAGECONFIG to enable zstd. (From OE-Core rev: 0e0f8b708beeb1f6add5168b92a5a6a2c8ce96cd) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13shadow: add PACKAGECONFIG for audit and selinuxYi Zhao
Add PACKAGECONFIG for audit and selinux rather than disable them directly. This is useful for selinux distro feature. (From OE-Core rev: 0a0c6cfc5a17ed442aad9e71e627e0fa39e60ead) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13glib-2.0: add PACKAGECONFIG for selinuxYi Zhao
Add PACKAGECONFIG for selinux rather than disable it directly. This is useful for selinux distro feature. (From OE-Core rev: a4544876ad08c5169c07c49d351bedf6f2a16ce4) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13tune-cortexm*: add support for all Arm Cortex-M processorsJon Mason
Add tune entries for all Arm Cortex-M processors currently supported in GCC (that are not currently present). The ARMv7 entries were added in conf/machine/include/ to match the existing Cortex-M and Cortex-A tune files. The ARMv8 entries were added to conf/machine/include/arm/armv8-m to match how ARMv8 was done for Cortex-A processor tune files. (From OE-Core rev: a9ff58f4cc1b45145fc1576c7eacabaea64b7bd4) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13sdk: fix relocate symlink failedhongxu
Install SDK to non-default dir, sysmlink mkfs.vfat is invalid $ ./sdk.sh -y -d ./dnf-2 -S -D $ ls sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -al lrwxrwxrwx 1 hjia users 99 Aug 10 20:38 sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat -> /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools Since commit [bc4ee54535 sdk: Decouple default install path from built in path] applied, sdk relocates symlink failed, it should replace $SDK_BUILD_PATH rather than $DEFAULT_INSTALL_DIR, just like above commit did Without this commit: ... |+ for l in $($SUDO_EXEC find $native_sysroot -type l) |++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat |++ sed -e s:/usr/local/oecore-x86_64:path-to: |+ ln -sfn /opt/windriver/wrlinux-graphics/21.32/sysroots/x86_64-wrlinuxsdk-linux/ usr/bin/mkfs.vfat.dosfstools path-to//sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat ... After appling this commit: ... |+ for l in $($SUDO_EXEC find $native_sysroot -type l) |++ readlink path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat |++ sed -e s:/opt/windriver/wrlinux-graphics/21.31:path-to: |+ ln -sfn path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat.dosfstools path-to/sysroots/x86_64-wrlinuxsdk-linux/usr/bin/mkfs.vfat ... (From OE-Core rev: 942c06a7348070b92f722fa5c439c8c4404485b7) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13oeqa/selftest/fitimage: update tests to use two keysThomas Perrot
Other keys (UBOOT_SIGN_IMG_KEYNAME) are required to sign individually the images nodes, and these keys must be different from the ones used to sign the configurations nodes (UBOOT_SIGN_KEYNAME), then fitimage tests need to be updated. (From OE-Core rev: dbaca2c2522ed0dc3d0a2f80dc4510aaec177afc) Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13kernel-fitimage: images should not be signed with the same keys as the ↵Thomas Perrot
configurations Otherwise the "required" property, from UBOOT_DTB_BINARY, will be set to "conf" and no error will be raised in case of error. (From OE-Core rev: 080e0dfed710035b2e40187d9d639ecf5ab84be2) Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13pypi: Allow override of PyPI archive namePaul Barker
Some packages on PyPI don't follow the usual expectations for archive naming. For example, the archive for asyncio-mqtt 0.10.0 is named asyncio_mqtt-0.10.0.tar.gz (with an underscore instead of the dash used in the package name). To handle these edge cases a new PYPI_ARCHIVE_NAME variable is introduced. By default this is set to the expected archive name based on the PyPI package name, version and extension but it can be set to a different value if needed in a recipe which inherits the pypi class. (From OE-Core rev: 9659f5a51a2d094b45b52136feac4402d501b4f2) Signed-off-by: Paul Barker <paul@pbarker.dev> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13util-linux: fix CVE-2021-37600Dragos-Marian Panait
sys-utils/ipcutils: be careful when call calloc() for uint64 nmembs Fix: #1395 (From OE-Core rev: 9822232b4abd811bb9c8562f98c0aefc748340a0) Signed-off-by: Karel Zak <kzak@redhat.com> CVE: CVE-2021-37600 Upstream-Status: Backport [1c9143d0c1f979c3daf10e1c37b5b1e916c22a1c] Signed-off-by: Dragos-Marian Panait <dragos.panait@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13dbus: add PACKAGECONFIG for audit and selinuxYi Zhao
Add PACKAGECONFIG for audit and selinux rather than disable them directly. This is useful for selinux distro feature. (From OE-Core rev: 139e9a0fe59413fc98f1fb6112765a7a40192a4f) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-13u-boot: Package extlinux.conf separatelyPaul Barker
A separate u-boot-extlinux package is created for the extlinux.conf file so that it can be installed on its own if needed. If this package is populated, it is added as a dependency of the main u-boot package so that installing just u-boot still results in the extlinux.conf file being present in the rootfs. (From OE-Core rev: 40de891259e5b335e636cfa6f831b62415127e4c) Signed-off-by: Paul Barker <paul@pbarker.dev> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12bitbake: fetch2/wget: fetch securely by defaultRoss Burton
The days of broken certificates are behind us now, so instead of always passing --no-check-certificate to wget, don't pass it by default and instead only pass it BB_CHECK_SSL_CERTS = "0". [ YOCTO #14108 ] (Bitbake rev: 4104850dd36096a9ff01836c5fca9ac0e452bcf8) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12bitbake: fetch2/wget: ensure all variables are set when calling urllibRoss Burton
Instead of just exporting the proxy variables when calling into urllib, use bb.utils.environment() to export all of the known variables that are needed for proper connectivity. Specifically, this ensures that SSL_CERT_FILE is set, so that libssl can find the certificates in buildtools environments (Bitbake rev: 116637b0e9aabae7f680b102dbf3577b8a58f049) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12bitbake: fetch2: expose environment variable names that need to be exportedRoss Burton
There is a list of environment variable names that need to be exported when executing external commands, such as 'http_proxy'. To avoid duplication, make this a top-level variable. Also add SSL_CERT_FILE, which is used by OpenSSL to locate the certificate bundle. This is needed in buildtools environments where the default path isn't valid. (Bitbake rev: 5c2cf57fd11d91f749a3b562f6f0a863f15013ed) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12bitbake: utils: add environment updating context managerRoss Burton
bb.utils.environment() is a context manager to alter os.environ inside a specific block, restoring it after the block is closed. (Bitbake rev: 9974848f67581ff7d76cef52a94f505af99b4932) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12python3-scons{-native}: upgrade 4.1.0 -> 4.2.0Tim Orling
Update patch as setup.cfg changes are now in upstream. License-Update: Update Copyright years NOTE: The 4.2.0 Release of SCons will deprecate Python 3.5 Support. Python 3.5 support will be dropped in the next major release. RELEASE 4.2.0 - Sat, 31 Jul 2021 18:12:46 -0700 From Byron Platt: - Fix Install() issue when copytree recursion gives bad arguments that can lead to install side-effects including keeping dangling symlinks and silently failing to copy directories (and their subdirectories) when the directory already exists in the target. From Joseph Brill: - Internal MSVS update: Remove unnecessary calls to find all installed versions of msvc when constructing the installed visual studios list. From William Deegan: - Improve Subst()'s logic to check for proper callable function or class's argument list. It will now allow callables with expected args, and any extra args as long as they have default arguments. Additionally functions with no defaults for extra arguments as long as they are set using functools.partial to create a new callable which set them. - Fix Issue #3035 - mingw with SHLIBVERSION set fails with either not a dll error or "Multiple ways to build the same target were specified for:". Now mingw will disable creating the symlinks (and adding version string to ) dlls. It sets SHLIBNOVERSIONSYMLINKS, IMPLIBNOVERSIONSYMLINKS and LDMODULENOVERSIONSYMLINKS to True. - Added --experimental flag, to enable various experimental features/tools. You can specify 'all', 'none', or any combination of available experimental features. - Fix Issue #3933 - Remove unguarded print of debug information in SharedLibrary logic when SHLIBVERSION is specified. - Fix versioned shared library naming for MacOS platform. (Previously was libxyz.dylib.1.2.3, has been fixed to libxyz.1.2.3.dylib. Additionally the sonamed symlink had the same issue, that is now resolved as well) - Add experimental ninja builder. (Contributed by MongoDB, Daniel Moody and many others). - Fix #3955 - _LIBDIRFLAGS leaving $( and $) in *COMSTR output. Added affect_signature flag to _concat function. If set to False, it will prepend and append $( and $). That way the various Environment variables can use that rather than "$( _concat(...)$)". - Fix issue with exparimental ninja tool which would fail on windows or when ninja package wasn't installed but --experimental=ninja was specified. - As part of experimental ninja tool, allow SetOption() to set both disable_execute_ninja and disable_ninja. From David H: - Fix Issue #3906 - `IMPLICIT_COMMAND_DEPENDENCIES` was not properly disabled when set to any string value (For example ['none','false', 'no','off']) Also previously 'All' wouldn't have the desired affect. From Ivan Kravets: - Provide a custom argument escape function for `TempFileMunge` using a new `TEMPFILEARGESCFUNC` variable. Useful if you need to apply extra operations on a command argument before writing to a temporary file (fix Windows slashes, normalize paths, etc.) From Henrik Maier: - DocbookXslt tool: The XSLT stylesheet file is now initialized to an env.File() Node, such that dependencies work correctly in hierarchical builds (eg when using DocbookXslt in SConscript('subdir/SConscript') context. From Daniel Moody: - Update CacheDir to use uuid for tmpfile uniqueness instead of pid. This fixes cases for shared cache where two systems write to the same cache tmpfile at the same time because the happened to get the same pid. - Added support for passing custom CacheDir derived classes to SCons. Moved copy_from_cache attribute from the Environment class to CacheDir class. Code contributed by MongoDB. - Update BuildTask to pass all targets to the progress object fixing an issue where multi-target build nodes only got the first target passed to the progress object. - Fix a potential race condition in shared cache environments where the permissions are not writeable for a moment after the file has been renamed and other builds (users) will copy it out of the cache. Small reorganization of logic to copy files from cachedir. Moved CacheDir writeable permission code for copy to cache behind the atomic rename operation. - Added marking of intermediate and and multi target nodes generated from SConf tests so that is_conftest() is more accurate. - Added test for configure check failing to ensure it didn't break generating and running ninja. From Mats Wichmann: - Initial support in tests for Python 3.10 - expected bytecode and one changed expected exception message. Change some more regexes to be specified as rawstrings in response to DeprecationWarnings. - Add an example of adding an emitter to User Guide (concept from Jeremy Elson) - Add timing information for sconsign database dump when --debug=time is selected. Also switch to generally using time.perf_counter, which is the Python recommended way for timing short durations. - Drop remaining definitions of dict-like has_key methods, since Python 3 doesn't have a dictionary has_key (maintenance) - Do not treat --site-dir=DIR and --no-site-dir as distinct options. Allows a later instance to override an earlier one. - Ignore empty cmdline arguments when computing targets (issue 2986) - Remove long-deprecated construction variables PDFCOM, WIN32_INSERT_DEF, WIN32DEFPREFIX, WIN32DEFSUFFIX, WIN32EXPPREFIX, WIN32EXPSUFFIX. All have been replaced by other names since at least 1.0. - Add a __iadd__ method to the CLVar class so that inplace adds (+=) also work as expected (issue 2399) - Remove local copy of CLVar in EnvironmentTests unittest file - should be testing against the production version, and they didn't really differ. - Don't strip spaces in INSTALLSTR by using raw subst (issue 2018) - Deprecate Python 3.5 as a supported version. - CPPDEFINES now expands construction variable references (issue 2363) - Restore behavior that Install()'d files are writable (issue 3927) - Simplified Mkdir(), the internal mkdir_func no longer needs to handle existing directories, it can now pass exist_ok=True to os.makedirs(). - Avoid WhereIs exception if user set a tool name to empty (from issue 1742) - Maintenance: remove obsolete __getslice__ definitions (Py3 never calls); add Node.fs.scandir to call new (Py3.5) os.scandir; Node.fs.makedirs now passes the exist_ok flag; Cachedir creation now uses this flag. - Maintenance: remove unneeded imports and reorganize some. Fix uses of warnings in some tools which instantiated the class but did nothing with them, need to instead call SCons.Warnings.warn with the warn class. - Drop overridden changed_since_last_build method in Value class. - Resync the SetOption implementation and the manpage, making sure new options are available and adding a notes column for misc information. SetOption equivalents to --hash-chunksize, --implicit-deps-unchanged and --implicit-deps-changed are enabled. - Add tests for SetOption failing on disallowed options and value types. - Maintenance: eliminate lots of checker complaints about Util.py. - Maintenance: fix checker-spotted issues in Environment (apply_tools) and EnvironmentTests (asserts comparing with self). For consistency, env.Tool() now returns a tool object the same way Tool() has done. - Change SConscript() missing SConscript behavior - if must_exist=False, the warning is suppressed. - Make sure TEMPFILEPREFIX can be set to an empty string (issue 3964) From Dillan Mills: - Add support for the (TARGET,SOURCE,TARGETS,SOURCES,CHANGED_TARGETS,CHANGED_SOURCES}.relpath property. This will provide a path relative to the top of the build tree (where the SConstruct is located) Fixes #396 From Andrew Morrow: - Fix issue #3790: Generators in CPPDEFINES now have access to populated source and target lists (From OE-Core rev: 37a0a8821838a15cc24e1fc84b632bebacb44fb0) Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12pixman: Handle PowerPC without AltivecAnton Blanchard
Configure with -Dvmx=enabled/disabled based on the Altivec feature. (From OE-Core rev: f6996bb609beb0fae621dfd88f581c0a1c6e38fa) Signed-off-by: Anton Blanchard <anton@ozlabs.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12kmod: use nonarch_base_libdir for depmod.d and modprobe.dAnton Blanchard
These should always be in /lib, regardless of the configuration. (From OE-Core rev: 63877226c09a674d3794fdc171adf12fe604a3c9) Signed-off-by: Anton Blanchard <anton@ozlabs.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12libjpeg-turbo: Handle powerpc64le without AltivecAnton Blanchard
Similar to 32/64 bit big endian PowerPC, build with -DWITH_SIMD=False if the Altivec feature is not available. (From OE-Core rev: 12f6273cb30b62af2da5edfb600abf8b28491f7a) Signed-off-by: Anton Blanchard <anton@ozlabs.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12pixman: re-disable iwmmxtPatrick Williams
Commit dd9c3d042aa5c2ae0fd80b558ec7e9c793ff36f0 dropped the iwmmxt disable as part of the meson conversion and said: "we can add this back again if it fails." It does. | cc1: warning: switch '-mcpu=arm1176jz-s' conflicts with switch '-march=iwmmxt2' | FAILED: pixman/libpixman-1.so.0.40.0 | lto1: fatal error: target specific builtin not available | compilation terminated. (From OE-Core rev: afa713033a7fc9b7c4ac3d703ea9218b4d775def) Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ia1278d18543493a3f9eace6c2dd2f84701b9c2b1 Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12linux-firmware: add more Qualcomm firmware packagesDmitry Baryshkov
Add firmware packages for the recent Qualcomm SoCs: - linux-firmware-qcom-adreno-a650, linux-firmware-qcom-adreno-a660, containing firmware for Adreno A630 and A650 GPUs - linux-firmware-qcom-sm8250-audio, linux-firmware-sm8250-compute, containing firmware for audio and comute DSPs on SM8250 (QRB5165) - linux-firmware-qcom-vpu-1.0, linux-firmware-qcom-vpu-2.0 containing firmware for newer Venus video encoder/decoder (From OE-Core rev: 31057a9d41a452bdb9e94b4160220f675332ef70) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12baremetal-helloworld: Enable RISC-V 32 portAlejandro Hernandez Samaniego
$ runqemu nographic runqemu - INFO - Running bitbake -e ... KERNEL: [tmp/deploy/images/qemuriscv32/baremetal-helloworld-image-qemuriscv32.bin] MACHINE: [qemuriscv32] runqemu - INFO - Running tmp/work/x86_64-linux/qemu-helper-native/1.0-r1/recipe-sysroot-native/usr/bin/qemu-system-riscv32 Hello OpenEmbedded on RISC-V 32! (From OE-Core rev: d4cca7471f2167b56347fa7b1364bb84a200b1f5) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-08-12multilib.bbclass: fix new override syntax for virtclass-multilibChen Qi
the 'virtclass-multilib-xxx' is an override, so use ':' instead of '_' for TARGET_VENDOR and DEFAULTTUNE. (From OE-Core rev: a522972821339f42dcdddb334e843e21584bfbea) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>