diff options
author | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-06-07 11:26:27 +0200 |
---|---|---|
committer | David Oberhollenzer <david.oberhollenzer@sigma-star.at> | 2021-06-07 11:26:27 +0200 |
commit | 5179a76bad4b760e76d1e3e18ca4c0a0a1edb6b4 (patch) | |
tree | 956a6787d40abd26b3a4da53563db2cde6bf20fd /bin/sqfsdiff/compare_files.c | |
parent | 7ee3c177dc58dfc15dc7208a17c8756c99f61429 (diff) |
libsquashfs: fix block alignment if requested
1) If the block alignment flag is set, the padding bytes must be
inserted _before_ recording the start position, otherwise the
resulting image is not readable.
2) Also perform alignment if the flag is set on a fragment block.
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'bin/sqfsdiff/compare_files.c')
0 files changed, 0 insertions, 0 deletions