<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-security.git/recipes-core/initrdscripts, 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>2024-06-17T12:25:25+00:00</updated>
<entry>
<title>recipes: WORKDIR -&gt; UNPACKDIR transition</title>
<updated>2024-06-17T12:25:25+00:00</updated>
<author>
<name>Changqing Li</name>
<email>changqing.li@windriver.com</email>
</author>
<published>2024-05-28T05:44:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=ceb47a8a39c4cec612db63fab573124960f52a8d'/>
<id>urn:sha1:ceb47a8a39c4cec612db63fab573124960f52a8d</id>
<content type='text'>
* WORKDIR -&gt; UNPACKDIR transition
* Switch away from S = WORKDIR

Signed-off-by: Changqing Li &lt;changqing.li@windriver.com&gt;
[Fixed up the smack changes due to prior patch]
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<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>meta-security: Convert to new override syntax</title>
<updated>2021-08-01T15:47:08+00:00</updated>
<author>
<name>Armin Kuster</name>
<email>akuster808@gmail.com</email>
</author>
<published>2021-07-29T23:31:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=11a67b861af74d59ccfd609d6d943e966ccff731'/>
<id>urn:sha1:11a67b861af74d59ccfd609d6d943e966ccff731</id>
<content type='text'>
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>
<entry>
<title>initramfs-framework: fix typo in conditional</title>
<updated>2021-06-29T16:31:13+00:00</updated>
<author>
<name>Armin Kuster</name>
<email>akuster808@gmail.com</email>
</author>
<published>2021-06-20T06:21:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=54186fc7387e2f07e9f1ebf507ec39e542f0e1a6'/>
<id>urn:sha1:54186fc7387e2f07e9f1ebf507ec39e542f0e1a6</id>
<content type='text'>
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>initramfs-framework: fix YCL issue.</title>
<updated>2021-06-05T19:25:24+00:00</updated>
<author>
<name>Armin Kuster</name>
<email>akuster808@gmail.com</email>
</author>
<published>2021-05-26T12:14:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=f40fdc7e6da5bd9d4ad81bec5ed30f8e7b38da09'/>
<id>urn:sha1:f40fdc7e6da5bd9d4ad81bec5ed30f8e7b38da09</id>
<content type='text'>
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>initramfs-framework/dmverity: add retry loop for slow boot devices</title>
<updated>2020-10-09T14:01:47+00:00</updated>
<author>
<name>Naveen Saini</name>
<email>naveen.kumar.saini@intel.com</email>
</author>
<published>2020-10-02T02:53:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=e23767fc72040cc58e638b08925ab467221c91f9'/>
<id>urn:sha1:e23767fc72040cc58e638b08925ab467221c91f9</id>
<content type='text'>
Detection of USB devices by the kernel is slow enough. We need to
keep trying for a while (default: 5s seconds, controlled by roottimeout=&lt;seconds&gt;)
and sleep between each attempt (default: one second, rootdelay=&lt;seconds&gt;).

Fix is based on https://git.yoctoproject.org/cgit.cgi/poky/commit/meta/recipes-core/initrdscripts/initramfs-framework/rootfs?id=ee6a6c3461694ce09789bf4d852cea2e22fc95e4

Signed-off-by: Naveen Saini &lt;naveen.kumar.saini@intel.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
<entry>
<title>dm-verity-image-initramfs: Use initramfs-framework</title>
<updated>2020-09-12T15:55:28+00:00</updated>
<author>
<name>niko.mauno@vaisala.com</name>
<email>niko.mauno@vaisala.com</email>
</author>
<published>2020-09-10T16:17:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=45e8b20cd022eb7b20d72c23db9fcc6824f08c7a'/>
<id>urn:sha1:45e8b20cd022eb7b20d72c23db9fcc6824f08c7a</id>
<content type='text'>
Switch from this layer's initramfs-dm-verity recipe to poky-provided
initramfs-framework suite to manage veritysetup et al.

This commit also removes initramfs-dm-verity recipe which is not
referred from elsewhere in this meta layer.

Also update the install path of dm-verity.env from /usr/share to
/usr/share/misc in order to better comply with FHS3.0, see
https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html#usrsharemiscMiscellaneousArchitecture

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