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

install: Allocate a global tmpdir #730

Merged
merged 2 commits into from
Jul 26, 2024

Conversation

cgwalters
Copy link
Collaborator

install: Allocate a global tmpdir

We allocate temporary things in a few places, and it's
handy to have a pre-created single directory for the
whole install process to use instead of creating
individual tempfiles.

Signed-off-by: Colin Walters [email protected]


install: Use tmpdir for target fetch verification

We create a transient ostree repo, to do so use the global
install tmpdir.

Signed-off-by: Colin Walters [email protected]


@github-actions github-actions bot added the area/install Issues related to `bootc install` label Jul 25, 2024
@cgwalters
Copy link
Collaborator Author

Having a nice clean git history with a lot of incrementally justified and tested commits is nice, but some days the merge conflicts with one's own work gets tedious 😄

We allocate temporary things in a few places, and it's
handy to have a pre-created single directory for the
whole install process to use instead of creating
individual tempfiles.

Signed-off-by: Colin Walters <[email protected]>
We create a transient ostree repo, to do so use the global
install tmpdir.

Signed-off-by: Colin Walters <[email protected]>
@cgwalters cgwalters merged commit 741e904 into containers:main Jul 26, 2024
25 of 28 checks passed
cgwalters added a commit to cgwalters/bootc that referenced this pull request Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/install Issues related to `bootc install`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants