summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2022-02-02package.bbclass: Pass dv (debug_vars) around instead of individual varspkj/package_debug_varsPeter Kjellerstedt
This simplifies the APIs for splitdebuginfo(), splitstaticdebuginfo() and inject_minidebuginfo() Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2022-02-02package.bbclass: Make package_debug_vars() return a dictPeter Kjellerstedt
It simplifies the API to return one dict instead of seven strings. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2022-02-02package.bbclass: Split out package_debug_vars from split_and_strip_filesPeter Kjellerstedt
The split_and_strip_files() function is big and hard to follow. This takes a small step to improve that by splitting out the part that sets up the variables used to implement the various debug splitting methods specified by PACKAGE_DEBUG_SPLIT_STYLE. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
2022-02-01busybox: Add shell arithmetic to work with poky-tinyAlejandro Hernandez Samaniego
Fix error when trying to boot core-image-tiny-initramfs: /init: line 144: syntax error: support for $((arith)) is disabled Kernel panic - not syncing: Attempted to kill init! [YOCTO #14702] (From meta-yocto rev: 50ac1fcadb07fdbeb4169cdd7a0c4a805a0f8588) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01bitbake: bitbake: bitbake-worker: Preserve network non-local uidRobert Yang
The NIS can't work when network is dissable, so preserve network for it, the error is like: do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable Note, enable nscd on the build machine might be a solution, but that isn't reliable since it depends on whether the network function has been cached or not. (Bitbake rev: 4eafae7904bae6e5c6bc50356e8a9077f2e207fa) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01systemtap: backport buffer size tuning patchesRoss Burton
Backport a nunber of patches from upstream to tune the buffer size on machines with a "small amount" of memory, which appears to mean less than 4GB. (From OE-Core rev: d1e1c8698a5143a1e5d80d172105b76c57b85dd6) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01oeqa/runtime/stap: improve systemtap testRoss Burton
Split the test up into compile and execute phases, as the stap binary is known to be quite memory-hungry and this can result in the probe being unable to allocate enough memory for the buffers it needs. If the test fails, dump the dmesg as any useful messages will be there. (From OE-Core rev: 6cf4d23a2d26c2767edd93f2eb317ff759b5a992) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01core-image-sato-sdk: allocate more memory when in qemuRoss Burton
Compiling code is memory-intensive, especially kernel modules like the SystemTap probes, so give the VM 768MB of RAM. Using 1GB appears to cause PCI error, interestingly. Hopefully this solves the intermittent failures caused by OOMs during the SystemTap test. [ YOCTO #14673 ] (From OE-Core rev: 50ff1f018a670c963e1979dee76ebd696153b4c1) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01vim: upgrade to patch 4269Ross Burton
Upgrade to the latest patch release to fix the following CVEs: - CVE-2022-0261 - CVE-2022-0318 - CVE-2022-0319 (From OE-Core rev: 96442e681c3acd82b09e3becd78e902709945f1f) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01expat: upgrade to 2.4.4Ross Burton
Fixes CVE-2022-23852 and CVE-2022-23990. (From OE-Core rev: 4ed96683893e7433804ccf7a4000a2dd18318ef5) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01openssl: export OPENSSL_MODULES in the wrapperRoss Burton
OpenSSL 3 added the concept of provider modules which are loaded from disk. The load path is hard-coded into the library and needs to be relocated when running natively, so add OPENSSL_MODULES to the wrapper. (From OE-Core rev: 160ac2f136cb8df829c803848c7c47d707a908ff) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01gobject-introspection: replace prelink-rtld with objdump -pAlexander Kanavin
g-i internally processes the output with regexes, and seems happy with what objdump is printing. It only needs to resolve the library name as passed to the linker to the library file name. Also recursive resolution (that ldd is doing and objdump is not) is not necessary. (From OE-Core rev: 767e0880d4d729e659e859dd99c1cdb084b8ba51) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01libusb1: correct SRC_URIAlexander Kanavin
(From OE-Core rev: d4c37ca1f1e97d53045521e9894dc9ed5b1c22a1) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01gnutls: update 3.7.2 -> 3.7.3Alexander Kanavin
Drop unsupported option. (From OE-Core rev: 5a2d94e0df21992a30f95312da3bf8477f42785c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01ltp: update 20210927 -> 20220121Alexander Kanavin
The ltp compliancy parser is rewritten to actually match the logs: they seem to be unstructured, test case names are not printed and the only indication of failure is appearance of FAIL[ED] somewhere. (From OE-Core rev: 52766561dbfee625c89393905a85e10d85f69c6c) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01wpa-supplicant: update 2.9 -> 2.10Alexander Kanavin
License-Update: copyright years (From OE-Core rev: 4f30b96207efcddfe76d6bf8d4c24f4fb7f80abb) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01rust: update 1.58.0 -> 1.58.1Alexander Kanavin
(From OE-Core rev: 855ec0af1b3c7c2664e68ac89cad839d480c43db) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01zstd: update 1.5.0 -> 1.5.2Alexander Kanavin
Drop patches merged upstream. (From OE-Core rev: cfd76fb067e2390aa06ae6a9f9dd7cc8a8d57d09) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01libical: upgrade 3.0.12 -> 3.0.13Alexander Kanavin
(From OE-Core rev: a74500337d8aca4a9c6c4aaf3bacdeb834b6ec5b) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01libbsd: upgrade 0.11.3 -> 0.11.5Alexander Kanavin
License-Update: additional files (From OE-Core rev: 2a464b1cf45c7de2738f48e0786b5367688304ee) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01diffoscope: upgrade 200 -> 201Alexander Kanavin
(From OE-Core rev: 4d056dac3b01acc5f57e958cc1debc6ef0d98810) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01debianutils: upgrade 5.5 -> 5.7Alexander Kanavin
(From OE-Core rev: 325547665c533fa337076a111554614af3b51d1f) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01webkitgtk: upgrade 2.34.3 -> 2.34.4Alexander Kanavin
(From OE-Core rev: 919014ca53b0f7960bc9994e7cc1d5174d3b1339) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01ethtool: upgrade 5.15 -> 5.16Alexander Kanavin
(From OE-Core rev: 8c99ff20c95e039620fa7dd6a3a41a9c83a72b9e) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01ifupdown: upgrade 0.8.36 -> 0.8.37Alexander Kanavin
(From OE-Core rev: 1f2892e4c65c6918ef41d567d37e17ce346d57ee) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01bind: upgrade 9.16.24 -> 9.16.25Alexander Kanavin
License-Update: copyright years (From OE-Core rev: 4a7f6cdc7292df5d3154192e65dcb9681ec8ffcb) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01yocto-check-layer: add debug output for the layers that were foundRoss Burton
When debugging weird yocto-check-layer output it is useful to know what the tool found when looking for layers. (From OE-Core rev: 711e2d4d7baf36f8497741c14268d7f72d0db016) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01linux-firmware: Add CLM blob to linux-firmware-bcm4373 packageRudolf J Streif
The Country Local Matrix (CLM) blob brcmfmac4373-sdio.clm_blob was not included with the files for the linux-firmware-bcm4373 package but instead packaged with linux-firmware. (From OE-Core rev: 18ba64d4a12e7275381cf34fe72b757accbb1544) Signed-off-by: Rudolf J Streif <rudolf.streif@ibeeto.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01linux-yocto/5.10: update to v5.10.93Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: fd187a492557 Linux 5.10.93 bed97c903621 mtd: fixup CFI on ixp4xx f50803b519c3 powerpc/pseries: Get entry and uaccess flush required bits from H_GET_CPU_CHARACTERISTICS 68c1aa82be00 ALSA: hda/realtek: Re-order quirk entries for Lenovo 4d15a17d065d ALSA: hda/realtek: Add quirk for Legion Y9000X 2020 d7b41464f1b7 ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk 87246ae94b73 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows 9c27e513fb33 ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices 4c7fb4d519e5 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all 6b8c3a185377 firmware: qemu_fw_cfg: fix kobject leak in probe error path 889c73305b48 firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries ff9588cf1592 firmware: qemu_fw_cfg: fix sysfs information leak 358a4b054abe rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled 93c4506f9f8b media: uvcvideo: fix division by zero at stream start 4c3f70be6f3a video: vga16fb: Only probe for EGA and VGA 16 color graphic cards 161e43ab8cc1 9p: only copy valid iattrs in 9P2000.L setattr implementation 0e6c0f3f4055 KVM: s390: Clarify SIGP orders versus STOP/RESTART 413b427f5fff KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest 723acd75a062 perf: Protect perf_guest_cbs with RCU eadde287a62e vfs: fs_context: fix up param length parsing in legacy_parse_param c5f38277163e remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided 5d88e24b23af orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc() 0084fefe2960 devtmpfs regression fix: reconfigure on each mount ee40594c95ae kbuild: Add $(KBUILD_HOSTLDFLAGS) to 'has_libelf' test (From OE-Core rev: 4f3dd05c163efe6da87a58ab9e1df61b83ed4444) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01linux-yocto/5.15: update to v5.15.16Bruce Ashfield
Updating linux-yocto/5.15 to the latest korg -stable release that comprises the following commits: 63dcc388662c Linux 5.15.16 ce2e7b97e588 mtd: fixup CFI on ixp4xx 9dada19e1096 ALSA: hda/realtek: Re-order quirk entries for Lenovo 4942295ec2af ALSA: hda/realtek: Add quirk for Legion Y9000X 2020 f76d5f9391a5 ALSA: hda/tegra: Fix Tegra194 HDA reset failure 7c452ca7bc7b ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk 8b046b2a63c6 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows 5b57c0efec9a ALSA: hda/realtek: Use ALC285_FIXUP_HP_GPIO_LED on another HP laptop c104edbb5a3f ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices 3a1e48069798 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all adf791cf905a perf annotate: Avoid TUI crash when navigating in the annotation of recursive functions 8840daa2f629 firmware: qemu_fw_cfg: fix kobject leak in probe error path db3337ba6e4a firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries bb08a4d10164 firmware: qemu_fw_cfg: fix sysfs information leak 898e91c32d04 rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled c671cb0b0087 media: uvcvideo: fix division by zero at stream start e2ece45f9450 video: vga16fb: Only probe for EGA and VGA 16 color graphic cards 7760404e8487 9p: only copy valid iattrs in 9P2000.L setattr implementation c2e7561ba7a8 remoteproc: qcom: pas: Add missing power-domain "mxc" for CDSP 252435941c33 KVM: s390: Clarify SIGP orders versus STOP/RESTART 6e8b6dcec07c KVM: x86: don't print when fail to read/write pv eoi memory 19f2dfb1a1f6 KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest 07667f43f8a8 KVM: x86: Register perf callbacks after calling vendor's hardware_setup() 18c16cef8179 perf: Protect perf_guest_cbs with RCU e192ccc17ecf vfs: fs_context: fix up param length parsing in legacy_parse_param c78c39a91dd4 remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided b07490067dbc orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc() ce258c74f8d9 drm/amd/display: explicitly set is_dsc_supported to false before use d5df26479c82 devtmpfs regression fix: reconfigure on each mount (From OE-Core rev: 64d6ad75dd0eecd4b976d821cae8119fdd903c41) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01x86: fix defconfig configuration warningsBruce Ashfield
Integrating the following commit(s) to linux-yocto/5.15: 720b61fc400b x86_64_defconfig: Fix warnings (From OE-Core rev: a1df7a1315b46c42ea4b1bd92782a68bdf7b3011) Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01linux-yocto/5.10: update to v5.10.92Bruce Ashfield
Updating linux-yocto/5.10 to the latest korg -stable release that comprises the following commits: c982c1a83932 Linux 5.10.92 c0091233f3d8 staging: greybus: fix stack size warning with UBSAN 66d21c005d9b drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk() 2d4fda471dc3 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn() 3609fed7ac8b media: Revert "media: uvcvideo: Set unique vdev name based in type" 9b3c761e78d5 random: fix crash on multiple early calls to add_bootloader_randomness() 61cca7d191c7 random: fix data race on crng init time 3de9478230c3 random: fix data race on crng_node_pool 43c494294f30 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved} 45221a57b609 can: isotp: convert struct tpcon::{idx,len} to unsigned int bd61ae808b15 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data f68e60001735 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe() 5f76445a31b7 veth: Do not record rx queue hint in veth_xmit ddfa53825f3d mmc: sdhci-pci: Add PCI ID for Intel ADL 2e691f9894cc ath11k: Fix buffer overflow when scanning with extraie a87cecf94375 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status 15982330b61d USB: core: Fix bug in resuming hub's handling of wakeup requests 413108ce3b56 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100 b6dd07023699 Bluetooth: bfusb: fix division by zero in send path 869e1677a058 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0 c20021ce945f Bluetooth: btusb: Add support for Foxconn MT7922A 83493918380f Bluetooth: btusb: Add two more Bluetooth parts for WCN6855 294c0dd80d8a Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb() 35ab8c9085b0 bpf: Fix out of bounds access from invalid *_or_null type verification c84fbba8a945 workqueue: Fix unbind_workers() VS wq_worker_running() race c39d68ab3836 md: revert io stats accounting (From OE-Core rev: 35dfcd31518e66fc4dc1f2283bd3320f994c868b) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01linux-yocto/5.15: update to v5.15.15Bruce Ashfield
Updating linux-yocto/5.15 to the latest korg -stable release that comprises the following commits: 760a85303c5a Linux 5.15.15 54a457ad2c97 staging: greybus: fix stack size warning with UBSAN 48d56b00c352 drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk() e29bd72f5c76 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn() 46c7ff13dfe8 media: Revert "media: uvcvideo: Set unique vdev name based in type" e0bb3bf81cc4 platform/x86/intel: hid: add quirk to support Surface Go 3 26b66120a896 random: fix crash on multiple early calls to add_bootloader_randomness() 2d5b4a96a60e random: fix data race on crng init time f5aaea746b36 random: fix data race on crng_node_pool 3fbbf56948b2 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved} 1079b56de4af can: isotp: convert struct tpcon::{idx,len} to unsigned int 1026f710bd55 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data 72bd750d1122 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe() 78a19e506bdc veth: Do not record rx queue hint in veth_xmit 3a29fd88f3ad Bluetooth: btbcm: disable read tx power for MacBook Air 8,1 and 8,2 7b8a6d60e0d5 Bluetooth: btbcm: disable read tx power for some Macs with the T2 Security chip d5eeefa335af Bluetooth: add quirk disabling LE Read Transmit Power 49e63682cb3b mmc: sdhci-pci: Add PCI ID for Intel ADL 6f4da584ec4e ath11k: Fix buffer overflow when scanning with extraie 02f3458289d2 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status 0284c0ca3db6 USB: core: Fix bug in resuming hub's handling of wakeup requests 0544baa4f761 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100 402aff59a748 Bluetooth: bfusb: fix division by zero in send path db74ee79c9f7 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0 c6bd1c35bd84 Bluetooth: btintel: Fix broken LED quirk for legacy ROM devices a366a81dcbb1 Bluetooth: btusb: Add support for Foxconn MT7922A 5e1b03c32535 Bluetooth: btusb: Add two more Bluetooth parts for WCN6855 e81cef21ea8a Bluetooth: btusb: Add one more Bluetooth part for WCN6855 f39825f4fc35 fget: clarify and improve __fget_files() implementation edaf018b898f Bluetooth: btusb: Add the new support IDs for WCN6855 a053e9619bb9 Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE e36a4d9c0bb8 Bluetooth: btusb: enable Mediatek to support AOSP extension dcfa2d7a9a9f Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb() 4a5557693f07 Bbluetooth: btusb: Add another Bluetooth part for Realtek 8852AE a1e59284193b Bluetooth: btusb: Add support for IMC Networks Mediatek Chip(MT7921) fe9ddfd236a6 Bluetooth: btusb: Add the new support ID for Realtek RTL8852A 3f502147ffc3 Bluetooth: btusb: Add protocol for MediaTek bluetooth devices(MT7922) e8efe8369944 bpf: Fix out of bounds access from invalid *_or_null type verification f39ffc6f9c60 staging: r8188eu: switch the led off during deinit cf5b6bd2c792 workqueue: Fix unbind_workers() VS wq_worker_running() race 0ed0be755276 s390/kexec: handle R_390_PLT32DBL rela in arch_kexec_apply_relocations_add() (From OE-Core rev: 5e4ff0db4169fbf056b415e5ff5c5b29202a6f01) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26libical: build gobject and vala introspectionMarkus Volk
(From OE-Core rev: 5e2fc4676b8944fc1d36d567bb2d1ff4cff32294) Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26tiff: backport fix for CVE-2022-22844Ross Burton
(From OE-Core rev: daf2880b7431aa641e02ebba8cbca40d81389088) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26sstate: A third fix for for touching files inside pseudoPeter Kjellerstedt
This continues where commit676757f "sstate: fix touching files inside pseudo" and commit 29fc8599 "sstate: another fix for touching files inside pseudo" left off. The previous changes switched from trying to check if the sstate file is writable before touching it, to always touching the sstate file and ignoring any errors. However, if the sstate file is actually a symbolic link that links to nothing, this would actually result in an empty sstate file being created. And this in turn leads to that future setscene tasks will fail when they try to unpack the empty file. Change the code so that if an sstate file linking to nothing already exists, it is overwritten with the new sstate file. Also change it so that the temporary file that is used is always removed, even if ln fails to link the sstate file to it. (From OE-Core rev: 552197a0c4c9f75a9177c00b197ea91296ed9fc4) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26icu: fix make_icudata dependenciesKory Maincent
The make_icudata task is set before the configure task then the dependencies for this task are not populate yet. Fixed it by adding do_prepare_recipe_sysroot task dependency to the make_icudata task. (From OE-Core rev: c134f62062a6359d2d5831ba4cb9694035e4f25a) Signed-off-by: Kory Maincent <kory.maincent@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26busybox: refresh defconfigAndrej Valek
- extend find command - disable rootfs skip - busybox-inittab_1.34.1 -> busybox-inittab_1.35.0 (From OE-Core rev: a43fd027cf1a7f0c9edd2d7abbf949d7ae0f4cea) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26kernel.bbclass: Allow initramfs to be built from a separate multiconfigAlejandro Hernandez Samaniego
There may be a case where we want to build an initramfs image that doesnt inherit the same DISTRO_FEATURES (or others) from the main image being built. For example we may want our initramfs not to inherit a certain conf or feature, say we want to use musl for a smaller footprint, but if we are using TCLIBC=glibc for our DISTRO (and inherently our main image), the initramfs image would inherit that conf and be forced to use glibc, growing in size as a side effect, currently avoiding this is not supported. Allow the kernel class to create a multiconfig dependency (mcdepends) vs depends for do_bundle_initramfs and define our INITRAMFS_IMAGE from a separate multiconfig via two new variables: INITRAMFS_MULTICONFIG and INITRAMFS_DEPLOY_DIR_IMAGE which define the multiconfig where the initramfs image should be coming from and its deploy directory respectively, these two keep a default definition which preserves current behavior (do_bundle_initramfs uses depends). Example usage: - Create and use multiconfig initramfscfg.conf and set TCLIBC=musl there, along with its TMPDIR. - Add the following to our DISTRO.conf: INITRAMFS_MULTICONFIG = "initramfscfg" and set INITRAMFS_DEPLOY_DIR_IMAGE to the DEPLOY_DIR_IMAGE of the initramfscfg multiconfig (hence our main kernel will be able to grab it from there and bundle it). This will result in our musl based initramfs bundled in our main kernel and our main image to be glibc based. (From OE-Core rev: 2d317b2685211f1b0d102705a63c0000df96f45f) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26core-image-tiny-initramfs: Mark recipe as 32 bit ARM compatibleAlejandro Hernandez Samaniego
(From OE-Core rev: 68bf897e54d81ea7264f48f960b8435fc6bf7815) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26systemd: Forward port musl patchesKhem Raj
Redo the header include patch and add fixes for new code. (From OE-Core rev: 7e35a575ef09a85e625a81e0b4d80b020e3e3a92) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26glibc : Fix CVE-2021-3999Pgowda
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=8c8a71c85f2ed5cc90d08d82ce645513fc907cb6] Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=472e799a5f2102bc0c3206dbd5a801765fceb39c] (From OE-Core rev: e9532134b86211801206ff540c4c284f43006f7b) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26glibc : Fix CVE-2021-3998Pgowda
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=062ff490c1467059f6cd64bb9c3d85f6cc6cf97a] Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=f7a79879c0b2bef0dadd6caaaeeb0d26423e04e5] (From OE-Core rev: 20cc83dd8d323d7ea86b3625f4e8da94c160def9) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26ffmpeg: Remove --disable-msa2 mips optionKhem Raj
This is now deleted option in 5.0+ (From OE-Core rev: e6140f11429e66e7ceadc932f2d6946c1270a19f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26nfs-utils: upgrade 2.5.4 -> 2.6.1wangmy
(From OE-Core rev: 6d8710bc444cd606c26a614560dde0c2cc981af8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26lighttpd: upgrade 1.4.63 -> 1.4.64wangmy
0001-mod_extforward-fix-out-of-bounds-OOB-write-fixes-313.patch removed since it's included in 1.4.64. with_gdbm, with_memcached removed since they're not applicable in 1.4.64. Changelog: ========= Important changes remove deprecated modules, bugfixes, CVE-2022-22707 (rare configs) Behavior Changes (previously announced and scheduled) -graceful restart/shutdown timeout changed from 0 (disabled) to 8 seconds configure an alternative with: server.feature-flags += ("server.graceful-shutdown-timeout" => 8) build: lighttpd defaults to -with-pcre2 instead of -with-pcre pcre2 is current. pcre is no longer maintained. Explicitly specify -with-pcre in build to use pcre instead of pcre2. -deprecated modules (previously announced) have been removed mod_authn_mysql mod_mysql_vhost mod_cml mod_flv_streaming mod_geoip mod_trigger_b4_dl https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated suggests migration steps for replacements, if needed Changes from 1.4.63 [core] fix trace issued for loading mod_auth (fixes #3121) [meson] need -lrt with glibc < 2.17 (fixes #3120) [core] adjust time jump detection (fixes #3123) [core] make setrlimit() warn, not fatal [core] add remote IP to some error msgs (fixes #3122) [mod_webdav] If-None-Match on non-existent entity [build] check getxattr before attr_get and -lattr [doc] SELinux: setsebool -P httpd_setrlimit on [build] create sha512sum file with release [build] CI builds now use make -j 2 [core] http_response_send_file() takes const path [core] use ETag response header to check cachable [core] add more const to stat_cache_update_entry() [multiple] remove r->physical.etag [mod_magnet] interface to http_response_send_file [build] add headers for sendfile() detect on MacOS [core] http_response_write_prepare optimization [core] define static_assert for uClibc (fixes #3127) [build] -Wno-implicit-fallthrough for ls-hpack [core] ignore pcre2 "bad JIT option" warning [build] pcre2: use pkg-config before pcre2-config [core] http_response_has_error_handler() [core] consolidate request restart loop check [core] defer retrieving Last-Modified until needed [mod_dirlisting] fix logic inversion in cache [core] mark expect cond in http_response_send_file [core] connection_handle_read_state() tweak [core] connection_state_machine_loop() tweaks [core] connection_state_machine_h2() tweaks [core] quiet coverity noise [core] use lower limit for max-fds if !setrlimit [build] do not check for prctl; HAVE_PRCTL unused [core] server.core-files support on FreeBSD (fixes #3128) [mod_extforward] support longer PROXY v2 TLV vec [mod_webdav] detect truncated copy_file_range() [mod_webdav] copy_file_range() new in FreeBSD 13 [mod_webdav] copy_file_range() new in FreeBSD 13 [build] feature consistency between build types [build] cmake build now defaults to C11 [core] CCRandomGenerateBytes() for rand on macOS (fixes #3129) [multiple] remove long-deprecated modules [build] default -with-pcre2 unless -with-pcre [core] "server.graceful-shutdown-timeout" => 8 [build] adjust trace for regex-conditionals [build] update tests/SConscript [core] errno_t detection on Illumos [build] cmake build now defaults to C11 [build] meson: find pcre2 w/o pkg-config [core] define EXTENSIONS on Illumos [build] cmake,meson socket libs for win32, Illumos (fixes #3130) [core] hide bsd_accept_filter code on OpenBSD (fixes #3131) [core] errno_t and rsize_t detection on Illumos [mod_webdav] copy acceleration [mod_webdav] define HAVE_RENAMEAT2 earlier [build] meson misdetects mempcpy on some platforms [build] cmake: skip "-Wl,-export-dynamic" Illumos [build] adjust .gitignore for macOS [build] meson crypt and dl detection on *BSD (fixes #3133) [core] /dev/null is a symlink on Illumos (fixes #3132) [core] server.core-files support for solaris (fixes #3135) [build] feature consistency between build types [build] Haiku build fix (fixes #3136) [lemon] silence coverity warnings [cmake] raise minimum version to 3.7 [cmake] add address/undefined sanitize compile options [asan tests] fix memory leaks [array] use speaking names for array "fn" vtables for better debugging experience [ci] add cmake-asan build type [core] buffer_copy_string() use "" if s is NULL [mod_authn_gssapi] code reuse: fdevent_mkostemp() [mod_authn_gssapi] reduce KRB5CCNAME mem alloc [build] adjust help strings for pcre2 default [core] (const char *) for srvconf.modules_dir [multiple] remove buffer_init_string() [multiple] remove buffer_init_buffer() [mod_extforward] fix out-of-bounds (OOB) write (fixes #3134) [build] use -fstack-protector-strong w/ extra warn [build] collect Sun-specific headers and funcs [build] collect Sun-specific headers and funcs [build] rm redundant check for -lnetwork on Haiku [build] check headers before some funcs [core] allow LISTEN_PID to be ppid if TRACEME (fixes #3137) [core] allow tests/tmp/bind.conf override (#3137) [mod_webdav] no sys/ioctl.h on _WIN32 [tests] _WIN32 adjustments in LightyTest.pm [tests] revert _WIN32 adjustments in LightyTest.pm [mod_gnutls] lift size check out of DN loop [mod_mbedtls] lift size check out of DN loop [mbedtls] save (mbedtls_ssl_config *) in hctx [multiple] permit UTF-8 in SSL_CLIENT_S_DN_* [mod_openssl] do not esc UTF-8 in cert subject [mod_mbedtls] reconstruct SSL_CLIENT_S_DN [mod_mbedtls] changes to build with mbedtls 3.0.0 [mod_mbedtls] remove use of out_left in mbedtls 3 [mod_mbedtls] mbedtls_ssl_conf_groups for 3.1.0 (From OE-Core rev: 478f5f30bf783fae513dbe6e8be9af9f6ec8a6a8) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26python3-libarchive-c: upgrade 3.2 -> 4.0wangmy
Changelog: ========= -BREAKING & SECURITY: The archive extraction functions now pass 3 security flags (SECURE_NODOTDOT, SECURE_NOABSOLUTEPATHS and SECURE_SYMLINKS) to libarchive by default, unless the current directory is the root. -BREAKING: The ArchiveEntry properties atime, mtime, ctime, birthtime and size now have the value None instead of 0 when they're unset. -BREAKING: The ArchiveEntry.pathname property now attempts to decode bytes using UTF-8. This breaks reading archives that contain file names which look like UTF-8 but aren't, if such a thing exists. Proper support of encodings will probably be added in the next version. -Multiple entries from the same archive can now be kept in memory, however only the current entry's content can be read. -The filetype, linkpath, size, mode, redvmajor, redvminor, uid and gid attributes of an archive entry can now be modified. -The four time properties of archive entries now have setters, so for example entry.set_mtime(0, 0) can be replaced by entry.mtime = 0. -Archive entries have 4 new properties: perm, rdev, uname and gname. -When adding files to an archive, a destination path can now be specified. -The ArchiveRead class now has a bytes_read property. -The ArchiveWrite class now has a bytes_written property. -Python 3.6 is no longer tested. -The documentation has been improved. (From OE-Core rev: 9adbc075c5a2b396d991144596fd92ebe16d4154) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26libwebp: 1.2.1 -> 1.2.2wangmy
(From OE-Core rev: 170ba2ab0733d781a95d8120fdfe9eccacee8b89) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26python3-importlib-metadata: upgrade 4.10.0 -> 4.10.1Tim Orling
v4.10.1 * 361: Avoid potential REDoS in EntryPoint.pattern. References: https://github.com/python/importlib_metadata/issues/361 (From OE-Core rev: d7a7e6d640a5b0819be4478aeb0f42d4a4981c89) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26python3-pyparsing: upgrade 3.0.6 -> 3.0.7Tim Orling
* Update HOMEPAGE to reflect move to github (in 2018) * Add DESCRIPTION and BUGTRACKER This upgrade includes bug fixes and minor enhancements. For changes, see: https://github.com/pyparsing/pyparsing/blob/master/CHANGES (From OE-Core rev: ed87730f9bfc04cba8e37847aa04d433da61e4a7) Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>