[Rpm-maint] [rpm-software-management/rpm] RFE: container-native rpmdb format (Issue #2005)
Colin Walters
notifications at github.com
Wed Dec 10 16:18:53 UTC 2025
cgwalters left a comment (rpm-software-management/rpm#2005)
> Each installed RPM is represented by a numbered file in /var/lib/rpm/jsonzstd,
This should be in the default `%_dbpath` which shouldn't be `/var` except on RHEL <= 9.
> In the same directory lives a "manifest" file which points to each individual package file and stores metadata about the next number in the sequence.
Is the sequence defined by package installation order for a fresh image? And then subsequent ones use N+1 starting from the last?
> This comment/fork serves as a proof-of-concept for how this could look, and to demonstrate the usefulness of a backend more optimised for container images.
Yes, thanks for doing that!
This issue is still relevant; I forgot to do an explicit cross reference but e.g. https://github.com/rpm-software-management/dnf5/issues/1731 would be a *lot* more elegant with this, and that's a not-OCI-container use case.
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2005#issuecomment-3637885851
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/issues/2005/3637885851 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20251210/e19b6439/attachment-0001.htm>
More information about the Rpm-maint
mailing list