Skip to content

Commit

Permalink
deps: update tar-rs to handle very large uid/gid in image unpack
Browse files Browse the repository at this point in the history
update tar-rs to support read large uid/gid from PAX extensions to
fix very large UIDs/GIDs (>=2097151, limit of USTAR tar) lost in
PAX style tar during unpack.

Signed-off-by: Qinqi Qu <[email protected]>
  • Loading branch information
adamqqqplay authored and imeoer committed Aug 3, 2023
1 parent 4876289 commit a295c54
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,7 @@ backend-s3 = ["nydus-storage/backend-s3"]

[workspace]
members = ["api", "builder", "clib", "rafs", "storage", "service", "utils"]

[patch.crates-io]
# Due to the slow processing of PR by the upstream, temporarily fork tar-rs for this project
tar = { git = "https://github.com/nydusaccelerator/tar-rs.git" }
1 change: 1 addition & 0 deletions misc/top_images/image_list.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,4 @@ kong
solr
sentry
zookeeper
ghcr.io/dragonflyoss/image-service/pax-uid-test

0 comments on commit a295c54

Please sign in to comment.