Initial commit

This commit is contained in:
Your Name
2026-04-23 17:07:55 +08:00
commit b7e39e063b
16725 changed files with 1625565 additions and 0 deletions
@@ -0,0 +1,18 @@
DESCRIPTION = "A small image for building a tpm image for testing"
IMAGE_FEATURES += "ssh-server-openssh"
IMAGE_INSTALL = "\
packagegroup-base \
packagegroup-core-boot \
packagegroup-security-tpm \
os-release \
"
IMAGE_LINGUAS ?= " "
LICENSE = "MIT"
inherit core-image
export IMAGE_BASENAME = "security-tpm-image"
@@ -0,0 +1,19 @@
DESCRIPTION = "A small image for building a tpm2 image for testing"
IMAGE_FEATURES += "ssh-server-openssh"
IMAGE_INSTALL = "\
packagegroup-base \
packagegroup-core-boot \
packagegroup-security-tpm2 \
os-release \
swtpm \
"
IMAGE_LINGUAS ?= " "
LICENSE = "MIT"
inherit core-image
export IMAGE_BASENAME = "security-tpm2-image"
@@ -0,0 +1,19 @@
DESCRIPTION = "Security packagegroup for TPM i2c support"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit packagegroup
PACKAGES = "packagegroup-security-tpm-i2c"
SUMMARY:packagegroup-security-tpm-i2c = "Security TPM i2c support"
RDEPENDS:packagegroup-security-tpm-i2c = " \
${@bb.utils.contains('MACHINE_FEATURES', 'tpm', 'packagegroup-security-tpm', '', d)} \
${@bb.utils.contains('MACHINE_FEATURES', 'tpm2', 'packagegroup-security-tpm2', '', d)} \
kernel-module-tpm-i2c-atmel \
kernel-module-tpm-i2c-infineon \
kernel-module-tpm-i2c-nuvoton \
kernel-module-tpm-st33zp24 \
kernel-module-tpm-st33zp24-i2c \
"
@@ -0,0 +1,34 @@
DESCRIPTION = "Security packagegroup for Poky"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit packagegroup
PACKAGES = "packagegroup-security-tpm"
SUMMARY:packagegroup-security-tpm = "Security TPM support"
RDEPENDS:packagegroup-security-tpm = " \
tpm-tools \
trousers \
pcr-extend \
tpm-quote-tools \
swtpm \
libhoth \
openssl-tpm-engine \
${X86_TPM_MODULES} \
"
X86_TPM_MODULES ?= ""
X86_TPM_MODULES:x86 = " \
kernel-module-tpm-atmel \
kernel-module-tpm-infineon \
kernel-module-tpm-nsc \
"
X86_TPM_MODULES:x86-64 = " \
kernel-module-tpm-atmel \
kernel-module-tpm-infineon \
kernel-module-tpm-nsc \
"
@@ -0,0 +1,23 @@
DESCRIPTION = "TPM2 packagegroup for Security"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PACKAGE_ARCH = "${TUNE_PKGARCH}"
inherit packagegroup
PACKAGES = "${PN}"
SUMMARY:packagegroup-security-tpm2 = "Security TPM 2.0 support"
RDEPENDS:packagegroup-security-tpm2 = " \
tpm2-tools \
trousers \
tpm2-tss \
libtss2-mu \
libtss2-tcti-device \
libtss2-tcti-mssim \
libtss2 \
tpm2-abrmd \
tpm2-pkcs11 \
"
@@ -0,0 +1,14 @@
DESCRIPTION = "Security packagegroup for Poky"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
inherit packagegroup
PACKAGES = "packagegroup-security-vtpm"
SUMMARY:packagegroup-security-vtpm = "Security Software vTPM support"
RDEPENDS:packagegroup-security-vtpm = " \
libtpm \
swtpm \
"