Skip to content

Conversation

@cgwalters
Copy link
Collaborator

install: Factor out an osbuild module

Unfortunately the interactions/workarounds here are going to grow, so make
a module to encapsulate them.

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


install: Work around bootc-image-builder using /run/osbuild/containers

xref: osbuild/bootc-image-builder#560

Basically osbuild/bib puts the host /var/lib/containers at
/run/osbuild/containers. If we detect this situation, bind
mount it to /var/lib/containers so that the container
stack we invoke at install time can find logically bound
images.

Closes: #715

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


Unfortunately the interactions/workarounds here are going to grow, so make
a module to encapsulate them.

Signed-off-by: Colin Walters <walters@verbum.org>
xref: osbuild/bootc-image-builder#560

Basically osbuild/bib puts the host `/var/lib/containers` at
`/run/osbuild/containers`. If we detect this situation, bind
mount it to `/var/lib/containers` so that the container
stack we invoke at install time can find logically bound
images.

Closes: bootc-dev#715

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

@jmarrero jmarrero left a comment

Choose a reason for hiding this comment

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

lgtm

@cgwalters cgwalters merged commit a947c9d into bootc-dev:main Jul 29, 2024
cgwalters pushed a commit to cgwalters/bootc that referenced this pull request Nov 5, 2024
…2.159

build(deps): bump libc from 0.2.158 to 0.2.159
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.

bound images fail in bootc-image-builder

2 participants