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

tarGenerator.AddFile: ignore llistxattr eopnotsupp #506

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

hallyn
Copy link
Contributor

@hallyn hallyn commented Oct 4, 2023

If it's not supported, just assume there are no xattrs, don't fail the addfile.

@codecov-commenter
Copy link

codecov-commenter commented Oct 4, 2023

Codecov Report

Merging #506 (685e414) into main (7dc114a) will decrease coverage by 0.04%.
Report is 2 commits behind head on main.
The diff coverage is 0.00%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #506      +/-   ##
==========================================
- Coverage   73.48%   73.45%   -0.04%     
==========================================
  Files          60       60              
  Lines        4884     4886       +2     
==========================================
  Hits         3589     3589              
- Misses        935      937       +2     
  Partials      360      360              
Files Coverage Δ
oci/layer/tar_generate.go 70.46% <0.00%> (-0.96%) ⬇️

@hallyn hallyn marked this pull request as ready for review October 10, 2023 15:38
Copy link

@smoser smoser left a comment

Choose a reason for hiding this comment

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

For some reference, we're hitting this when trying to create a new layer from a directory that contains a linux-kernel mounted squashfs image.

@hallyn
Copy link
Contributor Author

hallyn commented Oct 12, 2023

@cyphar not sure why I had it in draft mode until monday - it is ready for review.

@hallyn
Copy link
Contributor Author

hallyn commented Oct 18, 2023

@tych0 ping

oci/layer/tar_generate.go Outdated Show resolved Hide resolved
If it's not supported, just assume there are no xattrs, don't
fail the addfile.

Changelog: 10/18: use errors.Cause as suggested by Tycho

Signed-off-by: Serge Hallyn <[email protected]>
@tych0 tych0 merged commit 7b9470b into opencontainers:main Oct 19, 2023
15 checks passed
@cyphar
Copy link
Member

cyphar commented Oct 19, 2023

FWIW, LGTM. 😅

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.

5 participants