<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-security.git/recipes-core/initrdscripts/initramfs-framework-dm, branch master-next</title>
<subtitle>Mirror of git.yoctoproject.org/meta-security.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-security.git/atom?h=master-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-security.git/atom?h=master-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/'/>
<updated>2023-06-25T19:05:28+00:00</updated>
<entry>
<title>dm-verity: hook separate hash into initramfs framework</title>
<updated>2023-06-25T19:05:28+00:00</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2023-06-21T17:13:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=521e7b040a6011fd66d22be0c98b14ab40eca28b'/>
<id>urn:sha1:521e7b040a6011fd66d22be0c98b14ab40eca28b</id>
<content type='text'>
The prior commits create the separate hash so now it is time to update
the initramfs framework so that veritysetup, which is responsible for
binding the data and hash, is aware of when separate hash is in use,
and can react accordingly.

The added code follows the existing appended hash code style, but is
considerably smaller because it doesn't have the large case statement
that supports all possible identification schemes (label, UUID, ...).

With the root hash split in two to create the respective partition
UUIDs, we know exactly how to identify it, and the UUIDs used.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>dmverity: Suppress the realpath errors</title>
<updated>2023-06-11T14:40:33+00:00</updated>
<author>
<name>Kevin Hao</name>
<email>kexin.hao@windriver.com</email>
</author>
<published>2023-06-08T09:59:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=c50757b2f17abb5e26d069b280933451f6190829'/>
<id>urn:sha1:c50757b2f17abb5e26d069b280933451f6190829</id>
<content type='text'>
If we use a non PARTUUID root parameter, we would always get a error
like below:
  realpath: /dev/disk/by-partuuid//dev/mmcblk0p2: No such file or directory

This seems pretty confusion and it also seems no need to emit this kind
of error when we are waiting for the root device. So suppress all the
realpath errors.

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>dmverity: Make use of DATA_BLOCK_SIZE variable in initrdscript.</title>
<updated>2021-09-28T23:18:41+00:00</updated>
<author>
<name>Christer Fletcher</name>
<email>christer.fletcher@inter.ikea.com</email>
</author>
<published>2021-09-23T15:45:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=650e6d6d4bba0b7f6dcf879ba8970925f9fc1412'/>
<id>urn:sha1:650e6d6d4bba0b7f6dcf879ba8970925f9fc1412</id>
<content type='text'>
DATA_BLOCK_SIZE variable was set in dm-verity-img.bbclass at build
time but the initrdscript was not updated to pass the DATA_BLOCK_SIZE
to the veritysetup. Now the functionality is complete.

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>initramfs-framework: rename files dir</title>
<updated>2021-06-29T16:31:13+00:00</updated>
<author>
<name>Armin Kuster</name>
<email>akuster808@gmail.com</email>
</author>
<published>2021-06-27T18:16:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=be53d1a4677d085e6a46c7cb5dcda3d0ebb5ea9c'/>
<id>urn:sha1:be53d1a4677d085e6a46c7cb5dcda3d0ebb5ea9c</id>
<content type='text'>
Fixes:
ERROR: initramfs-framework-1.0-r4 do_fetch: Fetcher failure for URL: 'file://dmverity'. Unable to fetch URL from any source.

Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
</feed>
