<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-secure-core.git/meta-integrity, branch thud</title>
<subtitle>Mirror of github.com/jiazhang0/meta-secure-core.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-secure-core.git/atom?h=thud</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-secure-core.git/atom?h=thud'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-secure-core.git/'/>
<updated>2018-12-03T07:12:41+00:00</updated>
<entry>
<title>base-files: only apply the bbappend if ima distro flag set</title>
<updated>2018-12-03T07:12:41+00:00</updated>
<author>
<name>Yi Zhao</name>
<email>yi.zhao@windriver.com</email>
</author>
<published>2017-10-13T00:56:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-secure-core.git/commit/?id=22bd7aa878adfc8f7b6c12bc92e441fa3b161e2c'/>
<id>urn:sha1:22bd7aa878adfc8f7b6c12bc92e441fa3b161e2c</id>
<content type='text'>
When the meta-integrity layer is included but feature ima is not set, we
would get the following error when the system startup:

  qemux86-64 systemd-remount-fs[81]: mount: /sys/kernel/security: mount point does not exist.
  qemux86-64 systemd-remount-fs[81]: /bin/mount for /sys/kernel/security exited with exit status 32.

Rename base-files_%.bbappend to base-files-integrity.inc and add a new
bbappend. Make sure this piece of code should be applied only if the ima
feature is set.

Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
</content>
</entry>
<entry>
<title>key-store: rename ima private key and certificate on target</title>
<updated>2018-11-07T06:22:47+00:00</updated>
<author>
<name>Yunguo Wei</name>
<email>yunguo.wei@windriver.com</email>
</author>
<published>2018-10-26T02:16:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-secure-core.git/commit/?id=37a59625e5cc1cebb95427fdbc86826e02d7e065'/>
<id>urn:sha1:37a59625e5cc1cebb95427fdbc86826e02d7e065</id>
<content type='text'>
If sample keys are selected, key-store service will deploy IMA private
key during first boot, but beople may be confused if we deploy a sample
private key like "xxx.crt", so this commit is making sure key/cert on
target are consistent with key files on build system.

Signed-off-by: Yunguo Wei &lt;yunguo.wei@windriver.com&gt;
</content>
</entry>
<entry>
<title>rpm: disable inhibit plugin for rpm-native</title>
<updated>2018-10-17T08:55:13+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2018-10-17T05:34:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-secure-core.git/commit/?id=1daba563d4e70654af5889f69f913985e38f90cb'/>
<id>urn:sha1:1daba563d4e70654af5889f69f913985e38f90cb</id>
<content type='text'>
We have a bbappend file which enables plugins for rpm. We need to
ensure to also disable the inhibit plugin for rpm-native. Otherwise,
we get the following warning at rootfs time.

   Unable to get systemd shutdown inhibition lock: Socket name too long

The inhibit plugin tries to inhibit shutdown during rpm operation. It
obviously makes no sense for rpm-native, as 1) we may not build on a
systemd based host and 2) the build process does not affect the package
management on host.

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
</content>
</entry>
<entry>
<title>layer.conf: update LAYERSERIES_COMPAT `sumo' -&gt; `thud'</title>
<updated>2018-10-08T06:47:47+00:00</updated>
<author>
<name>Hongxu Jia</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2018-10-07T14:29:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-secure-core.git/commit/?id=c1a543fc998597acc1763ccbc5e8b3c19da50f70'/>
<id>urn:sha1:c1a543fc998597acc1763ccbc5e8b3c19da50f70</id>
<content type='text'>
Since `9ec5a8a layer.conf: Drop sumo from LAYERSERIES_CORENAMES' and
`9867924 layer.conf: Add thud to LAYERSERIES_CORENAMES' applied in oe-core,
update LAYERSERIES_COMPAT `sumo' -&gt; `thud'

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
</content>
</entry>
<entry>
<title>Clean up the stuffs for stable branches</title>
<updated>2018-09-21T01:21:37+00:00</updated>
<author>
<name>Jia Zhang</name>
<email>zhang.jia@linux.alibaba.com</email>
</author>
<published>2018-09-21T01:21:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-secure-core.git/commit/?id=139a9b656d789db5a3caa40fe719e5e736add9da'/>
<id>urn:sha1:139a9b656d789db5a3caa40fe719e5e736add9da</id>
<content type='text'>
The following commits are reverted by the way:

