<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/jffsX-utils, branch v2.2.1</title>
<subtitle>A mirror of http://git.infradead.org/mtd-utils.git</subtitle>
<id>https://git.infraroot.at/mtd-utils.git/atom?h=v2.2.1</id>
<link rel='self' href='https://git.infraroot.at/mtd-utils.git/atom?h=v2.2.1'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/'/>
<updated>2024-09-25T13:03:08+00:00</updated>
<entry>
<title>mtd-utils: Extract rbtree implementation to common lib</title>
<updated>2024-09-25T13:03:08+00:00</updated>
<author>
<name>Zhihao Cheng</name>
<email>chengzhihao1@huawei.com</email>
</author>
<published>2024-02-02T02:38:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=48618633a9c6120d155f7b4cbae57a40007c09cb'/>
<id>urn:sha1:48618633a9c6120d155f7b4cbae57a40007c09cb</id>
<content type='text'>
Current rbtree implementation code is put under jffs utils, extract it
into common lib, and add more rbtree operations(eg. rb_first_postorder,
rb_next_postorder, etc.).

This is a preparation for replacing implementation of UBIFS utils with
linux kernel libs.

Signed-off-by: Zhihao Cheng &lt;chengzhihao1@huawei.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>mtd-utils: Extract list implementation to common lib and add list_sort support</title>
<updated>2024-09-25T13:03:08+00:00</updated>
<author>
<name>Zhihao Cheng</name>
<email>chengzhihao1@huawei.com</email>
</author>
<published>2024-02-02T02:22:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=a3b803747b363b0ececd329583e0412672e7f30b'/>
<id>urn:sha1:a3b803747b363b0ececd329583e0412672e7f30b</id>
<content type='text'>
Current list implementation code is put under jffs utils, extract it into
common lib, and add more list operations(eg. list_move, list_splice, etc.).
Besides, add list sorting support in new source file lib/list_sort.c.

This is a preparation for replacing implementation of UBIFS utils with
linux kernel libs.

Signed-off-by: Zhihao Cheng &lt;chengzhihao1@huawei.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Make zlib an optional dependency</title>
<updated>2024-02-18T13:27:31+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2024-02-17T15:37:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=2465754716634422620b4577e0b7ba79c4ce1a39'/>
<id>urn:sha1:2465754716634422620b4577e0b7ba79c4ce1a39</id>
<content type='text'>
Now that we have plumbing in place for both jffsX-utils and mkfs.ubifs,
add the missing autoconf and automake changes to allow mtd-utils to be
built without a hard dependency on zlib.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Make it possible to compile jffsX-utils without zlib</title>
<updated>2024-02-18T12:54:59+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2024-02-18T12:52:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=3f73bfb3e09c407425245aa5f62477fd572328c9'/>
<id>urn:sha1:3f73bfb3e09c407425245aa5f62477fd572328c9</id>
<content type='text'>
The jffsX-utils already have a CONFIG_JFFS2_ZLIB define, but it is
statically defined in a header and not used consistently. This patch
first replaces it with a "WITH_ZLIB" define, provided via automake,
to bring it in line with the already existing "WITH_LZO". Then, the
missing checks and typedefs are added in jffs2reader.c.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix optional compilation of lzo compressors</title>
<updated>2024-02-17T20:20:34+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2024-02-17T20:13:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=ab4628e756ab73d8193ed62b591417dad561b298'/>
<id>urn:sha1:ab4628e756ab73d8193ed62b591417dad561b298</id>
<content type='text'>
 - Simple fixup in autoconf.ac
 - Make compilation of jffsX-utils compr_lzo.c optional. Simply
   don't compile it if we built without LZO and remove the place
   holders. They are not used anyway if we build without LZO.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Cleanup handling of optional dependencies</title>
<updated>2024-02-15T14:07:17+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2021-02-28T12:50:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=6fcdc552ffdca93334ffe2d044745c83de0722fa'/>
<id>urn:sha1:6fcdc552ffdca93334ffe2d044745c83de0722fa</id>
<content type='text'>
Don't use super pedantic parsing of the argument and work with the
generated variable instead of assigning it to our own and set it
to "check" if not value is assigned. Then search for a dependency
if the with variable is anything other than "no" and fail if it
was set to "yes".

In addition, the WITHOUT_xxx defines are replaced with WITH_xxx defines.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>jffs2dump: check return value of lseek</title>
<updated>2023-09-02T14:11:44+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2023-09-02T14:11:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=54cf00ba6e2cbea815d684415426ad28de9953fd'/>
<id>urn:sha1:54cf00ba6e2cbea815d684415426ad28de9953fd</id>
<content type='text'>
On error, lseek returns a negative value. We need to check for that
and abort, instead of passing -1 to malloc and later on to read_nocheck.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix warning about unaligned pointer in jffs2reader</title>
<updated>2022-10-07T10:58:44+00:00</updated>
<author>
<name>Frederic Germain</name>
<email>frederic.germain@gmail.com</email>
</author>
<published>2021-11-09T08:17:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=3f8ad12b92be3183e457def7c790291a7fb0d08b'/>
<id>urn:sha1:3f8ad12b92be3183e457def7c790291a7fb0d08b</id>
<content type='text'>
gcc 9.3.0-17ubuntu1~20.04 warning on time_t ctime value is :

Fix taking address of packed member of ‘struct jffs2_raw_inode’ may
result in an unaligned pointer value [-Waddress-of-packed-member].

Signed-off-by: Frederic Germain &lt;frederic.germain@gmail.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>mkfs.jffs2: fix spelling of --compression-mode parameter in help text</title>
<updated>2022-09-27T06:32:46+00:00</updated>
<author>
<name>Alex Henrie</name>
<email>alexhenrie24@gmail.com</email>
</author>
<published>2022-09-22T03:14:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=df12f903eb26c5abbdcaa44732ff36b17c3a6032'/>
<id>urn:sha1:df12f903eb26c5abbdcaa44732ff36b17c3a6032</id>
<content type='text'>
--compr-mode is not accepted as an alias of --compression-mode.

Signed-off-by: Alex Henrie &lt;alexhenrie24@gmail.com&gt;
Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
</content>
</entry>
<entry>
<title>Fix: add missing new-line-escape in jffsX-utils Makemodule.am</title>
<updated>2022-01-05T09:32:14+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2022-01-05T09:32:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=c3a92d6bdc5cc9b60ccc4a74eddea6b9bff79ff9'/>
<id>urn:sha1:c3a92d6bdc5cc9b60ccc4a74eddea6b9bff79ff9</id>
<content type='text'>
In commit a888044525, various header files that were added to the
distribution tarball via EXTRA_DIST were instead added to the source
lists of their respective programs instead.

In the case of jffsX-utils, a missing escape for a new-line in the
source list caused the include/linux/jffs2.h header to not be packged
in the release tarball. This went undiscovered, as the system on which
the release tarball was built, had the same header installed installed
in the system include directory, so a `make distcheck` succeeded.

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