Skip to content

rpm: 4.20.1 -> 6.0.1

[email protected] openembedded-core 8 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest9 patches 9 repliesIn review
  2. v77 patches 12 repliesSuperseded
  3. v67 patches 9 repliesSuperseded
Earlier versions · 5
VersionPostedPatchesRepliesStatus
v57 patches4 repliesSuperseded
v47 patches4 repliesSuperseded
v32 patches3 repliesSuperseded
v22 patches3 repliesSuperseded
v11 patch4 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9package_rpm.bbclass: Drop external dependency generator to support rpm 6meta/classes-global/package_rpm.bbclass+3 -810 replies
2/9package_rpm.bbclass: Define _lib and _libdir for rpmbuildmeta/classes-global/package_rpm.bbclass+2 -00 replies
3/9lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or muslmeta/lib/oe/package.py meta/recipes-core/glibc/glibc-package.inc meta/recipes-core/musl/musl_git.bb+12 -10 replies
4/9glib/python3/acl: Add pkgconfig to RDEPENDSmeta/recipes-core/glib-2.0/glib.inc meta/recipes-devtools/python/python3_3.14.3.bb meta/recipes-support/attr/acl_2.3.2.bb+5 -12 replies
5/9lib/oe/package.py: Don't redirect stderrmeta/lib/oe/package.py+1 -10 replies
6/9target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDESmeta/recipes-core/meta/nativesdk-sdk-provides-dummy.bb meta/recipes-core/meta/target-sdk-provides-dummy.bb+2 -00 replies
7/9rpm: 4.20.1 -> 6.0.1meta/classes-global/package_rpm.bbclass meta/recipes-devtools/rpm/files/0001-Add-a-color-setting-for-mips64_n32-binaries.patch meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch +15 more+229 -1880 replies
8/9libarchive: upgrade 3.8.5 -> 3.8.6meta/recipes-extended/libarchive/libarchive_3.8.6.bb+1 -10 replies
9/9libarchive: Make it work with rpm 6meta/recipes-extended/libarchive/libarchive/0001-archive_read_append_filter-Keep-iterating-even-if-na.patch meta/recipes-extended/libarchive/libarchive/0002-__archive_read_register_bidder-Allow-ARCHIVE_STATE_H.patch meta/recipes-extended/libarchive/libarchive/0003-Convert-RPM-reader-into-a-proper-format-supporting-b.patch +1 more+1819 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.

Read the v8 thread

Cover letter [PATCH v8 0/9] rpm: 4.20.1 -> 6.0.1

From: Robert Yang <[email protected]>

* V8:
- Fix build with systemd (Check patch 7 for detailes)
- Make rpmbuild can find the pkgconfig (.pc) files in /usr/share/pkgconfig (Check patch 7 for detailes)
- Backport a PULL from git/libarchive to fix oe-selftest failures.

* V7:
- Add 0001-scripts-pkgconfigdeps.sh-Use-pkg-config-from-PATH.patch:
To fix "bitbake core-image-sato -cpopulate_sdk" error on Ubuntu 24.04 when pkg-config is installed on host, now the host contamination has been fixed, and the patch has been submitted to upstream:
https://github.com/rpm-software-management/rpm/pull/4127

* V6
- Fix -cpopulate_sdk error when DISTRO = "poky"

* V5
- Fix RP's comments: Don't hardcode libc6 into package_rpm.bbclass
- Use SKIP_LDCONFIG_POSTINST_FRAGMENT:${PN} to fix the loop dependencies between /bin/sh and libc.so.

* V4
- Fix loop dependencies issues for libc6 and busybox
- Fix issues for can't find pkg-config files (.pc) on qemux86-64.

* V3
- Fix Alexender's comments
a) Suppot rpm 6
b) Move rpm-setup-autosign to rpm-build
c) Remove -DLIBELF_FOUND=False

- Fix build for nativesdk-rpm

- Drop patch for createrepo-c since it has been upgraded (rev:

    804a238c8a4e86c2bcfb2192d54cb861d5fd32a6)

* V1 & V2
- Initial version

// Robert

The following changes since commit 7e75ec7a66c8c5f06c264784b0b6daaca37a9381:

bitbake.conf: Set PACKAGECONFIG vardepvalue (2026-03-12 12:02:30 +0000)

are available in the Git repository at:

https://github.com/robertlinux/yocto rbt/rpm
https://github.com/robertlinux/yocto/tree/rbt/rpm

for you to fetch changes up to 9ee544efe319d8a002a88c0401da0a2e5ae007a9:

