osbuilder: add ttrpc as default for attestation-agent

`ttrpc=true` parameter tells the Makefile of attestation-agent
to build the attestation-agent with ttrpc support

Signed-off-by: Xynnn007 <xynnn@linux.alibaba.com>
This commit is contained in:
Xynnn007 2023-03-30 09:12:07 +08:00
parent 30981f81b5
commit 93f23dcd2a

View File

@ -675,7 +675,7 @@ EOF
git fetch --depth=1 origin "${attestation_agent_version}"
git checkout FETCH_HEAD
[ "${AA_KBC}" == "eaa_kbc" ] && [ "${ARCH}" == "x86_64" ] && LIBC="gnu"
make KBC=${AA_KBC} && make install DESTDIR="${ROOTFS_DIR}/usr/local/bin/"
make KBC=${AA_KBC} ttrpc=true && make install DESTDIR="${ROOTFS_DIR}/usr/local/bin/"
popd
fi