Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/coreos/rpm-ostree

⚛📦 Hybrid image/package system with atomic upgrades and package layering
https://github.com/coreos/rpm-ostree

centos fedora ostree package-manager

Last synced: about 2 months ago
JSON representation

⚛📦 Hybrid image/package system with atomic upgrades and package layering

Awesome Lists containing this project

README

        

# rpm-ostree: A true hybrid image/package system

> [!IMPORTANT]
> Currently, development focus has shifted to [bootc](https://github.com/containers/bootc), [dnf](https://github.com/rpm-software-management/dnf5/), and the ecosystem around those tools. However, rpm-ostree is widely in use today in many upstream projects and downstream products and **we will continue to support it** for some time with an emphasis on fixing important bugs, especially security-related ones. Some minor enhancements may happen but in general new major features, especially client-side, are unlikely to be prioritized. For more information, see:
> - https://fedoraproject.org/wiki/Changes/DNFAndBootcInImageModeFedora
> - https://lists.fedoraproject.org/archives/list/[email protected]/thread/X4WEBWV3JYKWVRBC6CPJMUJGQOYCORC7/

rpm-ostree is a hybrid image/package system. It combines
[libostree](https://ostree.readthedocs.io/en/latest/) as a base image format,
and accepts RPM on both the client and server side, sharing code with the
[dnf](https://en.wikipedia.org/wiki/DNF_(software)) project; specifically
[libdnf](https://github.com/rpm-software-management/libdnf). and thus bringing
many of the benefits of both together.

🆕 as of [release 2022.16](https://github.com/coreos/rpm-ostree/releases/tag/v2022.16) rpm-ostree now also supports [ostree native containers](docs/container.md).

```
┌─────────────────────────────────────────┐
│ │
│ rpm-ostree (daemon + CLI) │
┌──────┤ ├─────────┐
│ │ status, upgrade, rollback, │ │
│ │ pkg layering, initramfs --enable │ │
│ │ │ │
│ └─────────────────────────────────────────┘ │
│ │
│ │
│ │
┌─────────────────┴─────────────────────────┐ ┌───────────────────────┴─────────────────┐
│ │ │ │
│ ostree (image system) │ │ libdnf (pkg system) │
│ │ │ │
│ fetch ostree repos and container images, │ │ ties together libsolv (SAT solver) │
│ atomic filesystem trees, rollbacks │ │ with librepo (RPM repo downloads) │
│ │ │ │
└───────────────────────────────────────────┘ └─────────────────────────────────────────┘
```

**Features:**

- Transactional, background image-based (versioned/checksummed) upgrades, using both bootable container images as well as an "ostree native" HTTP model
- OS rollback without affecting user data (`/usr` but not `/etc`, `/var`) via libostree
- Client-side package layering (and overrides)
- Custom base images via `rpm-ostree compose image` (container) or `rpm-ostree compose tree` (ostree repo)

## Documentation

For more information, see the [project documentation](docs/index.md) or the
[project documentation website](https://coreos.github.io/rpm-ostree).

## License

rpm-ostree includes code licensed under GPLv2+, LGPLv2+, (Apache 2.0 OR MIT).
For more information, see [LICENSE](https://github.com/coreos/rpm-ostree/blob/main/LICENSE).