liuqun / tpm2-vendor-packages

A collection of all TPM 2.0 packages from 3rd-party vendors
GNU General Public License v3.0
0 stars 0 forks source link

Import sub-modules through "git subtree" command #1

Open liuqun opened 6 years ago

liuqun commented 6 years ago
  1. 使用git subtree命令导入上游开发者代码:
    # 导入 tpm2-tss 仓库的 "1.x" 分支
    git subtree add --prefix=tpm2-tss https://github.com/tpm2-software/tpm2-tss.git 1.x
    # tpm2-abrmd 仓库的 "1.x" 分支
    git subtree add --prefix=tpm2-abrmd https://github.com/tpm2-software/tpm2-abrmd.git 1.x
    # tpm2-tools 仓库的 "3.X" 分支
    git subtree add --prefix=tpm2-tools https://github.com/tpm2-software/tpm2-tools.git 3.X

依赖关系1: autoconf-archive

git subtree add --prefix=autoconf-archive https://git.savannah.gnu.org/git/autoconf-archive.git master
  1. 如何拉取上游开发者提供的更新:
    git subtree pull --prefix=tpm2-tss https://github.com/tpm2-software/tpm2-tss.git 1.x
    git subtree pull --prefix=tpm2-abrmd https://github.com/tpm2-software/tpm2-abrmd.git 1.x
    git subtree pull --prefix=tpm2-tools https://github.com/tpm2-software/tpm2-tools.git 3.X

TPM 2.0 Software Simulator: https://sourceforge.net/projects/ibmswtpm2/files/

sha1sum

846af387cd6342ca2f4da50091009656db7c68e4  ibmtpm974.tar.gz 
liuqun commented 6 years ago

Stefan Berger 提供的一组开源模拟器

导入stefanberger/swtpm tpm2-preview分支

git subtree add --prefix=stefanberger/libtpms https://github.com/stefanberger/libtpms.git tpm2-preview.rev146
git subtree add --prefix=stefanberger/swtpm https://github.com/stefanberger/swtpm.git tpm2-preview