<feed xmlns='http://www.w3.org/2005/Atom'>
<title>squashfs-tools-ng.git/bin/gensquashfs/test, branch master</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=master</id>
<link rel='self' href='https://git.infraroot.at/squashfs-tools-ng.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/'/>
<updated>2023-10-24T13:57:18+00:00</updated>
<entry>
<title>Cleanup: move memory/stdio streams to libcommon</title>
<updated>2023-10-24T13:57:18+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-09-23T08:37:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=6e7b20a41c8a7f10392884e1741b031b579a93fa'/>
<id>urn:sha1:6e7b20a41c8a7f10392884e1741b031b579a93fa</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup: gensquashfs: remove tree walk for force-uid/gid</title>
<updated>2023-10-24T13:57:18+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-10-24T08:10:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=d17f308b24a332d1767888e086ece9a2e71a891d'/>
<id>urn:sha1:d17f308b24a332d1767888e086ece9a2e71a891d</id>
<content type='text'>
If the --force-uid or --force-gid flags are used, don't do a recursive
tree walk after the fact, instead simply apply the settings at the
source (e.g. tree iterator).

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>gensquashfs: fix file path for glob directory scanning</title>
<updated>2023-09-03T16:12:29+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-09-03T16:12:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=72f9464c030c695c94fa0f920d46c38a3e887c61'/>
<id>urn:sha1:72f9464c030c695c94fa0f920d46c38a3e887c61</id>
<content type='text'>
If we glob a directory, the generated entries can be added to a
virtual sub directory, that does not corespond to the original layout.
If we try to use those virtual paths for packing files, it will fail,
so we need to remove that prefix to reconstruct the original path.

Second, the glob operation allows us to select a sub-directory of the
pack-dir. This prefix-path is stripped away when scanning the entries.
We need to add it back to get the original, pack-dir relative file
paths.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>gensquashfs: add a test for fstree_from_dir file source path</title>
<updated>2023-09-01T12:29:28+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-09-01T12:29:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=cdf61c556f95b0fc8a8ecf187d9f61e60bf99c53'/>
<id>urn:sha1:cdf61c556f95b0fc8a8ecf187d9f61e60bf99c53</id>
<content type='text'>
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Mass rename istream_t/ostream_t with sqfs_ prefix</title>
<updated>2023-06-15T11:38:25+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-12T18:14:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=e811851deba9c45f3d9b3c5b4ad5eaa7945382d5'/>
<id>urn:sha1:e811851deba9c45f3d9b3c5b4ad5eaa7945382d5</id>
<content type='text'>
istream_t becomes sqfs_istream_t and ostream_t becomes sqfs_ostream_t

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>gensquashfs: replace XattrMapEntry with sqfs_xattr_t</title>
<updated>2023-06-05T14:28:56+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-05T17:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=9221d4dce6ff3e3cdd0f630a884b3643e6a1cac4'/>
<id>urn:sha1:9221d4dce6ff3e3cdd0f630a884b3643e6a1cac4</id>
<content type='text'>
It has the same members, but with the added benefit that we already
have helper functions for it in libsquashfs and we can just hose
it directly into the xattr writer.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libio: consolidate add-hoc memory istream_t implementations</title>
<updated>2023-06-03T21:36:14+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-06-02T15:42:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=061fbc12fe49ff49088a644def3227d3800cd8a7'/>
<id>urn:sha1:061fbc12fe49ff49088a644def3227d3800cd8a7</id>
<content type='text'>
In several places, there are ad-hoc istream_t implementations that
read from a memory buffer to test something else stacked on top.

This commit consolidates those ad-hoc implmentations into a proper
one in libio, and uses the chance to remove external files for some
older tests that rely on file I/O instead.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libtar: add a dir_iterator_t implementation for tar files</title>
<updated>2023-05-22T14:15:45+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-05-20T15:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=6351872732fce77186f401050eee92c7c3aa3461'/>
<id>urn:sha1:6351872732fce77186f401050eee92c7c3aa3461</id>
<content type='text'>
The existing istream_t wrapper is mered into this one as well, we
can open the files via the iterators open_file_ro function. Unit
tests and tar2sqfs are modified accordingly.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>gensquashfs: Dismantle the scan_dir wrapper</title>
<updated>2023-04-28T22:26:32+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-04-28T17:36:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=2285036e10863aba48dc6eed3c1a791118d11956'/>
<id>urn:sha1:2285036e10863aba48dc6eed3c1a791118d11956</id>
<content type='text'>
Create the directory iterator externally and pass it to fstree_from_dir.
The unit test is also removed, because the heavy lifting is now done
outside the function.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>libfstree: hoist file link pointer into parent structure</title>
<updated>2023-04-19T09:17:54+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-04-19T08:13:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/squashfs-tools-ng.git/commit/?id=e1e655b02f6c54177f9070eeb221ab95c6d4e20f'/>
<id>urn:sha1:e1e655b02f6c54177f9070eeb221ab95c6d4e20f</id>
<content type='text'>
Instead of having a file_info_t next pointer, requiring an up-cast
to tree_node_t all the time, simply add a "next_by_type" pointer to
the tree node itself, which can also be used for other purposes by
other node types and removes the need for up-casting.

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