I recently was tasked with testing a change in the upstream ostree
code on an Atomic Host.
Well, since Atomic hosts use ostree
as their distribution model, that means I couldn’t just get an RPM and install it that way. (I could have just copied over the compiled binary, but where is the fun in that?)
My task list was as follows:
- build
ostree
from source - package
ostree
into an RPM - create an custom
ostree
compose - rebase an existing Atomic host to the custom compose
As someone who hadn’t really accomplished any of these tasks before, I had to reach out for some help on multiple occasions, but I got through it all and hopefully this guide will help you along the way.