286 Commits

Author SHA1 Message Date
Armin Kuster 6faa2504ef libtpm: update to tip
LIC_FILES_CHKSUM changed do to "Extend license texts with TPM 2 specifics"

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-09-17 21:08:19 -07:00
Armin Kuster 3bae06e29b openssl-tpm-engine: update SRC_URI and update to 0.5.0
change to a fork that is being maintained and that enabled openssl 1.1
Refresh patches
Drop one no longer needed

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-09-17 21:08:19 -07:00
Armin Kuster 49a7a7a8e1 pcr-extend: fix building with openssl 1.1
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-09-17 21:08:19 -07:00
Armin Kuster db794a634f tpm-tools: update to latest 1.3.9.1
refresh patch
backport debian fixes
Fix additional openssl 1.1 issue

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-09-17 21:08:19 -07:00
Armin Kuster 229b7a45cc meta-tpm: bump layer priority
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-09-17 21:08:19 -07:00
Armin Kuster a877bb374b tpm2-abrmd: update to 2.0.1
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-09-17 21:08:19 -07:00
Armin Kuster 692a2c2009 tpm2.0-tools: update to 3.1.2
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-09-17 21:08:19 -07:00
Armin Kuster 26786fab30 tpm2.0: update to 2.0.1
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-09-17 21:08:19 -07:00
Armin Kuster f1e482a498 meta-*: add LAYERSERIES_COMPAT to layer.conf files
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-04-13 08:18:28 -07:00
Jagadeesh Krishnanjanappa f2c765ea98 trousers: fix to ship leftover files into packages
While building <mlib>-trousers recipe, the below files are
not shipped but has been installed. The patch packages them
accordingly.

-- snip --
WARNING: lib32-trousers-0.3.14+gitAUTOINC+4b9a70d578-r0 do_package: QA Issue: lib32-trousers: Files/directories were installed but not shipped in any package:
  /usr/src
  /usr/src/debug
  /usr/src/debug/lib32-trousers
  /usr/src/debug/lib32-trousers/0.3.14+gitAUTOINC+4b9a70d578-r0
  /usr/src/debug/lib32-trousers/0.3.14+gitAUTOINC+4b9a70d578-r0/git
  /usr/src/debug/lib32-trousers/0.3.14+gitAUTOINC+4b9a70d578-r0/git/src
  /usr/src/debug/lib32-trousers/0.3.14+gitAUTOINC+4b9a70d578-r0/git/src/tcs
  /usr/src/debug/lib32-trousers/0.3.14+gitAUTOINC+4b9a70d578-r0/git/src/trspi
  /usr/src/debug/lib32-trousers/0.3.14+gitAUTOINC+4b9a70d578-r0/git/src/tcsd
  /usr/src/debug/lib32-trousers/0.3.14+gitAUTOINC+4b9a70d578-r0/git/src/tspi
  /usr/src/debug/lib32-trousers/0.3.14+gitAUTOINC+4b9a70d578-r0/git/src/include
  /usr/src/debug/lib32-trousers/0.3.14+gitAUTOINC+4b9a70d578-r0/git/src/tddl
-- snip --

Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-17 09:42:58 -08:00
Armin Kuster a5400486f5 tpm2.0-tss: update to 1.3.0
change recipe to PV style

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-14 11:56:35 -08:00
Armin Kuster 22976cccb7 tpm2-abrmd: update to 1.2.0
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-14 11:56:35 -08:00
Armin Kuster 7536fd9871 tpm2simulator: update to 138
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-14 11:56:35 -08:00
Robert Yang 3963c388a3 conf/layer.conf: remove bbclass from BBFILES
Add bbclass to BBFILES doesn't make any sense.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2018-02-06 21:16:48 +05:30
Patrick Ohly 16812dac96 swtpm/libtpm: update to latest master
This allows dropping some patches for issues that were addressed
upstream. It also brings in support for connecting swtpm to qemu
without relying on CUSE.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-12-10 15:03:55 -08:00
André Draszik 756f65f0f8 trousers: allow overriding localstatedir mandir sysconfdir
It is currently impossible to override localstatedir,
mandir and sysconfdir during ./configure, because they
are being overriden unconditionally.

With this patch it is now possible to set above
locations as needed.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-06 12:17:50 -08:00
André Draszik fc75466e0b trousers: make initscript more reliable
The combination of using start-stop-daemon and pidof is
not working reliably in all cases. Sometimes, the
tcsd daemon isn't running yet at the time pidof is being
invoked.

This results in an empty /var/run/tcsd.pid, making it
impossible to stop tcsd using the init script.

To solve this, one could either add a delay before calling
pidof, or alternatively use start-stop-daemon's built-in
functionality to achieve the same.

Let's do the latter.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-11-06 12:17:42 -08:00
Armin Kuster aeb9e6c571 openssl-tpm-engine: add package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-10-10 07:24:59 -07:00
Armin Kuster ef1e8d9144 tpm2-abrmd: add package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-10-10 07:24:59 -07:00
Armin Kuster f6d48f6006 tpm-quote-tools: Add package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-10-10 07:24:59 -07:00
Armin Kuster 5ada70014f pcr-extend: add new package
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-10-10 07:24:59 -07:00
Armin Kuster 1c56da015d README: update with basic info
needed to pass yocto-check-layer

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-10-10 07:24:59 -07:00
Armin Kuster bc9ff10730 swtpm: fix cuse depends
if cuse is enabled, depend on fuse which is in meta-filesystems
throw error is layer is missing.

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-10-10 07:24:59 -07:00
Jackie Huang e180062c70 packagegroups: fix invalid license file
Use '${COMMON_LICENSE_DIR}/MIT' for MIT License to fix the warning:

| WARNING: packagegroup-core-security do_populate_lic:
  ${COREBASE}/LICENSE is not a valid license file, please use
  '${COMMON_LICENSE_DIR}/MIT' for a MIT License file in LIC_FILES_CHKSUM.
  This will become an error in the future

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-15 08:01:07 -07:00
Patrick Ohly f87b66d908 tpm2.0-tss: fix systemd package list
Commit 4c4fa8c "tpm2.0-tss: install resourcemgr service" introduced
systemd support for the resourcemgr package, but left the default
${PN} in SYSTEMD_PACKAGES, leading to an apparently harmless (?) build
error, emitted by systemd.bbclass via bb.error() because tpm2.0-tss
does not have a package of that name:

ERROR: tpm2.0-tss-git-r0 do_package: tpm2.0-tss does not appear in package list, please add it

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-09-15 08:01:07 -07:00
Armin Kuster 16a1725766 tpm2.0-tools: update to 2.0.0 plus
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-08-13 08:26:14 -07:00
Peter Lei 43ae8fc27e packagegroup-security-tpm-i2c: fix syntax
Fix "ERROR: ExpansionError during parsing" when building with multilib.

Signed-off-by: Peter Lei <peter.lei@ieee.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-19 07:37:35 -07:00
Armin Kuster 1671f7d7e2 tpm2: package groups fixes
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-14 07:56:52 -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 99d6c136f2 tpm-image: used for testing for now.
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 52f712a3fe tpm-i2c: some systems us i2c TPM
add modules and i2c support

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-14 07:56:52 -07:00
Armin Kuster f8973e152a tpm packagegroups: split into logical units
this should help mitgate the need to pull in too many layers
if swtpm in not wanted

Signed-off-by: Armin Kuster <akuster808@gmail.com>
2017-05-14 07:56:52 -07:00
Armin Kuster 52cd8a8747 meta-tpm: add base package group as was in meta-security
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