- seloader: Fix building for rocko (bc6bbe2)
- meta-integrity: rpm: Add back in required patches for rocko (5fa9c85)

Because they are only applicable to rocko.

Signed-off-by: Jia Zhang &lt;zhang.jia@linux.alibaba.com&gt;
</content>
</entry>
<entry>
<title>meta-integrity: rpm: Add back in required patches for rocko</title>
<updated>2018-07-31T14:48:35+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2018-07-31T14:30:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-secure-core.git/commit/?id=5fa9c850bd0b1d4d4cd1ee5604cfe3052035f000'/>
<id>urn:sha1:5fa9c850bd0b1d4d4cd1ee5604cfe3052035f000</id>
<content type='text'>
In 59a9f43b899c ("meta-integrity: Drop RPM patches that are upstream
now") we removed patches to RPM that were not required with a move up to
4.14.0 as they are upstream.  However, rocko ships with an older version
of RPM and still needs these patches.  Add conditional logic to apply
these patches only for rocko.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>layer.conf: Mark as compatible with rocko</title>
<updated>2018-07-25T12:41:35+00:00</updated>
<author>
<name>Tom Rini</name>
<email>trini@konsulko.com</email>
</author>
<published>2018-07-25T12:26:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-secure-core.git/commit/?id=cd40815e69cba65ad8181f4689ff7e26053d28e7'/>
<id>urn:sha1:cd40815e69cba65ad8181f4689ff7e26053d28e7</id>
<content type='text'>
As we also work with the 'rocko' release list that in our
LAYERSERIES_COMPAT.

Signed-off-by: Tom Rini &lt;trini@konsulko.com&gt;
</content>
</entry>
<entry>
<title>util-linux: allow -static linking for switch_root.static</title>
<updated>2018-07-06T06:50:47+00:00</updated>
<author>
<name>Joe Slater</name>
<email>joe.slater@windriver.com</email>
</author>
<published>2018-02-05T22:36:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-secure-core.git/commit/?id=4a357121bff4839cb481286f768550d58b36f29c'/>
<id>urn:sha1:4a357121bff4839cb481286f768550d58b36f29c</id>
<content type='text'>
Specify -no-pie to override possible -pie default.

Signed-off-by: Joe Slater &lt;joe.slater@windriver.com&gt;
Signed-off-by: Yi Zhao &lt;yi.zhao@windriver.com&gt;
</content>
</entry>
<entry>
<title>sign_rpm_ext.bbclass: fix check_rpm_public_key racing at recipe parsing time</title>
<updated>2018-05-31T03:26:13+00:00</updated>
<author>
<name>Hongxu Jia</name>
<email>hongxu.jia@windriver.com</email>
</author>
<published>2018-05-31T01:54:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-secure-core.git/commit/?id=38ba5938416ba488f10849080a11069242924e89'/>
<id>urn:sha1:38ba5938416ba488f10849080a11069242924e89</id>
<content type='text'>
All recipe will be parsed which caused lockfile of
check_rpm_public_key racing issue.
...
|WARNING: meta-secure-core/meta/recipes-core/images/secure-core-image-initramfs.bb:
oe-core/bitbake/lib/bb/utils.py:400: ResourceWarning: unclosed file
&lt;_io.TextIOWrapper name='tmp-glibc/check_rpm_public_key.lock' mode='a+' encoding='UTF-8'&gt;
...

Refer do_package_write_rpm, add check_rpm_public_key to
prefunc of do_rootfs, only the running image recipe will
invoke check_rpm_public_key.

Signed-off-by: Hongxu Jia &lt;hongxu.jia@windriver.com&gt;
</content>
</entry>
<entry>
<title>layer.conf: add LAYERSERIES_COMPAT</title>
<updated>2018-05-26T00:08:58+00:00</updated>
<author>
<name>Trevor Woerner</name>
<email>twoerner@gmail.com</email>
</author>
<published>2018-05-25T18:44:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-secure-core.git/commit/?id=18d65f89333b1a8482aab9183b143d18b44e9057'/>
<id>urn:sha1:18d65f89333b1a8482aab9183b143d18b44e9057</id>
<content type='text'>
see https://patchwork.openembedded.org/patch/140542/

Signed-off-by: Trevor Woerner &lt;twoerner@gmail.com&gt;
</content>
</entry>
</feed>
