Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

overlay: use the right lowers for read-only mounts via subprocess #1314

Merged
merged 1 commit into from Aug 30, 2022

Conversation

nalind
Copy link
Member

@nalind nalind commented Aug 29, 2022

When we use a subprocess to mount a read-only layer, include the layer's own diff in the list of lowers, since it's not being used as an upper. Fixes #640.

When we use a subprocess to mount a read-only layer, include the layer's
own diff in the list of lowers, since it's not being used as an upper.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>
@TomSweeneyRedHat
Copy link
Member

LGTM
but my goodness, that get function is getting gi-normous.

@rhatdan
Copy link
Member

rhatdan commented Aug 30, 2022

LGTM

@rhatdan rhatdan merged commit 134614c into containers:main Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using mountopt metacopy=on results in build layers that include everything beneath
3 participants