mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-16 12:47:00 +00:00
meta-secure-core: initial commit
Signed-off-by: Lans Zhang <jia.zhang@windriver.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# We have a conf and classes directory, add to BBPATH
|
||||
BBPATH .= ":${LAYERDIR}"
|
||||
|
||||
# We have recipes-* directories, add to BBFILES
|
||||
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
|
||||
${LAYERDIR}/recipes-*/*/*.bbappend"
|
||||
|
||||
BBFILE_COLLECTIONS += "secure-core"
|
||||
BBFILE_PATTERN_secure-core = "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_secure-core = "10"
|
||||
|
||||
LAYERDEPENDS_secure-core = "\
|
||||
core \
|
||||
"
|
||||
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "The root image of SecureCore."
|
||||
|
||||
SECURE_CORE_IMAGE_EXTRA_INSTALL_append += "\
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "efi-secure-boot", \
|
||||
"packagegroup-efi-secure-boot", "", d)} \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "tpm", \
|
||||
"packagegroup-tpm", "", d)} \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "tpm2", \
|
||||
"packagegroup-tpm2", "", d)} \
|
||||
${@bb.utils.contains("DISTRO_FEATURES", "encrypted-storage", \
|
||||
"packagegroup-encrypted-storage", "", d)} \
|
||||
"
|
||||
|
||||
IMAGE_INSTALL = "packagegroup-core-boot ${SECURE_CORE_IMAGE_EXTRA_INSTALL}"
|
||||
|
||||
IMAGE_LINGUAS = " "
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit core-image
|
||||
|
||||
IMAGE_ROOTFS_SIZE ?= "8192"
|
||||
IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "" ,d)}"
|
||||
Reference in New Issue
Block a user