[Rpm-maint] [rpm-software-management/rpm] RFE: container-native rpmdb format (Issue #2005)

Ludwig Nussel notifications at github.com
Wed Apr 13 07:26:23 UTC 2022


The ability to overlay a tree with extra packages is also part of the motivation for #1959.
Meanwhile a q&d solution for containers would be to add eg a plugin to dnf that dumps the database after the transaction and then deletes the database. On startup it could import those headers again if no db exists yet (cat *|rpmdb --importdb).

https://github.com/lnussel/toy/blob/master/dumpheaders.c stores rpm headers in separate files in contrast to rpmdb --exportdb.
In #1959 are also commits that allow use of packages (with or without payload) for that purpose.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/2005#issuecomment-1097650263
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/issues/2005/1097650263 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220413/6ecd9b6b/attachment.html>


More information about the Rpm-maint mailing list