<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/mkfs, branch v0.2</title>
<subtitle>A new set of tools and libraries for working with SquashFS images</subtitle>
<id>https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.2</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=v0.2'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2019-06-11T13:06:28+00:00</updated>
<entry>
<title>Cleanup dependency handling</title>
<updated>2019-06-11T13:06:28+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-11T13:04:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=a3a47476c5ceed1688e37a5af8a5a988b504832e'/>
<id>urn:sha1:a3a47476c5ceed1688e37a5af8a5a988b504832e</id>
<content type='text'>
Always try to gather all compressor libraries available, but only
complain about missing a one if it has been *explicitly* selected.

If a compressor has been explicityl disabled, we can still turn it
off after checking.

Also, rework gensquashfs to set the default compressor based on
what's available.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>cleanup: mkfs: remove redundant header inclusions</title>
<updated>2019-06-11T11:36:14+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-11T11:36:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=d146ab8630a3fa9f91560ef24b02850e94e61118'/>
<id>urn:sha1:d146ab8630a3fa9f91560ef24b02850e94e61118</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>cleanup: merge rest of block.c into mkfs.c</title>
<updated>2019-06-11T11:34:15+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-11T11:34:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=4dc69cb9cd97e9a1f233a0f19ee8035929fa6065'/>
<id>urn:sha1:4dc69cb9cd97e9a1f233a0f19ee8035929fa6065</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>cleanup: remove rest of sqfs_info_t</title>
<updated>2019-06-11T11:00:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-11T10:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=99b153177dbac8689b2e58fc29530727fa7e00fc'/>
<id>urn:sha1:99b153177dbac8689b2e58fc29530727fa7e00fc</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Move write_xattr to libsqfs.a</title>
<updated>2019-06-11T10:48:51+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-11T10:48:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=223dcc487cb0115d3ccb0dd6464d20346253a43e'/>
<id>urn:sha1:223dcc487cb0115d3ccb0dd6464d20346253a43e</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Remove sqfs_info_t from xattr writer</title>
<updated>2019-06-11T10:45:22+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-11T10:45:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=2e3fa3dda9ae4093c421a7e646aeffc119074ccb'/>
<id>urn:sha1:2e3fa3dda9ae4093c421a7e646aeffc119074ccb</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Move data writer to libsqfs.a</title>
<updated>2019-06-11T10:39:16+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-11T00:24:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=67800f0c2cd33bea2862a4b21132dc94e2d0fb73'/>
<id>urn:sha1:67800f0c2cd33bea2862a4b21132dc94e2d0fb73</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Encapsulate data/fragment processing in data_writer_t data structure</title>
<updated>2019-06-11T00:19:01+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-11T00:17:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=e7ddca51274e88b68aa8eeec8ebd4be48eca3934'/>
<id>urn:sha1:e7ddca51274e88b68aa8eeec8ebd4be48eca3934</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Split process_file function</title>
<updated>2019-06-10T23:56:28+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-10T23:56:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=8825f5973740ae2baaab4d61ac16bc870873c167'/>
<id>urn:sha1:8825f5973740ae2baaab4d61ac16bc870873c167</id>
<content type='text'>
Add a generic one that reads and processes N bytes from an input
file descriptor.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Major cleanup of mkfs block processor</title>
<updated>2019-06-10T23:47:18+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2019-06-10T23:24:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=5038c4b33ea403203b8edd82b44a8db06464409b'/>
<id>urn:sha1:5038c4b33ea403203b8edd82b44a8db06464409b</id>
<content type='text'>
This commit tries to make the block and fragment processing code a
lot more readable by simplifying it as follows.

The following pattern is used repeatedly:
 - Try to compress a block
 - Write the compressed if smaller (the original otherwise) to a file
 - Print errors on the way
 - Set the magic (1 &lt;&lt; 24) flag if we wrote the original
 - Increment the super block byte counter

=&gt; Move that to a seperate function called "write_compressed"

=&gt; Move the code to grow the fragment table is moved to a seperate function.

=&gt; Clearing the fragment buffer is pointless, so remove that

The add_fragment/add_block functions are now trivial
=&gt; Merge them into process_file
=&gt; Global block counter no longer needed, so remove that too

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
</feed>
