Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
base override pkg removals #797
Add basic support for base layer pkg removals. This is still in somewhat rough shape; some shortcuts were taken esp. in the core that I'd like to revisit. There's also a lot of fixes & refactors, with varying degrees of relatedness to base overrides. And of course, tests.
Will split this up into multiple PRs.
Removing base package:
And of course, resetting the override takes us back to the same BaseCommit:
This is one more step towards making rpm-ostree more powerful in its quest to be the ultimate *hybrid* image/package system. Package layering allows us to add packages on top of the base package set received from the content provider. However, we're not able to remove or replace packages in the base set itself. This patch introduces a new `override` command, which is for now nested under the experimental `ex` command. The `override` command will allow users to modify the base package set itself. The first implemented subcommands are `remove` and `reset`. A stub has been provided for the more useful `replace` subcommand, though much of the needed logic for that operation are implemented in this patch as part of the `remove` subcommand. Part of: #485