summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2021-12-02scripts/lib/wic/help.py: Update Fedora Kickstart URLsJon Mason
The URLs describing Kickstart are no longer valid and do not redirect to the correct location. Update them with the correct location. (From OE-Core rev: f01e3e8ece228a355cb91cbd043e0fe7fa951ebf) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e5ac75f93c8128b0761af5fee99e8603ddd1657d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02scripts/oe-package-browser: Handle no packages being builtRichard Purdie
Give the user a proper error message if there aren't packages built, rather than a less friendly traceback. [YOCTO #14619] (From OE-Core rev: 4b6d3564c09dbea3794f2915b65cbd2314ccffb6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b14c176b7dd74b7d63ca0f72e6e00fbf209f5a0b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02git: fix CVE-2021-40330Minjae Kim
git_connect_git in connect.c in Git before 2.30.1 allows a repository path to contain a newline character, which may result in unexpected cross-protocol requests, as demonstrated by the git://localhost:1234/%0d%0a%0d%0aGET%20/%20HTTP/1.1 substring. Upstream-Status: Backport [https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473] CVE: CVE-2021-40330 (From OE-Core rev: ea0d7ef4a8c9bba94bd603ebd19e502faa86293b) Signed-off-by: Minjae Kim <flowergom@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02gmp: fix CVE-2021-43618Ross Burton
(From OE-Core rev: abf73599c5706a8553a4b1f3553313059c4d9c69) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fb3b9a7f668a6ffd56a99e1e8b83cdbad2a4bc66) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02vim: fix CVE-2021-3927 and CVE-2021-3928Ross Burton
(From OE-Core rev: b3e4ae0b9fa44a6c604a6228f3e1b63a215aae74) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2001631e7a6edb7adc40ee4357466cc54472db71) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02vim: add patch number to CVE-2021-3778 patchRoss Burton
(From OE-Core rev: dc7789ac5277752060c7f5aeede5c4d861951e39) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 222be29051a3543ac63a0eb07019e90d44429b16) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02vim: fix CVE-2021-3796, CVE-2021-3872, and CVE-2021-3875Ross Burton
Backport patches from upstream to fix these CVEs. (From OE-Core rev: 5b69e1116a553a38506b75f5d455ff52d57ce70b) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b493eb4f9a6bb75a2f01a53b6c70762845bf79f9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02Revert "vim: fix 2021-3796"Steve Sakoman
This reverts commit 53ce5f292fd8d65fd89c977364ea6f7d813c7566. Reverting in preparation for fixes from master (From OE-Core rev: bf489893714d1c2d2e4694a5a1e313b661c9fdc4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02python3: upgrade 3.8.11 -> 3.8.12Marta Rybczynska
Release Date: Aug. 30, 2021 This is a security release of Python 3.8 Note: The release you're looking at is Python 3.8.12, a security bugfix release for the legacy 3.8 series. Python 3.10 is now the latest feature release series of Python 3. Get the latest release of 3.10.x here. Security content in this release contains four fixes. There are also four additional fixes for bugs that might have lead to denial-of-service attacks. Finally, while we're not providing binary installers anymore, for those users who produce installers, we upgraded the OpenSSL version used to 1.1.1l. Take a look at the change log for details. According to the release calendar specified in PEP 569, Python 3.8 is now in the "security fixes only" stage of its life cycle: 3.8 branch only accepts security fixes and releases of those are made irregularly in source-only form until October 2024. Python 3.8 isn't receiving regular bug fixes anymore, and binary installers are no longer provided for it. Python 3.8.10 was the last full bugfix release of Python 3.8 with binary installers. This release includes a fix for CVE-2021-29921. References: https://docs.python.org/release/3.8.12/whatsnew/changelog.html#changelog (From OE-Core rev: ff52cf448c5e26246f8637d0b8957c5c479fa389) Signed-off-by: Marta Rybczynska <marta.rybczynska@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02linux-firmware: upgrade 20210919 -> 20211027Alexander Kanavin
License-Update: additional firmwares listed (From OE-Core rev: 8c1d5f39be281833dc05a16674e48a3b704b785c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1ca3fb1c7f11e04bf8d8bf59901ddd60178cb13c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02linux-yocto/5.4: update to v5.4.158Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: c65356f0f726 Linux 5.4.158 e31d51f8a41f ARM: 9120/1: Revert "amba: make use of -1 IRQs warn" 960b1fdfc39a Revert "drm/ttm: fix memleak in ttm_transfered_destroy" a73ebe514a60 sfc: Fix reading non-legacy supported link modes 6789e4b7593b Revert "usb: core: hcd: Add support for deferring roothub registration" 049849492b77 Revert "xhci: Set HCD flag to defer primary roothub registration" 2461f38384d5 media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt() 21fc2bb836e5 net: ethernet: microchip: lan743x: Fix skb allocation failure e02fdd7db471 vrf: Revert "Reset skb conntrack connection..." 1ce287eff9f2 scsi: core: Put LLD module refcnt after SCSI device is released e6de9a8b5b30 Linux 5.4.157 39fb393e2102 perf script: Check session->header.env.arch before using it 472d9354a9ce KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu 07e9a4e1abfe KVM: s390: clear kicked_mask before sleeping again 5919a07d71b1 cfg80211: correct bridge/4addr mode check dba9e632eda0 net: use netif_is_bridge_port() to check for IFF_BRIDGE_PORT 0f5b4c57dc85 sctp: add vtag check in sctp_sf_ootb df527764072c sctp: add vtag check in sctp_sf_do_8_5_1_E_sa 0aa322b5fe70 sctp: add vtag check in sctp_sf_violation d6470c220025 sctp: fix the processing for COOKIE_ECHO chunk 5fe74d5e4d58 sctp: fix the processing for INIT_ACK chunk 5953ee99bab1 sctp: use init_tag from inithdr for ABORT chunk 5395650d154c phy: phy_start_aneg: Add an unlocked version c85b696270db phy: phy_ethtool_ksettings_get: Lock the phy for consistency 0dea6379e273 net/tls: Fix flipped sign in async_wait.err assignment e12b8f3c2b73 net: nxp: lpc_eth.c: avoid hang when bringing interface down b232898c1d4b net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent 92507dc1efac net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails 3708aa267d67 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST b1c76f97ad2c RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string 18a012869fa7 net: Prevent infinite while loop in skb_tx_hash() 6422e8471890 net: batman-adv: fix error handling 1cead23c1c0b regmap: Fix possible double-free in regcache_rbtree_exit() 207e6e93e7d6 arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node c29c3295e0e5 RDMA/mlx5: Set user priority for DCT 13ad93a42ce3 nvme-tcp: fix data digest pointer calculation b597b0e2e80b nvmet-tcp: fix data digest pointer calculation d997d4e4365f IB/hfi1: Fix abba locking issue with sc_disable() 0f8cdfff0682 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields 5f0bfe21c853 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function bd99782f3ca4 drm/ttm: fix memleak in ttm_transfered_destroy d2c64ebcc76a net: lan78xx: fix division by zero in send path a37c5e70ac24 cfg80211: scan: fix RCU in cfg80211_add_nontrans_list() 590abe5becf5 mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit 07da44b08641 mmc: sdhci: Map more voltage level to SDHCI_POWER_330 0821c5608d80 mmc: dw_mmc: exynos: fix the finding clock sample value 08328d65cb78 mmc: cqhci: clear HALT state after CQE enable 55a3870f4a26 mmc: vub300: fix control-message timeouts e0cfd5159f31 net/tls: Fix flipped sign in tls_err_abort() calls 6a18d155d5b3 Revert "net: mdiobus: Fix memory leak in __mdiobus_register" 9fdcf66ee413 nfc: port100: fix using -ERRNO as command type mask 853f22623dd5 ata: sata_mv: Fix the error handling of mv_chip_id() 6d0b30784fcd Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode" b7dfc536db87 usbnet: fix error return code in usbnet_probe() 492140e45d2b usbnet: sanity check for maxpacket 4ba6c163fe64 ipv4: use siphash instead of Jenkins in fnhe_hashfun() 3f439c231a03 ipv6: use siphash in rt6_exception_hash() 1cad781ecf37 powerpc/bpf: Fix BPF_MOD when imm == 1 ca10ddbbabd0 ARM: 9141/1: only warn about XIP address when not compile testing 40cd32945552 ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype 2f7647cc13be ARM: 9134/1: remove duplicate memcpy() definition 9f44f66396f3 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned (From OE-Core rev: dfb12f1571a6d7581a07f2573abbf928365fa850) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02linux-yocto/5.4: update to v5.4.156Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 89b6869b942b Linux 5.4.156 7cdcaa7c765b pinctrl: stm32: use valid pin identifier in stm32_pinctrl_resume() a9c4e246f7c3 ARM: 9122/1: select HAVE_FUTEX_CMPXCHG a98c81ab1751 tracing: Have all levels of checks prevent recursion b0feaa8376f5 net: mdiobus: Fix memory leak in __mdiobus_register 0ab35e707462 scsi: core: Fix shost->cmd_per_lun calculation in scsi_add_host_with_dma() 9068beaa049a Input: snvs_pwrkey - add clk handling 8de335e8199f ALSA: hda: avoid write to STATESTS if controller is in reset 570bc60dcd00 platform/x86: intel_scu_ipc: Update timeout value in comment 4054b869dc26 isdn: mISDN: Fix sleeping function called from invalid context 5001160d3ed5 ARM: dts: spear3xx: Fix gmac node e9d9ffa19367 net: stmmac: add support for dwmac 3.40a 044fa2afd676 btrfs: deal with errors when checking if a dir entry exists during log replay d49a293b946d gcc-plugins/structleak: add makefile var for disabling structleak e8ef9984418f selftests: netfilter: remove stray bash debug line b7fdebde2c9b netfilter: Kconfig: use 'default y' instead of 'm' for bool config option 285e9210b1fa isdn: cpai: check ctr->cnr to avoid array index out of bound 1f75f8883b4f nfc: nci: fix the UAF of rf_conn_info object 4f5d1c29cfab mm, slub: fix potential memoryleak in kmem_cache_open() a1ec195a1943 mm, slub: fix mismatch between reconstructed freelist depth and cnt 8e25a62e8dab powerpc/idle: Don't corrupt back chain when going idle d0148cfaf89c KVM: PPC: Book3S HV: Make idle_kvm_start_guest() return 0 if it went to guest 80bbb0bc3a02 KVM: PPC: Book3S HV: Fix stack handling in idle_kvm_start_guest() 722e6f6ac818 powerpc64/idle: Fix SP offsets when saving GPRs d6f451f1f60c audit: fix possible null-pointer dereference in audit_filter_rules c974f2f92c31 ASoC: DAPM: Fix missing kctl change notifications 5307a77b7149 ALSA: hda/realtek: Add quirk for Clevo PC50HS 50fc52e5ca59 ALSA: usb-audio: Provide quirk for Sennheiser GSP670 Headset 0f218ba4c8aa vfs: check fd has read access in kernel_read_file_from_fd() f439d2bcb679 elfcore: correct reference to CONFIG_UML d3a83576378b ocfs2: mount fails with buffer overflow in strlen b05caf023b14 ocfs2: fix data corruption after conversion from inline format bce53fbee948 ceph: fix handling of "meta" errors 151c72bba129 can: j1939: j1939_xtp_rx_rts_session_new(): abort TP less than 9 bytes 0ddf781882ac can: j1939: j1939_xtp_rx_dat_one(): cancel session if receive TP.DT with error length a0e47d2833b4 can: j1939: j1939_netdev_start(): fix UAF for rx_kref of j1939_priv 7e66cfed66f9 can: j1939: j1939_tp_rxtimer(): fix errant alert in j1939_tp_rxtimer 1248582e47a9 can: peak_pci: peak_pci_remove(): fix UAF ea82c2463e22 can: peak_usb: pcan_usb_fd_decode_status(): fix back to ERROR_ACTIVE state notification c26dcd1cb8db can: rcar_can: fix suspend/resume 8c5585eae3ae net: enetc: fix ethtool counter name for PM0_TERR c0b0baade9b8 net: stmmac: Fix E2E delay mechanism c4b64011e458 net: hns3: disable sriov before unload hclge layer 472acf1582fd net: hns3: add limit ets dwrr bandwidth cannot be 0 b1f9380ee230 net: hns3: reset DWRR of unused tc to zero 12bdcbc04341 NIOS2: irqflags: rename a redefined register name 599766696f69 net: dsa: lantiq_gswip: fix register definition f49ce82f9b7c lan78xx: select CRC32 83094f8c44cb netfilter: ipvs: make global sysctl readonly in non-init netns ce70ee94dde6 ASoC: wm8960: Fix clock configuration on slave mode 0f5b08ca22e1 dma-debug: fix sg checks in debug_dma_map_sg() 50aefa9acc91 NFSD: Keep existing listeners on portlist error 4a5bf3e729d9 xtensa: xtfpga: Try software restart before simulating CPU reset 31137288b946 xtensa: xtfpga: use CONFIG_USE_OF instead of CONFIG_OF d946a39bad58 ARM: dts: at91: sama5d2_som1_ek: disable ISC node by default e7c4819c0b67 tee: optee: Fix missing devices unregister during optee_remove b1e9b4e0f656 net: switchdev: do not propagate bridge updates across bridges 2d22cd048289 parisc: math-emu: Fix fall-through warnings (From OE-Core rev: 1a1a140984a463e4e74bfbc0c77c0c28e394bbe9) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02linux-yocto/5.4: update to v5.4.155Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: 4f508aa9dd3b Linux 5.4.155 32d2ce0b9499 ionic: don't remove netdev->dev_addr when syncing uc list abaf8e8b9081 r8152: select CRC32 and CRYPTO/CRYPTO_HASH/CRYPTO_SHA256 a4f7d2246e3b qed: Fix missing error code in qed_slowpath_start() 62d96bb68b4e mqprio: Correct stats in mqprio_dump_class_stats(). fa272e835325 acpi/arm64: fix next_platform_timer() section mismatch error 32ac4ed32b9a drm/msm/dsi: fix off by one in dsi_bus_clk_enable error handling 46200989580c drm/msm/dsi: Fix an error code in msm_dsi_modeset_init() f302be08e3de drm/msm: Fix null pointer dereference on pointer edp 0d5ef1e87554 drm/panel: olimex-lcd-olinuxino: select CRC32 9225d57f51e2 platform/mellanox: mlxreg-io: Fix argument base in kstrtou32() call ae0993739e14 mlxsw: thermal: Fix out-of-bounds memory accesses 97e6dcb41625 ata: ahci_platform: fix null-ptr-deref in ahci_platform_enable_regulators() b9352ed9b983 pata_legacy: fix a couple uninitialized variable bugs 2bde4aca56db NFC: digital: fix possible memory leak in digital_in_send_sdd_req() 7ab488d7228a NFC: digital: fix possible memory leak in digital_tg_listen_mdaa() 69b3a13f0d08 nfc: fix error handling of nfc_proto_register() 2731eaac1965 ethernet: s2io: fix setting mac address during resume 4c2eb80fc90b net: encx24j600: check error in devm_regmap_init_encx24j600 0904e1be2a92 net: stmmac: fix get_hw_feature() on old hardware 06251ea8d1d9 net/mlx5e: Mutually exclude RX-FCS and RX-port-timestamp 19a01522c5d0 net: korina: select CRC32 32b57d897eff net: arc: select CRC32 2880dc130236 gpio: pca953x: Improve bias setting d88774539539 sctp: account stream padding length for reconf chunk 232c485c6bcd iio: dac: ti-dac5571: fix an error code in probe() 69696951de5a iio: ssp_sensors: fix error code in ssp_print_mcu_debug() 10ecff1522eb iio: ssp_sensors: add more range checking in ssp_parse_dataframe() ac0688bcd151 iio: light: opt3001: Fixed timeout error when 0 lux 3c00d93297ff iio: mtk-auxadc: fix case IIO_CHAN_INFO_PROCESSED cf4b39907a82 iio: adc128s052: Fix the error handling path of 'adc128_probe()' 580c09a9ef9e iio: adc: aspeed: set driver data when adc probe. 1904050cacd7 powerpc/xive: Discard disabled interrupts in get_irqchip_state() 5683ed468fa0 x86/Kconfig: Do not enable AMD_MEM_ENCRYPT_ACTIVE_BY_DEFAULT automatically 0594f1d048d8 nvmem: Fix shift-out-of-bound (UBSAN) with byte size cells d07571672c90 EDAC/armada-xp: Fix output of uncorrectable error counter dba8834baed3 virtio: write back F_VERSION_1 before validate 1b39a67856cc USB: serial: option: add prod. id for Quectel EG91 41e178c138d9 USB: serial: option: add Telit LE910Cx composition 0x1204 848eac2cb785 USB: serial: option: add Quectel EC200S-CN module support 958e98ca522c USB: serial: qcserial: add EM9191 QDL support 733dcc08e97b Input: xpad - add support for another USB ID of Nacon GC-100 9ab5d539bc97 usb: musb: dsps: Fix the probe error path 278e483dc793 efi: Change down_interruptible() in virt_efi_reset_system() to down_trylock() 27a847dbc962 efi/cper: use stack buffer for error record decoding 6e35a5e9267d cb710: avoid NULL pointer subtraction e71ce4a81ed4 xhci: Enable trust tx length quirk for Fresco FL11 USB controller 01c2dcb67e71 xhci: Fix command ring pointer corruption while aborting a command 7ce7d4a46d6e xhci: guard accesses to ep_state in xhci_endpoint_reset() 783579057c90 mei: me: add Ice Lake-N device id. 9264bd22d701 x86/resctrl: Free the ctrlval arrays when domain_setup_mon_state() fails 10b77e16b35b watchdog: orion: use 0 for unset heartbeat 9acf1c10f1da btrfs: check for error when looking up inode during dir entry replay 625565fd80ae btrfs: deal with errors when adding inode reference during log replay 6e2ac49b21ea btrfs: deal with errors when replaying dir entry during log replay 005a07c9acd6 btrfs: unlock newly allocated extent buffer after error e9f457f056c5 csky: Fixup regs.sr broken in ptrace a6f4ea748aa8 csky: don't let sigreturn play with priveleged bits of status register 98544ca6cbae s390: fix strrchr() implementation 5959e22e0767 nds32/ftrace: Fix Error: invalid operands (*UND* and *UND* sections) for `^' 2e41b9c8461f ALSA: hda/realtek: Fix the mic type detection issue for ASUS G551JW 90cf96afa347 ALSA: hda/realtek - ALC236 headset MIC recording issue 33627fa4db3e ALSA: hda/realtek: Add quirk for Clevo X170KM-G e96079ab1c4e ALSA: hda/realtek: Complete partial device name to avoid ambiguity dd3f04831523 ALSA: seq: Fix a potential UAF by wrong private_free call order 825786f72326 ALSA: usb-audio: Add quirk for VF0770 43d93325265b ovl: simplify file splice (From OE-Core rev: 6d7eb36b006fcfa38e21f38d09fb168e387c690a) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02linux-yocto/5.4: update to v5.4.154Bruce Ashfield
Updating linux-yocto/5.4 to the latest korg -stable release that comprises the following commits: ce061ef43f1d Linux 5.4.154 291a48871e51 sched: Always inline is_percpu_thread() 3e105ecc4ab7 scsi: virtio_scsi: Fix spelling mistake "Unsupport" -> "Unsupported" 1ff5ee9d3926 scsi: ses: Fix unsigned comparison with less than zero 83d857d6b096 drm/amdgpu: fix gart.bo pin_count leak 1843ae8c4b2b net: sun: SUNVNET_COMMON should depend on INET 6d1d7acb1067 mac80211: check return value of rhashtable_init 2aaf3fd5e109 net: prevent user from passing illegal stab size 1e66a472b51b m68k: Handle arrivals of multiple signals correctly be191c8e68fe mac80211: Drop frames from invalid MAC address in ad-hoc mode fffad5988f28 netfilter: nf_nat_masquerade: defer conntrack walk to work queue b3cb06303419 netfilter: nf_nat_masquerade: make async masq_inet6_event handling generic a9d8aa2d3ca8 HID: wacom: Add new Intuos BT (CTL-4100WL/CTL-6100WL) device IDs 8c6680025b49 netfilter: ip6_tables: zero-initialize fragment offset 744b908a7f3f HID: apple: Fix logical maximum and usage maximum of Magic Keyboard JIS b6bccc978ec8 ext4: correct the error path of ext4_write_inline_data_end() de4a28b718bb net: phy: bcm7xxx: Fixed indirect MMD operations (From OE-Core rev: b8f2b67706311672f923dfef9a0587c64c49e840) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02bitbake: process/knotty: Improve early exception handlingRichard Purdie
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: 7fdd43c5cbde38daa013076de2fdedcf3c3d3107) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6059d0e77f60ddb679049bd34478f41b1ab7995d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02bitbake: tinfoil: When sending commands we need to process eventsRichard Purdie
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: f20da5247dea524e837c5b6fdeccc79cbafedf90) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 64ae9d7e2fad804dd9e12706c6d76b4b22f9586b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-12-02bitbake: command: Ensure exceptions inheriting from BBHandledException are ↵Richard Purdie
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: 80348b68a34b7ec45a0496a4af7f2ae0c26488f0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ef762d92df6c2554c6248e80212f984d9ec4c651) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15build-appliance-image: Update to dunfell head revisionRichard Purdie
(From OE-Core rev: 44b1970c40e9d73f6e63fb10cdc55837a26f5921) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15mirrors: Add kernel.org sources mirror for downloads.yoctoproject.orgRichard Purdie
kernel.org now has a mirror of the downloads.yoctoproject.org sources archive so include this in our mirrors list. (From OE-Core rev: dbbec36638f035aefbaf22f152a2ca95836d08bd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15selftest/reproducible: add webkitgtk back to exclusion list for dunfellSteve Sakoman
We are still getting occassional failures to reproduce (From OE-Core rev: 0d3603f9433266b619adf59bf5e5d346b0405062) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15reproducible_build: Remove BUILD_REPRODUCIBLE_BINARIES checkingMark Hatle
Previously if BUILD_REPRODUCIBLE_BINARIES was set to 0, the system would fall back and select the default epoch (April 2011), but still perform the reproducible build actions. This resulted in binaries that had an unusually old date. Simplify the functions and remove the anonymous python as no longer necessary. Also improve the documentation to better explain what the class is doing and how a recipe can override the behavior if necessary. (From OE-Core rev: 814bedacac9f5c343c9888c0b14649189a84f817) 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> (cherry picked from commit 1976013b026cfba94de32a13e994d92d7e9e39e5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15sstate: Avoid deploy_source_date_epoch sstate when unneededRichard Purdie
This sstate task is only needed when depended upon, it can be skipped if there are no tasks running that directly depend upon it. This reduced the number of sstate tasks in something like an image build. (From OE-Core rev: 884e44701ada57abe4d8ad9ece424435be25c6a5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 601cee016da5c7505915e26641a085714de175ce) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15sstate: Ensure SDE is accounted for in package task timestampsRichard Purdie
When creating packages we build them with --clamp-mtime and use SOURCE_DATE_EPOCH as the maximum mtime. This makes the end packages reproducible. The data stored in sstate for do_package and the package task doesn't benefit from this though and have varying timestamps. This means their outhash varies and means hash equivalance isn't effective at all and doesn't work as intended/desired. We could create the sstate archives with the same clamping however that would lead to different results depending on whether a task was installed from sstate or not. Making that differ is a path to madness. It also wouldn't fix the outhash of the task to be determninistic without clamping of the date in the hash calculation code. Instead, iterate over the files in sstate output and clamp them at the code level. This isn't ideal but does make the file timestamps determnistic everywhere and means we don't have to change the hash calculation code. This issue can be clearly seen looking at the do_package outhash for a recipe which you then re-run the package task for after adding something like whitespace to the install task. The outhash shouldn't change but currently does. (From OE-Core rev: 06b8f2a5a24be1a87f0eaf29fdba719ebe3bb06e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c3b3cc4745811b48b9193f83889946b2e1788932) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15sstate: another fix for touching files inside pseudoJose Quaresma
This patch is a fixup for 676757f "sstate: fix touching files inside pseudo" running the 'id' command inside the sstate_unpack_package function shows that this funcion run inside the pseudo: uid=0(root) gid=0(root) groups=0(root) The check for [ -w ${SSTATE_PKG} ] and [ -O ${SSTATE_PKG}.siginfo ] will always return true and the touch can fail when the real user don't have permission or in readonly filesystem. As the documentation refers: - the file test operator "-w" check if the file has write permission (for the user running the test). - the file test operator "-O" check if you are owner of file We can avoid this test running the touch and mask any return errors that we have. (From OE-Core rev: 29fc85997ade490ae46ffca37ef8e1a56957c876) (From OE-Core rev: e7d94a9cc5ab1b2c5d160fd06d643a4bc3409d26) Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5b9210d66c78bb3f79056e5586cea7b0edd714a9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15mirrors: Add uninative mirror on kernel.orgRichard Purdie
At the last nas outage, we realised that we don't have good mirrors of the uninative tarball if our main system can't be accessed. kernel.org mirrors some Yocto Project data so we've ensured uninative is there. Add the appropriate mirror url to make use of that. (From OE-Core rev: ebeb1458c7f24cd97978beb7cddf814cae43c6a2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15piglit: upgrade to latest revisionMarek Vasut
Update piglit to latest git revision and update the branch name, since the original one is no longer updated. Make sure the VK tests are only enabled if VK is also enabled in PACKAGECONFIG, and that this is opt-in, otherwise older systems fail to build. Cherry picked from squashed commits: eb3a8d4c7b ("piglit: upgrade to latest revision") a27b06f73a ("piglit: upgrade to latest revision") bb091bc0be ("piglit: upgrade to latest revision") 394746d1cb ("piglit: upgrade to latest revision") 5aec8cff94 ("piglit: upgrade to latest revision") fc4c82773d ("piglit: fix reproducibility") 6fbec0f12a ("piglit: update to latest revision") 8d23a0d498 ("piglit: upgrade to latest revision") 5144d515fe ("piglit: upgrade to latest revision") dd085bd577 ("piglit: upgrade to latest revision") 9ba6df1b2c ("piglit: upgrade to latest revision") 1ccd71eb3e ("piglit: upgrade to latest revision") (From OE-Core rev: 65aa83e25059b29563a45eacdad8178bc7a07fe4) Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Cc: Anuj Mittal <anuj.mittal@intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Steve Sakoman <steve@sakoman.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15pseudo: Add fcntl64 wrapperRichard Purdie
Add fcntl64 wrapper which hopefully fixes issues seen in findutils and the find command in the libtool removal code when built with LFS compile flags on Gentoo. (From OE-Core rev: c87d2dd8ec10d8164b0bff4307ea66f41b3360d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f26867fe4daec7299f59a82ae4a0d70cceb3e082) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15pseudo: Add in ability to flush database with shutdown requestRichard Purdie
Pulls in: pseudo_db: Flush DB if there is a shutdown request fcntl: Add support for fcntl F_GETPIPE_SZ and F_SETPIPE_SZ (test fix) (From OE-Core rev: 649333a0d1bd5be4d5fb8a494e06686e08d291be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0882095d608ce3abbcc9814517434c21ea549063) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15linunistring: Add missing gperf-native dependencyRichard Purdie
(From OE-Core rev: fc7dddf939b04dbd5b5d92ecf3a5c422ee5caf15) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 73d3efbaeb2f412ab8d3491d2da3f3124fc009f3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15python3-magic: add missing DEPENDSSteve Sakoman
Since file-native is ASSUME_PROVIDED magic.mgc is not being staged. As a result diffoscope-native is failing with: magic.MagicException: b'could not find any valid magic files! Fix this by adding dependency on file-replacement-native (From OE-Core rev: dcd8294f826f6e061cdd01c6c3594789ed46732e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15python3-magic: add the missing rdependsMingli Yu
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: ba5562d34653fa6b5819dbc8ca80a42167c38c96) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 115791844124bdddfbaec9d75bb887ef35c41f20) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15webkitgtk: Fix reproducibility in minibrowserKhem Raj
(From OE-Core rev: 5ebea40c2236900a11b6025b53b4728eb08e5464) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8f08ca440b6c2ad3494808ffa4ec6091722c0339) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-15oeqa: reproducible: Fix test not producing diffsJoshua Watt
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: a1087756221b8fcfe9c6903e678920f96e12292e) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit ea8fbcb7978ce48d7a9a83143d09402329535f86) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-12documentation: prepare for 3.1.12 releaseSteve Sakoman
(From yocto-docs rev: f1cd4d8ae58037609556de51b33a4dbeab7f45ff) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-12ref-system-requirements.rst: Add Fedora 34 to list of supported distrosSteve Sakoman
(From yocto-docs rev: e52bcc41e11681275b46b320cb623bf5576b589c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-12ref-system-requirements.rst: Add Debian 11 to list of supported distrosSteve Sakoman
(From yocto-docs rev: 1e32fbf2a24dfbbffb0450db97bac76ac7440da4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-12poky.conf: Bump version for 3.1.12 releaseSteve Sakoman
(From meta-yocto rev: 8a9d89df2c50128130a40119a4827ace761c236c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11bitbake: fetch/wget: Add timeout for checkstatus calls (30s)Richard Purdie
We had an issue where a webserver serving sstate had filesystem issues so would accept connections but effectively not do anything with them. This causes bitbake to hang whilst processing things like sstate objects inside the checkstatus() calls. It can be replicated by setting up a server like: socat -u TCP4-LISTEN:NNN,fork OPEN:/dev/null and pointing SSTATE_MIRRORS in OE at that address. Adding a timeout to the checkstatus calls of 30s means that whilst the system will pause, it will then continue and not hang entirely. Since there isn't a large transfer here, 30s should be a reasonable response time after which we should fall back to building things ourselves. [YOCTO #13716] (Bitbake rev: c0348de8121c3a842bf44906f7e2f79e93f7275b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11meta/scripts: Manual git url branch additionsRichard Purdie
Following the scripted conversion adding branches to git:// SRC_URI entries, add the remaining references, mainly in the selftests and recipetool. (From OE-Core rev: 38fc0807eea14dc12610da4ba73c082d5a4b0744) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5340c0d688036c1be6c938f05d8a8c1e3b49ec38) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11meta: Add explict branch to git SRC_URIs, handle github url changesSteve Sakoman
This update was made with the convert-scruri.py script in scripts/contrib This script handles two emerging issues: 1. There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. 2. Github are dropping support for git:// protocol fetching, so remap github urls as needed. For more details see: https://github.blog/2021-09-01-improving-git-protocol-security-github/ (From OE-Core rev: 827a805349f9732b2a5fa9184dc7922af36de327) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-11scripts/convert-srcuri: Backport SRC_URI conversion script from master branchRichard Purdie
This script handles two emerging issues: 1. There is uncertainty about the default branch name in git going forward. To try and cover the different possible outcomes, add branch names to all git:// and gitsm:// SRC_URI entries. 2. Github are dropping support for git:// protocol fetching, so remap github urls as needed. For more details see: https://github.blog/2021-09-01-improving-git-protocol-security-github/ (From OE-Core rev: 904bdbab712e2f3c332c4d85d08ed83c957e249f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-09bitbake: tests/fetch: Update pcre.org address after github changesRichard Purdie
vcs.pcre.org was a redirect to github which we use for subversion testing. With the protocol changes at github and the removal of the redirect, use a direct address for github. (Bitbake rev: fa471399d41efdf61e95e0be541b45f0621756f3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6230ca71eb7eb2a6db162e28a01727d00af5299b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08bitbake: tests/fetch: Update github urlsRichard Purdie
(Bitbake rev: f1a3e9d22b5f4fb01c4a0e4ba03afb1afbba47f1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 07fca7e3ab696ba985b3ef86ab9031d688bf2df2) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-08bitbake: tests/fetch2: Fix quoting warningRichard Purdie
Fix: lib/bb/tests/fetch.py:1288: DeprecationWarning: invalid escape sequence for several lines of the fetch tests. (Bitbake rev: bd8883d756328ca4c8f6bf97f77e17133a6bfb45) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9d84fd557a3fcbae2cdd70b24e69325ad737a01e) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03bitbake: fetch/git: Handle github dropping git:// supportRichard Purdie
github is dropping support for git protocol in Git urls. Add code to remap this to https in a way that could be used in older bitbake versions. (Bitbake rev: c222eddcebe892ae209aea7776cfc1147ac1df6e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03tzdata: update 2021d -> 2021eAlexander Kanavin
(From OE-Core rev: 6cd21ddc6f998eec4d9be05f080e32072fddd2bd) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 660f932c21fed410ad092ec610749e7090b6a324) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03tzdata: upgrade 2021a -> 2021dAlexander Kanavin
(From OE-Core rev: c062c7c7c29e233bb245b2dc8b68b3903dfc8094) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f171f4f528090fc108624de6049274aa4d4880eb) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03ca-certificates: update 20210119 -> 20211016Alexander Kanavin
(From OE-Core rev: 43aa25b523b2c11ce483ea22435196dfca259b30) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c479b8a810d966d7267af1b4dac38a46f55fc547) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03wireless-regdb: upgrade 2021.07.14 -> 2021.08.28Alexander Kanavin
(From OE-Core rev: cf208a65c2b152ba9ba761a8fba481bbf2e11a70) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 00c590f50d6894089ff7ce8ad6e263431d9cc550) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-11-03wireless-regdb: upgrade 2021.04.21 -> 2021.07.14Alexander Kanavin
(From OE-Core rev: 7bba78dd975e0af027312278ba7890facd4e7024) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7f4d11e8da6bb79232535c42ad41798a56162ac7) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>