-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mutate: stream tar output from sqfs2tar
Stream the tar output from sqfs2tar when performing a SquashFS to TAR layer conversion. This removes the need for one temporary file. Although intended, we cannot remove the SquashFS temporary file by using a named pipe for intput to sqfs2tar. Due to the structure of SquashFS filesystems, sqfs2tar re-reads portions of the input and cannot work from a named pipe that is streaming input. Temporary directory is also now passed by option, per comments in review of #52. Closes #57
- Loading branch information
Showing
3 changed files
with
52 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+3.5 KB
pkg/mutate/testdata/Test_TarFromSquashfsLayer/OverlayFSBlobTempDir.golden
Binary file not shown.