Commit Graph

13 Commits

Author SHA1 Message Date
Armin Kuster
39d373acd1 meta-tpm linux-yocto-rt: Add the bbappend for rt kernel
So that the security features in this layer can be used on the
rt kernel.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-08-06 11:31:18 -04:00
Mikko Rapeli
e3156758b0 linux-yocto: remove tpm_x86.cfg
It's not used by linux-yocto bbappends in any configuration.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-03 10:04:32 -04:00
Mikko Rapeli
d30d8989a0 linux-yocto: support tpm and tpm2 on all architectures
arm, arm64 and other machines can also have tpm and tpm2 devices
and the config snippets tpm.scc and tpm2.scc work there too.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-06-03 10:04:23 -04:00
Mikko Rapeli
3529cfb43e linux-yocto: drop version from bbappends
These bbappends apply to multiple kernel versions so no
need to make them version dependent. Fixes recipe parsing when
using meta-security master branch on kirkstone. In our custom layer we
set layer compatibility for kirkstone and I understand why meta-security
upstream would not want to do that:

LAYERSERIES_COMPAT_security-layer += 'kirkstone'
LAYERSERIES_COMPAT_parsec-layer += 'kirkstone'
LAYERSERIES_COMPAT_tpm-layer += 'kirkstone'

While I work towards supporting also yocto master branch and newer
releases than kirkstone, I would appreciate if I would not have to
branch off layers over minor details like this.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-02-06 07:32:41 -05:00
Armin Kuster
92f04c78f0 meta-tpm: bump linux-yocto to 6.x kernel
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-01-28 10:17:03 -05:00
Michael Haener
014f9dab78 tpm: update the linux-yocto rule with the one from sanity-meta-tpm class 2022-09-25 11:29:43 -04:00
Armin Kuster
c7632b927c meta-tpm: Convert to new override syntax
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-08-01 08:47:08 -07:00
Armin Kuster
35e1b61750 meta-tpm/linux-yocto: use sanity support
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2021-06-06 13:03:37 -07:00
André Draszik
d7ca573c36 linux-yocto: update the bbappend to 5.x
As linux-yocto upgraded to 5.x in oe-core, update
the bbappend to 5.x to remove the warning

ERROR: No recipes available for:
  .../meta-security/meta-tpm/recipes-kernel/linux/linux-yocto_4.%.bbappend

This patch hasn't been verified any further than allowing bitbake
to complete with a non-linux-yocto kernel. In particular options could
be different, or new ones needed / desired.

Signed-off-by: André Draszik <git@andred.net>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2020-03-08 14:13:07 -07:00
Armin Kuster
6d7b18dc22 linux-stable: fix module selections
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-14 07:56:52 -07:00
Armin Kuster
b73918a90e kernel tpm rework
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-14 07:56:52 -07:00
Armin Kuster
3e0671d1ea change tpm from distro to machine feature
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-14 07:56:52 -07:00
Armin Kuster
4585f1e8c9 tpm: move to a sub layer
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-14 07:56:43 -07:00