Skip to content

install: Allocate a global tmpdir#730

Merged
cgwalters merged 2 commits intobootc-dev:mainfrom
cgwalters:install-tmpdir
Jul 26, 2024
Merged

install: Allocate a global tmpdir#730
cgwalters merged 2 commits intobootc-dev:mainfrom
cgwalters:install-tmpdir

Conversation

@cgwalters
Copy link
Copy Markdown
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
Copy Markdown
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