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

estargz: Support duplicated entries during sort #219

Merged
merged 1 commit into from
Dec 21, 2020

Conversation

ktock
Copy link
Member

@ktock ktock commented Dec 21, 2020

#217 (comment)

estargz.Build currently doesn't support duplicated entries in the input tar.
But there are images that contain duplicated entries in a layer and we currently
cannot optimize these layers.

GNU tar supports duplicated entries by replacing the former entry with the later
one. (https://www.gnu.org/software/tar/manual/html_node/multiple.html) This
commit takes the simillar approach for supporting duplicated entries.

`estargz.Build` currently doesn't support duplicated entries in the input tar.
But there are images that contain duplicated entries in a layer and we currently
cannot optimize these layers.

GNU tar supports duplicated entries by replacing the former entry with the later
one. (https://www.gnu.org/software/tar/manual/html_node/multiple.html) This
commit takes the simillar approach for supporting duplicated entries.

Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
@AkihiroSuda AkihiroSuda merged commit 9a7db93 into containerd:master Dec 21, 2020
@ktock ktock deleted the dup-ent branch October 7, 2022 13:45
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.

2 participants