libarchive: Make it work with rpm 6 (2026-03-12 07:00:10 -0700)

----------------------------------------------------------------

Peter Marko (1):
libarchive: upgrade 3.8.5 -> 3.8.6

Robert Yang (8):
package_rpm.bbclass: Drop external dependency generator to support rpm

    6

package_rpm.bbclass: Define _lib and _libdir for rpmbuild lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or
musl
glib/python3/acl: Add pkgconfig to RDEPENDS lib/oe/package.py: Don't redirect stderr
target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES
rpm: 4.20.1 -> 6.0.1
libarchive: Make it work with rpm 6

 meta/classes-global/package_rpm.bbclass       |   90 +-
 meta/lib/oe/package.py                        |    5 +-
 meta/recipes-core/glib-2.0/glib.inc           |    2 +-
 meta/recipes-core/glibc/glibc-package.inc     |    5 +
 .../meta/nativesdk-sdk-provides-dummy.bb      |    1 +
 .../meta/target-sdk-provides-dummy.bb         |    1 +
 meta/recipes-core/musl/musl_git.bb            |    5 +
 .../recipes-devtools/python/python3_3.14.3.bb |    2 +
 ...olor-setting-for-mips64_n32-binaries.patch |   21 +-
 ...akeLists.txt-Fix-checking-for-CFLAGS.patch |   46 -
 ...et-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch |   50 -
 ...satisfiable-dependency-when-building.patch |   17 +-
 ...lib-rpm-as-the-installation-path-for.patch |   23 +-
 ...1-Do-not-read-config-files-from-HOME.patch |   17 +-
 ...-PATH-environment-variable-before-ru.patch |   15 +-
 ...lling-execute-package-scriptlets-wit.patch |   11 +-
 ...not-insert-payloadflags-into-.rpm-me.patch |   17 +-
 ....c-fix-file-conflicts-for-MIPS64-N32.patch |   17 +-
 ...kgverify_level-to-digest-as-RCPM-4.2.patch |   34 +
 ...nfigdeps.sh-Use-pkg-config-from-PATH.patch |   42 +
 ...ools-elfdeps.cc-Remove-format-module.patch |   37 +
 ...prefixing-etc-from-RPM_ETCCONFIGDIR-.patch |   25 +-
 ...avoid-using-GLOB_BRACE-if-undefined-.patch |   13 +-
 ...ge-logging-level-around-scriptlets-t.patch |   13 +-
 .../rpm/{rpm_4.20.1.bb => rpm_6.0.1.bb}       |   15 +-
 ...end_filter-Keep-iterating-even-if-na.patch |   48 +
 ...egister_bidder-Allow-ARCHIVE_STATE_H.patch |   45 +
 ...er-into-a-proper-format-supporting-b.patch | 1723 +++++++++++++++++
 ...ibarchive_3.8.5.bb => libarchive_3.8.6.bb} |    5 +-
 meta/recipes-support/attr/acl_2.3.2.bb        |    2 +
 30 files changed, 2074 insertions(+), 273 deletions(-)
 delete mode 100644 meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-Fix-checking-for-CFLAGS.patch
 delete mode 100644 meta/recipes-devtools/rpm/files/0001-CMakeLists.txt-set-libdir-to-CMAKE_INSTALL_FULL_LIBD.patch
 create mode 100644 meta/recipes-devtools/rpm/files/0001-macros.in-Set-_pkgverify_level-to-digest-as-RCPM-4.2.patch
 create mode 100644 meta/recipes-devtools/rpm/files/0001-scripts-pkgconfigdeps.sh-Use-pkg-config-from-PATH.patch
 create mode 100644 meta/recipes-devtools/rpm/files/0001-tools-elfdeps.cc-Remove-format-module.patch
 rename meta/recipes-devtools/rpm/{rpm_4.20.1.bb => rpm_6.0.1.bb} (94%)
 create mode 100644 meta/recipes-extended/libarchive/libarchive/0001-archive_read_append_filter-Keep-iterating-even-if-na.patch
 create mode 100644 meta/recipes-extended/libarchive/libarchive/0002-__archive_read_register_bidder-Allow-ARCHIVE_STATE_H.patch
 create mode 100644 meta/recipes-extended/libarchive/libarchive/0003-Convert-RPM-reader-into-a-proper-format-supporting-b.patch
 rename meta/recipes-extended/libarchive/{libarchive_3.8.5.bb => libarchive_3.8.6.bb} (90%)
Signature · 1 line
2.49.0