diff options
| author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-30 16:41:21 +0200 | 
|---|---|---|
| committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2019-06-30 16:41:21 +0200 | 
| commit | f439b20706ade4b5630c3d6c57e6a36ce0dc287a (patch) | |
| tree | 210abf39ac29d7cf7513f667f63495ef1fd43700 /tests | |
| parent | 3e920038ecd8cc123b0c8dd957f94a8e1a616c0c (diff) | |
Add support for repacking condensed sparse files
This commit broadly does the following things:
 - Rename and move the sparse mapping structure to libutil
 - Add a function to the data writer for writing condensed versions
   of sparse files, given the mapping.
 - This shares code with the already existing function for regular
   files. The shared code is moved to a common helper function.
 - Add support to tar2sqfs for repacking sparse files.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/tar_sparse_gnu.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/tests/tar_sparse_gnu.c b/tests/tar_sparse_gnu.c index 844f7e3..d4d65d3 100644 --- a/tests/tar_sparse_gnu.c +++ b/tests/tar_sparse_gnu.c @@ -28,8 +28,8 @@ static int open_read(const char *path)  int main(void)  { -	tar_sparse_data_t *sparse;  	tar_header_decoded_t hdr; +	sparse_map_t *sparse;  	int fd;  	assert(chdir(TEST_PATH) == 0); | 
