Skip to content

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

Merged
cgwalters merged 2 commits into
bootc-dev:mainfrom
cgwalters:bib-bound-more
Jul 29, 2024
Merged

cgwalters merged 2 commits into
bootc-dev:mainfrom
cgwalters:bib-bound-more

Conversation

@cgwalters

Copy link
Copy Markdown
Member

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 [email protected]


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

xref: https://github.com/osbuild/bootc-image-builder/issues/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 [email protected]


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

Signed-off-by: Colin Walters <[email protected]>
xref: https://github.com/osbuild/bootc-image-builder/issues/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 <[email protected]>
@github-actions github-actions Bot added the area/install Issues related to `bootc install` label Jul 26, 2024
@cgwalters
cgwalters enabled auto-merge July 26, 2024 21:07
@cgwalters
cgwalters requested a review from jmarrero July 29, 2024 14:59

@jmarrero jmarrero left a comment

Copy link
Copy Markdown
Contributor

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