<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-security.git/classes, branch mickledore</title>
<subtitle>Mirror of git.yoctoproject.org/meta-security.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-security.git/atom?h=mickledore</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-security.git/atom?h=mickledore'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/'/>
<updated>2023-03-20T20:27:24+00:00</updated>
<entry>
<title>dm-verity-img.bbclass: Fix the hash offset alignment issue</title>
<updated>2023-03-20T20:27:24+00:00</updated>
<author>
<name>Kevin Hao</name>
<email>kexin.hao@windriver.com</email>
</author>
<published>2023-03-15T02:12:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=a7f73ab5918c79fcaec7d6638a2f801c8dc2aeb9'/>
<id>urn:sha1:a7f73ab5918c79fcaec7d6638a2f801c8dc2aeb9</id>
<content type='text'>
When using the kernel module parameter "dm-mod.create=" [1] to create
the device-mapper device, the hash offset address we passed to kernel
module is the hash block number. That means the hash offset address
would have to be aligned to the max(data_block_size, hash_block_size),
otherwise there would be no way to set the correct hash offset address
via "dm-mo.create=".

[1] https://www.kernel.org/doc/Documentation/admin-guide/device-mapper/dm-init.rst

Signed-off-by: Kevin Hao &lt;kexin.hao@windriver.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm-verity-img.bbclass: fix syntax warning</title>
<updated>2023-03-20T20:27:24+00:00</updated>
<author>
<name>Eero Aaltonen</name>
<email>eero.aaltonen@vaisala.com</email>
</author>
<published>2023-03-09T13:04:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=4c786d4e098188912525d45af5d5cbe947adb0de'/>
<id>urn:sha1:4c786d4e098188912525d45af5d5cbe947adb0de</id>
<content type='text'>
Fixes warning
```
SyntaxWarning: "is not" with a literal. Did you mean "!="?
```

Signed-off-by: Eero Aaltonen &lt;eero.aaltonen@vaisala.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm-verity-img.bbclass: add squashfs images</title>
<updated>2023-02-11T15:36:23+00:00</updated>
<author>
<name>Maciej Borzęcki</name>
<email>maciek@thing.com</email>
</author>
<published>2023-02-01T14:17:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=ab8651c139a05c476d7e8a6a987106b2f7e9a354'/>
<id>urn:sha1:ab8651c139a05c476d7e8a6a987106b2f7e9a354</id>
<content type='text'>
Add squashfs to images supported by verity.

Signed-off-by: Maciek Borzecki &lt;maciek@thing.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>classes: add aide routines</title>
<updated>2022-06-24T01:47:59+00:00</updated>
<author>
<name>Armin Kuster</name>
<email>akuster808@gmail.com</email>
</author>
<published>2022-06-18T04:59:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=a0665584abfe79e8f55e1f479fa35d0a85478765'/>
<id>urn:sha1:a0665584abfe79e8f55e1f479fa35d0a85478765</id>
<content type='text'>
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>Add EROFS support to dm-verity-img class</title>
<updated>2022-05-01T17:26:52+00:00</updated>
<author>
<name>Josh Harley</name>
<email>jharley@orangedogsolutions.co.uk</email>
</author>
<published>2022-04-20T10:05:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=8ca6bb86e653a332f7cb5b30babc0cd6c58769d0'/>
<id>urn:sha1:8ca6bb86e653a332f7cb5b30babc0cd6c58769d0</id>
<content type='text'>
 [PATCH] Add support for the EROFS image, and it's compressed options,
 to the dm-verity-img.bbclass setup, theoretically this is a simple addition
 to the list of types however there is a quirk in how Poky handles the
 filesystems in poky/meta/classes/image_types.bbclass.

Specifically the 'IMAGE_CMD' and 'IMAGE_FSTYPES' use a hyphen, e.g.
erofs-lz4, however in the image_type bbclass the task for that would be
"do_image_erofs_lz4", replacing the hyphen with an underscore.

As the dm-verity-img.bbclass adds a dependency to the wic image creation
on the do_image_* task then it fails as there is no
"do_image_erofs-lz4", so simply replace the hypen with an underscore.

Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm-verity-img.bbclass: Fix wrong override syntax for CONVERSION_DEPENDS</title>
<updated>2021-12-25T19:31:45+00:00</updated>
<author>
<name>Kristian Klausen</name>
<email>kristian@klausen.dk</email>
</author>
<published>2021-12-17T09:55:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=126860dac30d50a5894588b874ae917b0b310142'/>
<id>urn:sha1:126860dac30d50a5894588b874ae917b0b310142</id>
<content type='text'>
CONVERSION_DEPENDS hasn't been converted to the new syntax.

Fixes: a23ceef ("dm-verity-img.bbclass: more overided fixups")

Signed-off-by: Kristian Klausen &lt;kristian@klausen.dk&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm-verity-img.bbclass: Expose --data-block-size for configuration</title>
<updated>2021-09-06T22:53:00+00:00</updated>
<author>
<name>Christer Fletcher</name>
<email>christer.fletcher@inter.ikea.com</email>
</author>
<published>2021-09-01T14:18:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=e0fca90835169e21ffabe6f2e4b901678236d36e'/>
<id>urn:sha1:e0fca90835169e21ffabe6f2e4b901678236d36e</id>
<content type='text'>
Add DM_VERITY_IMAGE_DATA_BLOCK_SIZE to be able to set the
--data-block-size used in veritysetup. Tuning this value effects the
performance and size of the resulting image.

Signed-off-by: Christer Fletcher &lt;christer.fletcher@inter.ikea.com&gt;
Signed-off-by: Paulo Neves &lt;paulo.neves1@inter.ikea.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta: Fix typos</title>
<updated>2021-08-29T15:59:29+00:00</updated>
<author>
<name>George Liu</name>
<email>liuxiwei1013@gmail.com</email>
</author>
<published>2021-08-02T18:02:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=1f18c623e94d85ef23f0a3970ff359880bd0caf5'/>
<id>urn:sha1:1f18c623e94d85ef23f0a3970ff359880bd0caf5</id>
<content type='text'>
Fix the variable spelling errors
s/SKIP_META_SECUIRTY_SANITY_CHECK/SKIP_META_SECURITY_SANITY_CHECK

Signed-off-by: George Liu &lt;liuxiwei@inspur.com&gt;
Acked-by: Martin Jansa &lt;Martin.Jansa@gmail.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm-verity-img.bbclass: more overided fixups</title>
<updated>2021-08-27T04:45:04+00:00</updated>
<author>
<name>Armin Kuster</name>
<email>akuster808@gmail.com</email>
</author>
<published>2021-08-24T15:40:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=a23ceefd6f39b97896e801f3340f13c893250dbe'/>
<id>urn:sha1:a23ceefd6f39b97896e801f3340f13c893250dbe</id>
<content type='text'>
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>meta-security: add sanity check</title>
<updated>2021-06-06T20:03:37+00:00</updated>
<author>
<name>Armin Kuster</name>
<email>akuster808@gmail.com</email>
</author>
<published>2021-06-02T02:05:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=c1235f6affb5c38e64b3a04533b8388969b194b2'/>
<id>urn:sha1:c1235f6affb5c38e64b3a04533b8388969b194b2</id>
<content type='text'>
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
</feed>
