Skip to content

Conversation

cgwalters
Copy link
Collaborator

Depends: #730


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


Initialize a containers-storage: owned by bootc

Initial work for: #721

  • Initialize a containers-storage: instance at install time
    (that defaults to empty)
  • "Open" it (but do nothing with it) as part of the core CLI
    operations

Further APIs and work will build on top of this.

Signed-off-by: Colin Walters walters@verbum.org


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>
Initial work for: bootc-dev#721

- Initialize a containers-storage: instance at install time
  (that defaults to empty)
- "Open" it (but do nothing with it) as part of the core CLI
  operations

Further APIs and work will build on top of this.

Signed-off-by: Colin Walters <walters@verbum.org>
@cgwalters
Copy link
Collaborator Author

I will work to re-split this from #724 when that one is ready.

@cgwalters cgwalters closed this Jul 29, 2024
cgwalters pushed a commit to cgwalters/bootc that referenced this pull request Nov 5, 2024
…5.18

build(deps): bump clap from 4.5.17 to 4.5.18
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` do-not-merge/work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant