Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Add support for automatic overrides in overrides/rpm #145

Merged
merged 1 commit into from
Oct 4, 2018

Conversation

cgwalters
Copy link
Member

If the user creates a directory overrides/rpm, automatically
run createrepo_c on it every build, and generate a new
treefile that adds it as a repo.

Closes: #118

If the user creates a directory `overrides/rpm`, automatically
run `createrepo_c` on it every build, and generate a new
treefile that adds it as a repo.

Closes: coreos#118
@cgwalters
Copy link
Member Author

This one had been sitting in my local git dir for quite a while blocked on coreos/rpm-ostree#1574 which had been blocking on other stuff...getting through the queue!

@cgwalters
Copy link
Member Author

(One confusing issue here is that simply adding the repository changes the treefile which makes rpm-ostree think something changed - so if e.g. your override RPM is a lower NVR we'll just ignore it; I will look at repo priority stuff at some point)

@cgwalters
Copy link
Member Author

One hack we could do to help with that is injecting every package we find in overrides as exact NEVRAs into the treefile; or perhaps even simpler, just support direct file paths in treefiles.

@dustymabe
Copy link
Member

LGTM

@dustymabe dustymabe merged commit 3b3accf into coreos:master Oct 4, 2018
rfairley pushed a commit to rfairley/coreos-assembler that referenced this pull request Feb 25, 2019
Adds note regarding changes in coreos#145 - personally found this helpful
when testing Ignition changes in FCOS.
rfairley pushed a commit to rfairley/coreos-assembler that referenced this pull request Feb 25, 2019
Adds note regarding changes in coreos#145 - personally found this helpful
when testing Ignition changes in FCOS.
rfairley pushed a commit to rfairley/coreos-assembler that referenced this pull request Feb 25, 2019
Adds note regarding changes in coreos#145 - personally found this helpful
when testing Ignition changes in FCOS.
rfairley pushed a commit to rfairley/coreos-assembler that referenced this pull request Feb 25, 2019
Adds note regarding changes in coreos#145 - personally found this helpful
when testing Ignition changes in FCOS.
rfairley pushed a commit to rfairley/coreos-assembler that referenced this pull request Feb 25, 2019
Adds note regarding changes in coreos#145 - personally found this helpful
when testing Ignition changes in FCOS.
rfairley pushed a commit to rfairley/coreos-assembler that referenced this pull request Feb 25, 2019
Adds note regarding changes in coreos#145 - personally found this helpful
when testing Ignition changes in FCOS.
rfairley pushed a commit to rfairley/coreos-assembler that referenced this pull request Feb 25, 2019
Adds note regarding changes in coreos#145 - personally found this helpful
when testing Ignition changes in FCOS.
rfairley pushed a commit to rfairley/coreos-assembler that referenced this pull request Feb 25, 2019
Adds note regarding changes in coreos#145 - personally found this helpful
when testing Ignition changes in FCOS.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants