Skip to content

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 walters@verbum.org


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 walters@verbum.org


@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 <walters@verbum.org>
We create a transient ostree repo, to do so use the global
install tmpdir.

Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters cgwalters merged commit 741e904 into bootc-dev:main Jul 26, 2024
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