mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-28 12:31:04 +00:00
osbuilder: add confidential-data-hub in rootfs
Fixes: #7544 Signed-off-by: Biao Lu <biao.lu@intel.com>
This commit is contained in:
parent
acd0a75efd
commit
b4092023bf
@ -30,6 +30,7 @@ LIBC=${LIBC:-musl}
|
|||||||
SECCOMP=${SECCOMP:-"yes"}
|
SECCOMP=${SECCOMP:-"yes"}
|
||||||
# The kata agent enables sealed-secret feature.
|
# The kata agent enables sealed-secret feature.
|
||||||
SEALED_SECRET=${SEALED_SECRET:-"no"}
|
SEALED_SECRET=${SEALED_SECRET:-"no"}
|
||||||
|
CDH_RESOURCE_PROVIDER=${CDH_RESOURCE_PROVIDER:-"kbs"}
|
||||||
SELINUX=${SELINUX:-"no"}
|
SELINUX=${SELINUX:-"no"}
|
||||||
|
|
||||||
lib_file="${script_dir}/../scripts/lib.sh"
|
lib_file="${script_dir}/../scripts/lib.sh"
|
||||||
@ -699,6 +700,11 @@ EOF
|
|||||||
make KBC=${AA_KBC} ttrpc=true
|
make KBC=${AA_KBC} ttrpc=true
|
||||||
make install DESTDIR="${ROOTFS_DIR}/usr/local/bin/"
|
make install DESTDIR="${ROOTFS_DIR}/usr/local/bin/"
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
pushd guest-components/confidential-data-hub
|
||||||
|
make RESOURCE_PROVIDER=${CDH_RESOURCE_PROVIDER}
|
||||||
|
make install DESTDIR="${ROOTFS_DIR}/usr/local/bin/"
|
||||||
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${KATA_BUILD_CC}" == "yes" ]; then
|
if [ "${KATA_BUILD_CC}" == "yes" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user