mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-28 12:05:40 +00:00
versions: Bump td-shim to v0.2.0
Let's bump the td-shim to its `v0.2.0` release. Together with the bump, let's also adapt its build scripts so we're able to build the `v0.2.0` as part of our infra. Fixes: #5593 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
@@ -15,7 +15,9 @@ RUN apt-get update && \
|
|||||||
gcc \
|
gcc \
|
||||||
git \
|
git \
|
||||||
llvm \
|
llvm \
|
||||||
nasm && \
|
make \
|
||||||
|
nasm \
|
||||||
|
patch && \
|
||||||
apt-get clean && rm -rf /var/lib/lists/ && \
|
apt-get clean && rm -rf /var/lib/lists/ && \
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain ${RUST_TOOLCHAIN} && \
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain ${RUST_TOOLCHAIN} && \
|
||||||
source "$HOME/.cargo/env" && \
|
source "$HOME/.cargo/env" && \
|
||||||
|
@@ -27,11 +27,13 @@ pushd ${build_root}
|
|||||||
git clone --single-branch "${tdshim_repo}"
|
git clone --single-branch "${tdshim_repo}"
|
||||||
pushd td-shim
|
pushd td-shim
|
||||||
git checkout "${tdshim_version}"
|
git checkout "${tdshim_version}"
|
||||||
|
git submodule update --init
|
||||||
|
make preparation
|
||||||
bash sh_script/build_final.sh boot_kernel
|
bash sh_script/build_final.sh boot_kernel
|
||||||
|
|
||||||
install_dir="${DESTDIR}/${PREFIX}/share/td-shim"
|
install_dir="${DESTDIR}/${PREFIX}/share/td-shim"
|
||||||
mkdir -p ${install_dir}
|
mkdir -p ${install_dir}
|
||||||
install target/x86_64-unknown-uefi/release/final-boot-kernel.bin ${install_dir}/td-shim.bin
|
install target/release/final-boot-kernel.bin ${install_dir}/td-shim.bin
|
||||||
popd #td-shim
|
popd #td-shim
|
||||||
popd #${build_root}
|
popd #${build_root}
|
||||||
|
|
||||||
|
@@ -307,7 +307,7 @@ externals:
|
|||||||
td-shim:
|
td-shim:
|
||||||
description: "Confidential Containers Shim Firmware"
|
description: "Confidential Containers Shim Firmware"
|
||||||
url: "https://github.com/confidential-containers/td-shim"
|
url: "https://github.com/confidential-containers/td-shim"
|
||||||
version: "cf9592ef70bd6ba4c7ab1330d278a743f5ba3133"
|
version: "v0.2.0"
|
||||||
toolchain: "nightly-2022-05-15"
|
toolchain: "nightly-2022-05-15"
|
||||||
|
|
||||||
virtiofsd:
|
virtiofsd:
|
||||||
|
Reference in New Issue
Block a user