2bc8d7cccb
Until now, we weren't pruning the pkgcache repo at all. I ran out of space in the root partition in my CAHC vagrant test box, so it's time to fix this. The basic algorithm is to walk over the full rpmdb contents of each root, generate a set of "currently referenced" cached refs, then delete any refs in the pkgcache repo which aren't included. Then, do a prune of the pkgcache repo. While we're here, factor out a `sysroot_upgrader_cleanup()` function which does all of the cleanup. The idea is at some point we need to introduce an `rpm-ostree cleanup` command or so which calls this, to handle the case where the system is interrupted post-deploy but pre-clean. Closes: https://github.com/projectatomic/rpm-ostree/issues/428 Closes: #437 Approved by: jlebon |
||
---|---|---|
api-doc | ||
buildutil | ||
design | ||
docs | ||
libdnf@b69552b3b3 | ||
libglnx@4ae5e3beaa | ||
man | ||
packaging | ||
scripts | ||
src | ||
tests | ||
tests-container | ||
vagrant | ||
.gitmodules | ||
.travis.yml | ||
autogen.sh | ||
configure.ac | ||
CONTRIBUTING.md | ||
COPYING | ||
git.mk | ||
HACKING.md | ||
LICENSE | ||
Makefile-daemon.am | ||
Makefile-decls.am | ||
Makefile-lib-defines.am | ||
Makefile-lib.am | ||
Makefile-libdnf.am | ||
Makefile-libpriv.am | ||
Makefile-man.am | ||
Makefile-rpm-ostree.am | ||
Makefile-tests.am | ||
Makefile.am | ||
mkdocs.yml | ||
README.md | ||
TODO | ||
Vagrantfile |
rpm-ostree Overview
rpm-ostree is a hybrid image/package system. It uses OSTree as a base image format, and supports RPM on both the client and server side using libhif.
For more information, see the online manual: Read The Docs (rpm-ostree)
Features:
- Atomic upgrades and rollback for host system updates
- A server side tool to consume RPMs and commit them to an OSTree repository
- A system daemon to consume OSTree commits as updates
Projects using rpm-ostree
Project Atomic uses rpm-ostree to provide a minimal host for Docker formatted Linux containers. Replicating a base immutable OS, then using Docker for applications.
Manual
For more information, see the online manual: Read The Docs (rpm-ostree)