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

oci: handle opaque whiteouts in new layer (usrmerge) #163

Merged
merged 5 commits into from
Dec 15, 2022

Conversation

tigarmo
Copy link
Collaborator

@tigarmo tigarmo commented Dec 8, 2022

Now that add_layer() looks at the base, improve its logic to support
explicit removals/hiding of base layer symlinks. With this change,
regular directories created by lifecycle's "build" step will respect
symlinks in the base layer, but removals via overlay-scripts will
hide those symlinks.

(CRAFT-1527)

Now that add_layer() looks at the base, improve its logic to support
*explicit* removals/hiding of base layer symlinks. With this change,
regular directories created by lifecycle's "build" step will respect
symlinks in the base layer, but removals via overlay-scripts will
hide those symlinks.
@tigarmo tigarmo force-pushed the CRAFT-1527-usrmerge-overlays branch from 96a7fa2 to 87e0d99 Compare December 8, 2022 21:13
@tigarmo tigarmo changed the title let overlays break base layer symlinks oci: handle opaque whiteouts in new layer (usrmerge) Dec 8, 2022
@tigarmo tigarmo marked this pull request as ready for review December 8, 2022 21:14
@tigarmo tigarmo requested review from cmatsuoka and cjdcordeiro and removed request for cmatsuoka December 8, 2022 22:50
tests/integration/test_oci.py Show resolved Hide resolved
Copy link
Collaborator

@cjdcordeiro cjdcordeiro left a comment

Choose a reason for hiding this comment

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

good enough for now, considering that the limitations addressed in #163 (comment) should be fixed asap

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.

3 participants