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

cmdlib: Create overrides dir if there's an overlay #427

Merged
merged 2 commits into from
Mar 22, 2019

Conversation

jlebon
Copy link
Member

@jlebon jlebon commented Mar 21, 2019

Otherwise we'll error out if the user has no overrides.
Regression from #414.

jlebon added 2 commits March 21, 2019 17:24
We already defined this variable to the same value higher up at function
scope.
Otherwise we'll error out if the user has no overrides.
Regression from coreos#414.
@jlebon
Copy link
Member Author

jlebon commented Mar 21, 2019

An alternative approach here would be to create our own separate local repo for the overlay RPM so we don't use the same overrides dir that users interact with. I can do this if folks prefer.

@jlebon
Copy link
Member Author

jlebon commented Mar 21, 2019

(This broke the FCOS pipeline. :( )

Copy link
Contributor

@darkmuggle darkmuggle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 LGTM.

@miabbott miabbott merged commit 1540e18 into coreos:master Mar 22, 2019
@dustymabe
Copy link
Member

i wonder if we should create it as part of init too

@rfairley
Copy link
Contributor

i wonder if we should create it as part of init too

I'd find this helpful - avoids the need to manually create it and makes it more visible, even if it's empty. I can make a quick PR to add this in.

@jlebon
Copy link
Member Author

jlebon commented Mar 22, 2019

Sure, WFM!

I can make a quick PR to add this in.

Go for it! 👍

rfairley pushed a commit to rfairley/coreos-assembler that referenced this pull request Mar 22, 2019
Create this directory upfront to eliminate an additional step of
creating it manually when overriding RPMs locally.

Originally brought up in coreos#427.
jlebon pushed a commit that referenced this pull request Mar 22, 2019
Create this directory upfront to eliminate an additional step of
creating it manually when overriding RPMs locally.

Originally brought up in #427.
@jlebon jlebon deleted the pr/mkdir branch July 6, 2020 20:32
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.

5 participants