mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
rpm: update 4.16.1.3 -> 4.17.0
The flagship features are migration from bdb to sqlite and zstd support, both are enabled and taken into use. The relationship and upstream preference between sqlite and ndb formats isn't quite clear. Lua is now a hard dependency. Added packageconfig option for r/o support for bdb (that doesn't need bdb itself), but not enabled it as upstream marks it EXPERIMENTAL in capital letters. Drop sed adjustment for a file that is not anymore installed. Adjust oeqa test to check for sqlite database instead of bdb. Drop 0001-Fix-build-with-musl-C-library.patch (nss support removed upstream) 0001-rpm-rpmio.c-restrict-virtual-memory-usage-if-limit-s.patch (difficult to undersand and rebase; obsolete with the move to zstd) 0011-Do-not-require-that-ELF-binaries-are-executable-to-b.patch (upstream made the same change) Portions of 0001-tools-Add-error.h-for-non-glibc-case.patch dropped (upstream moved the files to a separate component). Added 0001-docs-do-not-build-manpages-requires-pandoc.patch to avoid pandoc dependency. Added 0001-build-pack.c-do-not-insert-payloadflags-into-.rpm-me.patch to restore reproducibility when compression thread amount varies between hosts. (From OE-Core rev: 6080fcf7e4f64faedd98ed26b65a3bc29ef08238) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6500c74e62
commit
c3189b9efe
@@ -116,12 +116,12 @@ class RpmInstallRemoveTest(OERuntimeTestCase):
|
||||
Author: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
AutomatedBy: Daniel Istrate <daniel.alexandrux.istrate@intel.com>
|
||||
"""
|
||||
db_files_cmd = 'ls /var/lib/rpm/__db.*'
|
||||
db_files_cmd = 'ls /var/lib/rpm/rpmdb.sqlite*'
|
||||
check_log_cmd = "grep RPM /var/log/messages | wc -l"
|
||||
|
||||
# Make sure that some database files are under /var/lib/rpm as '__db.xxx'
|
||||
# Make sure that some database files are under /var/lib/rpm as 'rpmdb.sqlite'
|
||||
status, output = self.target.run(db_files_cmd)
|
||||
msg = 'Failed to find database files under /var/lib/rpm/ as __db.xxx'
|
||||
msg = 'Failed to find database files under /var/lib/rpm/ as rpmdb.sqlite'
|
||||
self.assertEqual(0, status, msg=msg)
|
||||
|
||||
self.tc.target.copyTo(self.test_file, self.dst)
|
||||
|
||||
Reference in New Issue
Block a user