Patch review
cover Patch review
Please review this set of patches for dunfell and have comments back by end of day Tuesday.
Passed a-full on autobuilder:
https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/2968
The following changes since commit 44b1970c40e9d73f6e63fb10cdc55837a26f5921:
build-appliance-image: Update to dunfell head revision (2021-11-15 15:00:44 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contrib stable/dunfell-nut
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=stable/dunfell-nut
Alexander Kanavin (17):
linux-firmware: upgrade 20210919 -> 20211027 libpcre/libpcre2: correct SRC_URI
curl: submit patch upstream
libxml2: submit patch upstream
cracklib: patches submitted upstream
docbook-xml: patch is not upstreamable
lrzsz: patch is not upstreamable
valgrind: mark ptest-specific patch as inappropriate
systemd-bootchart: submit musl patches upstream
libxml2: mark patch as non-upstreamable
libgpg-error: mark patch as non-upstreamable
valgrind: submit patch upstream
webkitgtk: submit patches upstream
weston: submit patch upstream
db: mark all patches as non-upstreamable unzip/zip: mark all patches as non-upstreamable
slang: mark patch as inappropriate for upstream submission
Anuj Mittal (1):
glibc-version.inc: remove branch= from GLIBC_GIT_URI
Bruce Ashfield (4):
linux-yocto/5.4: update to v5.4.154
linux-yocto/5.4: update to v5.4.155
linux-yocto/5.4: update to v5.4.156
linux-yocto/5.4: update to v5.4.158
Claus Stovgaard (1):
cups: Fix missing installation of cups sysv init scripts
Daniel Gomez (1):
os-release: Add DISTRO_CODENAME as vardeps for do_compile
Denys Dmytriyenko (1):
make-mod-scripts: pass CROSS_COMPILE to configure and build
Jate Sujjavanich (2):
libdnf: Backport bugfix for upgrade calc
dnf: Backport bugfix for upgrade
Jon Mason (1):
scripts/lib/wic/help.py: Update Fedora Kickstart URLs
Khem Raj (1):
lrzsz: Use Cross AR during compile
Marta Rybczynska (1):
python3: upgrade 3.8.11 -> 3.8.12
Minjae Kim (1):
git: fix CVE-2021-40330
Peter Bergin (1):
systemd: add packageconfig for wheel-group
Richard Purdie (2):
scripts/oe-package-browser: Handle no packages being built reproducible_build/package_XXX: Ensure SDE task is in dependency chain
Ross Burton (5):
vim: fix CVE-2021-3796, CVE-2021-3872, and CVE-2021-3875
vim: add patch number to CVE-2021-3778 patch
vim: fix CVE-2021-3927 and CVE-2021-3928
gmp: fix CVE-2021-43618
openssh: remove redundant BSD license
Steve Sakoman (1):
Revert "vim: fix 2021-3796"
Wang Mingyu (1):
openssh: Improve LICENSE to show BSD license variants.
Yi Zhao (1):
oeqa: fix warnings for append operators combined with +=
meta/classes/package_deb.bbclass | 4 +-
meta/classes/package_ipk.bbclass | 3 +-
meta/classes/package_rpm.bbclass | 3 +-
meta/classes/reproducible_build.bbclass | 2 +
meta/lib/oeqa/runtime/cases/ksample.py | 2 +-
meta/lib/oeqa/selftest/cases/imagefeatures.py | 2 +-
...mpilation-using-autoconf-detected-AR.patch | 36 ++++++
.../lrzsz-0.12.20/autotools-update.patch | 2 +-
meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 1 +
.../openssh/openssh_8.2p1.bb | 2 +-
meta/recipes-core/glibc/glibc-version.inc | 2 +-
.../libxml2/libxml-m4-use-pkgconfig.patch | 6 +-
.../recipes-core/libxml/libxml2/runtest.patch | 2 +-
meta/recipes-core/os-release/os-release.bb | 4 +-
meta/recipes-core/systemd/systemd_244.5.bb | 2 +
...ackages-in-upgrade-job-RhBug-1728252.patch | 60 ++++++++++
meta/recipes-devtools/dnf/dnf_4.2.2.bbappend | 3 +
.../docbook-xml-update-catalog.xml.patch | 2 +-
.../git/files/CVE-2021-40330.patch | 108 ++++++++++++++++++
meta/recipes-devtools/git/git.inc | 4 +-
...job-goal.upgrade-with-sltr-as-target.patch | 58 ++++++++++
.../libdnf/libdnf_0.28.1.bbappend | 3 +
.../{python3_3.8.11.bb => python3_3.8.12.bb} | 4 +-
...is-glibc-specific-use-raw-signature-.patch | 2 +-
.../0002-musl-does-not-provide-printf-h.patch | 2 +-
...s-not-provide-canonicalize_file_name.patch | 2 +-
.../0004-Fix-out-of-tree-builds.patch | 2 +-
...est-wrapper-to-support-PTEST-formats.patch | 2 +-
...port-dictionary-byte-order-dependent.patch | 2 +-
...aklib-fix-testnum-and-teststr-failed.patch | 2 +-
meta/recipes-extended/cups/cups.inc | 2 +-
.../slang/slang/terminfo_fixes.patch | 4 +-
.../unzip/unzip/avoid-strip.patch | 2 +-
.../unzip/unzip/define-ldflags.patch | 2 +-
.../unzip/unzip/fix-security-format.patch | 2 +-
.../unzip/unzip/symlink.patch | 2 +-
.../zip/zip-3.0/fix-security-format.patch | 2 +-
...ovide-a-default-version-that-doesn-t.patch | 2 +-
...20210919.bb => linux-firmware_20211027.bb} | 4 +-
.../linux/linux-yocto-rt_5.4.bb | 6 +-
.../linux/linux-yocto-tiny_5.4.bb | 8 +-
meta/recipes-kernel/linux/linux-yocto_5.4.bb | 22 ++--
.../make-mod-scripts/make-mod-scripts_1.0.bb | 2 +-
...spection.cmake-prefix-variables-obta.patch | 2 +-
...cy-parallel-build-of-WebKit2-4.0.gir.patch | 2 +-
...trospection-files-add-CMAKE_C_FLAGS-.patch | 2 +-
...-replace-krb5-config-with-pkg-config.patch | 2 +-
...tibility-by-renaming-atomic_init-API.patch | 2 +-
...cal-__atomic_compare_exchange-to-avo.patch | 2 +-
...001-clock-Do-not-define-own-timespec.patch | 2 +-
...plicit-tag-options-to-libtool-invoca.patch | 2 +-
.../db/db/fix-parallel-build.patch | 2 +-
.../recipes-support/db/db/sequence-type.patch | 2 +-
.../gmp/gmp/cve-2021-43618.patch | 27 +++++
meta/recipes-support/gmp/gmp_6.2.0.bb | 1 +
.../libgpg-error/libgpg-error/pkgconfig.patch | 2 +-
.../recipes-support/libpcre/libpcre2_10.34.bb | 2 +-
meta/recipes-support/libpcre/libpcre_8.44.bb | 2 +-
...1-reading-character-past-end-of-line.patch | 62 ++++++++++
...28-using-freed-memory-when-replacing.patch | 83 ++++++++++++++
...eading-uninitialized-memory-when-giv.patch | 63 ++++++++++
...llegal-memory-access-if-buffer-name-.patch | 86 ++++++++++++++
...ml_get-error-after-search-with-range.patch | 72 ++++++++++++
...nvalid-memory-access-when-scrolling-.patch | 97 ++++++++++++++++
.../vim/files/CVE-2021-3778.patch | 24 +++-
.../vim/files/CVE-2021-3796.patch | 50 --------
meta/recipes-support/vim/vim.inc | 10 +-
scripts/lib/wic/help.py | 4 +-
scripts/oe-pkgdata-browser | 2 +
69 files changed, 871 insertions(+), 125 deletions(-)
create mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch
create mode 100644 meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in-upgrade-job-RhBug-1728252.patch
create mode 100644 meta/recipes-devtools/dnf/dnf_4.2.2.bbappend
create mode 100644 meta/recipes-devtools/git/files/CVE-2021-40330.patch
create mode 100644 meta/recipes-devtools/libdnf/libdnf/0040-Mark-job-goal.upgrade-with-sltr-as-target.patch
create mode 100644 meta/recipes-devtools/libdnf/libdnf_0.28.1.bbappend
rename meta/recipes-devtools/python/{python3_3.8.11.bb => python3_3.8.12.bb} (99%)
rename meta/recipes-kernel/linux-firmware/{linux-firmware_20210919.bb => linux-firmware_20211027.bb} (99%)
create mode 100644 meta/recipes-support/gmp/gmp/cve-2021-43618.patch
create mode 100644 meta/recipes-support/vim/files/0001-patch-8.2.3581-reading-character-past-end-of-line.patch
create mode 100644 meta/recipes-support/vim/files/0002-patch-8.2.3428-using-freed-memory-when-replacing.patch
create mode 100644 meta/recipes-support/vim/files/0002-patch-8.2.3582-reading-uninitialized-memory-when-giv.patch
create mode 100644 meta/recipes-support/vim/files/0003-patch-8.2.3487-illegal-memory-access-if-buffer-name-.patch
create mode 100644 meta/recipes-support/vim/files/0004-patch-8.2.3489-ml_get-error-after-search-with-range.patch
create mode 100644 meta/recipes-support/vim/files/0005-patch-8.2.3564-invalid-memory-access-when-scrolling-.patch
delete mode 100644 meta/recipes-support/vim/files/CVE-2021-3796.patchSignature · 1 line
2.25.1
PATCH 1/42 linux-yocto/5.4: update to v5.4.154
From: Bruce Ashfield <[email protected]>
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
--- .../linux/linux-yocto-rt_5.4.bb | 6 ++--- .../linux/linux-yocto-tiny_5.4.bb | 8 +++---- meta/recipes-kernel/linux/linux-yocto_5.4.bb | 22 +++++++++---------- 3 files changed, 18 insertions(+), 18 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +3 -3
@@ -11,13 +11,13 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "88b78bac3bf83e6b3ef08d77f895bba5128cc1cd" -SRCREV_meta ?= "9e3ab4e615b651c1b63d4f0cce71da79a3e89763" +SRCREV_machine ?= "1f04ded6552fb7ceb6b01768d1a11a828c67c212" +SRCREV_meta ?= "128808367b0f77f4aea86130bf60e441952946e1" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}" -LINUX_VERSION ?= "5.4.153" +LINUX_VERSION ?= "5.4.154" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb +4 -4
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig" require recipes-kernel/linux/linux-yocto.inc -LINUX_VERSION ?= "5.4.153" +LINUX_VERSION ?= "5.4.154" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine_qemuarm ?= "fed16a9b9cb56ce639eeddeedd756ad5207fa89e" -SRCREV_machine ?= "942b0cc9a1ff13a66016167d4437f7694e96d04e" -SRCREV_meta ?= "9e3ab4e615b651c1b63d4f0cce71da79a3e89763" +SRCREV_machine_qemuarm ?= "03c343c7f0392cc71eedc9ba0f05b0ebe02d45eb" +SRCREV_machine ?= "4ef13608e3bc691718485e28fc6b78fa58c50d58" +SRCREV_meta ?= "128808367b0f77f4aea86130bf60e441952946e1" PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_5.4.bb +11 -11
@@ -12,16 +12,16 @@ KBRANCH_qemux86 ?= "v5.4/standard/base" KBRANCH_qemux86-64 ?= "v5.4/standard/base" KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64" -SRCREV_machine_qemuarm ?= "7a9ca83b483c096e6bd5e1b99cca7fe2fb79fd1a" -SRCREV_machine_qemuarm64 ?= "d2ea3664c5872b3046a2aa970035de51e359922f" -SRCREV_machine_qemumips ?= "118685bb5211a7740de6bd419c68eb34728f8770" -SRCREV_machine_qemuppc ?= "7e8785640416d3c6382f91a3f88e0eca14f0a8b5" -SRCREV_machine_qemuriscv64 ?= "d54d61f9e363806a987c9ab01df0e66a31d4ead5" -SRCREV_machine_qemux86 ?= "d54d61f9e363806a987c9ab01df0e66a31d4ead5" -SRCREV_machine_qemux86-64 ?= "d54d61f9e363806a987c9ab01df0e66a31d4ead5" -SRCREV_machine_qemumips64 ?= "bd5e23a14522aa81e0f0ee37f976edd108669eb5" -SRCREV_machine ?= "d54d61f9e363806a987c9ab01df0e66a31d4ead5" -SRCREV_meta ?= "9e3ab4e615b651c1b63d4f0cce71da79a3e89763" +SRCREV_machine_qemuarm ?= "9cc72430854edf4b980ece62e234629168e69b07" +SRCREV_machine_qemuarm64 ?= "eb73aaed8bd13cffd05d699a6745408965708d7b" +SRCREV_machine_qemumips ?= "6d7d1235cb7e9f9cb1071e630ea79a88a90f86fd" +SRCREV_machine_qemuppc ?= "c22f5f06e64f63837c677cf09158131b9531c2d4" +SRCREV_machine_qemuriscv64 ?= "83c1e7472a1783d745804247fcdc32b2cf6e761b" +SRCREV_machine_qemux86 ?= "83c1e7472a1783d745804247fcdc32b2cf6e761b" +SRCREV_machine_qemux86-64 ?= "83c1e7472a1783d745804247fcdc32b2cf6e761b" +SRCREV_machine_qemumips64 ?= "4cf95264615ab852cdadd478c37554ab7fd1ea14" +SRCREV_machine ?= "83c1e7472a1783d745804247fcdc32b2cf6e761b" +SRCREV_meta ?= "128808367b0f77f4aea86130bf60e441952946e1" # remap qemuarm to qemuarma15 for the 5.4 kernel # KMACHINE_qemuarm ?= "qemuarma15"
@@ -30,7 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" -LINUX_VERSION ?= "5.4.153" +LINUX_VERSION ?= "5.4.154" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native"
Signature · 1 line
2.25.1
PATCH 2/42 linux-yocto/5.4: update to v5.4.155
In reply to Steve SakomanFrom: Bruce Ashfield <[email protected]>
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
--- .../linux/linux-yocto-rt_5.4.bb | 6 ++--- .../linux/linux-yocto-tiny_5.4.bb | 8 +++---- meta/recipes-kernel/linux/linux-yocto_5.4.bb | 22 +++++++++---------- 3 files changed, 18 insertions(+), 18 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +3 -3
@@ -11,13 +11,13 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "1f04ded6552fb7ceb6b01768d1a11a828c67c212" -SRCREV_meta ?= "128808367b0f77f4aea86130bf60e441952946e1" +SRCREV_machine ?= "b02e867b0f32d3a2a6f74a4ce0622da02fc2f64d" +SRCREV_meta ?= "6d740b62bd24b1d77ccd287e25e2cbb09ea98e11" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}" -LINUX_VERSION ?= "5.4.154" +LINUX_VERSION ?= "5.4.155" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb +4 -4
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig" require recipes-kernel/linux/linux-yocto.inc -LINUX_VERSION ?= "5.4.154" +LINUX_VERSION ?= "5.4.155" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine_qemuarm ?= "03c343c7f0392cc71eedc9ba0f05b0ebe02d45eb" -SRCREV_machine ?= "4ef13608e3bc691718485e28fc6b78fa58c50d58" -SRCREV_meta ?= "128808367b0f77f4aea86130bf60e441952946e1" +SRCREV_machine_qemuarm ?= "43bbfba52ea9da370694e070fc0a9dfac656075c" +SRCREV_machine ?= "34ea81635909c42198e86298c0d4544a3e3530c2" +SRCREV_meta ?= "6d740b62bd24b1d77ccd287e25e2cbb09ea98e11" PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_5.4.bb +11 -11
@@ -12,16 +12,16 @@ KBRANCH_qemux86 ?= "v5.4/standard/base" KBRANCH_qemux86-64 ?= "v5.4/standard/base" KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64" -SRCREV_machine_qemuarm ?= "9cc72430854edf4b980ece62e234629168e69b07" -SRCREV_machine_qemuarm64 ?= "eb73aaed8bd13cffd05d699a6745408965708d7b" -SRCREV_machine_qemumips ?= "6d7d1235cb7e9f9cb1071e630ea79a88a90f86fd" -SRCREV_machine_qemuppc ?= "c22f5f06e64f63837c677cf09158131b9531c2d4" -SRCREV_machine_qemuriscv64 ?= "83c1e7472a1783d745804247fcdc32b2cf6e761b" -SRCREV_machine_qemux86 ?= "83c1e7472a1783d745804247fcdc32b2cf6e761b" -SRCREV_machine_qemux86-64 ?= "83c1e7472a1783d745804247fcdc32b2cf6e761b" -SRCREV_machine_qemumips64 ?= "4cf95264615ab852cdadd478c37554ab7fd1ea14" -SRCREV_machine ?= "83c1e7472a1783d745804247fcdc32b2cf6e761b" -SRCREV_meta ?= "128808367b0f77f4aea86130bf60e441952946e1" +SRCREV_machine_qemuarm ?= "f4e3842e04fc154f280aa93e590aac66a136dd4f" +SRCREV_machine_qemuarm64 ?= "848ee4a4a53a07cc1c0d2fc35f4c65466949e15a" +SRCREV_machine_qemumips ?= "88b6eeb87f18d6bfc7986a272c4b6822bafb2ed5" +SRCREV_machine_qemuppc ?= "58318412f0f5d5a25767d2444ff8198378b74f8d" +SRCREV_machine_qemuriscv64 ?= "0313ce700b74810a20abc122ed0c72e5e3efe19a" +SRCREV_machine_qemux86 ?= "0313ce700b74810a20abc122ed0c72e5e3efe19a" +SRCREV_machine_qemux86-64 ?= "0313ce700b74810a20abc122ed0c72e5e3efe19a" +SRCREV_machine_qemumips64 ?= "70b1c7289102ce9981713c42f3f11950fb6a1bc7" +SRCREV_machine ?= "0313ce700b74810a20abc122ed0c72e5e3efe19a" +SRCREV_meta ?= "6d740b62bd24b1d77ccd287e25e2cbb09ea98e11" # remap qemuarm to qemuarma15 for the 5.4 kernel # KMACHINE_qemuarm ?= "qemuarma15"
@@ -30,7 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" -LINUX_VERSION ?= "5.4.154" +LINUX_VERSION ?= "5.4.155" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native"
Signature · 1 line
2.25.1
PATCH 3/42 linux-yocto/5.4: update to v5.4.156
In reply to Steve SakomanFrom: Bruce Ashfield <[email protected]>
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
--- .../linux/linux-yocto-rt_5.4.bb | 6 ++--- .../linux/linux-yocto-tiny_5.4.bb | 8 +++---- meta/recipes-kernel/linux/linux-yocto_5.4.bb | 22 +++++++++---------- 3 files changed, 18 insertions(+), 18 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +3 -3
@@ -11,13 +11,13 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "b02e867b0f32d3a2a6f74a4ce0622da02fc2f64d" -SRCREV_meta ?= "6d740b62bd24b1d77ccd287e25e2cbb09ea98e11" +SRCREV_machine ?= "9ad54377b929c3646bc8c76b1087810948425fda" +SRCREV_meta ?= "2f0c77d118926b6666062a752a8c9d9a7c07320d" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}" -LINUX_VERSION ?= "5.4.155" +LINUX_VERSION ?= "5.4.156" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb +4 -4
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig" require recipes-kernel/linux/linux-yocto.inc -LINUX_VERSION ?= "5.4.155" +LINUX_VERSION ?= "5.4.156" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine_qemuarm ?= "43bbfba52ea9da370694e070fc0a9dfac656075c" -SRCREV_machine ?= "34ea81635909c42198e86298c0d4544a3e3530c2" -SRCREV_meta ?= "6d740b62bd24b1d77ccd287e25e2cbb09ea98e11" +SRCREV_machine_qemuarm ?= "204fb292d2a413e6b9118cbcdc5109781180f603" +SRCREV_machine ?= "d97030bff131365e3ee7073ce14320206e6fb5d3" +SRCREV_meta ?= "2f0c77d118926b6666062a752a8c9d9a7c07320d" PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_5.4.bb +11 -11
@@ -12,16 +12,16 @@ KBRANCH_qemux86 ?= "v5.4/standard/base" KBRANCH_qemux86-64 ?= "v5.4/standard/base" KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64" -SRCREV_machine_qemuarm ?= "f4e3842e04fc154f280aa93e590aac66a136dd4f" -SRCREV_machine_qemuarm64 ?= "848ee4a4a53a07cc1c0d2fc35f4c65466949e15a" -SRCREV_machine_qemumips ?= "88b6eeb87f18d6bfc7986a272c4b6822bafb2ed5" -SRCREV_machine_qemuppc ?= "58318412f0f5d5a25767d2444ff8198378b74f8d" -SRCREV_machine_qemuriscv64 ?= "0313ce700b74810a20abc122ed0c72e5e3efe19a" -SRCREV_machine_qemux86 ?= "0313ce700b74810a20abc122ed0c72e5e3efe19a" -SRCREV_machine_qemux86-64 ?= "0313ce700b74810a20abc122ed0c72e5e3efe19a" -SRCREV_machine_qemumips64 ?= "70b1c7289102ce9981713c42f3f11950fb6a1bc7" -SRCREV_machine ?= "0313ce700b74810a20abc122ed0c72e5e3efe19a" -SRCREV_meta ?= "6d740b62bd24b1d77ccd287e25e2cbb09ea98e11" +SRCREV_machine_qemuarm ?= "c22c6be0814013c3c3f8f1173b2e8ab323db7661" +SRCREV_machine_qemuarm64 ?= "63ee4c9651f167d55ee38f6ec31542f498a29d7b" +SRCREV_machine_qemumips ?= "43d6560683e8e02bef6070c6ada08d9cc9c6058d" +SRCREV_machine_qemuppc ?= "4f7df1e46cb36f85c3bd08d05ac5d4a4e2157790" +SRCREV_machine_qemuriscv64 ?= "9d3037272eba80cd9a033faa0d294b96ce844fb5" +SRCREV_machine_qemux86 ?= "9d3037272eba80cd9a033faa0d294b96ce844fb5" +SRCREV_machine_qemux86-64 ?= "9d3037272eba80cd9a033faa0d294b96ce844fb5" +SRCREV_machine_qemumips64 ?= "c9610166a2e23065edc2930b722d4a02b6b31ae3" +SRCREV_machine ?= "9d3037272eba80cd9a033faa0d294b96ce844fb5" +SRCREV_meta ?= "2f0c77d118926b6666062a752a8c9d9a7c07320d" # remap qemuarm to qemuarma15 for the 5.4 kernel # KMACHINE_qemuarm ?= "qemuarma15"
@@ -30,7 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" -LINUX_VERSION ?= "5.4.155" +LINUX_VERSION ?= "5.4.156" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native"
Signature · 1 line
2.25.1
PATCH 4/42 linux-yocto/5.4: update to v5.4.158
In reply to Steve SakomanFrom: Bruce Ashfield <[email protected]>
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
--- .../linux/linux-yocto-rt_5.4.bb | 6 ++--- .../linux/linux-yocto-tiny_5.4.bb | 8 +++---- meta/recipes-kernel/linux/linux-yocto_5.4.bb | 22 +++++++++---------- 3 files changed, 18 insertions(+), 18 deletions(-)
meta/recipes-kernel/linux/linux-yocto-rt_5.4.bb +3 -3
@@ -11,13 +11,13 @@ python () { raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it") } -SRCREV_machine ?= "9ad54377b929c3646bc8c76b1087810948425fda" -SRCREV_meta ?= "2f0c77d118926b6666062a752a8c9d9a7c07320d" +SRCREV_machine ?= "1a91fd560dcf8fa9e49fc2f17cb37483201a2b89" +SRCREV_meta ?= "db8bfc3a107db2a059fb8efa442f7daa17e8d55c" SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \ git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}" -LINUX_VERSION ?= "5.4.156" +LINUX_VERSION ?= "5.4.158" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
meta/recipes-kernel/linux/linux-yocto-tiny_5.4.bb +4 -4
@@ -6,7 +6,7 @@ KCONFIG_MODE = "--allnoconfig" require recipes-kernel/linux/linux-yocto.inc -LINUX_VERSION ?= "5.4.156" +LINUX_VERSION ?= "5.4.158" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
@@ -15,9 +15,9 @@ DEPENDS += "openssl-native util-linux-native" KMETA = "kernel-meta" KCONF_BSP_AUDIT_LEVEL = "2" -SRCREV_machine_qemuarm ?= "204fb292d2a413e6b9118cbcdc5109781180f603" -SRCREV_machine ?= "d97030bff131365e3ee7073ce14320206e6fb5d3" -SRCREV_meta ?= "2f0c77d118926b6666062a752a8c9d9a7c07320d" +SRCREV_machine_qemuarm ?= "9b7cd001c33ea463bbb23fda6a79900ffc88c484" +SRCREV_machine ?= "80849cd7ef3a77895f8651cec85648578bef9135" +SRCREV_meta ?= "db8bfc3a107db2a059fb8efa442f7daa17e8d55c" PV = "${LINUX_VERSION}+git${SRCPV}"
meta/recipes-kernel/linux/linux-yocto_5.4.bb +11 -11
@@ -12,16 +12,16 @@ KBRANCH_qemux86 ?= "v5.4/standard/base" KBRANCH_qemux86-64 ?= "v5.4/standard/base" KBRANCH_qemumips64 ?= "v5.4/standard/mti-malta64" -SRCREV_machine_qemuarm ?= "c22c6be0814013c3c3f8f1173b2e8ab323db7661" -SRCREV_machine_qemuarm64 ?= "63ee4c9651f167d55ee38f6ec31542f498a29d7b" -SRCREV_machine_qemumips ?= "43d6560683e8e02bef6070c6ada08d9cc9c6058d" -SRCREV_machine_qemuppc ?= "4f7df1e46cb36f85c3bd08d05ac5d4a4e2157790" -SRCREV_machine_qemuriscv64 ?= "9d3037272eba80cd9a033faa0d294b96ce844fb5" -SRCREV_machine_qemux86 ?= "9d3037272eba80cd9a033faa0d294b96ce844fb5" -SRCREV_machine_qemux86-64 ?= "9d3037272eba80cd9a033faa0d294b96ce844fb5" -SRCREV_machine_qemumips64 ?= "c9610166a2e23065edc2930b722d4a02b6b31ae3" -SRCREV_machine ?= "9d3037272eba80cd9a033faa0d294b96ce844fb5" -SRCREV_meta ?= "2f0c77d118926b6666062a752a8c9d9a7c07320d" +SRCREV_machine_qemuarm ?= "414c50525aea1ec953cca6d050d5c23db04de269" +SRCREV_machine_qemuarm64 ?= "ba5e3380aa8a3789907c031beac2ce81d1eb5d50" +SRCREV_machine_qemumips ?= "177841cfef0bd71b7b4f0e2e8e2ea3100ee4ea7a" +SRCREV_machine_qemuppc ?= "c3b4b69caef59344d4a59a2327f9f0130db9ccbe" +SRCREV_machine_qemuriscv64 ?= "76404f1ae59698b6a446dba29c885ca78c69c330" +SRCREV_machine_qemux86 ?= "76404f1ae59698b6a446dba29c885ca78c69c330" +SRCREV_machine_qemux86-64 ?= "76404f1ae59698b6a446dba29c885ca78c69c330" +SRCREV_machine_qemumips64 ?= "75a3c9aeedd5a8070079d96d0301a303ca3351a8" +SRCREV_machine ?= "76404f1ae59698b6a446dba29c885ca78c69c330" +SRCREV_meta ?= "db8bfc3a107db2a059fb8efa442f7daa17e8d55c" # remap qemuarm to qemuarma15 for the 5.4 kernel # KMACHINE_qemuarm ?= "qemuarma15"
@@ -30,7 +30,7 @@ SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRA git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-5.4;destsuffix=${KMETA}" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" -LINUX_VERSION ?= "5.4.156" +LINUX_VERSION ?= "5.4.158" DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}" DEPENDS += "openssl-native util-linux-native"
Signature · 1 line
2.25.1
PATCH 5/42 linux-firmware: upgrade 20210919 -> 20211027
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
License-Update: additional firmwares listed
---
...{linux-firmware_20210919.bb => linux-firmware_20211027.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-kernel/linux-firmware/{linux-firmware_20210919.bb => linux-firmware_20211027.bb} (99%)meta/recipes-kernel/linux-firmware/linux-firmware_20211027.bb renamed from meta/recipes-kernel/linux-firmware/linux-firmware_20210919.bb +2 -2
@@ -132,7 +132,7 @@ LIC_FILES_CHKSUM = "file://LICENCE.Abilis;md5=b5ee3f410780e56711ad48eadc22b8bc \ file://LICENCE.xc4000;md5=0ff51d2dc49fce04814c9155081092f0 \ file://LICENCE.xc5000;md5=1e170c13175323c32c7f4d0998d53f66 \ file://LICENCE.xc5000c;md5=12b02efa3049db65d524aeb418dd87ca \ - file://WHENCE;md5=76f012f7e9b2260d34eccf5726374f08 \ + file://WHENCE;md5=d627873bd934d7c52b2c8191304a8eb7 \ " # These are not common licenses, set NO_GENERIC_LICENSE for them
@@ -205,7 +205,7 @@ PE = "1" SRC_URI = "${KERNELORG_MIRROR}/linux/kernel/firmware/${BPN}-${PV}.tar.xz" -SRC_URI[sha256sum] = "2fb22a5d7d23bf1f5800ab8152b39a00a445fbf4923de5a01b59d3f6253f0a9f" +SRC_URI[sha256sum] = "bc2657dd8eb82386a9a7ec6df9ccf31c32c7e9073c05d37786c1edc273f9440a" inherit allarch
Signature · 1 line
2.25.1
PATCH 6/42 python3: upgrade 3.8.11 -> 3.8.12
In reply to Steve SakomanFrom: Marta Rybczynska <[email protected]>
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
---
.../python/{python3_3.8.11.bb => python3_3.8.12.bb} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/python/{python3_3.8.11.bb => python3_3.8.12.bb} (99%)meta/recipes-devtools/python/python3_3.8.12.bb renamed from meta/recipes-devtools/python/python3_3.8.11.bb +2 -2
@@ -42,8 +42,8 @@ SRC_URI_append_class-native = " \ file://0001-Don-t-search-system-for-headers-libraries.patch \ " -SRC_URI[md5sum] = "5840ba601128f48fee4e7c98fbdac65d" -SRC_URI[sha256sum] = "fb1a1114ebfe9e97199603c6083e20b236a0e007a2c51f29283ffb50c1420fb2" +SRC_URI[md5sum] = "9dd8f82e586b776383c82e27923f8795" +SRC_URI[sha256sum] = "b1d3a76420375343b5e8a22fceb1ac65b77193e9ed27146524f0a9db058728ea" # exclude pre-releases for both python 2.x and 3.x UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar"
Signature · 1 line
2.25.1
PATCH 7/42 Revert "vim: fix 2021-3796"
In reply to Steve SakomanThis reverts commit 53ce5f292fd8d65fd89c977364ea6f7d813c7566.
Reverting in preparation for fixes from master
--- .../vim/files/CVE-2021-3796.patch | 50 ------------------- 1 file changed, 50 deletions(-) delete mode 100644 meta/recipes-support/vim/files/CVE-2021-3796.patch
meta/recipes-support/vim/files/CVE-2021-3796.patch deleted +0 -50
@@ -1,50 +0,0 @@ -From 6d02e1429771c00046b48f26e53ca4123c3ce4e1 Mon Sep 17 00:00:00 2001 -From: Bram Moolenaar <[email protected]> -Date: Fri, 24 Sep 2021 16:01:09 +0800 -Subject: [PATCH] patch 8.2.3428: using freed memory when replacing - -Problem: Using freed memory when replacing. (Dhiraj Mishra) -Solution: Get the line pointer after calling ins_copychar(). - -Upstream-Status: Backport [https://github.com/vim/vim/commit/35a9a00afcb20897d462a766793ff45534810dc3] -CVE: CVE-2021-3796 - -Signed-off-by: Minjae Kim <[email protected]> ---- - src/normal.c | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/src/normal.c b/src/normal.c -index c4963e621..305b514bc 100644 ---- a/src/normal.c -+++ b/src/normal.c -@@ -5009,19 +5009,23 @@ nv_replace(cmdarg_T *cap) - { - /* - * Get ptr again, because u_save and/or showmatch() will have -- * released the line. At the same time we let know that the -- * line will be changed. -+ * released the line. This may also happen in ins_copychar(). -+ * At the same time we let know that the line will be changed. - */ -- ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE); - if (cap->nchar == Ctrl_E || cap->nchar == Ctrl_Y) - { - int c = ins_copychar(curwin->w_cursor.lnum - + (cap->nchar == Ctrl_Y ? -1 : 1)); -+ -+ ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE); - if (c != NUL) - ptr[curwin->w_cursor.col] = c; - } - else -+ { -+ ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE); - ptr[curwin->w_cursor.col] = cap->nchar; -+ } - if (p_sm && msg_silent == 0) - showmatch(cap->nchar); - ++curwin->w_cursor.col; --- -2.17.1 -
Signature · 1 line
2.25.1
PATCH 8/42 vim: fix CVE-2021-3796, CVE-2021-3872, and CVE-2021-3875
In reply to Steve SakomanFrom: Ross Burton <[email protected]>
Backport patches from upstream to fix these CVEs.
--- ...28-using-freed-memory-when-replacing.patch | 83 ++++++++++++++++ ...llegal-memory-access-if-buffer-name-.patch | 86 ++++++++++++++++ ...ml_get-error-after-search-with-range.patch | 72 ++++++++++++++ ...nvalid-memory-access-when-scrolling-.patch | 97 +++++++++++++++++++ meta/recipes-support/vim/vim.inc | 8 +- 5 files changed, 344 insertions(+), 2 deletions(-) create mode 100644 meta/recipes-support/vim/files/0002-patch-8.2.3428-using-freed-memory-when-replacing.patch create mode 100644 meta/recipes-support/vim/files/0003-patch-8.2.3487-illegal-memory-access-if-buffer-name-.patch create mode 100644 meta/recipes-support/vim/files/0004-patch-8.2.3489-ml_get-error-after-search-with-range.patch create mode 100644 meta/recipes-support/vim/files/0005-patch-8.2.3564-invalid-memory-access-when-scrolling-.patch
meta/recipes-support/vim/files/0002-patch-8.2.3428-using-freed-memory-when-replacing.patch new file +83 -0
@@ -0,0 +1,83 @@ +CVE: CVE-2021-3796 +Upstream-Status: Backport +Signed-off-by: Ross Burton <[email protected]> + +From 1160e5f74b229336502fc376416f21108d36cfc2 Mon Sep 17 00:00:00 2001 +From: Bram Moolenaar <[email protected]> +Date: Sat, 11 Sep 2021 21:14:20 +0200 +Subject: [PATCH] patch 8.2.3428: using freed memory when replacing + +Problem: Using freed memory when replacing. (Dhiraj Mishra) +Solution: Get the line pointer after calling ins_copychar(). +--- + src/normal.c | 10 +++++++--- + src/testdir/test_edit.vim | 14 ++++++++++++++ + src/version.c | 2 ++ + 3 files changed, 23 insertions(+), 3 deletions(-) + +diff --git a/src/normal.c b/src/normal.c +index c4963e621..d6333b948 100644 +--- a/src/normal.c ++++ b/src/normal.c +@@ -5009,19 +5009,23 @@ nv_replace(cmdarg_T *cap) + { + /* + * Get ptr again, because u_save and/or showmatch() will have +- * released the line. At the same time we let know that the +- * line will be changed. ++ * released the line. This may also happen in ins_copychar(). ++ * At the same time we let know that the line will be changed. + */ +- ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE); + if (cap->nchar == Ctrl_E || cap->nchar == Ctrl_Y) + { + int c = ins_copychar(curwin->w_cursor.lnum + + (cap->nchar == Ctrl_Y ? -1 : 1)); ++ ++ ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE); + if (c != NUL) + ptr[curwin->w_cursor.col] = c; + } + else ++ { ++ ptr = ml_get_buf(curbuf, curwin->w_cursor.lnum, TRUE); + ptr[curwin->w_cursor.col] = cap->nchar; ++ } + if (p_sm && msg_silent == 0) + showmatch(cap->nchar); + ++curwin->w_cursor.col; +diff --git a/src/testdir/test_edit.vim b/src/testdir/test_edit.vim +index 4e29e7fe1..f94e6c181 100644 +--- a/src/testdir/test_edit.vim ++++ b/src/testdir/test_edit.vim +@@ -1519,3 +1519,17 @@ func Test_edit_noesckeys() + bwipe! + set esckeys + endfunc ++ ++" Test for getting the character of the line below after "p" ++func Test_edit_put_CTRL_E() ++ set encoding=latin1 ++ new ++ let @" = '' ++ sil! norm orggRx ++ sil! norm pr ++ call assert_equal(['r', 'r'], getline(1, 2)) ++ bwipe! ++ set encoding=utf-8 ++endfunc ++ ++" vim: shiftwidth=2 sts=2 expandtab +diff --git a/src/version.c b/src/version.c +index 85bdfc601..1046993d6 100644 +--- a/src/version.c ++++ b/src/version.c +@@ -742,6 +742,8 @@ static char *(features[]) = + + static int included_patches[] = + { /* Add new patch number below this line */ ++/**/ ++ 3428, + /**/ + 3409, + /**/
meta/recipes-support/vim/files/0003-patch-8.2.3487-illegal-memory-access-if-buffer-name-.patch new file +86 -0
86 lines not on this page · raw message
meta/recipes-support/vim/files/0004-patch-8.2.3489-ml_get-error-after-search-with-range.patch new file +72 -0
72 lines not on this page · raw message
meta/recipes-support/vim/files/0005-patch-8.2.3564-invalid-memory-access-when-scrolling-.patch new file +97 -0
97 lines not on this page · raw message
meta/recipes-support/vim/vim.inc +6 -2
@@ -18,8 +18,12 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https \ file://no-path-adjust.patch \ file://racefix.patch \ file://b7081e135a16091c93f6f5f7525a5c58fb7ca9f9.patch \ - file://CVE-2021-3778.patch \ -" + file://CVE-2021-3778.patch \ + file://0002-patch-8.2.3428-using-freed-memory-when-replacing.patch \ + file://0003-patch-8.2.3487-illegal-memory-access-if-buffer-name-.patch \ + file://0004-patch-8.2.3489-ml_get-error-after-search-with-range.patch \ + file://0005-patch-8.2.3564-invalid-memory-access-when-scrolling-.patch \ + " SRCREV = "98056533b96b6b5d8849641de93185dd7bcadc44"
Signature · 1 line
2.25.1
PATCH 9/42 vim: add patch number to CVE-2021-3778 patch
In reply to Steve SakomanFrom: Ross Burton <[email protected]>
--- .../vim/files/CVE-2021-3778.patch | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-)
meta/recipes-support/vim/files/CVE-2021-3778.patch +18 -6
@@ -1,4 +1,4 @@ -From eb41373c8c88b0789e5cf04669d6116f9a199264 Mon Sep 17 00:00:00 2001 +From 6d351cec5b97cb72b226d03bd727e453a235ed8d Mon Sep 17 00:00:00 2001 From: Minjae Kim <[email protected]> Date: Sun, 26 Sep 2021 23:48:00 +0000 Subject: [PATCH] patch 8.2.3409: reading beyond end of line with invalid utf-8
@@ -10,13 +10,15 @@ Solution: Check for NUL when advancing. Upstream-Status: Accepted [https://github.com/vim/vim/commit/65b605665997fad54ef39a93199e305af2fe4d7f] CVE: CVE-2021-3778 Signed-off-by: Minjae Kim <[email protected]> + --- src/regexp_nfa.c | 3 ++- src/testdir/test_regexp_utf8.vim | 7 +++++++ - 2 files changed, 9 insertions(+), 1 deletion(-) + src/version.c | 2 ++ + 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/regexp_nfa.c b/src/regexp_nfa.c -index fb512f961..4d337f1f1 100644 +index fb512f961..ace83a1a3 100644 --- a/src/regexp_nfa.c +++ b/src/regexp_nfa.c @@ -5455,7 +5455,8 @@ find_match_text(colnr_T startcol, int regstart, char_u *match_text)
@@ -44,6 +46,16 @@ index 19ff882be..e0665818b 100644 + bwipe! + call delete('Xinvalid') +endfunc --- -2.17.1 - +diff --git a/src/version.c b/src/version.c +index 8912f6215..85bdfc601 100644 +--- a/src/version.c ++++ b/src/version.c +@@ -742,6 +742,8 @@ static char *(features[]) = + + static int included_patches[] = + { /* Add new patch number below this line */ ++/**/ ++ 3409, + /**/ + 3402, + /**/
Signature · 1 line
2.25.1
PATCH 10/42 vim: fix CVE-2021-3927 and CVE-2021-3928
In reply to Steve SakomanFrom: Ross Burton <[email protected]>
--- ...1-reading-character-past-end-of-line.patch | 62 ++++++++++++++++++ ...eading-uninitialized-memory-when-giv.patch | 63 +++++++++++++++++++ meta/recipes-support/vim/vim.inc | 2 + 3 files changed, 127 insertions(+) create mode 100644 meta/recipes-support/vim/files/0001-patch-8.2.3581-reading-character-past-end-of-line.patch create mode 100644 meta/recipes-support/vim/files/0002-patch-8.2.3582-reading-uninitialized-memory-when-giv.patch
meta/recipes-support/vim/files/0001-patch-8.2.3581-reading-character-past-end-of-line.patch new file +62 -0
@@ -0,0 +1,62 @@ +CVE: CVE-2021-3927 +Upstream-Status: Backport +Signed-off-by: Ross Burton <[email protected]> + +From 93b427c6e729260d0700c3b2804ec153bc8284fa Mon Sep 17 00:00:00 2001 +From: Bram Moolenaar <[email protected]> +Date: Thu, 4 Nov 2021 15:10:11 +0000 +Subject: [PATCH] patch 8.2.3581: reading character past end of line + +Problem: Reading character past end of line. +Solution: Correct the cursor column. +--- + src/ex_docmd.c | 1 + + src/testdir/test_put.vim | 12 ++++++++++++ + src/version.c | 2 ++ + 3 files changed, 15 insertions(+) + +diff --git a/src/ex_docmd.c b/src/ex_docmd.c +index fde726477..59e245bee 100644 +--- a/src/ex_docmd.c ++++ b/src/ex_docmd.c +@@ -6905,6 +6905,7 @@ ex_put(exarg_T *eap) + eap->forceit = TRUE; + } + curwin->w_cursor.lnum = eap->line2; ++ check_cursor_col(); + do_put(eap->regname, eap->forceit ? BACKWARD : FORWARD, 1L, + PUT_LINE|PUT_CURSLINE); + } +diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim +index 225ebd1f3..922e5b269 100644 +--- a/src/testdir/test_put.vim ++++ b/src/testdir/test_put.vim +@@ -113,3 +113,15 @@ func Test_put_p_indent_visual() + call assert_equal('select that text', getline(2)) + bwipe! + endfunc ++ ++func Test_put_above_first_line() ++ new ++ let @" = 'text' ++ silent! normal 0o00 ++ 0put ++ call assert_equal('text', getline(1)) ++ bwipe! ++endfunc ++ ++ ++" vim: shiftwidth=2 sts=2 expandtab +diff --git a/src/version.c b/src/version.c +index a9e8be0e7..df4ec9a47 100644 +--- a/src/version.c ++++ b/src/version.c +@@ -742,6 +742,8 @@ static char *(features[]) = + + static int included_patches[] = + { /* Add new patch number below this line */ ++/**/ ++ 3581, + /**/ + 3564, + /**/
meta/recipes-support/vim/files/0002-patch-8.2.3582-reading-uninitialized-memory-when-giv.patch new file +63 -0
63 lines not on this page · raw message
meta/recipes-support/vim/vim.inc +2 -0
@@ -23,6 +23,8 @@ SRC_URI = "git://github.com/vim/vim.git;branch=master;protocol=https \ file://0003-patch-8.2.3487-illegal-memory-access-if-buffer-name-.patch \ file://0004-patch-8.2.3489-ml_get-error-after-search-with-range.patch \ file://0005-patch-8.2.3564-invalid-memory-access-when-scrolling-.patch \ + file://0001-patch-8.2.3581-reading-character-past-end-of-line.patch \ + file://0002-patch-8.2.3582-reading-uninitialized-memory-when-giv.patch \ " SRCREV = "98056533b96b6b5d8849641de93185dd7bcadc44"
Signature · 1 line
2.25.1
PATCH 11/42 gmp: fix CVE-2021-43618
In reply to Steve SakomanFrom: Ross Burton <[email protected]>
--- .../gmp/gmp/cve-2021-43618.patch | 27 +++++++++++++++++++ meta/recipes-support/gmp/gmp_6.2.0.bb | 1 + 2 files changed, 28 insertions(+) create mode 100644 meta/recipes-support/gmp/gmp/cve-2021-43618.patch
meta/recipes-support/gmp/gmp/cve-2021-43618.patch new file +27 -0
@@ -0,0 +1,27 @@ +CVE: CVE-2021-43618 +Upstream-Status: Backport +Signed-off-by: Ross Burton <[email protected]> + +# HG changeset patch +# User Marco Bodrato <[email protected]> +# Date 1634836009 -7200 +# Node ID 561a9c25298e17bb01896801ff353546c6923dbd +# Parent e1fd9db13b475209a864577237ea4b9105b3e96e +mpz/inp_raw.c: Avoid bit size overflows + +diff -r e1fd9db13b47 -r 561a9c25298e mpz/inp_raw.c +--- a/mpz/inp_raw.c Tue Dec 22 23:49:51 2020 +0100 ++++ b/mpz/inp_raw.c Thu Oct 21 19:06:49 2021 +0200 +@@ -88,8 +88,11 @@ + + abs_csize = ABS (csize); + ++ if (UNLIKELY (abs_csize > ~(mp_bitcnt_t) 0 / 8)) ++ return 0; /* Bit size overflows */ ++ + /* round up to a multiple of limbs */ +- abs_xsize = BITS_TO_LIMBS (abs_csize*8); ++ abs_xsize = BITS_TO_LIMBS ((mp_bitcnt_t) abs_csize * 8); + + if (abs_xsize != 0) + {
meta/recipes-support/gmp/gmp_6.2.0.bb +1 -0
@@ -12,6 +12,7 @@ SRC_URI = "https://gmplib.org/download/${BPN}/${BP}${REVISION}.tar.bz2 \ file://use-includedir.patch \ file://0001-Append-the-user-provided-flags-to-the-auto-detected-.patch \ file://0001-confiure.ac-Believe-the-cflags-from-environment.patch \ + file://cve-2021-43618.patch \ " SRC_URI[md5sum] = "c24161e0dd44cae78cd5f67193492a21" SRC_URI[sha256sum] = "f51c99cb114deb21a60075ffb494c1a210eb9d7cb729ed042ddb7de9534451ea"
Signature · 1 line
2.25.1
PATCH 12/42 git: fix CVE-2021-40330
In reply to Steve SakomanFrom: Minjae Kim <[email protected]>
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
--- .../git/files/CVE-2021-40330.patch | 108 ++++++++++++++++++ meta/recipes-devtools/git/git.inc | 4 +- 2 files changed, 111 insertions(+), 1 deletion(-) create mode 100644 meta/recipes-devtools/git/files/CVE-2021-40330.patch
meta/recipes-devtools/git/files/CVE-2021-40330.patch new file +108 -0
@@ -0,0 +1,108 @@ +From e77ca0c7d577408878d2b3e8c7336e6119cb3931 Mon Sep 17 00:00:00 2001 +From: Minjae Kim <[email protected]> +Date: Thu, 25 Nov 2021 06:36:26 +0000 +Subject: [PATCH] git_connect_git(): forbid newlines in host and path + +When we connect to a git:// server, we send an initial request that +looks something like: + + 002dgit-upload-pack repo.git\0host=example.com + +If the repo path contains a newline, then it's included literally, and +we get: + + 002egit-upload-pack repo + .git\0host=example.com + +This works fine if you really do have a newline in your repository name; +the server side uses the pktline framing to parse the string, not +newlines. However, there are many _other_ protocols in the wild that do +parse on newlines, such as HTTP. So a carefully constructed git:// URL +can actually turn into a valid HTTP request. For example: + + git://localhost:1234/%0d%0a%0d%0aGET%20/%20HTTP/1.1 %0d%0aHost:localhost%0d%0a%0d%0a + +becomes: + + 0050git-upload-pack / + GET / HTTP/1.1 + Host:localhost + + host=localhost:1234 + +on the wire. Again, this isn't a problem for a real Git server, but it +does mean that feeding a malicious URL to Git (e.g., through a +submodule) can cause it to make unexpected cross-protocol requests. +Since repository names with newlines are presumably quite rare (and +indeed, we already disallow them in git-over-http), let's just disallow +them over this protocol. + +Hostnames could likewise inject a newline, but this is unlikely a +problem in practice; we'd try resolving the hostname with a newline in +it, which wouldn't work. Still, it doesn't hurt to err on the side of +caution there, since we would not expect them to work in the first +place. + +The ssh and local code paths are unaffected by this patch. In both cases +we're trying to run upload-pack via a shell, and will quote the newline +so that it makes it intact. An attacker can point an ssh url at an +arbitrary port, of course, but unless there's an actual ssh server +there, we'd never get as far as sending our shell command anyway. We +_could_ similarly restrict newlines in those protocols out of caution, +but there seems little benefit to doing so. + +The new test here is run alongside the git-daemon tests, which cover the +same protocol, but it shouldn't actually contact the daemon at all. In +theory we could make the test more robust by setting up an actual +repository with a newline in it (so that our clone would succeed if our +new check didn't kick in). But a repo directory with newline in it is +likely not portable across all filesystems. Likewise, we could check +git-daemon's log that it was not contacted at all, but we do not +currently record the log (and anyway, it would make the test racy with +the daemon's log write). We'll just check the client-side stderr to make +sure we hit the expected code path. + +Reported-by: Harold Kim <[email protected]> +Signed-off-by: Jeff King <[email protected]> +Signed-off-by: Junio C Hamano <[email protected]> + +Upstream-Status: Backported [https://github.com/git/git/commit/a02ea577174ab8ed18f847cf1693f213e0b9c473] +CVE: CVE-2021-40330 +Signed-off-by: Minjae Kim <[email protected]> +--- + connect.c | 2 ++ + t/t5570-git-daemon.sh | 5 +++++ + 2 files changed, 7 insertions(+) + +diff --git a/connect.c b/connect.c +index b6451ab..929de9a 100644 +--- a/connect.c ++++ b/connect.c +@@ -1064,6 +1064,8 @@ static struct child_process *git_connect_git(int fd[2], char *hostandport, + target_host = xstrdup(hostandport); + + transport_check_allowed("git"); ++ if (strchr(target_host, '\n') || strchr(path, '\n')) ++ die(_("newline is forbidden in git:// hosts and repo paths")); + + /* + * These underlying connection commands die() if they +diff --git a/t/t5570-git-daemon.sh b/t/t5570-git-daemon.sh +index 34487bb..79cd218 100755 +--- a/t/t5570-git-daemon.sh ++++ b/t/t5570-git-daemon.sh +@@ -103,6 +103,11 @@ test_expect_success 'fetch notices corrupt idx' ' + ) + ' + ++test_expect_success 'client refuses to ask for repo with newline' ' ++ test_must_fail git clone "$GIT_DAEMON_URL/repo$LF.git" dst 2>stderr && ++ test_i18ngrep newline.is.forbidden stderr ++' ++ + test_remote_error() + { + do_export=YesPlease +-- +2.17.1 +
meta/recipes-devtools/git/git.inc +3 -1
@@ -10,7 +10,9 @@ PROVIDES_append_class-native = " git-replacement-native" SRC_URI = "${KERNELORG_MIRROR}/software/scm/git/git-${PV}.tar.gz;name=tarball \ ${KERNELORG_MIRROR}/software/scm/git/git-manpages-${PV}.tar.gz;name=manpages \ file://CVE-2021-21300.patch \ - file://fixsort.patch" + file://fixsort.patch \ + file://CVE-2021-40330.patch \ + " S = "${WORKDIR}/git-${PV}"
Signature · 1 line
2.25.1
PATCH 13/42 scripts/oe-package-browser: Handle no packages being built
In reply to Steve SakomanFrom: Richard Purdie <[email protected]>
Give the user a proper error message if there aren't packages built, rather than a less friendly traceback.
[YOCTO #14619]
--- scripts/oe-pkgdata-browser | 2 ++ 1 file changed, 2 insertions(+)
scripts/oe-pkgdata-browser +2 -0
@@ -236,6 +236,8 @@ class PkgUi(): update_deps("RPROVIDES", "Provides: ", self.provides_label, clickable=False) def load_recipes(self): + if not os.path.exists(pkgdata): + sys.exit("Error: Please ensure %s exists by generating packages before using this tool." % pkgdata) for recipe in sorted(os.listdir(pkgdata)): if os.path.isfile(os.path.join(pkgdata, recipe)): self.recipe_iters[recipe] = self.recipe_store.append([recipe])
Signature · 1 line
2.25.1
PATCH 14/42 scripts/lib/wic/help.py: Update Fedora Kickstart URLs
In reply to Steve SakomanFrom: Jon Mason <[email protected]>
The URLs describing Kickstart are no longer valid and do not redirect to the correct location. Update them with the correct location.
--- scripts/lib/wic/help.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/lib/wic/help.py +2 -2
@@ -840,8 +840,8 @@ DESCRIPTION meanings. The commands are based on the Fedora kickstart documentation but with modifications to reflect wic capabilities. - http://fedoraproject.org/wiki/Anaconda/Kickstart#part_or_partition - http://fedoraproject.org/wiki/Anaconda/Kickstart#bootloader + https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#part-or-partition + https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#bootloader Commands
Signature · 1 line
2.25.1
PATCH 15/42 glibc-version.inc: remove branch= from GLIBC_GIT_URI
In reply to Steve SakomanFrom: Anuj Mittal <[email protected]>
GLIBC_GIT_URI is used along with branch=${SRCBRANCH} so no need to add it here.
--- meta/recipes-core/glibc/glibc-version.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/glibc/glibc-version.inc +1 -1
@@ -3,6 +3,6 @@ PV = "2.31+git${SRCPV}" SRCREV_glibc ?= "4f0a61f75385c9a5879cbe7202042e88f692a3c8" SRCREV_localedef ?= "cd9f958c4c94a638fa7b2b4e21627364f1a1a655" -GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git;branch=master" +GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git" UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.\d+(\.(?!90)\d+)*)"
Signature · 1 line
2.25.1
PATCH 16/42 libpcre/libpcre2: correct SRC_URI
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
http://ftp.pcre.org is down, take sources according to links on
http://www.pcre.org
--- meta/recipes-support/libpcre/libpcre2_10.34.bb | 2 +- meta/recipes-support/libpcre/libpcre_8.44.bb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-support/libpcre/libpcre2_10.34.bb +1 -1
@@ -10,7 +10,7 @@ SECTION = "devel" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENCE;md5=b1588d3bb4cb0e1f5a597d908f8c5b37" -SRC_URI = "https://ftp.pcre.org/pub/pcre/pcre2-${PV}.tar.bz2 \ +SRC_URI = "https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${PV}/pcre2-${PV}.tar.bz2 \ file://pcre-cross.patch \ "
meta/recipes-support/libpcre/libpcre_8.44.bb +1 -1
@@ -7,7 +7,7 @@ HOMEPAGE = "http://www.pcre.org" SECTION = "devel" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENCE;md5=3bb381a66a5385b246d4877922e7511e" -SRC_URI = "https://ftp.pcre.org/pub/pcre/pcre-${PV}.tar.bz2 \ +SRC_URI = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 \ file://run-ptest \ file://Makefile \ "
Signature · 1 line
2.25.1
Re: [dunfell 16/42] libpcre/libpcre2: correct SRC_URI
Dunfell uses 10.34 pcre2. This SRC_URI does not work with 10.34, as that version is not available there.
Does Dunfell need to be updated to pcre2 > 10.36?
Re: [OE-core] [dunfell 16/42] libpcre/libpcre2: correct SRC_URI
Quoted 2 lines · On Fri, Dec 17, 2021 at 9:33 AM <[email protected]> wrote:
Dunfell uses 10.34 pcre2. This
SRC_URIdoes not work with 10.34, as that version is not available there.
Urghh . . .you are correct.
It does look like sourceforge is still carrying this (as do a few other random mirrors):
https://downloads.sourceforge.net/pcre/pcre2-10.34.tar.bz2
Any thoughts on which to use Alex?
Quoted 2 lines
Does Dunfell need to be updated to pcre2 > 10.36?
No, I think we should stick with the current version since this is a stable release.
Steve
Quoted 8 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#159836): https://lists.openembedded.org/g/openembedded-core/message/159836
Mute This Topic: https://lists.openembedded.org/mt/87365168/3620601
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [dunfell 16/42] libpcre/libpcre2: correct SRC_URI
I’d suggest we host the tarball somewhere on yoctoproject.org actually.
Alex
Quoted 33 lines · Steve Sakoman
Quoted 2 lines · On Fri, Dec 17, 2021 at 9:33 AM <[email protected]> wrote:
Dunfell uses 10.34 pcre2. This
SRC_URIdoes not work with 10.34, as thatversion is not available there.
Urghh . . .you are correct.
It does look like sourceforge is still carrying this (as do a few other random mirrors):
https://downloads.sourceforge.net/pcre/pcre2-10.34.tar.bz2
Any thoughts on which to use Alex?
Quoted 2 lines
Does Dunfell need to be updated to pcre2 > 10.36?
No, I think we should stick with the current version since this is a stable release.
Steve
Quoted 3 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#159836):https://lists.openembedded.org/g/openembedded-core/message/159836
Quoted 3 lines
Mute This Topic: https://lists.openembedded.org/mt/87365168/3620601
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [Quoted 2 lines
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core] [dunfell 16/42] libpcre/libpcre2: correct SRC_URI
Quoted 1 line · Alexander Kanavin
I’d suggest we host the tarball somewhere on yoctoproject.org actually.
You mean like
http://downloads.yoctoproject.org/mirror/sources/pcre2-10.34.tar.bz2
? :)
Cheers,
Richard
PATCH 17/42 cups: Fix missing installation of cups sysv init scripts
In reply to Steve SakomanFrom: Claus Stovgaard <[email protected]>
The packageconfig needs to be --disable-systemd as documented in configure file for cups. With the current value "--without-systemd" the SYSTEM_DIR variable ends up being set to "no"
It is caused by the --without-* section in configure file resulting in eval with_$ac_useropt=no ;;
$ac_useropt is "systemd" causing the variable $with_systemd to be set to "no", because of below test
if test ${with_systemd+y}
then :
withval=$with_systemd; SYSTEMD_DIR="$withval"
else $as_nop
SYSTEMD_DIR=""
fi
cups configure test for i if SYSTEMD_DIR is empty to decide if the init scripts need to be installed. A value of "no" results in that no init scripts is installed.
With --disable-systemd it works as expected - installing the init files. Though cups should properly improve their configure script.
--- meta/recipes-extended/cups/cups.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/cups/cups.inc +1 -1
@@ -41,7 +41,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl" PACKAGECONFIG[pam] = "--enable-pam --with-pam-module=unix, --disable-pam, libpam" -PACKAGECONFIG[systemd] = "--with-systemd=${systemd_system_unitdir},--without-systemd,systemd" +PACKAGECONFIG[systemd] = "--with-systemd=${systemd_system_unitdir},--disable-systemd,systemd" PACKAGECONFIG[xinetd] = "--with-xinetd=${sysconfdir}/xinetd.d,--without-xinetd,xinetd" EXTRA_OECONF = " \
Signature · 1 line
2.25.1
PATCH 18/42 os-release: Add DISTRO_CODENAME as vardeps for do_compile
In reply to Steve SakomanFrom: Daniel Gomez <[email protected]>
DISTRO_CODENAME is part of VERSION variable but not used as dependency for do_compile task. Append it to the vardeps list to rebuild in case it changes.
--- meta/recipes-core/os-release/os-release.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-core/os-release/os-release.bb +3 -1
@@ -12,7 +12,9 @@ do_configure[noexec] = "1" # Other valid fields: BUILD_ID ID_LIKE ANSI_COLOR CPE_NAME # HOME_URL SUPPORT_URL BUG_REPORT_URL -OS_RELEASE_FIELDS = "ID ID_LIKE NAME VERSION VERSION_ID PRETTY_NAME" +OS_RELEASE_FIELDS = "\ + ID ID_LIKE NAME VERSION VERSION_ID PRETTY_NAME DISTRO_CODENAME \ +" OS_RELEASE_UNQUOTED_FIELDS = "ID VERSION_ID VARIANT_ID" ID = "${DISTRO}"
Signature · 1 line
2.25.1
PATCH 19/42 curl: submit patch upstream
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- .../curl/curl/0001-replace-krb5-config-with-pkg-config.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/curl/curl/0001-replace-krb5-config-with-pkg-config.patch +1 -1
@@ -3,7 +3,7 @@ From: Roy Li <[email protected]> Date: Tue, 26 Apr 2016 13:13:01 +0800 Subject: [PATCH] replace krb5-config with pkg-config -Upstream-Status: Pending +Upstream-Status: Accepted [https://github.com/curl/curl/pull/7916] Signed-off-by: Roy Li <[email protected]>
Signature · 1 line
2.25.1
PATCH 20/42 libxml2: submit patch upstream
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- meta/recipes-core/libxml/libxml2/runtest.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-core/libxml/libxml2/runtest.patch +1 -1
@@ -7,7 +7,7 @@ Print a standard result line for each test. Signed-off-by: Mihaela Sendrea <[email protected]> Signed-off-by: Andrej Valek <[email protected]> -Upstream-Status: Pending +Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libxml2/-/merge_requests/137] Signed-off-by: Hongxu Jia <[email protected]> Signed-off-by: Tony Tascioglu <[email protected]>
Signature · 1 line
2.25.1
PATCH 21/42 cracklib: patches submitted upstream
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- ...0001-packlib.c-support-dictionary-byte-order-dependent.patch | 2 +- .../cracklib/0002-craklib-fix-testnum-and-teststr-failed.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-extended/cracklib/cracklib/0001-packlib.c-support-dictionary-byte-order-dependent.patch +1 -1
@@ -9,7 +9,7 @@ Create the dict files in big endian, and convert to host endian while load them. This could fix the endian issue on multiple platform. Signed-off-by: Hongxu Jia <[email protected]> -Upstream-Status: Pending +Upstream-Status: Submitted [https://github.com/cracklib/cracklib/pull/41] We can't use the endian.h, htobe* and be*toh functions because they are not available on older versions of glibc, such as that found in RHEL
meta/recipes-extended/cracklib/cracklib/0002-craklib-fix-testnum-and-teststr-failed.patch +1 -1
@@ -16,7 +16,7 @@ PWOpen: No such file or directory Set DEFAULT_CRACKLIB_DICT as the path of PWOpen Signed-off-by: Hongxu Jia <[email protected]> -Upstream-Status: Pending +Upstream-Status: Submitted [https://github.com/cracklib/cracklib/pull/42] --- util/testnum.c | 2 +- util/teststr.c | 2 +-
Signature · 1 line
2.25.1
PATCH 22/42 docbook-xml: patch is not upstreamable
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- .../docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/docbook-xml-update-catalog.xml.patch +1 -1
@@ -2,7 +2,7 @@ docbook-xml: update catalog.xml Refer Ubuntu 13.04 to update catalog.xml -Upstream-Status: Pending +Upstream-Status: Inappropriate [docbook 4.x development has ceased, docbook 5 is entirely different] Signed-off-by: Hongxu Jia <[email protected]> --- docbook-4.0/catalog.xml | 72 +++++++++++++++++++++++++++++++++++++++++++++++
Signature · 1 line
2.25.1
PATCH 23/42 lrzsz: Use Cross AR during compile
In reply to Steve SakomanFrom: Khem Raj <[email protected]>
Current code hardcodes archiver to be 'ar' from build host
--- ...mpilation-using-autoconf-detected-AR.patch | 36 +++++++++++++++++++ meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb | 1 + 2 files changed, 37 insertions(+) create mode 100644 meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch new file +36 -0
@@ -0,0 +1,36 @@ +From ecdcf0df6c28c65ca6d1e5638726e13e373c76c5 Mon Sep 17 00:00:00 2001 +From: Khem Raj <[email protected]> +Date: Wed, 11 Nov 2020 22:58:55 -0800 +Subject: [PATCH] Fix cross compilation using autoconf detected AR + +currently its using 'ar' program from build host, which is not expected, +we need to respect AR passed in environment + +Upstream-Status: Pending + +Signed-off-by: Khem Raj <[email protected]> +--- + configure.in | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/configure.in b/configure.in +index 4ddbe8b..b7c3c31 100644 +--- a/configure.in ++++ b/configure.in +@@ -84,6 +84,13 @@ AC_ARG_ENABLE(syslog, + ]) + + dnl Checks for programs. ++m4_ifndef([AC_PROG_AR],[dnl ++ AN_MAKEVAR([AR], [AC_PROG_AR]) ++ AN_PROGRAM([ar], [AC_PROG_AR]) ++ AC_DEFUN([AC_PROG_AR], ++ [AC_CHECK_TOOL(AR, ar, :)]) ++]) ++AC_PROG_AR + AC_PROG_CC + AC_PROG_GCC_TRADITIONAL + dnl AC_PROG_INSTALL included in AM_INIT_AUTOMAKE +-- +2.29.2 +
meta/recipes-bsp/lrzsz/lrzsz_0.12.20.bb +1 -0
@@ -19,6 +19,7 @@ SRC_URI = "http://www.ohse.de/uwe/releases/lrzsz-${PV}.tar.gz \ file://lrzsz-check-locale.h.patch \ file://cve-2018-10195.patch \ file://include.patch \ + file://0001-Fix-cross-compilation-using-autoconf-detected-AR.patch \ " SRC_URI[md5sum] = "b5ce6a74abc9b9eb2af94dffdfd372a4"
Signature · 1 line
2.25.1
PATCH 24/42 lrzsz: patch is not upstreamable
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- .../0001-Fix-cross-compilation-using-autoconf-detected-AR.patch | 2 +- meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/0001-Fix-cross-compilation-using-autoconf-detected-AR.patch +1 -1
@@ -6,7 +6,7 @@ Subject: [PATCH] Fix cross compilation using autoconf detected AR currently its using 'ar' program from build host, which is not expected, we need to respect AR passed in environment -Upstream-Status: Pending +Upstream-Status: Inappropriate [upstream hasn't been active since 1998] Signed-off-by: Khem Raj <[email protected]> ---
meta/recipes-bsp/lrzsz/lrzsz-0.12.20/autotools-update.patch +1 -1
@@ -1,6 +1,6 @@ Update autotools infrastructure (including gettext) to modern versions. -Upstream-Status: Pending +Upstream-Status: Inappropriate [upstream hasn't been active since 1998] Signed-off-by: Phil Blundell <[email protected]> diff -uprN clean/lrzsz-0.12.20/configure.in lrzsz-0.12.20/configure.in
Signature · 1 line
2.25.1
PATCH 25/42 valgrind: mark ptest-specific patch as inappropriate
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
I do not think upstream is going to accept this; if you disagree please do the submission.
--- .../0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/valgrind/valgrind/0005-Modify-vg_test-wrapper-to-support-PTEST-formats.patch +1 -1
@@ -14,7 +14,7 @@ option, --yocto-ptest, the valgrind regression test output is unchanged. Enforce 30 seconds limit for the test. This resume execution of the remaining tests when valgrind hangs. -Upstream-Status: Pending +Upstream-Status: Inappropriate [oe-core specific] Signed-off-by: Dave Lerner <[email protected]> Signed-off-by: Tudor Florea <[email protected]>
Signature · 1 line
2.25.1
PATCH 26/42 systemd-bootchart: submit musl patches upstream
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- ...1-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch | 2 +- .../systemd-bootchart/0002-musl-does-not-provide-printf-h.patch | 2 +- .../0003-musl-does-not-provide-canonicalize_file_name.patch | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0001-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch +1 -1
@@ -12,8 +12,8 @@ systemd/0013-comparison_fn_t-is-glibc-specific-use-raw-signature-.patch Based on work by: Khem Raj <[email protected]> Signed-off-by: Tim Orling <[email protected]> +Upstream-Status: Submitted [https://github.com/systemd/systemd-bootchart/pull/47] --- -Upstream-Status: Pending src/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0002-musl-does-not-provide-printf-h.patch +1 -1
@@ -10,8 +10,8 @@ Original patch author: Emil Renner Berthing <[email protected]> Includes work by: Khem Raj <[email protected]> Signed-off-by: Tim Orling <[email protected]> +Upstream-Status: Submitted [https://github.com/systemd/systemd-bootchart/pull/47] --- -Upstream-Status: Pending Makefile.am | 4 + configure.ac | 3 +
meta/recipes-devtools/systemd-bootchart/systemd-bootchart/0003-musl-does-not-provide-canonicalize_file_name.patch +1 -1
@@ -9,8 +9,8 @@ systemd/0007-check-for-missing-canonicalize_file_name.patch Based on work by: Khem Raj <[email protected]> Signed-off-by: Tim Orling <[email protected]> +Upstream-Status: Submitted [https://github.com/systemd/systemd-bootchart/pull/47] --- -Upstream-Status: Pending src/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.25.1
PATCH 27/42 libxml2: mark patch as non-upstreamable
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- .../libxml/libxml2/libxml-m4-use-pkgconfig.patch | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
meta/recipes-core/libxml/libxml2/libxml-m4-use-pkgconfig.patch +5 -1
@@ -4,7 +4,11 @@ Date: Sat, 11 May 2019 20:37:12 +0800 Subject: [PATCH] AM_PATH_XML2 uses xml-config which we disable through binconfig-disabled.bbclass, so port it to use pkg-config instead. -Upstream-Status: Pending +This cannot be upstreamed, as the original macro supports various +optional arguments which cannot be supported with a direct call +to pkg-config. + +Upstream-Status: Inappropriate [oe-core specific; see above] Signed-off-by: Ross Burton <[email protected]> Rebase to 2.9.9
Signature · 1 line
2.25.1
PATCH 28/42 libgpg-error: mark patch as non-upstreamable
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/libgpg-error/libgpg-error/pkgconfig.patch +1 -1
@@ -3,7 +3,7 @@ From: Hongxu Jia <[email protected]> Date: Thu, 29 Mar 2018 15:12:17 +0800 Subject: [PATCH] support pkgconfig -Upstream-Status: Pending +Upstream-Status: Inappropriate [gnupg upstream will not take this, it has been tried with other components] Rebase to 1.28
Signature · 1 line
2.25.1
PATCH 29/42 valgrind: submit patch upstream
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- .../valgrind/valgrind/0004-Fix-out-of-tree-builds.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/valgrind/valgrind/0004-Fix-out-of-tree-builds.patch +1 -1
@@ -11,7 +11,7 @@ RP 2013/03/23 Patch refreshed for valgrind-3.14.0. -Upstream-Status: Pending +Upstream-Status: Submitted [https://bugs.kde.org/show_bug.cgi?id=445211] Signed-off-by: Alexander Kanavin <[email protected]> Signed-off-by: Randy MacLeod <[email protected]>
Signature · 1 line
2.25.1
PATCH 30/42 webkitgtk: submit patches upstream
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- ...1-FindGObjectIntrospection.cmake-prefix-variables-obta.patch | 2 +- .../0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch | 2 +- ...1-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch +1 -1
@@ -4,7 +4,7 @@ Date: Tue, 27 Oct 2015 16:02:19 +0200 Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained from pkg-config with PKG_CONFIG_SYSROOT_DIR -Upstream-Status: Pending [review on oe-core list] +Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232933] Signed-off-by: Alexander Kanavin <[email protected]> --- Source/cmake/FindGObjectIntrospection.cmake | 1 +
meta/recipes-sato/webkit/webkitgtk/0001-Fix-racy-parallel-build-of-WebKit2-4.0.gir.patch +1 -1
@@ -3,7 +3,7 @@ From: Alexander Kanavin <[email protected]> Date: Mon, 29 Aug 2016 16:38:11 +0300 Subject: [PATCH] Fix racy parallel build of WebKit2-4.0.gir -Upstream-Status: Pending +Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232935] Signed-off-by: Alexander Kanavin <[email protected]> ---
meta/recipes-sato/webkit/webkitgtk/0001-When-building-introspection-files-add-CMAKE_C_FLAGS-.patch +1 -1
@@ -7,7 +7,7 @@ Subject: [PATCH] When building introspection files, add CMAKE_C_FLAGS to the g-ir-compiler is using a C compiler internally, so it needs to set the proper flags for it. -Upstream-Status: Pending [review on oe-core list] +Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232936] Signed-off-by: Alexander Kanavin <[email protected]> ---
Signature · 1 line
2.25.1
PATCH 31/42 weston: submit patch upstream
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- ...1-weston-launch-Provide-a-default-version-that-doesn-t.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-graphics/wayland/weston/0001-weston-launch-Provide-a-default-version-that-doesn-t.patch +1 -1
@@ -10,7 +10,7 @@ Since starting weston as root is a valid use case by itself, if PAM is not available, provide a default version of weston-launch without non-root-user support. -Upstream-Status: Pending +Upstream-Status: Submitted [https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/725] Signed-off-by: Tom Hochstein <[email protected]> Signed-off-by: Jussi Kukkonen <[email protected]>
Signature · 1 line
2.25.1
PATCH 32/42 db: mark all patches as non-upstreamable
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
Since Oracle relicensed bdb, the open source community is slowly but surely replacing bdb with supported and open source friendly alternatives.
--- ...001-Fix-libc-compatibility-by-renaming-atomic_init-API.patch | 2 +- ...1-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch | 2 +- .../db/db/0001-clock-Do-not-define-own-timespec.patch | 2 +- ...1-configure-Add-explicit-tag-options-to-libtool-invoca.patch | 2 +- meta/recipes-support/db/db/fix-parallel-build.patch | 2 +- meta/recipes-support/db/db/sequence-type.patch | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-)
meta/recipes-support/db/db/0001-Fix-libc-compatibility-by-renaming-atomic_init-API.patch +1 -1
@@ -7,7 +7,7 @@ db5 does not build because it is redefining a C++11 standard library identifier, atomic_init(). Therefore prefix all its internal defines with '__db_', to avoid collisions. -Upstream-Status: Pending +Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] Signed-off-by: Khem Raj <[email protected]> ---
meta/recipes-support/db/db/0001-atomic-Rename-local-__atomic_compare_exchange-to-avo.patch +1 -1
@@ -11,7 +11,7 @@ Fixes ../db-5.3.28/src/dbinc/atomic.h:179:19: error: definition of builtin function '__atomic_compare_exchange' static inline int __atomic_compare_exchange( -Upstream-Status: Pending +Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] Signed-off-by: Khem Raj <[email protected]> ---
meta/recipes-support/db/db/0001-clock-Do-not-define-own-timespec.patch +1 -1
@@ -10,7 +10,7 @@ its 12-bytes here and libc has 16-bytes This can cause problems especially with 64bit time_t -Upstream-Status: Pending +Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] Signed-off-by: Khem Raj <[email protected]> --- src/dbinc/clock.h | 17 +----------------
meta/recipes-support/db/db/0001-configure-Add-explicit-tag-options-to-libtool-invoca.patch +1 -1
@@ -7,7 +7,7 @@ This helps cross compile when tag inference via heuristics fail because CC variable is having -fPIE -pie and libtool smartly removes it when building libraries -Upstream-Status: Pending +Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] Signed-off-by: Khem Raj <[email protected]> ---
meta/recipes-support/db/db/fix-parallel-build.patch +1 -1
@@ -2,7 +2,7 @@ With higher paralelism it sometimes fails with: libtool: link: `util_log.lo' is not a valid libtool object make: *** [db_replicate] Error 1 -Upstream-Status: Pending +Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] Signed-off-by: Martin Jansa <[email protected]>
meta/recipes-support/db/db/sequence-type.patch +1 -1
@@ -6,7 +6,7 @@ in stdint.h. This then breaks the overly complicated type check but as we know that int64_t exists and works, we can just delete that. -Upstream-Status: Pending +Upstream-Status: Inappropriate [as far as open source community is concerned, upstream is dead] Signed-off-by: Ross Burton <[email protected]> --- a/dist/aclocal/sequence.m4~ 2013-09-09 16:35:02.000000000 +0100
Signature · 1 line
2.25.1
PATCH 33/42 unzip/zip: mark all patches as non-upstreamable
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
While upstream is not technically dead as of today [1], it has not made a release in over a decade, and there is no source code repo to rebase the patches on. If/when a new release ever comes, or someone takes over the maintenance, we can reassess the situation with these patches.
[1] Discussion in https://sourceforge.net/p/infozip/bugs/53/
--- meta/recipes-extended/unzip/unzip/avoid-strip.patch | 2 +- meta/recipes-extended/unzip/unzip/define-ldflags.patch | 2 +- meta/recipes-extended/unzip/unzip/fix-security-format.patch | 2 +- meta/recipes-extended/unzip/unzip/symlink.patch | 2 +- meta/recipes-extended/zip/zip-3.0/fix-security-format.patch | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-extended/unzip/unzip/avoid-strip.patch +1 -1
@@ -1,4 +1,4 @@ -Upstream-Status: Pending +Upstream-Status: Inappropriate [need a new release] unix/Makefile: remove hard coded strip commands
meta/recipes-extended/unzip/unzip/define-ldflags.patch +1 -1
@@ -1,6 +1,6 @@ Pass LDFLAGS to the linker -Upstream-Status: Pending +Upstream-Status: Inappropriate [need a new release] Signed-off-by: Mikhail Durnev <[email protected]>
meta/recipes-extended/unzip/unzip/fix-security-format.patch +1 -1
@@ -5,7 +5,7 @@ Fix security formatting issues related to sprintf parameters expeted. [YOCTO #9551] [https://bugzilla.yoctoproject.org/show_bug.cgi?id=9551] -Upstream-Status: Pending +Upstream-Status: Inappropriate [need a new release] Signed-off-by: Edwin Plauchu <[email protected]>
meta/recipes-extended/unzip/unzip/symlink.patch +1 -1
@@ -6,7 +6,7 @@ a symlink entry." This patch is taken from Fedora (https://bugzilla.redhat.com/show_bug.cgi?id=972427) -Upstream-Status: Pending (upstream is dead) +Upstream-Status: Inappropriate [need a new release] Signed-off-by: Ross Burton <[email protected]> --- unzip60/process.c.sav 2013-06-09 12:08:57.070392264 +0200
meta/recipes-extended/zip/zip-3.0/fix-security-format.patch +1 -1
@@ -14,7 +14,7 @@ zip.c:1228:5: error: format not a string literal and no format arguments [-Werro [YOCTO #9552] [https://bugzilla.yoctoproject.org/show_bug.cgi?id=9552] -Upstream-Status: Pending +Upstream-Status: Inappropriate [need a new release] Signed-off-by: Edwin Plauchu <[email protected]>
Signature · 1 line
2.25.1
PATCH 34/42 slang: mark patch as inappropriate for upstream submission
In reply to Steve SakomanFrom: Alexander Kanavin <[email protected]>
--- meta/recipes-extended/slang/slang/terminfo_fixes.patch | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-extended/slang/slang/terminfo_fixes.patch +3 -1
@@ -2,7 +2,9 @@ Do not use the JD_TERMCAP macro since we cannot get the terminfo from ncurses pkg-config, but fix the macro to not reference host directories. Also add src/test/Makefile.in so that we can use -ltermcap if we want to. -Upstream-Status: Pending +Upstream isn't going to take this, as it forces blank values and +removes functionality without replacing it. +Upstream-Status: Inappropriate [see above] Signed-off-by: Joe Slater <[email protected]>
Signature · 1 line
2.25.1
PATCH 35/42 libdnf: Backport bugfix for upgrade calc
In reply to Steve SakomanFrom: Jate Sujjavanich <[email protected]>
Mark goal.upgrade with sltr as targeted
This allows a bugfix in dnf to work
--- ...job-goal.upgrade-with-sltr-as-target.patch | 58 +++++++++++++++++++ .../libdnf/libdnf_0.28.1.bbappend | 3 + 2 files changed, 61 insertions(+) create mode 100644 meta/recipes-devtools/libdnf/libdnf/0040-Mark-job-goal.upgrade-with-sltr-as-target.patch create mode 100644 meta/recipes-devtools/libdnf/libdnf_0.28.1.bbappend
meta/recipes-devtools/libdnf/libdnf/0040-Mark-job-goal.upgrade-with-sltr-as-target.patch new file +58 -0
@@ -0,0 +1,58 @@ +From b4c5a3312287f31a2075a235db846ff611586d2c Mon Sep 17 00:00:00 2001 +From: Jaroslav Mracek <[email protected]> +Date: Tue, 3 Sep 2019 11:01:23 +0200 +Subject: [PATCH] Mark job goal.upgrade with sltr as targeted + +It allows to keep installed packages in upgrade set. + +It also prevents from reinstalling of modified packages with same NEVRA. + + +Backport commit b4c5a3312287f31a2075a235db846ff611586d2c from +https://github.com/rpm-software-management/libdnf + +This bug is present in oe-core's dnf + +Remove changes to spec file from upstream + +Upstream-Status: Backport +Signed-off-by: Jate Sujjavanich <[email protected]> +--- + libdnf.spec | 4 ++-- + libdnf/goal/Goal.cpp | 2 +- + libdnf/goal/Goal.hpp | 6 ++++-- + 3 files changed, 7 insertions(+), 5 deletions(-) + +diff --git a/libdnf/goal/Goal.cpp b/libdnf/goal/Goal.cpp +index b69be19..a38cbb4 100644 +--- a/libdnf/goal/Goal.cpp ++++ b/libdnf/goal/Goal.cpp +@@ -767,7 +767,7 @@ void + Goal::upgrade(HySelector sltr) + { + pImpl->actions = static_cast<DnfGoalActions>(pImpl->actions | DNF_UPGRADE); +- sltrToJob(sltr, &pImpl->staging, SOLVER_UPDATE); ++ sltrToJob(sltr, &pImpl->staging, SOLVER_UPDATE|SOLVER_TARGETED); + } + + void +diff --git a/libdnf/goal/Goal.hpp b/libdnf/goal/Goal.hpp +index f33dfa2..d701317 100644 +--- a/libdnf/goal/Goal.hpp ++++ b/libdnf/goal/Goal.hpp +@@ -86,8 +86,10 @@ public: + /** + * @brief If selector ill formed, it rises std::runtime_error() + * +- * @param sltr p_sltr: It should contain only upgrades with obsoletes otherwise it can try to +- * reinstall installonly packages. ++ * @param sltr p_sltr: It contains upgrade-to packages and obsoletes. The presence of installed ++ * packages prevents reinstalling packages with the same NEVRA but changed contant. To honor repo ++ * priority all relevant packages must be present. To upgrade package foo from priority repo, all ++ * installed and available packages of the foo must be in selector plus obsoletes of foo. + */ + void upgrade(HySelector sltr); + void userInstalled(DnfPackage *pkg); +-- +2.7.4 +
meta/recipes-devtools/libdnf/libdnf_0.28.1.bbappend new file +3 -0
@@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://0040-Mark-job-goal.upgrade-with-sltr-as-target.patch"
Signature · 1 line
2.25.1
PATCH 36/42 dnf: Backport bugfix for upgrade
In reply to Steve SakomanFrom: Jate Sujjavanich <[email protected]>
Keep installed packages in upgrade job
This prevents duplicate identical packages from being reinstalled with each upgrade
--- ...ackages-in-upgrade-job-RhBug-1728252.patch | 60 +++++++++++++++++++ meta/recipes-devtools/dnf/dnf_4.2.2.bbappend | 3 + 2 files changed, 63 insertions(+) create mode 100644 meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in-upgrade-job-RhBug-1728252.patch create mode 100644 meta/recipes-devtools/dnf/dnf_4.2.2.bbappend
meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in-upgrade-job-RhBug-1728252.patch new file +60 -0
@@ -0,0 +1,60 @@ +From c88a77198c0156e425c2725f30e481207de5162f Mon Sep 17 00:00:00 2001 +From: Jaroslav Mracek <[email protected]> +Date: Tue, 3 Sep 2019 11:01:51 +0200 +Subject: [PATCH] Keep installed packages in upgrade job + (RhBug:1728252,1644241,1741381) + +In combination with marking of job as TARGETED it prevents from +reinstalling of modified packages with same NEVRA. + +https://bugzilla.redhat.com/show_bug.cgi?id=1728252 +https://bugzilla.redhat.com/show_bug.cgi?id=1644241 +https://bugzilla.redhat.com/show_bug.cgi?id=1741381 + +Closes: #1474 +Approved by: m-blaha + + +Backport to fix bug in dnf in oe-core +from https://github.com/rpm-software-management/dnf + +Removed spec file portion of patch + +Upstream-Status: Backport +Signed-off-by: Jate Sujjavanich <[email protected]> +--- + dnf.spec | 4 ++-- + dnf/base.py | 3 --- + dnf/module/module_base.py | 2 +- + 3 files changed, 3 insertions(+), 6 deletions(-) + +diff --git a/dnf/base.py b/dnf/base.py +index b2ced61..628c154 100644 +--- a/dnf/base.py ++++ b/dnf/base.py +@@ -1968,9 +1968,6 @@ class Base(object): + obsoletes=q.installed().union(q.upgrades())) + # add obsoletes into transaction + q = q.union(obsoletes) +- # provide only available packages to solver otherwise selection of available +- # possibilities will be ignored +- q = q.available() + if reponame is not None: + q.filterm(reponame=reponame) + q = self._merge_update_filters(q, pkg_spec=pkg_spec) +diff --git a/dnf/module/module_base.py b/dnf/module/module_base.py +index 976d730..ce70f63 100644 +--- a/dnf/module/module_base.py ++++ b/dnf/module/module_base.py +@@ -214,7 +214,7 @@ class ModuleBase(object): + + if not upgrade_package_set: + logger.error(_("Unable to match profile in argument {}").format(spec)) +- query = self.base.sack.query().available().filterm(name=upgrade_package_set) ++ query = self.base.sack.query().filterm(name=upgrade_package_set) + if query: + sltr = dnf.selector.Selector(self.base.sack) + sltr.set(pkg=query) +-- +2.7.4 +
meta/recipes-devtools/dnf/dnf_4.2.2.bbappend new file +3 -0
@@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI += "file://0040-Keep-installed-packages-in-upgrade-job-RhBug-1728252.patch"
Signature · 1 line
2.25.1
Re: [OE-core][dunfell 36/42] dnf: Backport bugfix for upgrade
Quoted 7 lines · Steve Sakoman
From: Jate Sujjavanich <[email protected]>
Keep installed packages in upgrade job
This prevents duplicate identical packages from being reinstalled with each upgrade
Quoted 6 lines
Signed-off-by Jate Sujjavanich <[email protected]>Signed-off-by Steve Sakoman <[email protected]>---
...ackages-in-upgrade-job-RhBug-1728252.patch | 60
+++++++++++++++++++
meta/recipes-devtools/dnf/dnf_4.2.2.bbappend | 3 +
Why is this being added to a bbappend instead of the recipe itself?
Thanks,
Anuj
Quoted 104 lines
2 files changed, 63 insertions(+)create mode 100644 meta/recipes-devtools/dnf/dnf/0040-Keep- installed-packages-in-upgrade-job-RhBug-1728252.patch create mode 100644 meta/recipes-devtools/dnf/dnf_4.2.2.bbappend
(quoted diff) +0
-0packages-in-upgrade-job-RhBug-1728252.patch b/meta/recipes- devtools/dnf/dnf/0040-Keep-installed-packages-in-upgrade-job-RhBug- 1728252.patch
new file mode 100644
index 0000000000..57c2375a54meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in- new file +0
-0upgrade-job-RhBug-1728252.patch
meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in- new file +1
-0@@ -0,0 +1,60 @@ +From c88a77198c0156e425c2725f30e481207de5162f Mon Sep 17 00:00:002001
meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in- new file +38
-0+From: Jaroslav Mracek <[email protected]> +Date: Tue, 3 Sep 2019 11:01:51 +0200 +Subject: [PATCH] Keep installed packages in upgrade job + (RhBug:1728252,1644241,1741381) + +In combination with marking of job as TARGETED it prevents from +reinstalling of modified packages with same NEVRA. + +https://bugzilla.redhat.com/show_bug.cgi?id=1728252 +https://bugzilla.redhat.com/show_bug.cgi?id=1644241 +https://bugzilla.redhat.com/show_bug.cgi?id=1741381 + +Closes: #1474 +Approved by: m-blaha + + +Backport to fix bug in dnf in oe-core +from https://github.com/rpm-software-management/dnf + +Removed spec file portion of patch + +Upstream-Status: Backport +Signed-off-by: Jate Sujjavanich <[email protected]> +--- + dnf.spec | 4 ++-- + dnf/base.py | 3 --- + dnf/module/module_base.py | 2 +- + 3 files changed, 3 insertions(+), 6 deletions(-) + +diff --git a/dnf/base.py b/dnf/base.py +index b2ced61..628c154 100644 +--- a/dnf/base.py ++++ b/dnf/base.py +@@ -1968,9 +1968,6 @@ class Base(object): + obsoletes=q.installed().union(q.upgrades())) + # add obsoletes into transaction + q = q.union(obsoletes) +- # provide only available packages to solver otherwiseselection of available
+- # possibilities will be ignored +- q = q.available()+ if reponame is not None:
+q.filterm(reponame=reponame)
+ q =self._merge_update_filters(q, pkg_spec=pkg_spec)meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in- new file +8
-0+diff --git a/dnf/module/module_base.py b/dnf/module/module_base.py +index 976d730..ce70f63 100644 +--- a/dnf/module/module_base.py ++++ b/dnf/module/module_base.py +@@ -214,7 +214,7 @@ class ModuleBase(object): + + if not upgrade_package_set: + logger.error(_("Unable to match profile in argument{}").format(spec))
+- query = self.base.sack.query().available().filterm(name=upgrade_package_set) ++ query = self.base.sack.query().filterm(name=upgrade_package_set) + if query:
+ sltr =dnf.selector.Selector(self.base.sack)+sltr.set(pkg=query)
+--
+2.7.4meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in- new file +1
-0+meta/recipes-devtools/dnf/dnf_4.2.2.bbappend new file +3
-0@@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI +="file://0040-Keep-installed-packages-in-upgrade-job-RhBug-1728252.patch "
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#158918):
https://lists.openembedded.org/g/openembedded-core/message/158918
Mute This Topic: https://lists.openembedded.org/mt/87365202/3616702
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-core/unsub [
[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [OE-core][dunfell 36/42] dnf: Backport bugfix for upgrade
Quoted 9 lines · Anuj
Quoted 7 lines · Steve Sakoman
From: Jate Sujjavanich <[email protected]>
Keep installed packages in upgrade job
This prevents duplicate identical packages from being reinstalled with each upgrade
Quoted 8 lines
Quoted 6 lines
Signed-off-by Jate Sujjavanich <[email protected]>Signed-off-by Steve Sakoman <[email protected]>--- ...ackages-in-upgrade-job-RhBug-1728252.patch | 60 +++++++++++++++++++ meta/recipes-devtools/dnf/dnf_4.2.2.bbappend | 3 +Why is this being added to a bbappend instead of the recipe itself?
Arghh . . . I noticed this only after testing on the autobuilder and forgot to remove these two dnf patches prior to generating the series for review. Thanks for catching this Anuj!
Jate, can you revise the patches and resubmit?
Steve
Quoted 105 lines
Quoted 104 lines
2 files changed, 63 insertions(+) create mode 100644 meta/recipes-devtools/dnf/dnf/0040-Keep- installed-packages-in-upgrade-job-RhBug-1728252.patch create mode 100644 meta/recipes-devtools/dnf/dnf_4.2.2.bbappend(quoted diff) +0
-0packages-in-upgrade-job-RhBug-1728252.patch b/meta/recipes- devtools/dnf/dnf/0040-Keep-installed-packages-in-upgrade-job-RhBug- 1728252.patch
new file mode 100644
index 0000000000..57c2375a54meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in- new file +0
-0upgrade-job-RhBug-1728252.patch
meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in- new file +1
-0@@ -0,0 +1,60 @@ +From c88a77198c0156e425c2725f30e481207de5162f Mon Sep 17 00:00:002001
meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in- new file +38
-0+From: Jaroslav Mracek <[email protected]> +Date: Tue, 3 Sep 2019 11:01:51 +0200 +Subject: [PATCH] Keep installed packages in upgrade job + (RhBug:1728252,1644241,1741381) + +In combination with marking of job as TARGETED it prevents from +reinstalling of modified packages with same NEVRA. + +https://bugzilla.redhat.com/show_bug.cgi?id=1728252 +https://bugzilla.redhat.com/show_bug.cgi?id=1644241 +https://bugzilla.redhat.com/show_bug.cgi?id=1741381 + +Closes: #1474 +Approved by: m-blaha + + +Backport to fix bug in dnf in oe-core +from https://github.com/rpm-software-management/dnf + +Removed spec file portion of patch + +Upstream-Status: Backport +Signed-off-by: Jate Sujjavanich <[email protected]> +--- + dnf.spec | 4 ++-- + dnf/base.py | 3 --- + dnf/module/module_base.py | 2 +- + 3 files changed, 3 insertions(+), 6 deletions(-) + +diff --git a/dnf/base.py b/dnf/base.py +index b2ced61..628c154 100644 +--- a/dnf/base.py ++++ b/dnf/base.py +@@ -1968,9 +1968,6 @@ class Base(object): + obsoletes=q.installed().union(q.upgrades())) + # add obsoletes into transaction + q = q.union(obsoletes) +- # provide only available packages to solver otherwiseselection of available
+- # possibilities will be ignored +- q = q.available()meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in- new file +11
-0+ if reponame is not None: + q.filterm(reponame=reponame) + q = self._merge_update_filters(q, pkg_spec=pkg_spec) +diff --git a/dnf/module/module_base.py b/dnf/module/module_base.py +index 976d730..ce70f63 100644 +--- a/dnf/module/module_base.py ++++ b/dnf/module/module_base.py +@@ -214,7 +214,7 @@ class ModuleBase(object): + + if not upgrade_package_set: + logger.error(_("Unable to match profile in argument{}").format(spec))
+- query =
self.base.sack.query().available().filterm(name=upgrade_package_set)
++ query =
self.base.sack.query().filterm(name=upgrade_package_set)meta/recipes-devtools/dnf/dnf/0040-Keep-installed-packages-in- new file +6
-0+ if query: + sltr = dnf.selector.Selector(self.base.sack) + sltr.set(pkg=query) +-- +2.7.4 +meta/recipes-devtools/dnf/dnf_4.2.2.bbappend new file +3
-0@@ -0,0 +1,3 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" + +SRC_URI +="file://0040-Keep-installed-packages-in-upgrade-job-RhBug-1728252.patch "
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#158918):
https://lists.openembedded.org/g/openembedded-core/message/158918
Mute This Topic: https://lists.openembedded.org/mt/87365202/3616702
Group Owner: [email protected] Unsubscribe:
https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Re: [dunfell 36/42] dnf: Backport bugfix for upgrade
Sorry about that. I will send you a v2 update.
- Jate
PATCH 37/42 oeqa: fix warnings for append operators combined with +=
In reply to Steve SakomanFrom: Yi Zhao <[email protected]>
--- meta/lib/oeqa/runtime/cases/ksample.py | 2 +- meta/lib/oeqa/selftest/cases/imagefeatures.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
meta/lib/oeqa/runtime/cases/ksample.py +1 -1
@@ -10,7 +10,7 @@ from oeqa.core.decorator.depends import OETestDepends from oeqa.core.decorator.data import skipIfNotFeature # need some kernel fragments -# echo "KERNEL_FEATURES_append += \" features\/kernel\-sample\/kernel\-sample.scc\"" >> local.conf +# echo "KERNEL_FEATURES_append = \" features\/kernel\-sample\/kernel\-sample.scc\"" >> local.conf class KSample(OERuntimeTestCase): def cmd_and_check(self, cmd='', match_string=''): status, output = self.target.run(cmd)
meta/lib/oeqa/selftest/cases/imagefeatures.py +1 -1
@@ -240,7 +240,7 @@ USERADD_GID_TABLES += "files/static-group" def test_no_busybox_base_utils(self): config = """ # Enable x11 -DISTRO_FEATURES_append += "x11" +DISTRO_FEATURES_append = " x11" # Switch to systemd DISTRO_FEATURES += "systemd"
Signature · 1 line
2.25.1
PATCH 38/42 reproducible_build/package_XXX: Ensure SDE task is in dependency chain
In reply to Steve SakomanFrom: Richard Purdie <[email protected]>
--- meta/classes/package_deb.bbclass | 4 ++-- meta/classes/package_ipk.bbclass | 3 ++- meta/classes/package_rpm.bbclass | 3 ++- meta/classes/reproducible_build.bbclass | 2 ++ 4 files changed, 8 insertions(+), 4 deletions(-)
meta/classes/package_deb.bbclass +2 -2
@@ -315,8 +315,8 @@ do_package_write_deb[dirs] = "${PKGWRITEDIRDEB}" do_package_write_deb[cleandirs] = "${PKGWRITEDIRDEB}" do_package_write_deb[umask] = "022" do_package_write_deb[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" -addtask package_write_deb after do_packagedata do_package - +EPOCHTASK ??= "" +addtask package_write_deb after do_packagedata do_package ${EPOCHTASK} PACKAGEINDEXDEPS += "dpkg-native:do_populate_sysroot" PACKAGEINDEXDEPS += "apt-native:do_populate_sysroot"
meta/classes/package_ipk.bbclass +2 -1
@@ -274,7 +274,8 @@ do_package_write_ipk[dirs] = "${PKGWRITEDIRIPK}" do_package_write_ipk[cleandirs] = "${PKGWRITEDIRIPK}" do_package_write_ipk[umask] = "022" do_package_write_ipk[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" -addtask package_write_ipk after do_packagedata do_package +EPOCHTASK ??= "" +addtask package_write_ipk after do_packagedata do_package ${EPOCHTASK} PACKAGEINDEXDEPS += "opkg-utils-native:do_populate_sysroot" PACKAGEINDEXDEPS += "opkg-native:do_populate_sysroot"
meta/classes/package_rpm.bbclass +2 -1
@@ -743,7 +743,8 @@ do_package_write_rpm[dirs] = "${PKGWRITEDIRRPM}" do_package_write_rpm[cleandirs] = "${PKGWRITEDIRRPM}" do_package_write_rpm[umask] = "022" do_package_write_rpm[depends] += "${@oe.utils.build_depends_string(d.getVar('PACKAGE_WRITE_DEPS'), 'do_populate_sysroot')}" -addtask package_write_rpm after do_packagedata do_package +EPOCHTASK ??= "" +addtask package_write_rpm after do_packagedata do_package ${EPOCHTASK} PACKAGEINDEXDEPS += "rpm-native:do_populate_sysroot" PACKAGEINDEXDEPS += "createrepo-c-native:do_populate_sysroot"
meta/classes/reproducible_build.bbclass +2 -0
@@ -106,6 +106,8 @@ python create_source_date_epoch_stamp() { os.rename(tmp_file, epochfile) } +EPOCHTASK = "do_deploy_source_date_epoch" + # Generate the stamp after do_unpack runs do_unpack[postfuncs] += "create_source_date_epoch_stamp"
Signature · 1 line
2.25.1
PATCH 39/42 make-mod-scripts: pass CROSS_COMPILE to configure and build
In reply to Steve SakomanFrom: Denys Dmytriyenko <[email protected]>
Fixes:
| CALL /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/checksyscalls.sh | CALL /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/scripts/atomic/check-atomics.sh | LDS arch/arm64/kernel/vdso/vdso.lds | CC arch/arm64/kernel/vdso/vgettimeofday.o | AS arch/arm64/kernel/vdso/note.o | AS arch/arm64/kernel/vdso/sigreturn.o | LD arch/arm64/kernel/vdso/vdso.so.dbg | VDSOSYM include/generated/vdso-offsets.h | OBJCOPY arch/arm64/kernel/vdso/vdso.so | objcopy: Unable to recognise the format of the input file `arch/arm64/kernel/vdso/vdso.so.dbg' | /OE/poky-master/build/tmp/work-shared/qemuarm64/kernel-source/arch/arm64/kernel/vdso/Makefile:61: recipe for target 'arch/arm64/kernel/vdso/vdso.so' failed
--- meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb +1 -1
@@ -19,7 +19,7 @@ DEPENDS += "bc-native bison-native" DEPENDS += "gmp-native" EXTRA_OEMAKE = " HOSTCC="${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"" -EXTRA_OEMAKE += " HOSTCXX="${BUILD_CXX} ${BUILD_CXXFLAGS} ${BUILD_LDFLAGS}"" +EXTRA_OEMAKE += " HOSTCXX="${BUILD_CXX} ${BUILD_CXXFLAGS} ${BUILD_LDFLAGS}" CROSS_COMPILE=${TARGET_PREFIX}" # Build some host tools under work-shared. CC, LD, and AR are probably # not used, but this is the historical way of invoking "make scripts".
Signature · 1 line
2.25.1
PATCH 40/42 systemd: add packageconfig for wheel-group
In reply to Steve SakomanFrom: Peter Bergin <[email protected]>
If the distro does not include the group 'wheel' systemd will complain when trying to parse ACL rules for tmpfiles.d.
systemd-tmpfiles[273]: Failed to parse ACL "d:group:adm:r-x,d:group:wheel:r-x": Invalid argument. Ignoring
Systemd has a configuration parameter to avoid using 'wheel' group in the standard config files for tmpfiles. Add this as a PACKAGECONFIG and enable it by default to keep default.
(From OE-Core rev: 1b5648e6aeb9837cb807ce086c26fbfaa16f6f8b)
Upstream-Status: Backport
--- meta/recipes-core/systemd/systemd_244.5.bb | 2 ++ 1 file changed, 2 insertions(+)
meta/recipes-core/systemd/systemd_244.5.bb +2 -0
@@ -96,6 +96,7 @@ PACKAGECONFIG ??= " \ timesyncd \ utmp \ vconsole \ + wheel-group \ xz \ "
@@ -188,6 +189,7 @@ PACKAGECONFIG[sbinmerge] = "-Dsplit-bin=false,-Dsplit-bin=true" PACKAGECONFIG[utmp] = "-Dutmp=true,-Dutmp=false" PACKAGECONFIG[valgrind] = "-DVALGRIND=1,,valgrind" PACKAGECONFIG[vconsole] = "-Dvconsole=true,-Dvconsole=false,,${PN}-vconsole-setup" +PACKAGECONFIG[wheel-group] = "-Dwheel-group=true, -Dwheel-group=false" # Verify keymaps on locale change PACKAGECONFIG[xkbcommon] = "-Dxkbcommon=true,-Dxkbcommon=false,libxkbcommon" PACKAGECONFIG[xz] = "-Dxz=true,-Dxz=false,xz"
Signature · 1 line
2.25.1
PATCH 41/42 openssh: Improve LICENSE to show BSD license variants.
In reply to Steve SakomanFrom: Wang Mingyu <[email protected]>
Update LICENSE to show that BSD-2-Clause, BSD-3-Clause and BSD-4-Clause are all present.
(From OE-Core rev: d17938953fc2524bc5f04db4409a47aa400e756a)
--- meta/recipes-connectivity/openssh/openssh_8.2p1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/openssh/openssh_8.2p1.bb +1 -1
@@ -5,7 +5,7 @@ Ssh (Secure Shell) is a program for logging into a remote machine \ and for executing commands on a remote machine." HOMEPAGE = "http://www.openssh.com/" SECTION = "console/network" -LICENSE = "BSD & ISC & MIT" +LICENSE = "BSD-2-Clause & BSD-3-Clause & BSD-4-Clause & BSD & ISC & MIT" LIC_FILES_CHKSUM = "file://LICENCE;md5=18d9e5a8b3dd1790d73502f50426d4d3" DEPENDS = "zlib openssl virtual/crypt"
Signature · 1 line
2.25.1
PATCH 42/42 openssh: remove redundant BSD license
In reply to Steve SakomanFrom: Ross Burton <[email protected]>
The license statement already includes BSD-2-Clause and BSD-3-Clause, so remove the redundant and ambiguous BSD license.
(From OE-Core rev: 5c0b03cda19bcebfc71e1e601a4336fcda4bfc2b)
--- meta/recipes-connectivity/openssh/openssh_8.2p1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-connectivity/openssh/openssh_8.2p1.bb +1 -1
@@ -5,7 +5,7 @@ Ssh (Secure Shell) is a program for logging into a remote machine \ and for executing commands on a remote machine." HOMEPAGE = "http://www.openssh.com/" SECTION = "console/network" -LICENSE = "BSD-2-Clause & BSD-3-Clause & BSD-4-Clause & BSD & ISC & MIT" +LICENSE = "BSD-2-Clause & BSD-3-Clause & BSD-4-Clause & ISC & MIT" LIC_FILES_CHKSUM = "file://LICENCE;md5=18d9e5a8b3dd1790d73502f50426d4d3" DEPENDS = "zlib openssl virtual/crypt"
Signature · 1 line
2.25.1