mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-01 00:46:38 +00:00
Merge pull request #6902 from fidencio/topic/cc-bring-back-root-hashes-logic
CC | local-build: Bring back root_hash logic
This commit is contained in:
@@ -148,6 +148,14 @@ install_cached_component() {
|
||||
wget "${jenkins_build_url}/${component_tarball_name}" || return $(cleanup_and_fail)
|
||||
wget "${jenkins_build_url}/sha256sum-${component_tarball_name}" || return $(cleanup_and_fail)
|
||||
sha256sum -c "sha256sum-${component_tarball_name}" || return $(cleanup_and_fail)
|
||||
if [ -n "${root_hash_vanilla}" ]; then
|
||||
wget "${jenkins_build_url}/${root_hash_vanilla}" || return cleanup_and_fail
|
||||
mv "${root_hash_vanilla}" "${repo_root_dir}/tools/osbuilder/"
|
||||
fi
|
||||
if [ -n "${root_hash_tdx}" ]; then
|
||||
wget "${jenkins_build_url}/${root_hash_tdx}" || return cleanup_and_fail
|
||||
mv "${root_hash_tdx}" "${repo_root_dir}/tools/osbuilder/"
|
||||
fi
|
||||
mv "${component_tarball_name}" "${component_tarball_path}"
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user