Local package layering on bootc systems with DNF5
summary
Design for a DNF5 plugin called dnf rebuild that stores desired packages in packages.input.yaml, runs pre/post hook Containerfiles, builds a derived OCI image and runs bootc switch to apply it, and aims to be fast by caching RPM downloads, skipping pre-transaction scriptlets, and reflinking uncompressed payloads using RPM cow or composefs content addressing instead of copying many gigabytes. The implementation is a design sketch with libdnf5 integration planned to capture dnf install into the infile; not yet fully implemented or production-ready.
AI-written summary · about
chapters (10)
- 0:00Local package layering on bootc
- 1:09Image-based vs traditional systems
- 3:56Package management on bootc
- 8:12Challenges with RPMOS and bootc
- 9:13DNF5 plugin design goals
- 12:06DNF rebuild plugin in practice
- 13:51DNF commands with rebuild workflows
- 15:58Performance optimization for builds
- 21:40Next steps and challenges
- 24:55Q&A
related talks
24mIntroducing OSBuild
44mThe Containerization of the Operating System: Exploring Bootc and the Future of Linux Deployment
41mSpeeding up DNF and RPM using Copy on Write
16mlightning talk, CentOS Dojo, DevConf.us
40mTreating Kubernetes as a Linux Distro: APT-Style Packaging with FluxCD
32mBuild Your K8s Ready Distro With BootC
40mBuilding Smaller Container Images
36mIf you wish to build a Linux image from scratch...
