<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mtd-utils.git/ubifs-utils, branch v2.0.0-rc1</title>
<subtitle>A mirror of http://git.infradead.org/mtd-utils.git</subtitle>
<id>https://git.infraroot.at/mtd-utils.git/atom?h=v2.0.0-rc1</id>
<link rel='self' href='https://git.infraroot.at/mtd-utils.git/atom?h=v2.0.0-rc1'/>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/'/>
<updated>2016-11-17T10:36:55+00:00</updated>
<entry>
<title>Change build system to autotools</title>
<updated>2016-11-17T10:36:55+00:00</updated>
<author>
<name>Richard Weinberger</name>
<email>richard@nod.at</email>
</author>
<published>2016-04-26T20:09:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=d39ea7019cb204420c53a203ff9ccbb4cab0d4b3'/>
<id>urn:sha1:d39ea7019cb204420c53a203ff9ccbb4cab0d4b3</id>
<content type='text'>
This patch is largely based on Richards original RFC.

The major differences to the RFC patch are:
 - Add missing sumtools &amp; mtdpart targets
 - Fix name of mkfs.jffs2 target
 - Add missing subdir-objects option for non-recursive make
 - Move all automake options to configure.ac
 - Add manpages to install target
 - Make XATTR &amp; LZO support configurable
 - Install binaries to sbin directory like in the old build system
 - Install flash_erase wrapper script
 - Add files missing from distribution target

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>Remove duplicate copies of GPLv2 license text</title>
<updated>2016-11-17T10:36:55+00:00</updated>
<author>
<name>David Oberhollenzer</name>
<email>david.oberhollenzer@sigma-star.at</email>
</author>
<published>2016-08-23T13:40:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=8003c957188a580a7342c20c114602f12942f059'/>
<id>urn:sha1:8003c957188a580a7342c20c114602f12942f059</id>
<content type='text'>
Some of the programs in the mtd-utils used to be seperate packages that
were at some point merged into mtd-utils. As a result, some subdirectories
contain their own README and COPYING files with copies of the GPLv2
license text.

Since those programs are now part of mtd-utils that contains a copy of the
GPLv2 in the file COPYING in the package root directory, those extra files
can be removed, as there is no need for distributing an extra copy of the
license text for each individual program in the bundle.

Signed-off-by: David Oberhollenzer &lt;david.oberhollenzer@sigma-star.at&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>mkfs.ubifs: &lt;sys/xattr.h&gt;, not &lt;attr/xattr.h&gt;</title>
<updated>2016-01-25T04:11:05+00:00</updated>
<author>
<name>Brian Norris</name>
<email>computersforpeace@gmail.com</email>
</author>
<published>2016-01-23T21:31:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f4ba6b8ee73b3b6f726a02ad6ffe826cf8f31261'/>
<id>urn:sha1:f4ba6b8ee73b3b6f726a02ad6ffe826cf8f31261</id>
<content type='text'>
To be consistent with mkfs.jffs2, and to get this to build on my
machine, it looks like we should use &lt;sys/xattr.h&gt;, not &lt;attr/xattr.h&gt;.

Fixes this error, seen on an Ubuntu 14.04 build system:

  ubifs-utils/mkfs.ubifs/mkfs.ubifs.c:30:24: fatal error: attr/xattr.h: No such file or directory
   #include &lt;attr/xattr.h&gt;
                          ^

Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
Cc: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Cc: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Reviewed-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>mkfs.ubifs: use gid from table instead 2x uid</title>
<updated>2015-12-10T00:03:23+00:00</updated>
<author>
<name>Sebastian Andrzej Siewior</name>
<email>bigeasy@linutronix.de</email>
</author>
<published>2014-08-22T16:49:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=0637b185cc2aadc52d80005eee5406e1d197fbe4'/>
<id>urn:sha1:0637b185cc2aadc52d80005eee5406e1d197fbe4</id>
<content type='text'>
If the devtable is used then the tool uses uid twice and doesn't
consider gid at all. This changes it to use gid &amp; uid.

Signed-off-by: Sebastian Andrzej Siewior &lt;bigeasy@linutronix.de&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>mkfs.ubifs: fix compiler warning for WITHOUT_LZO</title>
<updated>2015-11-12T18:20:42+00:00</updated>
<author>
<name>Daniel Walter</name>
<email>dwalter@sigma-star.at</email>
</author>
<published>2015-11-12T11:52:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=594cde6b837361ab83917d43c0caa179b171db19'/>
<id>urn:sha1:594cde6b837361ab83917d43c0caa179b171db19</id>
<content type='text'>
Fix compiler warning about an unused variable.

ubifs-utils/mkfs.ubifs/compr.c:41:27: warning: ‘c’ defined but not used [-Wunused-variable]
 static struct ubifs_info *c = &amp;info_;

Signed-off-by: Daniel Walter &lt;dwalter@sigma-star.at&gt;
Signed-off-by: Brian Norris &lt;computersforpeace@gmail.com&gt;
</content>
</entry>
<entry>
<title>fix build when WITHOUT_LZO is set</title>
<updated>2015-11-12T10:05:55+00:00</updated>
<author>
<name>Rolf Eike Beer</name>
<email>eb@emlix.com</email>
</author>
<published>2015-03-10T14:20:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=1d04b4d5361af60c3b46a406fefaa2b5625b1793'/>
<id>urn:sha1:1d04b4d5361af60c3b46a406fefaa2b5625b1793</id>
<content type='text'>
Make mkfs.ubifs honor the WITHOUT_LZO flag, too.

