76 Commits

Author SHA1 Message Date
Jia Zhang
0bb383b60a tpm2-abrmd: move tpm2-abrmd.default to tpm2-abrmd.inc
Use separate directories to store tpm2-abrmd.default for stable
and git version.

Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
2018-06-16 05:12:46 -04:00
Jia Zhang
60be51b4ee tpm2-abrmd: code style cleanup
Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
2018-06-16 04:41:05 -04:00
Jia Zhang
62638c5a24 tpm2-abrmd: Fix missing tpm2-abrmd.service
The default value of --with-systemdsystemunitdir with the prefix
"/usr" cannot be used to search tpm2-abrmd.service. In order to
fix this issue, explicitly set --with-systemdsystemunitdir as
before. In addition, place .perset to the dedicated system-preset
directory.

Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
2018-06-16 04:35:55 -04:00
Jia Zhang
23d074cba7 tpm2-tss: code style cleanup
Replace tab with four spaces.

Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
2018-06-16 04:09:39 -04:00
Trevor Woerner
de08228a0d tpm2-abrmd: update daemon cmdline options
In the latest git version of abrmd:
	- the following option has been renamed:
		--max-transient-objects -> --max-transients

	- the following option has been removed:
		--fail-on-loaded-trans

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-06-15 13:01:25 +08:00
Trevor Woerner
ec19d0a8ec tpm2-tools: cleanup and update
Cleanup the tpm2-tools recipe such that there is a recipe for
building the latest release (the default) and one for building
the latest, auto-incrementing version from git master placing
all pieces common to the two recipes into an include file.

Update release from 3.0.3 to 3.0.4.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-06-15 13:01:25 +08:00
Trevor Woerner
a504af5587 tpm2-abrmd: cleanup and update
Cleanup the tpm2-abrmd recipe such that there is a recipe for
building the latest release (the default) and one for building
the latest, auto-incrementing version from git master placing
all pieces common to the two recipes into an include file.

Update release from 1.2.0 to 1.3.1.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-06-15 13:01:25 +08:00
Trevor Woerner
156cf92528 tpm2-tss: cleanup and update
Cleanup the tpm2-tss recipe such that there is a recipe for
building the latest release (the default) and one for building
the latest, auto-incrementing version from git master placing
all pieces common to the two recipes in an include file.

Update release from 1.3.0 to 1.4.0.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-06-15 13:01:25 +08:00
Trevor Woerner
b50b53dad2 tpm2-abrmd-init: fix for /dev/tpmrmX
In addition to the expected /dev/tpmX device nodes, newer Linux kernels now
also create /dev/tpmrmX nodes. This causes the daemon's startup script to
fail, meaning the abrmd daemon is not started automatically.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-06-06 21:59:18 +08:00
Trevor Woerner
6ca33b325d tpm2.0-tss: rename -> tpm2-tss
Unify how the TPM2 recipes are named.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-05-30 09:38:05 +08:00
Trevor Woerner
4b2c94fb64 tpm2.0-tools: rename -> tpm2-tools
Unify how the TPM2 recipes are named.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-05-30 09:38:05 +08:00
Trevor Woerner
18d65f8933 layer.conf: add LAYERSERIES_COMPAT
see https://patchwork.openembedded.org/patch/140542/

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
2018-05-26 08:08:58 +08:00
Jia Zhang
365a400ed9 meta-secure-core: update TSS 2.0 to the latest stable version
Signed-off-by: Jia Zhang <zhang.jia@linux.alibaba.com>
2018-02-19 04:39:19 -05:00
Jia Zhang
091e2cc6fa meta-tpm2: clean up bootstrap
Signed-off-by: Jia Zhang <qianyue.zj@alibaba-inc.com>
2017-09-20 01:48:45 -04:00
Jia Zhang
b69537380c meta-secure-core: clean up ${COREBASE}/LICENSE and ${COREBASE}/meta/COPYING.MIT
${COREBASE}/LICENSE is not a valid license file. So it is recommended
to 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: Jia Zhang <lans.zhang2008@gmail.com>
2017-09-02 11:11:44 +08:00
Lans Zhang
71fc35c506 tpm2.0-tss: remove systemd from inherit command
The resource manager provided by this package is not used any more.
Thus its systemd-related settings should be removed.

Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-27 13:26:42 +08:00
Lans Zhang
5726763b02 tpm2simulator: add the native build
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-21 11:43:53 +08:00
Lans Zhang
4d98ee98d2 meta-tpm2: code style fixup
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-20 16:13:07 +08:00
Lans Zhang
b2ace92daf tss2.0-tss: don't create tss user account
This user account is created by tpm2-abrmd which replaces the resourcemgr
originally supplied by this recipe.

Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-20 16:11:03 +08:00
Lans Zhang
17376a2062 tpm2-abrmd: update to the latest and code style fixup
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-20 16:10:13 +08:00
Lans Zhang
c53a21104b tpm2.0-tools: clean up .m4
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-20 15:54:46 +08:00
Lans Zhang
9b7c0d98ca tpm2.0-tss: update to the latest and code style fixup
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-20 15:50:46 +08:00
Lans Zhang
e8aee2ab91 tpm2.0-tools: update to the latest and code style fixup
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-20 15:21:04 +08:00
Lans Zhang
e874405319 meta-secure-core: define the oe index name
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-20 14:17:27 +08:00
Lans Zhang
f04c4eaf6a Add the missing COPYING.MIT files
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-07-13 15:31:14 +08:00
Lans Zhang
1b3e594449 meta-secure-core: initial commit
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
2017-06-22 15:24:04 +08:00