Fixes this build error:
  mkfs.ubifs/compr.c:27:23: lzo/lzo1x.h: No such file or directory
  mkfs.ubifs/compr.c: In function `lzo_compress':
  mkfs.ubifs/compr.c:92: error: `lzo_uint' undeclared (first use in this function)
  mkfs.ubifs/compr.c:92: error: (Each undeclared identifier is reported only once
  mkfs.ubifs/compr.c:92: error: for each function it appears in.)
  mkfs.ubifs/compr.c:92: error: syntax error before "len"
  mkfs.ubifs/compr.c:95: error: `len' undeclared (first use in this function)
  mkfs.ubifs/compr.c:96: warning: implicit declaration of function `lzo1x_999_compress'
  mkfs.ubifs/compr.c:99: error: `LZO_E_OK' undeclared (first use in this function)
  mkfs.ubifs/compr.c: In function `init_compression':
  mkfs.ubifs/compr.c:201: error: `LZO1X_999_MEM_COMPRESS' undeclared (first use in this function)

Signed-off-by: Rolf Eike Beer &lt;eb@emlix.com&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>mkfs.ubifs: Optionally create extended attribute with inode number</title>
<updated>2015-11-12T09:50:04+00:00</updated>
<author>
<name>Sascha Hauer</name>
<email>s.hauer@pengutronix.de</email>
</author>
<published>2015-11-12T09:31:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=803b8ddbaea4f049cbf360682e80bc2f1aea12e2'/>
<id>urn:sha1:803b8ddbaea4f049cbf360682e80bc2f1aea12e2</id>
<content type='text'>
This is done to allow creating images suitable for IMA directory
appraisal. IMA creates a hash for directories and attaches this
hash to the directory itself as an extended attribute. Among other
things the inode numbers of the files are hashed. So, to create
a valid hash in the UBIFS image the evmctl tool needs to know
the inode numbers which the files in the UBIFS image will have.
evmctl will read the inode numbers from the user.image-inode-number
extended attribute. Since extended attributes are inodes themselves
the inode numbers for the generated image will change when the
extended attributes change, so to generate a correctly hashed
UBIFS image, both evmctl and mkfs.ubifs must be run twice:

1) execute evmctl to iterate over the directory tree. This will
   create the security.ima and security.evm extended attributes.
   The existence of the attributes makes sure that subsequent
   calls to mkfs.ubifs will use the same inode numbers. evmctl
   will use the inode numbers from the host filesystem in this
   step which makes the resulting image unusable
2) execute mkfs.ubifs -a. This will create the user.image-inode-number
   extended attributes on files/directories added to the image.
3) execture evmctl again. This time evmctl will pick the inode
   numbers from the user.image-inode-number extended attribute
   instead of the ones from the host filesystem
4) execute mkfs.ubifs again. This will create the correct image.
   The now existing user.image-inode-number extended attributes
   are ignored and not added to the image.

Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>mkfs.ubifs: Add extended attribute support</title>
<updated>2015-11-12T09:50:04+00:00</updated>
<author>
<name>Sascha Hauer</name>
<email>s.hauer@pengutronix.de</email>
</author>
<published>2015-11-12T09:31:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=50044efbd6e713e86f705a60eddab0c034dffeba'/>
<id>urn:sha1:50044efbd6e713e86f705a60eddab0c034dffeba</id>
<content type='text'>
This adds extended attribute support to mkfs.ubifs. When creating
an image from a directory tree the existing extended attributes are
added to the UBIFS image.

Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>mkfs.ubifs: simplify make_path with xasprintf</title>
<updated>2015-11-12T09:50:04+00:00</updated>
<author>
<name>Sascha Hauer</name>
<email>s.hauer@pengutronix.de</email>
</author>
<published>2015-11-12T09:31:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=978494f76e110154a3035cb1cdbe92965c5552ce'/>
<id>urn:sha1:978494f76e110154a3035cb1cdbe92965c5552ce</id>
<content type='text'>
Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Reviewed-by: Daniel Walter &lt;dwalter@sigma-star.at&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
<entry>
<title>mkfs.ubifs: use xmalloc/xzalloc for allocating memory</title>
<updated>2015-11-12T09:50:04+00:00</updated>
<author>
<name>Sascha Hauer</name>
<email>s.hauer@pengutronix.de</email>
</author>
<published>2015-11-12T09:31:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.infraroot.at/mtd-utils.git/commit/?id=f53b9de7f3383d7cf7b27bc08d5a503069c59457'/>
<id>urn:sha1:f53b9de7f3383d7cf7b27bc08d5a503069c59457</id>
<content type='text'>
Signed-off-by: Sascha Hauer &lt;s.hauer@pengutronix.de&gt;
Reviewed-by: Daniel Walter &lt;dwalter@sigma-star.at&gt;
Signed-off-by: Marc Kleine-Budde &lt;mkl@pengutronix.de&gt;
Signed-off-by: Richard Weinberger &lt;richard@nod.at&gt;
</content>
</entry>
</feed>
